
no_unset_cast
¶Variables must be set null
instead of using (unset)
casting.
The rule is part of the following rule sets:
Using the @PHP80Migration rule set will enable the no_unset_cast
rule.
Using the @PHP81Migration rule set will enable the no_unset_cast
rule.
Using the @PHP82Migration rule set will enable the no_unset_cast
rule.
Using the @PhpCsFixer rule set will enable the no_unset_cast
rule.
Using the @Symfony rule set will enable the no_unset_cast
rule.