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: 1 addition & 1 deletion .allowed-licenses.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Lendable\ComposerLicenseChecker\LicenseConfigurationBuilder;

return (new LicenseConfigurationBuilder())
return new LicenseConfigurationBuilder()
->addLicenses(
'BSD-2-Clause',
'BSD-3-Clause',
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ jobs:
- "locked"
- "highest"
php-version:
- "8.3"
- "8.4"
- "8.5"
include:
- php-version: "8.3"
php-image: "public.ecr.aws/docker/library/php:8.3-cli-alpine"
- php-version: "8.4"
php-image: "public.ecr.aws/docker/library/php:8.4-cli-alpine"
- php-version: "8.5"
Expand Down Expand Up @@ -61,7 +58,7 @@ jobs:
run: "chown -R 1000:1000 ."

- name: "Update composer platform version"
if: ${{ matrix.dependencies != 'locked' && matrix.php-version != '8.3' }}
if: ${{ matrix.dependencies != 'locked' && matrix.php-version != '8.4' }}
run: "su-exec 1000 composer config platform.php ${{ matrix.php-version }}"

- name: "Install composer dependencies"
Expand All @@ -76,7 +73,7 @@ jobs:
run: "su-exec 1000 composer licenses:check"

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

- name: "Run PHPStan"
Expand Down
4 changes: 2 additions & 2 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
->in([__DIR__])
->exclude(['tmp']);

return (new PhpCsFixer\Config())
return new PhpCsFixer\Config()
->setRules([
'@PER-CS2x0' => true,
'@PER-CS2x0:risky' => true,
'@PHP8x2Migration' => true,
'@autoPHPMigration' => true,
'@DoctrineAnnotation' => true,
'align_multiline_comment' => true,
'array_indentation' => true,
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
}
],
"require": {
"php": "^8.3",
"php": "^8.4",
"ramsey/uuid": "^4.7"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.51.0",
"ergebnis/phpstan-rules": "^2.12.0",
"lendable/composer-license-checker": "^1.2.1",
"lendable/phpunit-extensions": "^0.4",
"lendable/phpunit-extensions": "^0.5",
"php-cs-fixer/shim": "^3.95.1",
"phpstan/phpstan": "^2.1.51",
"phpstan/phpstan-deprecation-rules": "^2.0.4",
"phpstan/phpstan-phpunit": "^2.0.16",
"phpstan/phpstan-strict-rules": "^2.0.10",
"phpunit/phpunit": "^12.5.23",
"phpunit/phpunit": "^13.2.4",
"rector/rector": "^2.4.2"
},
"minimum-stability": "stable",
Expand All @@ -43,7 +43,7 @@
"ergebnis/composer-normalize": true
},
"platform": {
"php": "8.3"
"php": "8.4.1"
},
"sort-packages": true
},
Expand Down
Loading
Loading