Fixes missing php.ini in wercker tests by providing defaults from php.ini-development
Fixes error #79 in Rogue integration storeUserInContest() per discussion with @sbsmith86
Pins wercker PHP box to 7.1 in order to be more conscious about differences between minor PHP updates
How should this be manually tested?
./vendor/bin/phpunit
Any background context you want to provide?
While investigation #79, I've discovered that running ./vendor/bin/phpunit locally resulted in failure, while wercker pipeline was passing just fine. Then I discovered that wercker was complaining about missing php.ini:
I added wercker step that installs php.ini (based on 7.1.8 php.ini-development) to /usr/local/etc/php, as recommended in docker php documentation:
We recommend that you add a custom php.ini configuration. COPY it into /usr/local/etc/php by adding one more line to the Dockerfile above and running the same commands to build and run
With php.ini wercker started showing the same errors as local PHPUnit execution.
What's this PR do?
php.ini-development
storeUserInContest()
per discussion with @sbsmith867.1
in order to be more conscious about differences between minor PHP updatesHow should this be manually tested?
./vendor/bin/phpunit
Any background context you want to provide?
While investigation #79, I've discovered that running
./vendor/bin/phpunit
locally resulted in failure, whilewercker
pipeline was passing just fine. Then I discovered that wercker was complaining about missing php.ini:I added wercker step that installs
php.ini
(based on 7.1.8php.ini-development
) to/usr/local/etc/php
, as recommended in docker php documentation:With php.ini wercker started showing the same errors as local PHPUnit execution.
What are the relevant tickets?
Fixes #79.