forked from spryker-eco/heidelpay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
31 lines (30 loc) · 2.37 KB
/
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
parameters:
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
- '#Parameter .+ of method .+ has invalid typehint type .+Transfer#'
- '#Call to method .+ on an unknown class .+Transfer#'
- '#Return typehint of method .+ has invalid type .+Transfer#'
- '#Instantiated class Generated\\Shared\\Transfer\\.+Transfer not found#'
- '#Instantiated class Orm\\.+ not found#'
- '#Class Generated\\Shared\\Transfer\\.+Transfer not found.+#'
- '#Call to an undefined method .+Transfer\\AbstractTransfer::.+#'
- '#PHPDoc tag @var for variable .+ contains unknown class Generated\\Shared\\Transfer\\[A-Za-z]+Transfer.+#'
- '#Call to method .+ on an unknown class Orm\\.+#'
- '#Call to method .+ on an unknown class Generated\\.+#'
- '#Parameter \#2 \$object of method Spryker\\Client\\ZedRequest\\ZedRequestClientInterface::call\(\) expects .+TransferInterface, .+Transfer given#'
- '#PHPDoc tag @param for parameter \$quoteTransfer with type .+Transfer is not subtype of native type .+Transfer#'
- '#Return typehint of method .+ has invalid type Orm\\.+#'
- '#Access to constant [A-Z_0-9]+ on an unknown class .+Transfer#'
- '#Cloning object of an unknown class .+Transfer#'
- '#Parameter .+ of method .+ has invalid typehint type Orm\\.+#'
- '#Call to static method create\(\) on an unknown class Orm\\.+#'
- '#Method .+ should return Generated\\.+ but returns .+Transfer#'
- '#Parameter .+ of method .+ expects .+Transfer, .+AbstractTransfer given#'
- '#Method .+ should return array<.+ but returns array<string,.+#'
- '#SprykerEco\\Zed\\Heidelpay\\Business\\Mapper\\QuoteToHeidelpayRequest::findCustomerRegistrationDate\(\) should return string\|null but returns array\|float\|int\|string\|false\|null#'
- '#Method SprykerEco\\Zed\\Heidelpay\\Business\\Encrypter\\AesEncrypter::decryptData\(\) should return string\|null but returns string\|false#'
- '#Method SprykerEco\\Zed\\Heidelpay\\Business\\Encrypter\\AesEncrypter::getRandomPseudoBytes\(\) should return string but returns string\|false#'
- '#Parameter \#1 \$length of function openssl_random_pseudo_bytes expects int, int\|false given#'
excludePaths:
- src/SprykerEco/Zed/Heidelpay/Persistence/Propel/Abstract*.php