Skip to content

Commit 07ec05f

Browse files
committed
Allow rules to be configurable
1 parent 7dc84ee commit 07ec05f

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

extension.neon

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
services:
2-
-
3-
class: PhpStanMigrationRules\Rules\Phinx\EnforceCollationRule
4-
arguments:
5-
requiredCollation: 'utf8'
6-
tags:
7-
- phpstan.rules.rule
1+
parameters:
2+
phpstanMigrationRules:
3+
phinx:
4+
requiredCollation: utf8
85

6+
services:
7+
-
8+
class: PhpStanMigrationRules\Rules\Phinx\EnforceCollationRule
9+
arguments:
10+
requiredCollation: %phpstanMigrationRules.phinx.requiredCollation%
11+
tags:
12+
- phpstan.rules.rule

0 commit comments

Comments
 (0)