-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[ErrorHandler] Added type declarations where possible #32812
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
[ErrorHandler] Added type declarations where possible #32812
Conversation
|
src/Symfony/Component/ErrorHandler/Exception/FatalErrorException.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/ErrorHandler/Tests/Fixtures/LoggerThatSetAnErrorHandler.php
Show resolved
Hide resolved
could you please also remove the useless
|
various checks seem fine for me locally: $> php ./phpunit src/Symfony/Bundle/SecurityBundle/
#...
OK (231 tests, 679 assertions) $> docker run -it --rm --name spu -v "$PWD":/usr/src/spu -w /usr/src/spu php:7.2.19-cli php ./phpunit src/Symfony/Component/HttpClient
#...
OK, but incomplete, skipped, or risky tests!
Tests: 245, Assertions: 511, Skipped: 5. $> php ./phpunit src/Symfony/Component/ErrorHandler/
#...
OK (64 tests, 196 assertions) php version 7.2.20 |
@tweichart don't worry about AppVeyor's failure, it's not related to your changes. |
src/Symfony/Component/ErrorHandler/Exception/SilencedErrorContext.php
Outdated
Show resolved
Hide resolved
…chart) This PR was merged into the 3.4 branch. Discussion ---------- [Debug] minor fix for wrong method name case | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Minor replacement of wrong case for function name, needs to be fixed in 3.4 as hinten [here](#32812 (comment)). Commits ------- 8b2d67b minor fix for wrong case
3b952e1
to
ab6aae1
Compare
Thank you @tweichart. |
…obias Weichart) This PR was squashed before being merged into the 4.4 branch (closes #32812). Discussion ---------- [ErrorHandler] Added type declarations where possible | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - I've added type declarations where possible (method parameters & return types). DocBlocks were replaced too if the type declarations made them redundant. Void returns were replaced whenever necessary. Also on one occasion the setting of the exceptionHandler was replaced by a function call, which did practically the same thing. Commits ------- ab6aae1 [ErrorHandler] Added type declarations where possible
I've added type declarations where possible (method parameters & return types). DocBlocks were replaced too if the type declarations made them redundant.
Void returns were replaced whenever necessary.
Also on one occasion the setting of the exceptionHandler was replaced by a function call, which did practically the same thing.