=========================== Rule ``no_alias_functions`` =========================== Master functions shall be used instead of aliases. .. warning:: Using this rule is risky. Risky when any of the alias functions are overridden. Configuration ------------- ``sets`` ~~~~~~~~ List of sets to fix. Defined sets are ``@internal`` (native functions), ``@IMAP`` (IMAP functions), ``@mbreg`` (from ``ext-mbstring``) ``@all`` (all listed sets). Allowed values: a subset of ``['@internal', '@IMAP', '@mbreg', '@all', '@time', '@exif']`` Default value: ``['@internal', '@IMAP']`` Examples -------- Example #1 ~~~~~~~~~~ *Default* configuration. .. code-block:: diff --- Original +++ New @@ -1,22 +1,22 @@ ['@mbreg']]``. .. code-block:: diff --- Original +++ New @@ -1,3 +1,3 @@ ['@all']]`` @PHP80Migration:risky Using the ``@PHP80Migration:risky`` rule set will enable the ``no_alias_functions`` rule with the config below: ``['sets' => ['@all']]``