diff --git a/Documentation/source/configuration.rst b/Documentation/source/configuration.rst index 5cc0c0e..a4efe38 100644 --- a/Documentation/source/configuration.rst +++ b/Documentation/source/configuration.rst @@ -187,6 +187,28 @@ Using ``runtime-set``: --runtime-set removedClassConfigFiles "/Some/Absolute/Path/*.yaml" +.. _configuration-removedGlobalConfigFiles: + +removedGlobalConfigFiles +^^^^^^^^^^^^^^^^^^^^^^^^ + +Configure where to look for configuration files defining the removed globals. Default is +``Configuration/Removed/Globals/*.yaml`` inside the standard itself. We already try to deliver as +much as possible. Globing is used, so placeholders like ``*`` are possible, see +https://secure.php.net/manual/en/function.glob.php + +Using :file:`ruleset.xml`: + +.. code:: xml + + + +Using ``runtime-set``: + +.. code:: bash + + --runtime-set removedGlobalConfigFiles "/Some/Absolute/Path/*.yaml" + .. _configuration-removedTypoScriptConfigFiles: removedTypoScriptConfigFiles diff --git a/Documentation/source/features.rst b/Documentation/source/features.rst index 7576335..69cd6ca 100644 --- a/Documentation/source/features.rst +++ b/Documentation/source/features.rst @@ -106,6 +106,9 @@ functions. For configuration options see :ref:`configuration-removedConstantConf Check for usage of *removed PHP classes*. The classes are configured in same way as removed functions. For configuration options see :ref:`configuration-removedClassConfigFiles`. +Check for usage of *removed PHP globals*. The globals are configured in same way as removed +functions. For configuration options see :ref:`configuration-removedGlobalConfigFiles`. + Check for usage of *removed TypoScript*. The TypoScript objects are configured in same way as removed functions. For configuration options see :ref:`configuration-removedTypoScriptConfigFiles`. This will check whether you are using already removed TypoScript parts, supported are: