-
Notifications
You must be signed in to change notification settings - Fork 144
[TASK] Configure PHPUnit to be more strict #743
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
Conversation
This is the v8.x backport of #743.
This is the v8.x backport of #743.
77f9b0f
to
3a95a1c
Compare
This is the v8.x backport of #743.
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.
Changes seem mostly fine, but could we please keep the original indentation style. This would make the diff cleaner, and avoid attributes being idented by 9 spaces.
Also, do we need bootstrap="vendor/autoload.php"
. It seems to work without it, and must presumably be using that by default, otherwise the classes to be tested wouldn't load. Explicitly stating it creates a hard-coded value that makes assumptions about the behaviour of a third-party package (Composer itself). If PHPUnit effectively deals with the location of Composer's autoload file, then we should just allow it to do so.
This is the v8.x backport of #743.
Done and repushed. |
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.
I see clearly now we already had cacheResult="false"
in this project :)
This is the v8.x backport of #743.
This is the v8.x backport of #743.
This is the v8.x backport of #743.
This change brings the PHPUnit configuration in line with what we have at Emogrifier (except for the difference in the XSD version number).