-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathextension.neon
More file actions
91 lines (79 loc) · 3.22 KB
/
extension.neon
File metadata and controls
91 lines (79 loc) · 3.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
parametersSchema:
migrationRules: structure([
requiredCollation: string()
phinx: structure([
enforceCollation: bool()
forbidAfter: bool()
forbidEnumColumn: bool()
forbidRawSql: bool()
forbidMultipleTableCreations: bool()
])
laravel: structure([
enforceCollation: bool()
forbidAfter: bool()
forbidEnumColumn: bool()
forbidRawSql: bool()
forbidMultipleTableCreations: bool()
])
])
parameters:
migrationRules:
requiredCollation: utf8
phinx:
enforceCollation: true
forbidAfter: true
forbidEnumColumn: false
forbidRawSql: false
forbidMultipleTableCreations: true
laravel:
enforceCollation: true
forbidAfter: true
forbidEnumColumn: false
forbidRawSql: false
forbidMultipleTableCreations: true
conditionalTags:
PhpStanMigrationRules\Rules\Phinx\EnforceCollationRule:
phpstan.rules.rule: %migrationRules.phinx.enforceCollation%
PhpStanMigrationRules\Rules\Phinx\ForbidAfterRule:
phpstan.rules.rule: %migrationRules.phinx.forbidAfter%
PhpStanMigrationRules\Rules\Phinx\ForbidEnumColumnRule:
phpstan.rules.rule: %migrationRules.phinx.forbidEnumColumn%
PhpStanMigrationRules\Rules\Phinx\ForbidRawSqlRule:
phpstan.rules.rule: %migrationRules.phinx.forbidRawSql%
PhpStanMigrationRules\Rules\Phinx\ForbidMultipleTableCreationsRule:
phpstan.rules.rule: %migrationRules.phinx.forbidMultipleTableCreations%
PhpStanMigrationRules\Rules\Laravel\EnforceCollationRule:
phpstan.rules.rule: %migrationRules.laravel.enforceCollation%
PhpStanMigrationRules\Rules\Laravel\ForbidAfterRule:
phpstan.rules.rule: %migrationRules.laravel.forbidAfter%
PhpStanMigrationRules\Rules\Laravel\ForbidEnumColumnRule:
phpstan.rules.rule: %migrationRules.laravel.forbidEnumColumn%
PhpStanMigrationRules\Rules\Laravel\ForbidRawSqlRule:
phpstan.rules.rule: %migrationRules.laravel.forbidRawSql%
PhpStanMigrationRules\Rules\Laravel\ForbidMultipleTableCreationsRule:
phpstan.rules.rule: %migrationRules.laravel.forbidMultipleTableCreations%
services:
-
class: PhpStanMigrationRules\Rules\Phinx\EnforceCollationRule
arguments:
requiredCollation: %migrationRules.requiredCollation%
-
class: PhpStanMigrationRules\Rules\Phinx\ForbidAfterRule
-
class: PhpStanMigrationRules\Rules\Phinx\ForbidEnumColumnRule
-
class: PhpStanMigrationRules\Rules\Phinx\ForbidRawSqlRule
-
class: PhpStanMigrationRules\Rules\Phinx\ForbidMultipleTableCreationsRule
-
class: PhpStanMigrationRules\Rules\Laravel\EnforceCollationRule
arguments:
requiredCollation: %migrationRules.requiredCollation%
-
class: PhpStanMigrationRules\Rules\Laravel\ForbidAfterRule
-
class: PhpStanMigrationRules\Rules\Laravel\ForbidEnumColumnRule
-
class: PhpStanMigrationRules\Rules\Laravel\ForbidRawSqlRule
-
class: PhpStanMigrationRules\Rules\Laravel\ForbidMultipleTableCreationsRule