Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 670 Bytes

no_alias_language_construct_call.rst

File metadata and controls

31 lines (22 loc) · 670 Bytes

Rule no_alias_language_construct_call

Master language constructs shall be used instead of aliases.

Examples

Example #1

--- Original
+++ New
@@ -1,2 +1,2 @@
 <?php
-die;
+exit;

Rule sets

The rule is part of the following rule sets:

@PhpCsFixer
Using the @PhpCsFixer rule set will enable the no_alias_language_construct_call rule.
@Symfony
Using the @Symfony rule set will enable the no_alias_language_construct_call rule.