Strip the codingStandardsIgnoreFile string from the input.

Parameters

string $input: The input string.

Return value

string The input string with codingStandardsIgnoreFile removed from it.

Related topics

1 call to advagg_test_remove_sniffer_comments()
AdvAggCascadingStylesheetsTestCase::testRenderFile in tests/advagg.test
Tests rendering the stylesheets.

File

tests/advagg.test, line 91

Code

function advagg_test_remove_sniffer_comments($input) {
    $string = "/* @codingStandardsIgnoreFile */\n";
    return str_replace($string, '', $input);
}