Skip to content

Commit

Permalink
Fix typo in DiscouragedFunctionSniff
Browse files Browse the repository at this point in the history
  • Loading branch information
korostii authored Oct 29, 2019
1 parent 8aa173c commit 08cc5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Magento2/Sniffs/Functions/DiscouragedFunctionSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class DiscouragedFunctionSniff extends ForbiddenFunctionsSniff
'^readlink$' => null,
'^register_shutdown_function$' => null,
'^register_tick_function$' => null,
'^rename$' => 'Magento\Framework\Filesystem\DriverInterface::raname()',
'^rename$' => 'Magento\Framework\Filesystem\DriverInterface::rename()',
'^rmdir$' => 'Magento\Framework\Filesystem\DriverInterface::deleteDirectory()',
'^scandir$' => null,
'^session_.*$' => null,
Expand Down

0 comments on commit 08cc5e7

Please sign in to comment.