diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 391797b..ebc0456 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -52,36 +52,3 @@ jobs: - name: "Run a static analysis with phpstan/phpstan" run: "vendor/bin/phpstan analyse -v" - - psalm: - name: "Psalm" - runs-on: "ubuntu-22.04" - - strategy: - matrix: - php-version: - - "${{ inputs.php-version }}" - - steps: - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - coverage: "none" - php-version: "${{ matrix.php-version }}" - - - name: "Set COMPOSER_ROOT_VERSION" - run: | - echo "COMPOSER_ROOT_VERSION=${{ inputs.composer-root-version }}" >> $GITHUB_ENV - if: "${{ inputs.composer-root-version }}" - - - name: "Install dependencies with Composer" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "highest" - composer-options: "${{ inputs.composer-options }}" - - - name: "Run a static analysis with vimeo/psalm" - run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc)" diff --git a/workflow-templates/static-analysis.properties.json b/workflow-templates/static-analysis.properties.json index e256cda..09eb90f 100644 --- a/workflow-templates/static-analysis.properties.json +++ b/workflow-templates/static-analysis.properties.json @@ -6,7 +6,6 @@ "PHP" ], "filePatterns": [ - "^phpstan\\.neon(?:\\.dist)$", - "^psalm\\.xml$" + "^phpstan\\.neon(?:\\.dist)$" ] } diff --git a/workflow-templates/static-analysis.yml b/workflow-templates/static-analysis.yml index f59905f..0faccd1 100644 --- a/workflow-templates/static-analysis.yml +++ b/workflow-templates/static-analysis.yml @@ -10,7 +10,6 @@ on: - "composer.*" - "src/**" # but some packages use lib - "phpstan*" - - "psalm*" - "tests/**" push: branches: @@ -20,7 +19,6 @@ on: - "composer.*" - "src/**" # but some packages use lib - "phpstan*" - - "psalm*" - "tests/**" jobs: