From fc8d3579ffd0b35a5ce782f12f098b6e080cf4c6 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 13 Apr 2017 12:04:46 +0200 Subject: [PATCH] TASK: Add hint how to disable warnings for specific deprecations --- Documentation/source/configuration.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/source/configuration.rst b/Documentation/source/configuration.rst index 07023b2..6209816 100644 --- a/Documentation/source/configuration.rst +++ b/Documentation/source/configuration.rst @@ -13,6 +13,10 @@ already documented by phpcs itself. Therefore this documentation will just menti Beside that, some options are also available through CLI. Examples are always provided. +To disable warnings for specific deprecated parts, e.g. a specific function, you can use the full +sniff name, as we try to add the concrete constant or function name to the sniff. Just run ``phpcs`` +with the ``-s`` option to see sniff names. + The following configuration options are available: .. _configuration-legacyExtensions: