Strip the codingStandardsIgnoreFile string from the input.
Paramètres
string $input: The input string.
Return value
string The input string with codingStandardsIgnoreFile removed from it.
Sujets associés
1 call to advagg_test_remove_sniffer_comments()
- AdvAggCascadingStylesheetsTestCase::testRenderFile dans tests/
advagg.test - Tests rendering the stylesheets.
Fichier
-
tests/
advagg.test, line 91
Code
function advagg_test_remove_sniffer_comments($input) {
$string = "/* @codingStandardsIgnoreFile */\n";
return str_replace($string, '', $input);
}