diff --git a/.github/workflows/buildcheck.yml b/.github/workflows/buildcheck.yml index 0716051..b83a155 100644 --- a/.github/workflows/buildcheck.yml +++ b/.github/workflows/buildcheck.yml @@ -40,6 +40,9 @@ jobs: - name: Coding Standards run: docker exec ci vendor/bin/phpcs + - name: Static Analysis + run: docker exec ci vendor/bin/phplint src tests + - name: Composer Validate run: docker exec ci composer validate --strict diff --git a/.gitignore b/.gitignore index bc959c5..7435d65 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.phplint-cache /composer.lock /phpunit.xml /vendor diff --git a/composer.json b/composer.json index f7cf58a..2ce7d5a 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,7 @@ "require-dev": { "mockery/mockery": "^1.6.12", "mikey179/vfsstream": "^1.6.12", + "overtrue/phplint": "^1.0", "squizlabs/php_codesniffer": "^3.10", "phpunit/phpunit": "^9.5.10" }, @@ -44,6 +45,7 @@ "test": [ "vendor/bin/phpunit", "vendor/bin/phpcs", + "vendor/bin/phplint src tests", "@composer validate --strict" ] }