-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathphpstan.neon
31 lines (31 loc) · 975 Bytes
/
phpstan.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
parameters:
level: 7
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
fileExtensions:
- php
- phtml
paths:
- Api
- Block
- Controller
- Helper
- Model
- Plugin
- Repository
- Setup
- Ui
- Validator
- view
magento:
checkServiceContracts: false
ignoreErrors:
-
message: '~Parameter #1 \$modelId of method Magento\\Framework\\Model\\AbstractModel::load\(\) expects int, string given~'
path: Repository/WhitelistRepository.php
-
message: '~Method BitExpert\\ForceCustomerLogin\\Repository\\WhitelistRepository::getList\(\) should return~'
path: Repository/WhitelistRepository.php
-
message: '~Call to an undefined method Magento\\Framework\\App\\RequestInterface::isPost\(\)~'
path: Controller/LoginCheck.php