Skip to content

Update PHPUnit and tests and add PHP 7.2 to composer.json #1

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

Merged
merged 2 commits into from
Feb 23, 2018

Conversation

pmclain
Copy link

@pmclain pmclain commented Feb 10, 2018

  • Update PHPUnit to version supported by PHP 7.2
  • Fix unit tests for updated PHPUnit version

Fixes magento-engcom/php-7.2-support#2

* Update PHPUnit to version supported by PHP 7.2
* Fix unit tests for updated PHPUnit version
"php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0",
"composer/composer": "1.4.1",
"symfony/console": "~2.3, !=2.7.0"
"php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As symfony/console supports PHP ~7.1.3, we should remove older versions from the list of supported here.
Also, need confirmation from @piotrekkaminski that it's ok to support PHP starting from 7.1.3. If not, we should upgrade to symfony 3 only.

},
"require-dev": {
"phpunit/phpunit": "4.1.0"
"phpunit/phpunit": "~6.2.0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As PHPUnit 7 has been released, can we update to ~7.0.0? Looks like it doesn't cause dependency conflicts and tests pass.

@buskamuza buskamuza changed the base branch from engcom-master to 1.3.0 February 23, 2018 15:49
@buskamuza
Copy link

buskamuza commented Feb 23, 2018

Internal PR - magento/composer#11

@buskamuza buskamuza merged commit 70b9f60 into magento-engcom:1.3.0 Feb 23, 2018
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.

2 participants