Skip to content

Conversation

GaryJones
Copy link
Contributor

For some reason, the presence of trigger_error() in our ruleset tests (either directly, or via the presence of _deprecated_file(), was breaking the tests.

This should probably be looked at again to find the root cause, but this is a satisfactory work around for now.

@GaryJones GaryJones added this to the 2.1.0 milestone Jul 3, 2020
@GaryJones GaryJones requested a review from rebeccahum July 3, 2020 14:28
@GaryJones
Copy link
Contributor Author

Judging between how https://travis-ci.org/github/Automattic/VIP-Coding-Standards/jobs/704661875 passed (for a different PR), and https://travis-ci.org/github/Automattic/VIP-Coding-Standards/jobs/704661876 failed (same, but with PHP 7.4snapshot), it looks like something changed with trigger_error() + PHP 7.4.

@GaryJones
Copy link
Contributor Author

Once #484 is merged, then the final job should be re-run, as the curly brace in Config.php error was fixed in PHPCS 3.5.0

rebeccahum
rebeccahum previously approved these changes Jul 3, 2020
For some reason, the presence of `trigger_error()` in our ruleset tests (either directly, or via the presence of `_deprecated_file()`, was breaking the tests.
@rebeccahum rebeccahum merged commit fe60d9f into develop Jul 3, 2020
@rebeccahum rebeccahum deleted the fix/ruleset-tests branch July 3, 2020 18:00
@GaryJones
Copy link
Contributor Author

Reverted and fixed in #509.

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.

3 participants