File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 88
99 <autoload >./PHPCSCompatibility.php</autoload >
1010
11+ <rule ref =" Generic.PHP.Syntax" />
12+
1113 <rule ref =" WordPressVIPMinimum.TemplatingEngines.UnescapedOutputTwig" >
1214 <include-pattern >*.twig</include-pattern >
1315 </rule >
Original file line number Diff line number Diff line change @@ -175,4 +175,6 @@ include( 'non-php-file.svg' ); // NOK. Error. Including non-php file.
175175
176176echo file_get_contents ( 'non-php-file.svg ' ); // XSS OK. Preferred way of including SVG/CSS file. WP_Filesystem Warning.
177177
178- ?> <!-- closing PHP tag should be omitted -->
178+ thisisasyntaxerror! // Bad. Error.
179+
180+ ?> <!-- closing PHP tag should be omitted -->
Original file line number Diff line number Diff line change 5050 166 => 1 ,
5151 170 => 1 ,
5252 174 => 1 ,
53+ 178 => 1 ,
5354 ),
5455 'warnings ' => array (
5556 9 => 1 ,
You can’t perform that action at this time.
0 commit comments