Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
- run: |
sed -e :a -e '$d;N;2,3ba' -e 'P;D' phpstan.neon > phpstan2.neon && mv phpstan2.neon phpstan.neon
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

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

The PHPStan job no longer sets REQUIRE_DEV: true, and there is no explicit composer install step in this job. If oskarstark/phpstan-ga defaults to installing dependencies without dev packages, the analysis may fail because phpstan.neon includes files under vendor/ (e.g., strict rules / bleedingEdge). Either restore REQUIRE_DEV: true or add an explicit dependency install step that includes dev dependencies so the referenced vendor/ files are present.

Suggested change
uses: docker://oskarstark/phpstan-ga
args: analyse
env:
REQUIRE_DEV: true

Copilot uses AI. Check for mistakes.
env:
Expand Down
22 changes: 0 additions & 22 deletions LICENSE.md

This file was deleted.

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"psr/http-factory": "^1.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.93",
"friendsofphp/php-cs-fixer": "^3.95",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^11.5 || ^12.5 || ^13.0"
"phpunit/phpunit": "^11.5 || ^12.5 || ^13.1"
Comment thread
garak marked this conversation as resolved.
},
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ parameters:

includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
Comment thread
garak marked this conversation as resolved.
Loading