Skip to content

Commit a73f45c

Browse files
committed
Changelog for #1999
1 parent af9a34f commit a73f45c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
6969
-- Previously, you could only re-enable a sniff/category/standard using the exact same code that was disabled
7070
-- Now, you can disable a standard and only re-enable a specific category or sniff
7171
-- Or, you can disable a specific sniff and have it re-enable when you re-enable the category or standard
72+
- The value of array sniff properties can now be set using phpcs:set annotations
73+
-- e.g., phpcs:set Standard.Category.SniffName property[] key=>value,key2=>value2
74+
-- Thanks to Michał Bundyra for the patch
7275
- PHPCS annotations now remain as T_PHPCS_* tokens instead of reverting to comment tokens when --ignore-annotations is used
7376
-- This stops sniffs (especially commenting sniffs) from generating a large number of false errors when ignoring
7477
-- Any custom sniffs that are using the T_PHPCS_* tokens to detect annotations may need to be changed to ignore them

0 commit comments

Comments
 (0)