-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpstan-baseline.neon
41 lines (34 loc) · 2.35 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: "#^Call to an undefined method Magento\\\\Store\\\\Api\\\\Data\\\\StoreInterface\\:\\:getBaseCurrency\\(\\)\\.$#"
count: 1
path: src/Block/System/Config/Form/Field/CustomFees.php
-
message: "#^Call to an undefined method Magento\\\\Store\\\\Api\\\\Data\\\\WebsiteInterface\\:\\:getDefaultStore\\(\\)\\.$#"
count: 1
path: src/Block/System/Config/Form/Field/CustomFees.php
-
message: "#^Parameter \\#1 \\$items of method Magento\\\\Framework\\\\Api\\\\SearchResultsInterface\\:\\:setItems\\(\\) expects array\\<Magento\\\\Framework\\\\Api\\\\ExtensibleDataInterface\\>, array\\<Magento\\\\Framework\\\\DataObject\\> given\\.$#"
count: 1
path: src/Model/CustomOrderFeesRepository.php
-
message: "#^Parameter \\#1 \\$object of method Magento\\\\Framework\\\\Model\\\\ResourceModel\\\\Db\\\\AbstractDb\\:\\:delete\\(\\) expects Magento\\\\Framework\\\\Model\\\\AbstractModel, JosephLeedy\\\\CustomFees\\\\Api\\\\Data\\\\CustomOrderFeesInterface given\\.$#"
count: 1
path: src/Model/CustomOrderFeesRepository.php
-
message: "#^Parameter \\#1 \\$object of method Magento\\\\Framework\\\\Model\\\\ResourceModel\\\\Db\\\\AbstractDb\\:\\:load\\(\\) expects Magento\\\\Framework\\\\Model\\\\AbstractModel, JosephLeedy\\\\CustomFees\\\\Api\\\\Data\\\\CustomOrderFeesInterface given\\.$#"
count: 2
path: src/Model/CustomOrderFeesRepository.php
-
message: "#^Parameter \\#1 \\$object of method Magento\\\\Framework\\\\Model\\\\ResourceModel\\\\Db\\\\AbstractDb\\:\\:save\\(\\) expects Magento\\\\Framework\\\\Model\\\\AbstractModel, JosephLeedy\\\\CustomFees\\\\Api\\\\Data\\\\CustomOrderFeesInterface given\\.$#"
count: 1
path: src/Model/CustomOrderFeesRepository.php
-
message: "#^Parameter \\#2 \\$scope of method Magento\\\\Framework\\\\Pricing\\\\PriceCurrencyInterface\\:\\:convert\\(\\) expects bool\\|int\\|Magento\\\\Framework\\\\App\\\\ScopeInterface\\|string\\|null, Magento\\\\Store\\\\Api\\\\Data\\\\StoreInterface given\\.$#"
count: 1
path: src/Model/Total/Quote/CustomFees.php
-
message: "#^Parameter \\#1 \\$customFees of method Magento\\\\Quote\\\\Api\\\\Data\\\\CartExtensionInterface\\:\\:setCustomFees\\(\\) expects array, array\\<array\\<string, float\\|Magento\\\\Framework\\\\Phrase\\|string\\>\\> given\\.$#"
count: 1
path: src/Model/Total/Quote/CustomFees.php