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
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
- "highest"
- "locked"
php-version:
- "8.2"
- "8.3"
- "8.4"
- "8.5"

steps:
- name: "Checkout"
Expand All @@ -34,7 +35,7 @@ jobs:
show-progress: false

- name: "Install PHP"
uses: "shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401" # v2
uses: "shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1" # v2
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
Expand All @@ -52,7 +53,7 @@ jobs:
${{ runner.OS }}-${{ matrix.php-version }}-static-analysis-

- name: "Update Composer platform version"
if: ${{ matrix.dependencies != 'locked' && matrix.php-version != '8.2' }}
if: ${{ matrix.dependencies != 'locked' && matrix.php-version != '8.3' }}
shell: bash
run: "composer config platform.php ${{ matrix.php-version }}"

Expand All @@ -71,7 +72,7 @@ jobs:
run: "composer licenses:check"

- name: "Run coding style"
if: ${{ matrix.dependencies == 'locked' && matrix.php-version == '8.1' }}
if: ${{ matrix.dependencies == 'locked' && matrix.php-version == '8.3' }}
run: "composer code-style:check"

- name: "Run PHPStan"
Expand Down
6 changes: 3 additions & 3 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

return (new PhpCsFixer\Config())
->setRules([
'@PER-CS2.0' => true,
'@PER-CS2.0:risky' => true,
'@PHP81Migration' => true,
'@PER-CS' => true,
'@PER-CS:risky' => true,
'@PHP8x3Migration' => true,
'@DoctrineAnnotation' => true,
'align_multiline_comment' => true,
'array_indentation' => true,
Expand Down
23 changes: 13 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
}
],
"require": {
"php": "^8.2",
"phpunit/phpunit": "^11.1"
"php": "^8.3",
"phpunit/phpunit": "^12.5"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.43.0",
"ergebnis/composer-normalize": "^2.45",
"lendable/composer-license-checker": "^1.2.1",
"php-cs-fixer/shim": "^3.59.3",
"phpstan/phpstan": "^1.11.7",
"phpstan/phpstan-deprecation-rules": "^1.2.0",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"rector/rector": "1.2.1"
"php-cs-fixer/shim": "^3.92",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"rector/rector": "2.3.0"
},
"minimum-stability": "stable",
"autoload": {
Expand All @@ -42,7 +42,7 @@
"ergebnis/composer-normalize": true
},
"platform": {
"php": "8.2.14"
"php": "8.3.0"
},
"sort-packages": true
},
Expand All @@ -63,6 +63,9 @@
"phpstan": [
"phpstan analyse --ansi --no-progress --memory-limit=-1"
],
"phpstan:baseline": [
"phpstan analyse --ansi --no-progress --memory-limit=-1 --generate-baseline"
],
"phpunit:phpstan": [
"phpunit --colors --testsuite=phpstan"
],
Expand Down
Loading
Loading