@@ -96,7 +96,7 @@ abstract private function somefunc() { // To verify PHPCompatibility sniff.
9696 $ output = $ commandTester ->getDisplay ();
9797 $ this ->assertMatchesRegularExpression ('/E\.* 10\.* \/ 10 \(100%\)/ ' , $ output ); // Progress.
9898 $ this ->assertMatchesRegularExpression ('/\/fixable.php/ ' , $ output ); // File.
99- $ this ->assertMatchesRegularExpression ('/ 11 ERRORS AND 1 WARNING AFFECTING 8 / ' , $ output ); // Summary.
99+ $ this ->assertMatchesRegularExpression ('/ 13 ERRORS AND 1 WARNING AFFECTING 8 / ' , $ output ); // Summary.
100100 $ this ->assertMatchesRegularExpression ('/BoilerplateComment\.NoBoilerplateComment/ ' , $ output ); // Moodle sniff.
101101 $ this ->assertMatchesRegularExpression ('/Expected MOODLE_INTERNAL check/ ' , $ output ); // Moodle sniff.
102102 $ this ->assertMatchesRegularExpression ('/print_error\(\) has been deprecated/ ' , $ output ); // Moodle sniff.
@@ -108,6 +108,7 @@ abstract private function somefunc() { // To verify PHPCompatibility sniff.
108108 $ this ->assertMatchesRegularExpression ('/Missing docblock for function somefunc/ ' , $ output ); // Moodle sniff.
109109 $ this ->assertMatchesRegularExpression ('/AbstractPrivateMethods\.Found/ ' , $ output ); // PHPCompatibility sniff.
110110 $ this ->assertMatchesRegularExpression ('/Opening brace must be the last content/ ' , $ output ); // Generic sniff.
111+ $ this ->assertMatchesRegularExpression ('/Closing brace must not be followed by an/ ' , $ output ); // PSR12 sniff.
111112 $ this ->assertMatchesRegularExpression ('/Files\.EndFileNewline\.NotFound/ ' , $ output ); // Generic of file.
112113 $ this ->assertMatchesRegularExpression ('/PHPCBF CAN FIX THE 4 MARKED SNIFF/ ' , $ output ); // PHPCBF note.
113114 $ this ->assertMatchesRegularExpression ('/Time:.*Memory:/ ' , $ output ); // Time.
0 commit comments