Skip to content

Commit

Permalink
minor #49896 Apply no_null_property_initialization PHP-CS-Fixer rule …
Browse files Browse the repository at this point in the history
…(yguedidi)

This PR was merged into the 6.3 branch.

Discussion
----------

Apply no_null_property_initialization PHP-CS-Fixer rule

| Q             | A
| ------------- | ---
| Branch?       | 6.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

After a discussion with `@stof`, this rule should be part of the ``@Symfony`` PHP-CS-Fixer ruleset.
This PR apply the rule on the Symfony code base.
see PHP-CS-Fixer/PHP-CS-Fixer#6876 for the PR on PHP-CS-Fixer

Commits
-------

2320c2a906 Apply no_null_property_initialization PHP-CS-Fixer rule
  • Loading branch information
nicolas-grekas committed Apr 3, 2023
2 parents ab45985 + c57ba36 commit 1f878ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Console/Descriptor/TextDescriptorTest.php
Expand Up @@ -17,7 +17,7 @@

class TextDescriptorTest extends AbstractDescriptorTestCase
{
private static $fileLinkFormatter = null;
private static $fileLinkFormatter;

protected static function getDescriptor()
{
Expand Down

0 comments on commit 1f878ef

Please sign in to comment.