Skip to content

Commit

Permalink
Remove Nette-framework specific forbidd rules (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Jan 11, 2024
1 parent c4ebbc4 commit 51a85e8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions config/rector-rules.neon
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ services:
forbiddenFunctions:
'dump_node': ''

'preg_match': 'use "Nette\Utils\Strings::match()" instead'
'preg_match_all': 'use "Nette\Utils\Strings::matchAll()" instead'
'preg_replace': 'use "Nette\Utils\Strings::replace()" instead'

# forbid debug
'd': ''
'dd': ''
Expand Down

0 comments on commit 51a85e8

Please sign in to comment.