-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpstan.neon
More file actions
19 lines (19 loc) · 1.72 KB
/
Copy pathphpstan.neon
File metadata and controls
19 lines (19 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
parameters:
level: 7
ignoreErrors:
- '#Call to an undefined method Symfony\\Component\\HttpKernel\\Event\\KernelEvent\:\:isMainRequest\(\).#'
- '#Property .+SessionHandlerCouchbase::\$connection has unknown class Couchbase as its type.#'
- '#Instantiated class Couchbase not found.#'
- '#Call to method .+\(\) on an unknown class Couchbase.#'
- '#Parameter \#1 \$keys of method Predis\\ClientInterface::del\(\) expects array, string given.#'
- '#Parameter \#3 \$read of function session_set_save_handler expects callable\(string\): string, array\{SessionHandlerInterface, ''read''\} given.#'
- '#Parameter \#6 \$gc of function session_set_save_handler expects callable\(string\): bool, array\{SessionHandlerInterface, ''gc''\} given.#'
- { message: '#Ternary operator condition is always true.#', path: '%rootDir%/../../../src/Spryker/Session/src/Spryker/Shared/Session/Business/Handler/SessionHandlerCouchbase.php' }
- { message: '#Ternary operator condition is always true.#', path: '%rootDir%/../../../src/Spryker/Session/src/Spryker/Shared/Session/Business/Handler/SessionHandlerRedis.php' }
- { message: '#Instanceof between int and Predis\\Response\\Status will always evaluate to false.#', path: '%rootDir%/../../../src/Spryker/Session/src/Spryker/Shared/Session/Business/Handler/SessionHandlerRedisLocking.php' }
- { message: '#Unreachable statement - code above always terminates.#', path: '%rootDir%/../../../src/Spryker/Session/src/Spryker/Shared/Session/Business/Handler/SessionHandlerRedisLocking.php' }
-
identifier: missingType.iterableValue
-
identifier: trait.unused
reportUnmatchedIgnoredErrors: false