File tree 4 files changed +2
-57526
lines changed
4 files changed +2
-57526
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,10 @@ jobs:
35
35
continue-on-error : true
36
36
run : |
37
37
composer config --no-plugins allow-plugins.phpstan/extension-installer true
38
- 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"
38
+ 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"
39
39
40
40
- name : " Run static analysis with phpstan/phpstan"
41
41
run : " vendor/bin/phpstan"
42
42
43
- - name : " Run static analysis with vimeo/psalm"
44
- run : ./vendor/bin/psalm --shepherd
45
-
46
43
- name : " Run code style check with squizlabs/php_codesniffer"
47
44
run : ./vendor/bin/phpcs --runtime-set ignore_warnings_on_exit 1
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Tests] ( https://github.com/FileEye/MimeMap/actions/workflows/php-unit.yml/badge.svg )] ( https://github.com/FileEye/MimeMap/actions/workflows/php-unit.yml )
4
4
[ ![ PHPStan level] ( https://img.shields.io/badge/PHPStan%20level-max-brightgreen.svg?style=flat )] ( https://github.com/FileEye/MimeMap/actions/workflows/code-quality.yml )
5
- [ ![ Psalm coverage] ( https://shepherd.dev/github/FileEye/MimeMap/coverage.svg? )] ( https://shepherd.dev/github/FileEye/MimeMap )
6
- [ ![ Psalm level] ( https://shepherd.dev/github/FileEye/MimeMap/level.svg? )] ( https://psalm.dev/ )
7
5
[ ![ codecov] ( https://codecov.io/gh/FileEye/MimeMap/branch/master/graph/badge.svg?token=SUAMNKZLEW )] ( https://codecov.io/gh/FileEye/MimeMap )
8
6
[ ![ Latest Stable Version] ( https://poser.pugx.org/fileeye/mimemap/v/stable )] ( https://packagist.org/packages/fileeye/mimemap )
9
7
[ ![ Total Downloads] ( https://poser.pugx.org/fileeye/mimemap/downloads )] ( https://packagist.org/packages/fileeye/mimemap )
@@ -24,8 +22,7 @@ extensions.
24
22
the most authoritative sources available, [ Apache's documentation] ( http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=log )
25
23
and the [ freedesktop.org project] ( http://freedesktop.org ) .
26
24
- PHPUnit tested, 100% test coverage
27
- - PHPStan tested, level 9
28
- - Psalm tested
25
+ - PHPStan tested, level 10
29
26
30
27
31
28
## Credits
You can’t perform that action at this time.
0 commit comments