New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minimum php version is 5.6 now #186
Conversation
dbu
commented
Jan 12, 2017
- use short array notation
- use ::class pseudo-constant
- use createMock for phpunit
- simplify tests setup
3fd305e
to
9a5153e
Compare
@wouterj i now try to use the phpunit-bridge as well. but it looks like phpunit is not installed correctly - can you spot what i do wrong? |
2f13903
to
8627e65
Compare
@@ -15,15 +12,18 @@ cache: | |||
|
|||
env: SYMFONY_VERSION=3.2.* | |||
|
|||
global: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://docs.travis-ci.com/user/environment-variables/#Defining-encrypted-variables-in-.travis.yml, the global key must be under the env key:
env:
global:
- SYMFONY_VERSION=3.2.*
- SYMFONY_PHPUNIT_DIR=.phpunit
- SYMFONY_PHPUNIT_REMOVE="symfony/yaml"
- SYMFONY_PHPUNIT_VERSION=5.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now i feel stupid. thanks a lot for spotting this one! that fixes it
* use short array notation * use ::class pseudo-constant * use createMock for phpunit * simplify tests setup
ready to review and merge \o/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As i can't see what you didn't change, i can't say if you got them all, but what you have changed is good.