Skip to content

Commit

Permalink
Merge pull request #240 from magento-commerce/imported-fredden-magent…
Browse files Browse the repository at this point in the history
…o-coding-standard-445

[Imported] Add suggested replacement for \posix_isatty()
  • Loading branch information
sidolov authored Sep 20, 2023
2 parents 7f3030b + 350cf9a commit b7bf3fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Magento2/Sniffs/Functions/DiscouragedFunctionSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class DiscouragedFunctionSniff extends ForbiddenFunctionsSniff
'^parsekit_compile_string$' => null,
'^pathinfo$' => 'Magento\Framework\Filesystem\Io\File::getPathInfo',
'^pcntl_.*$' => null,
'^posix_isatty$' => 'stream_isatty',
'^posix_.*$' => null,
'^pfpro_.*$' => null,
'^pfsockopen$' => null,
Expand Down

0 comments on commit b7bf3fb

Please sign in to comment.