Skip to content

Commit

Permalink
Merge pull request #153 from magento/korostii-patch-discouraged-typo
Browse files Browse the repository at this point in the history
Fix typo in DiscouragedFunctionSniff
  • Loading branch information
lenaorobei authored Oct 30, 2019
2 parents 8aa173c + 08cc5e7 commit 6071898
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 6071898

Please sign in to comment.