@@ -26,6 +26,12 @@ http://pear.php.net/dtd/package-2.0.xsd">
26
26
</stability >
27
27
<license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD 3-Clause License</license >
28
28
<notes >
29
+ - The Generic.Formatting.NoSpaceAfterCast sniff has been deprecated and will be removed in version 4
30
+ -- The functionality of this sniff is now available in the Generic.Formatting.SpaceAfterCast sniff
31
+ --- Include the Generic.Formatting.SpaceAfterCast sniff and set the "spacing" property to "0"
32
+ -- As soon as possible, replace all instances of the old sniff code with the new sniff code and property setting
33
+ --- The existing sniff will continue to work until version 4 has been released
34
+
29
35
- Rule include patterns in a ruleset.xml file are now evaluated as OR instead of AND
30
36
-- Previously, a file had to match every include pattern and no exclude patterns to be included
31
37
-- Now, a file must match at least one include pattern and no exclude patterns to be included
@@ -110,6 +116,14 @@ http://pear.php.net/dtd/package-2.0.xsd">
110
116
-- Thanks to Chris Wilkinson for the patch
111
117
- Generic.PHP.CharacterBeforePHPOpeningTag now ignores a BOM at the start of the file
112
118
-- Thanks to Chris Wilkinson for the patch
119
+ - Generic.Formatting.SpaceAfterCast now has a setting to specify how many spaces are required after a type cast
120
+ -- Default remains 1
121
+ -- Override the "spacing" setting in a ruleset.xml file to change
122
+ -- Thanks to Juliette Reinders Folmer for the patch
123
+ - Generic.Formatting.SpaceAfterCast now has a setting to ignore newline characters after a type cast
124
+ -- Default remains FALSE, so newlines are not allowed
125
+ -- Override the "ignoreNewlines" setting in a ruleset.xml file to change
126
+ -- Thanks to Juliette Reinders Folmer for the patch
113
127
- Generic.Formatting.SpaceAfterNot now has a setting to specify how many spaces are required after a NOT operator
114
128
-- Default remains 1
115
129
-- Override the "spacing" setting in a ruleset.xml file to change
0 commit comments