forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-v67-baseline.neon
54 lines (46 loc) · 3.82 KB
/
phpstan-v67-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
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$orders of method Shopware\\\\Storefront\\\\Page\\\\Account\\\\Order\\\\AccountOrderPage\\:\\:setOrders\\(\\) expects Shopware\\\\Core\\\\Framework\\\\DataAbstractionLayer\\\\Search\\\\EntitySearchResult\\<Shopware\\\\Core\\\\Checkout\\\\Order\\\\OrderCollection\\>, Shopware\\\\Core\\\\Framework\\\\DataAbstractionLayer\\\\Search\\\\EntitySearchResult\\<Shopware\\\\Core\\\\Checkout\\\\Order\\\\OrderCollection\\>\\|Shopware\\\\Storefront\\\\Framework\\\\Page\\\\StorefrontSearchResult given\\.$#"
count: 1
path: src/Storefront/Page/Account/Order/AccountOrderPageLoader.php
- # @deprecated tag:v6.7.0 Breaking changes in classes, but quite complex, so there are two classes in one file
message: "#^Multiple class/interface/trait is not allowed in single file$#"
paths:
- src/Core/Checkout/Cart/Event/BeforeLineItemQuantityChangedEvent.php
- src/Core/Checkout/Cart/Event/CartChangedEvent.php
- src/Core/Checkout/Order/Event/OrderStateChangeCriteriaEvent.php
- src/Core/Checkout/Payment/Cart/PaymentHandler/DefaultPayment.php
- src/Core/Checkout/Payment/Cart/PaymentHandler/InvoicePayment.php
- src/Core/Checkout/Payment/Cart/PaymentHandler/PrePayment.php
- src/Core/Maintenance/System/Exception/DatabaseSetupException.php
- src/Storefront/Page/Account/Order/AccountOrderPage.php
- # Added optional request parameter @deprecated tag:v6.7.0 - remove this exclusion
message: '#Method .* invoked with 4 parameters, 3 required#'
paths:
- src/Core/Framework/Api/Controller/SalesChannelProxyController.php
- # @deprecated tag:v6.7.0 - Can be removed. Added optional parameter and added it as annotation that consumers get hinted by the IDE to pass it
message: '#PHPDoc tag @param references unknown parameter\: \$recursive#'
paths:
- src/Core/Framework/DataAbstractionLayer/Indexing/TreeUpdater.php
- # @deprecated tag:v6.7.0 - Constructor changed, remove those exclusions
message: '#Class Shopware.* constructor invoked with \d (parameter|parameters), .* required#'
paths:
- src/Core/Checkout/Order/Listener/OrderStateChangeEventListener.php
- src/Core/Checkout/Cart/LineItemFactoryRegistry.php
- src/Core/Maintenance/MaintenanceException.php
- # @deprecated tag:v6.7.0 - Method will be removed
message: "#^Call to an undefined method Shopware\\\\Core\\\\Checkout\\\\Order\\\\Event\\\\OrderStateChangeCriteriaEvent\\:\\:setContext\\(\\)\\.$#"
count: 1
path: src/Core/Checkout/Order/Listener/OrderStateChangeEventListener.php
- # @deprecated tag:v6.7.0 - Method will be removed
message: "#^Call to an undefined method Shopware\\\\Core\\\\Checkout\\\\Cart\\\\Event\\\\BeforeLineItemQuantityChangedEvent\\:\\:setBeforeUpdateQuantity\\(\\)\\.$#"
count: 1
path: src/Core/Checkout/Cart/LineItemFactoryRegistry.php
- # @deprecated tag:v6.7.0 - Constructor changed, remove this exclusion
message: '#Parameter .* of class Shopware\\Core\\Maintenance\\System\\Exception\\DatabaseSetupException constructor expects .*, .* given#'
path: src/Core/Maintenance/MaintenanceException.php
- # @deprecated tag:v6.7.0 - File will be removed
message: "#^Throwing new exceptions within classes are not allowed\\. Please use domain exception pattern\\. See https\\://github\\.com/shopware/platform/blob/v6\\.4\\.20\\.0/adr/2022\\-02\\-24\\-domain\\-exceptions\\.md$#"
count: 1
path: src/Storefront/Theme/ThemeFileImporter.php