-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpstan-baseline.neon
60 lines (50 loc) · 2.44 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
parameters:
ignoreErrors:
-
message: "#^Access to an undefined property LaraStrict\\\\Http\\\\Resources\\\\JsonResource\\<TResource\\>\\:\\:\\$preserveKeys\\.$#"
count: 1
path: src/Http/Resources/JsonResource.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Http/Resources/JsonResource.php
-
message: "#^Method LaraStrict\\\\Http\\\\Resources\\\\JsonResourceCollection\\:\\:toArray\\(\\) return type with generic interface Illuminate\\\\Contracts\\\\Support\\\\Arrayable does not specify its types\\: TKey, TValue$#"
count: 1
path: src/Http/Resources/JsonResourceCollection.php
-
message: "#^Cannot cast array\\|string to string\\.$#"
count: 1
path: src/Testing/Actions/GetNamespaceForStubsAction.php
-
message: "#^Calling PHPStan\\\\PhpDoc\\\\PhpDocStringResolver\\:\\:resolve\\(\\) is not covered by backward compatibility promise\\. The method might change in a minor PHPStan version\\.$#"
count: 1
path: src/Testing/Actions/ParsePhpDocAction.php
# forward compatibility
-
message: "#^Attribute class PHPUnit\\\\Framework\\\\Attributes\\\\Before does not exist\\.$#"
count: 1
path: src/Testing/Assert/AssertExpectationTestCase.php
-
message: "#^Attribute class PHPUnit\\\\Framework\\\\Attributes\\\\PostCondition does not exist\\.$#"
count: 1
path: src/Testing/Assert/AssertExpectationTestCase.php
-
message: "#^Method LaraStrict\\\\Testing\\\\Assert\\\\AssertExpectationTestCase\\:\\:beforeStartAssertExpectationManager\\(\\) has no return type specified\\.$#"
count: 1
path: src/Testing/Assert/AssertExpectationTestCase.php
# forward compatibility
-
message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with false and 'Hook should be…' will always evaluate to false\\.$#"
count: 1
path: tests/Feature/Testing/Commands/MakeExpectationCommandRealTest.php
-
message: "#^Method Tests\\\\LaraStrict\\\\Feature\\\\Translations\\\\InvalidServiceProviderTranslations\\:\\:getProviderClass\\(\\) should return class\\-string\\<LaraStrict\\\\Providers\\\\AbstractServiceProvider\\> but returns string\\.$#"
count: 1
path: tests/Feature/Translations/InvalidServiceProviderTranslations.php
# forward compatibility
-
message: "#^Attribute class PHPUnit\\\\Framework\\\\Attributes\\\\BeforeClass does not exist\\.$#"
count: 1
path: tests/Unit/Database/Services/ChunkWriteServiceTest.php
# forward compatibility