Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade PHPStan #6185

Merged
merged 1 commit into from Dec 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/sca.yml
Expand Up @@ -28,6 +28,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none # without this Xdebug will be enabled
tools: cs2pr
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we see this @ work anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could before I've rebased XD


- name: Get Composer cache directory
id: composer-cache
Expand Down Expand Up @@ -70,7 +72,7 @@ jobs:
run: ./dev-tools/check_trailing_spaces.sh

- name: Check - phpstan
run: ./dev-tools/vendor/bin/phpstan analyse
run: ./dev-tools/vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr

- name: Check - composer-require-checker
run: ./dev-tools/vendor/bin/composer-require-checker check composer.json --config-file .composer-require-checker.json
Expand Down
6 changes: 3 additions & 3 deletions dev-tools/composer.json
Expand Up @@ -6,12 +6,12 @@
"ergebnis/composer-normalize": "^2.17.0",
"humbug/box": "^3.8",
"humbug/php-scoper": "dev-master#0a4e329 as 0.14.2",
"jangregor/phpstan-prophecy": "^0.8.1",
"jangregor/phpstan-prophecy": "^1.0",
"maglnet/composer-require-checker": "3.3.0",
"mi-schi/phpmd-extension": "^4.3",
"phpmd/phpmd": "^2.10.2",
"phpstan/phpstan": "0.12.96",
"phpstan/phpstan-phpunit": "0.12.21"
"phpstan/phpstan": "^1.2",
"phpstan/phpstan-phpunit": "^1.0"
},
"config": {
"optimize-autoloader": true,
Expand Down