-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make phpunit fail on deprecation warnings #989
Conversation
interessting.. locally I get phpunit fail instead of accepting the error after this PR. I think this means the deprecation warning is not emitted at all in CI |
ok, we can see CI failling now. will re-revert the initial fix now |
@nikic I think this fix should cover us in the future //cc @samsonasik |
opened a setup-php bug shivammathur/setup-php#827 |
.github/workflows/main.yml
Outdated
@@ -49,6 +49,7 @@ jobs: | |||
with: | |||
coverage: "none" | |||
php-version: "${{ matrix.php-version }}" | |||
ini-values: "error_reporting=2147483647" # E_ALL |
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.
ini-values: "error_reporting=2147483647" # E_ALL | |
ini-values: "error_reporting=E_ALL" |
Does this not work?
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.
seems to work
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.
using the fix suggested by the setup-php author now
55393f4
to
df37974
Compare
Quite unexpected behavior to me ... guess it's time to go through all my repos and add |
agree. the author agrees too. its planned for the next major, because its a breaking change. |
(cherry picked from commit 4d36e9c)
No description provided.