From aa322eafdb6ec30ceefa229bafa8e1edd0935c04 Mon Sep 17 00:00:00 2001 From: Ondrej Vlach Date: Wed, 7 Aug 2024 12:31:57 +0200 Subject: [PATCH] build(cs): add cs/stan configs --- phpcs.xml.dist | 30 ++++++++++++++++++++++++++++++ phpstan.neon.dist | 8 ++++++++ 2 files changed, 38 insertions(+) create mode 100644 phpcs.xml.dist create mode 100644 phpstan.neon.dist diff --git a/phpcs.xml.dist b/phpcs.xml.dist new file mode 100644 index 0000000..807062f --- /dev/null +++ b/phpcs.xml.dist @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + 0 + + + + + + + + + + + + app/ + tests/ + + diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..a086ffe --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,8 @@ +parameters: + level: 8 + paths: + - app/ + - tests/ + ignoreErrors: + - '#Call to an undefined static method App\\Models#' + - '#Access to an undefined property App\\Models#'