Skip to content

Commit 6efc5fa

Browse files
committed
feat: laravel 12 support
1 parent fba57cb commit 6efc5fa

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,26 @@
1212
"require": {
1313
"php": "^8.1",
1414
"ext-redis": "*",
15-
"laravel/framework": "^9.0 || ^10.0 || ^11.0",
15+
"laravel/framework": "^9.0 || ^10.0 || ^11.0 || ^12.0",
1616
"webmozart/assert": "^1.11",
17-
"zlodes/prometheus-client": "^2.0.0"
17+
"zlodes/prometheus-client": "^2.0.4"
1818
},
1919
"require-dev": {
2020
"ergebnis/composer-normalize": "dev-main",
2121
"mockery/mockery": "^1.5",
22-
"orchestra/testbench": "^8.5 || ^9.0",
23-
"phpbench/phpbench": "^1.3",
22+
"orchestra/testbench": "^8.5 || ^9.0 || ^10.0",
23+
"phpbench/phpbench": "^1.4",
2424
"phpcompatibility/php-compatibility": "^9.3",
2525
"phpmd/phpmd": "^2.13",
2626
"phpstan/extension-installer": "^1.3",
2727
"phpstan/phpstan": "^1.10",
2828
"phpstan/phpstan-webmozart-assert": "^1.2",
2929
"phpunit/phpunit": "^10.0 || ^11.0",
30-
"psalm/plugin-laravel": "^2.8",
30+
"psalm/plugin-laravel": "^2.8 || ^3.0",
3131
"roave/security-advisories": "dev-latest",
3232
"slevomat/coding-standard": "^8.11",
3333
"squizlabs/php_codesniffer": "^3.7",
34-
"vimeo/psalm": "^5.0"
34+
"vimeo/psalm": "^5.0 || ^6.9.6"
3535
},
3636
"minimum-stability": "beta",
3737
"autoload": {

phpcs.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,8 @@
309309
<property name="allowMultiLine" value="0"/>
310310
</properties>
311311
</rule>
312-
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat">
312+
<rule ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat">
313313
<properties>
314-
<property name="withSpaces" value="no"/>
315314
<property name="nullPosition" value="last"/>
316315
</properties>
317316
</rule>

psalm.xml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
xmlns="https://getpsalm.org/schema/config"
88
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
99
findUnusedBaselineEntry="true"
10+
ensureOverrideAttribute="false"
1011
>
1112
<projectFiles>
1213
<directory name="src"/>

0 commit comments

Comments
 (0)