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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to phpstan 2.0 #319

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1
defaults: &defaults
docker:
- image: circleci/php:7.2-cli
- image: cimg/php:8.1.31
working_directory: ~/repo
aliases:
- &composer-cache
Expand All @@ -10,7 +10,7 @@ commands:
setup-job:
steps:
- checkout
- run: sudo apt-get update && sudo apt-get install -y libpng-dev libjpeg62-turbo-dev
- run: sudo apt-get update && sudo apt-get install -y libpng-dev libjpeg62-dev
- run: sudo docker-php-ext-install gd
- run:
name: Disable PHP memory limit
Expand Down
17 changes: 8 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,25 @@
}
],
"require": {
"php": "^7.2.5|^8.0",
"php": "^8.1",
"composer/xdebug-handler": "^1.1 || ^2.0.1 || ^3.0",
"jangregor/phpstan-prophecy": "^1.0",
"jangregor/phpstan-prophecy": "^2.0",
"jean85/pretty-package-versions": "^1.5.0 || ^2.0.1",
"mglaman/phpstan-drupal": "^1.0.0",
"mglaman/phpstan-drupal": "^2.0.0",
"nette/neon": "^3.1",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-deprecation-rules": "^2.0.0",
"symfony/console": "~3.4.5 || ^4.2|| ^5.0 || ^6.0 || ^7.0",
"symfony/process": "~3.4.5 || ^4.2|| ^5.0 || ^6.0 || ^7.0",
"webflo/drupal-finder": "^1.1"
"symfony/process": "~3.4.5 || ^4.2|| ^5.0 || ^6.0 || ^7.0"
},
"require-dev": {
"phpstan/phpstan": "^1.0.0",
"phpstan/phpstan-strict-rules": "^1.0.0",
"phpstan/phpstan": "^2.0.0",
"phpstan/phpstan-strict-rules": "^2.0.0",
"squizlabs/php_codesniffer": "^3.4"
},
"config": {
"sort-packages": true,
"platform": {
"php": "7.2.5"
"php": "8.1.0"
}
},
"bin": [
Expand Down
Loading