diff --git a/Build/Scripts/phpstan.sh b/Build/Scripts/phpstan.sh new file mode 100755 index 0000000..7a95b00 --- /dev/null +++ b/Build/Scripts/phpstan.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +THIS_SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)" +cd "$THIS_SCRIPT_DIR" || exit 1 +cd ../../ || exit 1 +CORE_ROOT="${PWD}" + +Build/Scripts/runTests.sh -s composerInstall + +Build/Scripts/runTests.sh -s phpstan + +Build/Scripts/runTests.sh -s clean +Build/Scripts/additionalTests.sh -s clean diff --git a/Build/phpstan/phpstan-baseline.neon b/Build/phpstan/phpstan-baseline.neon new file mode 100644 index 0000000..1339890 --- /dev/null +++ b/Build/phpstan/phpstan-baseline.neon @@ -0,0 +1,2 @@ +parameters: + ignoreErrors: \ No newline at end of file diff --git a/Build/phpstan/phpstan-constants.php b/Build/phpstan/phpstan-constants.php new file mode 100644 index 0000000..0bb0280 --- /dev/null +++ b/Build/phpstan/phpstan-constants.php @@ -0,0 +1,4 @@ +