-
Notifications
You must be signed in to change notification settings - Fork 144
Add a PHP-CS-Fixer rule to avoid deprecation warnings in PHP 8.4 #634
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
Milestone
Comments
oliverklee
added a commit
that referenced
this issue
Jul 4, 2024
Ensure that parameters that have a `null` default value also have `null` as part of their type declarations. Also ensure a uniform notation for nullable types. https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated Fixes #634
oliverklee
added a commit
that referenced
this issue
Aug 26, 2024
Ensure that parameters that have a `null` default value also have `null` as part of their type annotations. Also remove native type declarations for nullable parameters (as nullable parameters are not possible with some of the PHP versions we currently support). https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated Fixes #634
oliverklee
added a commit
that referenced
this issue
Aug 26, 2024
Ensure that parameters that have a `null` default value also have `null` as part of their type annotations. Also remove native type declarations for nullable parameters (as nullable parameters are not possible with some of the PHP versions we currently support). https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated Fixes #634
oliverklee
added a commit
that referenced
this issue
Aug 26, 2024
Ensure that parameters that have a `null` default value also have `null` as part of their type annotations. Also remove native type declarations for nullable parameters (as nullable parameters are not possible with some of the PHP versions we currently support). https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated Fixes #634
oliverklee
added a commit
that referenced
this issue
Aug 26, 2024
Ensure that parameters that have a `null` default value also have `null` as part of their type annotations. Also remove native type declarations for nullable parameters (as nullable parameters are not possible with some of the PHP versions we currently support). https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated Fixes #634
oliverklee
added a commit
that referenced
this issue
Aug 28, 2024
Ensure that parameters that have a `null` default value also have `null` as part of their type annotations. Also remove native type declarations for nullable parameters (as nullable parameters are not possible with some of the PHP versions we currently support). https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated Fixes #634
oliverklee
added a commit
that referenced
this issue
Sep 1, 2024
Ensure that parameters that have a `null` default value also have `null` as part of their type annotations. Also remove native type declarations for nullable parameters (as nullable parameters are not possible with some of the PHP versions we currently support). https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated Fixes #634
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://cs.symfony.com/doc/rules/function_notation/nullable_type_declaration_for_default_null_value.html
The text was updated successfully, but these errors were encountered: