Skip to content

Commit 5047b71

Browse files
committed
WIP
1 parent fd7aa90 commit 5047b71

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Test/SymfonyPolyfillPHP72Test.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
/*
33
* Test file to run PHP_CodeSniffer against to make sure the polyfills are correctly excluded.
44
*/
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
59
$a = PHP_OS_FAMILY ? utf8_encode($b) : utf_decode($b);
610

711
$c = stream_isatty();

0 commit comments

Comments
 (0)