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