test baseline

This commit is contained in:
Dennis Eichhorn 2019-11-14 21:09:34 +01:00
parent fc123dfc76
commit 99c9a99f78
2 changed files with 1048 additions and 42 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,41 +1,26 @@
includes: includes:
- phpstan-baseline.neon - phpstan-baseline.neon
parameters: parameters:
ignoreErrors: fileExtensions:
- '#Access to protected property Web\\WebApplication::(.*)#' - php
- '#Calling method prepare\(\) on possibly null value of type PDO\|null\.#' excludes_analyse:
- '#Calling method lastInsertId\(\) on possibly null value of type PDO\|null\.#' - *.tpl.php
- '#Cannot call method prepare\(\) on PDO\|null\.#' - */tests/*
- '#Cannot call method beginTransaction\(\) on PDO\|null\.#' - */test/*
- '#Access to an undefined property phpOMS\\DataStorage\\DataStorageConnectionInterface::(.*)#' - *Test.php
- '#Call to an undefined method phpOMS\\Module\\ModuleAbstract::(.*)#' - *Routes.php
- '#Access to an undefined property phpOMS\\ApplicationAbstract::(.*)#' - *Hooks.php
- '#Cannot access property (.*) on phpOMS\\ApplicationAbstract(.*)#' - *ObjLoader.js
- '#Call to an undefined method phpOMS\\DataStorage\\Database\\BuilderAbstract::(.*)#' - */vendor/*
- '#Call to an undefined method object::getId\(\)#' - *vendor*
- '#Cannot call method (.*) on PDO\|null#' - */Demo/*
- '#Call to an undefined method RecursiveIteratorIterator::getSubPathname\(\)#' - */Build/*
- '#Call to an undefined method RecursiveIteratorIterator\|RegexIterator::getSubPathname\(\)#' - */Cache/*
fileExtensions: - */Docs/*
- php - */Documentation/*
excludes_analyse: - */Resources/*
- *.tpl.php - *Resources*
- */tests/* - */Routes/*
- */test/* - */Hooks/*
- *Test.php - */node_modules/*
- *Routes.php
- *Hooks.php
- *ObjLoader.js
- */vendor/*
- *vendor*
- */Demo/*
- */Build/*
- */Cache/*
- */Docs/*
- */Documentation/*
- */Resources/*
- *Resources*
- */Routes/*
- */Hooks/*
- */node_modules/*