Skip to content

Commit c97b8b4

Browse files
authored
Merge pull request #398 from alies-dev/2.x
[2.x]: Fix installation conflict: allow laravel-ide-helper v2
2 parents 9fed578 + beb8a11 commit c97b8b4

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ Find bugs without the overhead of writing tests!
3333

3434
Maintained versions:
3535

36-
| Laravel Psalm Plugin | PHP | Laravel | Psalm |
37-
|----------------------|-------|------------|-------|
38-
| master | ^8.1 | 10, 11 | 5 |
39-
| 2.9.x | ^8.0 | 9, 10, 11 | 4, 5 |
40-
| 1.6.x | >=7.3 | 6, 8 | 4 |
41-
| 1.4.x | >=7.2 | 6, 7, 8 | 3, 4 |
36+
| Laravel Psalm Plugin | PHP | Laravel | Psalm |
37+
|----------------------|-------|-----------|-------|
38+
| 3.x | ^8.2 | 11, 12 | 6 |
39+
| 2.12+ | ^8.0 | 9, 10, 11 | 5, 6 |
40+
| 2.9.x | ^8.0 | 9, 10, 11 | 4, 5 |
41+
| 1.6.x | >=7.3 | 6, 8 | 4 |
42+
| 1.4.x | >=7.2 | 6, 7, 8 | 3, 4 |
4243

4344
See [releases](https://github.com/psalm/psalm-plugin-laravel/releases) for more details about supported PHP, Laravel and Psalm versions.
4445

composer.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
"description": "Psalm plugin for Laravel",
44
"license": "MIT",
55
"type": "psalm-plugin",
6+
"keywords": [
7+
"psalm",
8+
"psalm-plugin",
9+
"laravel",
10+
"dev"
11+
],
612
"authors": [
713
{
814
"name": "Matthew Brown",
@@ -13,7 +19,7 @@
1319
"require": {
1420
"php": "^8.1",
1521
"ext-simplexml": "*",
16-
"barryvdh/laravel-ide-helper": "~3.5.4",
22+
"barryvdh/laravel-ide-helper": "^2.15 || >=3.4.0 <3.6",
1723
"illuminate/config": "^10.48 || ^11.0",
1824
"illuminate/container": "^10.48 || ^11.0",
1925
"illuminate/contracts": "^10.48 || ^11.0",
@@ -27,7 +33,7 @@
2733
"orchestra/testbench-core": "^8.22 || ^9.0",
2834
"symfony/console": "^6.0 || ^7.0",
2935
"symfony/finder": "^6.0 || ^7.0",
30-
"vimeo/psalm": "^5.20|^6"
36+
"vimeo/psalm": "^5.20 || ^6"
3137
},
3238
"require-dev": {
3339
"laravel/framework": "^10.48 || ^11.0",
@@ -68,14 +74,16 @@
6874
"lint-fix": "phpcbf -n",
6975
"psalm": "psalm --find-dead-code --find-unused-psalm-suppress --long-progress",
7076
"psalm-set-baseline": "psalm --set-baseline=psalm-baseline.xml",
77+
"rector": "./vendor/bin/rector",
78+
"rector:dry": "./vendor/bin/rector --dry-run",
7179
"test": [
7280
"@lint",
7381
"@psalm",
7482
"@test:unit",
7583
"@test:type"
7684
],
85+
"test:app": "./tests/Application/laravel-test.sh",
7786
"test:type": "phpunit --testsuite=type",
78-
"test:unit": "phpunit --testsuite=unit",
79-
"rector": "./vendor/bin/rector --dry-run"
87+
"test:unit": "phpunit --testsuite=unit"
8088
}
8189
}

0 commit comments

Comments
 (0)