-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathphpcs.xml.dist
69 lines (60 loc) · 3.5 KB
/
phpcs.xml.dist
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
<?xml version="1.0"?>
<ruleset>
<arg name="basepath" value="."/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="45"/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<!-- Ignore warnings, show progress -->
<arg value="nps"/>
<file>src</file>
<file>tests</file>
<rule ref="LeroyMerlin"/>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>tests/Migrations/stubs/</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingAnyTypeHint">
<exclude-pattern>tests/MongolidModelTest.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter">
<exclude-pattern>tests/UTCDateTimeComparator.php</exclude-pattern>
<exclude-pattern>tests/LaravelEventTriggerTest.php</exclude-pattern>
<exclude-pattern>tests/MongolidUserProviderTest.php</exclude-pattern>
<exclude-pattern>src/MongolidServiceProvider.php</exclude-pattern>
<exclude-pattern>src/Validation/Rules.php</exclude-pattern>
<exclude-pattern>src/LegacyMongolidModel.php</exclude-pattern>
<exclude-pattern>src/MongolidModel.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint">
<exclude-pattern>src/LaravelCacheComponent.php</exclude-pattern>
<exclude-pattern>src/MigrationServiceProvider.php</exclude-pattern>
<exclude-pattern>src/MongolidServiceProvider.php</exclude-pattern>
<exclude-pattern>src/Validation/Rules.php</exclude-pattern>
<exclude-pattern>src/Migrations/Migration.php</exclude-pattern>
<exclude-pattern>src/MongolidFailedJobProvider.php</exclude-pattern>
<exclude-pattern>src/Migrations/Commands/MigrateCommand.php</exclude-pattern>
<exclude-pattern>src/Migrations/Commands/FreshCommand.php</exclude-pattern>
<exclude-pattern>src/Migrations/Commands/InstallCommand.php</exclude-pattern>
<exclude-pattern>src/Migrations/MigrationCreator.php</exclude-pattern>
<exclude-pattern>src/Migrations/Commands/RollbackCommand.php</exclude-pattern>
<exclude-pattern>src/Migrations/Commands/MigrateMakeCommand.php</exclude-pattern>
<exclude-pattern>src/Migrations/Commands/StatusCommand.php</exclude-pattern>
<exclude-pattern>src/LaravelEventTrigger.php</exclude-pattern>
<exclude-pattern>src/FailedJobsService.php</exclude-pattern>
<exclude-pattern>src/Migrations/Commands/RefreshCommand.php</exclude-pattern>
<exclude-pattern>src/MongolidUserProvider.php</exclude-pattern>
<exclude-pattern>src/Migrations/MongolidMigrationRepository.php</exclude-pattern>
<exclude-pattern>src/LegacyMongolidModel.php</exclude-pattern>
<exclude-pattern>src/Migrations/Migrator.php</exclude-pattern>
<exclude-pattern>src/Migrations/Commands/ResetCommand.php</exclude-pattern>
<exclude-pattern>src/Migrations/Commands/ResetCommand.php</exclude-pattern>
<exclude-pattern>src/MongolidModel.php</exclude-pattern>
<exclude-pattern>tests/Stubs</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference.ClassNameReferencedViaFunctionCall">
<exclude-pattern>tests/MongolidUserProviderTest.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint.DisallowedMixedTypeHint">
<type>warning</type>
</rule>
</ruleset>