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

Prepare for PHPUnit 6 #705

Merged
merged 1 commit into from
Mar 22, 2017
Merged

Prepare for PHPUnit 6 #705

merged 1 commit into from
Mar 22, 2017

Conversation

hboomsma
Copy link

After these changes the project is compatible with PHPUnit 6.0.
The symfony/phpunit-bridge however is still not compatible, so
the version requirement in the composer.json is not elevated to
^6.0 yet. As soon as symfony fixes their bridge this can be done.

After these changes the project is compatible with PHPUnit 6.0.
The symfony/phpunit-bridge however is still not compatible, so
the version requirement in the composer.json is not elevated to
^6.0 yet. As soon as symfony fixes their bridge this can be done.
backupGlobals="false"
bootstrap="vendor/autoload.php"
colors="true"
enforceTimeLimit="true"
beStrictAboutTestsThatDoNotTestAnything="false"
Copy link
Member

Choose a reason for hiding this comment

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

is that change necessary?

Copy link
Author

Choose a reason for hiding this comment

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

Not yet, but in PHPUnit 6.0 you will get a lot of risky tests and exit code 1 when you have no explicit asserts in them. This maintains 5.x behaviour for now.

But since I did not update the constraint yet, it is not strictly necessary.

Copy link
Author

Choose a reason for hiding this comment

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

I can remove it, with no problem, just let me know what is preferable.

Copy link
Member

Choose a reason for hiding this comment

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

Ah I see it becomes strict by default in 6.0. Fine then :)

@theofidry theofidry merged commit 99ee20a into nelmio:master Mar 22, 2017
@theofidry
Copy link
Member

Thanks!

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