This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
generated from narrowspark/php-library-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan-baseline.neon
42 lines (34 loc) · 1.52 KB
/
phpstan-baseline.neon
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
parameters:
ignoreErrors:
-
message: "#^new \\<class\\> is limited to 3 \"new \\<class\\>\\(new \\<class\\>\\)\\)\" nesting to each other\\. You have 11 nesting\\.$#"
count: 1
path: bin/versions.php
-
message: "#^Class with base \"Container\" name is already used in \"_HumbugBoxa9bfddcdef37\\\\Nette\\\\DI\\\\Container\", \"Narrowspark\\\\Automatic\\\\Versions\\\\Container\"\\. Use unique name to make classes easy to recognize$#"
count: 1
path: src/Container.php
-
message: "#^\\$this as argument is not allowed\\. Refactor method to service composition$#"
count: 1
path: src/Container.php
-
message: "#^Class with base \"Container\" name is already used in \"_HumbugBoxa9bfddcdef37\\\\Nette\\\\DI\\\\Container\", \"Narrowspark\\\\Automatic\\\\Versions\\\\Container\"\\. Use unique name to make classes easy to recognize$#"
count: 1
path: src/Contract/Container.php
-
message: "#^Interface Narrowspark\\\\Automatic\\\\Versions\\\\Contract\\\\Container should end with \"Interface\" suffix\\.$#"
count: 1
path: src/Contract/Container.php
-
message: "#^Interface name \"Container\" must be suffixed with \"Interface\"$#"
count: 1
path: src/Contract/Container.php
-
message: "#^Interface Narrowspark\\\\Automatic\\\\Versions\\\\Contract\\\\Provider should end with \"Interface\" suffix\\.$#"
count: 1
path: src/Contract/Provider.php
-
message: "#^Interface name \"Provider\" must be suffixed with \"Interface\"$#"
count: 1
path: src/Contract/Provider.php