We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd7aa90 commit 5047b71Copy full SHA for 5047b71
Test/SymfonyPolyfillPHP72Test.php
@@ -2,6 +2,10 @@
2
/*
3
* Test file to run PHP_CodeSniffer against to make sure the polyfills are correctly excluded.
4
*/
5
+
6
+// This test is only about PHPCompatibility not flagging _new_/polyfilled functions.
7
+// Not about whether these are later deprecated by PHP again. That's a different concern.
8
+// phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.utf8_encodeDeprecated
9
$a = PHP_OS_FAMILY ? utf8_encode($b) : utf_decode($b);
10
11
$c = stream_isatty();
0 commit comments