Skip to content

Commit d56f46e

Browse files
minor #49896 Apply no_null_property_initialization PHP-CS-Fixer rule (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
2 parents 907da95 + 063c555 commit d56f46e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Mailer/DummyMailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
class DummyMailer implements MailerInterface
2222
{
23-
private $sentMessage = null;
23+
private $sentMessage;
2424

2525
public function send(RawMessage $message, Envelope $envelope = null): void
2626
{

0 commit comments

Comments
 (0)