From a2ba41740c187bfe8939f91bdd14ae1e19b5792f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 16 Oct 2019 02:11:38 +0200 Subject: [PATCH] Remove resolved errors from phpstan config --- phpstan-tests.neon | 6 ++---- phpstan.neon | 7 ++----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/phpstan-tests.neon b/phpstan-tests.neon index 906234e..60e562e 100644 --- a/phpstan-tests.neon +++ b/phpstan-tests.neon @@ -1,7 +1,5 @@ parameters: + autoload_files: + - tests/phpstan-bootstrap.php ignoreErrors: - - '#Function uuid_create not found#' - - '#Function uuid_parse not found#' - - '#Constant UUID_TYPE_TIME not found#' - - '#Constant UUID_TYPE_RANDOM not found#' - '#Cannot cast Ramsey\\Uuid\\UuidInterface to string.#' diff --git a/phpstan.neon b/phpstan.neon index 6eedbef..e574e17 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,6 +1,3 @@ parameters: - ignoreErrors: - - '#Function uuid_create not found#' - - '#Function uuid_parse not found#' - - '#Constant UUID_TYPE_TIME not found#' - - '#Constant UUID_TYPE_RANDOM not found#' + autoload_files: + - tests/phpstan-bootstrap.php