From ab0e3558644ae8f76bdf5488d62eb61cdc3d3d7f Mon Sep 17 00:00:00 2001 From: Mark <14284867+xHeaven@users.noreply.github.com> Date: Fri, 27 Dec 2024 19:54:45 +0100 Subject: [PATCH] Use existing enums instead of adding new ones --- phpstan.neon.dist | 3 +-- tests/UseTraitBackedEnum.php | 14 -------------- tests/UseTraitUnitEnum.php | 14 -------------- 3 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 tests/UseTraitBackedEnum.php delete mode 100644 tests/UseTraitUnitEnum.php diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 904e9c0..0a309c3 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -5,8 +5,7 @@ parameters: level: 9 paths: - src - - tests/UseTraitUnitEnum.php - - tests/UseTraitBackedEnum.php + - tests/Enums tmpDir: build/phpstan reportUnmatchedIgnoredErrors: true ignoreErrors: diff --git a/tests/UseTraitBackedEnum.php b/tests/UseTraitBackedEnum.php deleted file mode 100644 index 4cabe86..0000000 --- a/tests/UseTraitBackedEnum.php +++ /dev/null @@ -1,14 +0,0 @@ -