Skip to content

Commit 350cf9a

Browse files
committed
Add suggested replacement for \posix_isatty()
1 parent aec6744 commit 350cf9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: Magento2/Sniffs/Functions/DiscouragedFunctionSniff.php

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class DiscouragedFunctionSniff extends ForbiddenFunctionsSniff
104104
'^parsekit_compile_string$' => null,
105105
'^pathinfo$' => 'Magento\Framework\Filesystem\Io\File::getPathInfo',
106106
'^pcntl_.*$' => null,
107+
'^posix_isatty$' => 'stream_isatty',
107108
'^posix_.*$' => null,
108109
'^pfpro_.*$' => null,
109110
'^pfsockopen$' => null,

0 commit comments

Comments
 (0)