We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2f07a9 commit 1e53f72Copy full SHA for 1e53f72
Magento2/Sniffs/Functions/DiscouragedFunctionSniff.php
@@ -96,7 +96,7 @@ class DiscouragedFunctionSniff extends ForbiddenFunctionsSniff
96
'^parse_str$' => null,
97
'^parse_url$' => null,
98
'^parsekit_compile_string$' => null,
99
- '^pathinfo$' => null,
+ '^pathinfo$' => 'Magento\Framework\Filesystem\Io\File->getPathInfo()',
100
'^pcntl_.*$' => null,
101
'^posix_.*$' => null,
102
'^pfpro_.*$' => null,
0 commit comments