Skip to content
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

Merged
merged 1 commit into from Jan 19, 2017
Merged

minimum php version is 5.6 now #186

merged 1 commit into from Jan 19, 2017

Conversation

dbu
Copy link
Member

@dbu dbu commented Jan 12, 2017

  • use short array notation
  • use ::class pseudo-constant
  • use createMock for phpunit
  • simplify tests setup

@dbu dbu added the wip/poc label Jan 12, 2017
@dbu dbu force-pushed the php56 branch 2 times, most recently from 3fd305e to 9a5153e Compare January 12, 2017 15:11
@dbu
Copy link
Member Author

dbu commented Jan 12, 2017

@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?

@dbu dbu force-pushed the php56 branch 2 times, most recently from 2f13903 to 8627e65 Compare January 16, 2017 08:44
@@ -15,15 +12,18 @@ cache:

env: SYMFONY_VERSION=3.2.*

global:

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

Copy link
Member Author

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
@dbu
Copy link
Member Author

dbu commented Jan 16, 2017

ready to review and merge \o/

Copy link
Member

@ElectricMaxxx ElectricMaxxx left a 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.

@ElectricMaxxx ElectricMaxxx merged commit f3c7bab into master Jan 19, 2017
@ElectricMaxxx ElectricMaxxx deleted the php56 branch January 19, 2017 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants