-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpstan.neon
25 lines (25 loc) · 1.47 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
parameters:
scanDirectories:
- %rootDir%/../../../src/lib
- %rootDir%/../../../tests
bootstrapFiles:
- %rootDir%/../../../tests/Unit/Bootstrap.php
ignoreErrors:
- '#^Class MongoDB\\BSON\\UTCDateTime constructor invoked with 0 parameters, 1 required\.#'
- '#^Class MongoDB\\BSON\\Binary constructor invoked with 1 parameter, 2 required\.#'
- '#Function apc_exists not found#'
- '#Function apc_store not found#'
- '#Function apc_fetch not found#'
- '#Tubee\\Endpoint\\Pdo\\Wrapper\:\:__construct\(\) does not call parent constructor from PDO#'
- '#Call to an undefined method Tubee\\Resource\\Factory::build\(\)#'
- '#Tubee\\Endpoint\\Mysql\\Wrapper\:\:__construct\(\) does not call parent constructor from mysqli#'
- '#Tubee\\Rest\\Helper#'
- '#Access to an undefined property Tubee\\V8\\Engine::\$logger#'
- '#Access to an undefined property Tubee\\V8\\Engine::\$crypt#'
- '#Method Tubee\\Endpoint\\Xml::getOne\(\) should return Tubee\\EndpointObject\\EndpointObjectInterface but return statement is missing.#'
- '#Method Tubee\\Rest\\Middlewares\\Acl::process\(\) should return Psr\\Http\\Message\\ResponseInterface but return statement is missing.#'
- message: '#Undefined variable: \$this#'
path: src/lib/Rest/Helper.php
reportUnmatchedIgnoredErrors: false
includes:
- phar://vendor/phpstan/phpstan/phpstan.phar/conf/config.level1.neon