diff --git a/Config/phpcs.xml b/Config/phpcs.xml index 96f7f77..e806b91 100755 --- a/Config/phpcs.xml +++ b/Config/phpcs.xml @@ -66,11 +66,11 @@ - + *Excel.php */tests/* - */Interfaces/* @@ -206,12 +205,11 @@ - - + @@ -221,6 +219,5 @@ *ResponseType.js - *HttpUri.js \ No newline at end of file diff --git a/Config/phpstan.neon b/Config/phpstan.neon index 3bc439f..ae0b092 100755 --- a/Config/phpstan.neon +++ b/Config/phpstan.neon @@ -8,9 +8,6 @@ parameters: universalObjectCratesClasses: - Stripe\StripeObject reportUnmatchedIgnoredErrors: false - inferPrivatePropertyTypeFromConstructor: true - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false treatPhpDocTypesAsCertain: false excludePaths: - *.tpl.php @@ -56,6 +53,10 @@ parameters: - *Datamatrix.php - *QR.php ignoreErrors: + - + identifier: missingType.iterableValue + - + identifier: missingType.generics - '#^Call to an undefined method phpOMS\\Module\\ModuleAbstract::[.]*#' - '#expects phpOMS\\Algorithm\\PathFinding\\JumpPointNode\|null, phpOMS\\Algorithm\\PathFinding\\Node\|null given#' - '#should return array but returns array