-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathphpstan-6.7.0.0.neon.dist
More file actions
111 lines (93 loc) · 5.44 KB
/
phpstan-6.7.0.0.neon.dist
File metadata and controls
111 lines (93 loc) · 5.44 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Polyfill of trunk's common.neon
parameters:
reportMaybesInMethodSignatures: false
reportWrongPhpDocTypeInVarTag: false
strictRules:
disallowedLooseComparison: false
booleansInConditions: false
booleansInLoopConditions: false
uselessCast: false
requireParentConstructorCall: false
disallowedBacktick: false
disallowedEmpty: false
disallowedImplicitArrayCreation: false
disallowedShortTernary: false
overwriteVariablesWithLoop: false
closureUsesThis: false
matchingInheritedMethodNames: false
numericOperandsInArithmeticOperators: false
strictFunctionCalls: false
dynamicCallOnStaticMethod: false
switchConditionsMatchingType: false
noVariableVariables: false
strictArrayFilter: false
illegalConstructorMethodCall: false
ignoreErrors:
- message: '#.* method_exists\(\) with Shopware\\Core\\Checkout\\Order\\OrderEntity .*#'
identifier: function.impossibleType
path: tests/Checkout/Document/Zugferd/ZugferdSubscriberTest.php
- identifier: symplify.noDynamicName
path: tests/Pos/Mock/MessageBusMock.php
- identifier: symplify.noDynamicName
paths:
- src/Pos/Api/Common/PosStruct.php
- tests/OrdersApi/Builder/APMOrderBuilderTest.php
- tests/Pos/Run/PosSyncControllerTest.php
- tests/Storefront/Controller/ApplePayControllerTest.php
- tests/Storefront/Data/CheckoutSubscriberTest.php
- identifier: arguments.count
message: '#.*PaymentMethodBlockedError.*#'
paths:
- src/Checkout/Cart/Validation/CartValidator.php
- tests/Checkout/PUI/PUISubscriberTest.php
- tests/Checkout/SalesChannel/MethodEligibilityRouteTest.php
- tests/Storefront/Data/CheckoutSubscriberTest.php
- identifier: argument.type
message: '#Shopware\\Core\\Framework\\Struct\\Struct::addExtension\(\) expects Shopware\\Core\\Framework\\Struct\\Struct.*PlanIntervalMappingStruct.*given.#'
path: tests/Checkout/Payment/Service/VaultTokenServiceTest.php
- message: '#PHPDoc tag .* but class Shopware\\Core\\Framework\\DataAbstractionLayer\\Search\\(Criteria|IdSearchResult) is not generic.#'
paths:
- src/Pos/Run/Administration/SyncResetter.php
- src/Pos/Sync/ImageSyncer.php
- tests/Mock/Repositories/AbstractRepoMock.php
- tests/Pos/Run/Administration/SyncResetterTest.php
- message: '#Parameter .* \$ids of method Shopware\\Core\\Framework\\DataAbstractionLayer\\EntityRepository.*::delete\(\)#'
paths:
- src/Pos/Run/Administration/SyncResetter.php
- src/Pos/Sync/ImageSyncer.php
- message: '#Shopware\\Commercial\\Subscription\\Checkout\\Cart\\Recurring\\SubscriptionsRecurringDataStruct#'
paths:
- src/Checkout/Payment/Service/VaultTokenService.php
- tests/Checkout/Method/ACDCHandlerTest.php
- tests/Checkout/Method/VenmoHandlerTest.php
- tests/Checkout/Payment/Service/VaultTokenServiceTest.php
- message: '#(Call to an undefined method.*)?Shopware\\Core\\Framework\\Struct\\Struct::(all|getExtensionOfType)\(\).*(, string given)?#'
path: src/Checkout/Payment/Service/VaultTokenService.php
- message: '#Shopware\\Core\\Content\\Cookie\\Event\\CookieGroupCollectEvent#'
paths:
- src/Storefront/Framework/Cookie/CookieProviderSubscriber.php
- tests/Storefront/Framework/Cookie/CookieProviderSubscriberTest.php
- message: '#Shopware\\Core\\Content\\Cookie\\Struct\\CookieEntry#'
paths:
- src/Storefront/Framework/Cookie/CookieProviderSubscriber.php
- tests/Storefront/Framework/Cookie/CookieProviderSubscriberTest.php
- message: '#Shopware\\Core\\Content\\Cookie\\Struct\\CookieGroup#'
path: tests/Storefront/Framework/Cookie/CookieProviderSubscriberTest.php
- message: '#^Mixed variable in a `\$(required|entries)\-\>\.\.\.\(\)` can skip important errors\. Make sure the type is known$#'
identifier: typePerfect.noMixedMethodCaller
paths:
- src/Storefront/Framework/Cookie/CookieProviderSubscriber.php
- tests/Storefront/Framework/Cookie/CookieProviderSubscriberTest.php
- message: '#^Call to internal static method Shopware\\Core\\Framework\\Context\:\:createDefaultContext\(\) from outside its root namespace Shopware\.$#'
identifier: staticMethod.internal
paths:
- src/Storefront/Framework/Cookie/GooglePayCookieProvider.php
- src/Storefront/Framework/Cookie/PayPalCookieProvider.php
- identifier: typePerfect.noMixedMethodCaller
message: '#^Mixed variable in a `\$(column|index)(->getObjectName\(\))?->\.\.\.\(\)` can skip important errors\. Make sure the type is known$#'
path: tests/Helper/CompatSchemaTrait.php
- message: '#Call to an undefined method Doctrine\\DBAL\\Schema\\(Column|Index)::getObjectName\(\)#'
identifier: method.notFound
path: tests/Helper/CompatSchemaTrait.php
- message: '#Call to an undefined method Doctrine\\DBAL\\Schema\\AbstractSchemaManager<Doctrine\\DBAL\\Platforms\\AbstractPlatform>::introspectTable(Columns|Indexes)ByUnquotedName\(\)#'
path: tests/Helper/CompatSchemaTrait.php