Skip to content

Commit

Permalink
Remove Psalm static analysis (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondrake authored Dec 29, 2024
1 parent 01292d1 commit 7c7c2ff
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 57,526 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,10 @@ jobs:
continue-on-error: true
run: |
composer config --no-plugins allow-plugins.phpstan/extension-installer true
composer require --ansi --dev "vimeo/psalm:^5.15" "phpstan/phpstan:>=2" "phpstan/extension-installer:>=1.4" "phpstan/phpstan-phpunit:>=1.4" "squizlabs/php_codesniffer:>=3.7" "phpunit/phpunit:>=10"
composer require --ansi --dev "phpstan/phpstan:>=2" "phpstan/extension-installer:>=1.4" "phpstan/phpstan-phpunit:>=1.4" "squizlabs/php_codesniffer:>=3.7" "phpunit/phpunit:>=10"
- name: "Run static analysis with phpstan/phpstan"
run: "vendor/bin/phpstan"

- name: "Run static analysis with vimeo/psalm"
run: ./vendor/bin/psalm --shepherd

- name: "Run code style check with squizlabs/php_codesniffer"
run: ./vendor/bin/phpcs --runtime-set ignore_warnings_on_exit 1
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[![Tests](https://github.com/FileEye/MimeMap/actions/workflows/php-unit.yml/badge.svg)](https://github.com/FileEye/MimeMap/actions/workflows/php-unit.yml)
[![PHPStan level](https://img.shields.io/badge/PHPStan%20level-max-brightgreen.svg?style=flat)](https://github.com/FileEye/MimeMap/actions/workflows/code-quality.yml)
[![Psalm coverage](https://shepherd.dev/github/FileEye/MimeMap/coverage.svg?)](https://shepherd.dev/github/FileEye/MimeMap)
[![Psalm level](https://shepherd.dev/github/FileEye/MimeMap/level.svg?)](https://psalm.dev/)
[![codecov](https://codecov.io/gh/FileEye/MimeMap/branch/master/graph/badge.svg?token=SUAMNKZLEW)](https://codecov.io/gh/FileEye/MimeMap)
[![Latest Stable Version](https://poser.pugx.org/fileeye/mimemap/v/stable)](https://packagist.org/packages/fileeye/mimemap)
[![Total Downloads](https://poser.pugx.org/fileeye/mimemap/downloads)](https://packagist.org/packages/fileeye/mimemap)
Expand All @@ -24,8 +22,7 @@ extensions.
the most authoritative sources available, [Apache's documentation](http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=log)
and the [freedesktop.org project](http://freedesktop.org).
- PHPUnit tested, 100% test coverage
- PHPStan tested, level 9
- Psalm tested
- PHPStan tested, level 10


## Credits
Expand Down
Loading

0 comments on commit 7c7c2ff

Please sign in to comment.