diff --git a/composer.json b/composer.json index a63a7e5..2668f21 100644 --- a/composer.json +++ b/composer.json @@ -45,6 +45,7 @@ }, "scripts": { "analyze": "psalm", + "analyse": "psalm", "lint": "phpcs -n", "lint-fix": "phpcbf -n", "test": "codecept run --skip-group skip", diff --git a/phpcs.xml b/phpcs.xml index daaa4f5..c388a1f 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -22,4 +22,5 @@ tests src/cache/ tests/_support/ + tests/Support/ diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 69f8fa3..63b50bc 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,10 @@ - + + + + require $applicationPath + + databasePath diff --git a/psalm.xml b/psalm.xml index 072c2c9..38398df 100644 --- a/psalm.xml +++ b/psalm.xml @@ -1,6 +1,5 @@ getTable(); diff --git a/tests/Support/Module.php b/tests/Support/Module.php index 2d4b4b8..abaf5fe 100644 --- a/tests/Support/Module.php +++ b/tests/Support/Module.php @@ -551,4 +551,4 @@ class Module extends BaseModule ); $this->debug($this->remainingErrors()); } -} \ No newline at end of file +}