Skip to content

Commit

Permalink
Merge branch 'master' into application-stub
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Mar 17, 2024
2 parents a65c2a5 + 4320620 commit bfcd819
Show file tree
Hide file tree
Showing 30 changed files with 100 additions and 1,743 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/tests export-ignore
/.editorconfig export-ignore
/.php_cs.xml export-ignore
/codeception.yml export-ignore
/psalm.xml export-ignore
/psalm-baseline.xml export-ignore
/UPGRADING.md export-ignore
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
exclude:
- php: 8.1
laravel: ^11.0
name: Acceptance P${{ matrix.php }} | L${{ matrix.laravel }} | ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}
name: Type P${{ matrix.php }} | L${{ matrix.laravel }} | ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -78,6 +78,3 @@ jobs:
- name: Run Psalm/Type tests
run: composer test:type

- name: Run Acceptance tests
run: composer test:acceptance
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ Find bugs without the overhead of writing tests!

## Versions & Dependencies

| Laravel Psalm Plugin | PHP | Laravel | Psalm |
|----------------------|------|------------|-------|
| 2.10+ | ^8.1 | 10, 11 | 5 |
| 2.9.x | ^8.0 | 9, 10, 11 | 4, 5 |
| 2.7-2.8 | ^8.0 | 9, 10 | 4, 5 |
| 2.1-2.6 | ^8.0 | 9 | 4, 5 |
| 2.0.x | ^8.0 | 8, 9 | 4, 5 |
| 1.x | ^7.1 | 5, 6, 7, 8 | 3, 4 |
Maintained versions:

| Laravel Psalm Plugin | PHP | Laravel | Psalm |
|----------------------|-------|------------|-------|
| master | ^8.1 | 10, 11 | 5 |
| 2.9.x | ^8.0 | 9, 10, 11 | 4, 5 |
| 1.6.x | >=7.3 | 6, 8 | 4 |
| 1.4.x | >=7.2 | 6, 7, 8 | 3, 4 |

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

Expand Down
14 changes: 0 additions & 14 deletions codeception.yml

This file was deleted.

10 changes: 0 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
"vimeo/psalm": "^5.20"
},
"require-dev": {
"codeception/codeception": "^5.0",
"codeception/module-asserts": "^3.0",
"codeception/module-cli": "^2.0",
"codeception/module-filesystem": "^3.0",
"codeception/module-phpbrowser": "^3.0",
"laravel/framework": "^10.48 || ^11.0",
"phpunit/phpunit": "^10.5 || ^11.0",
"phpyh/psalm-tester": "^0.1.0",
Expand Down Expand Up @@ -75,13 +70,8 @@
"@lint",
"@psalm",
"@test:unit",
"@test:acceptance",
"@test:type"
],
"test:acceptance": [
"Composer\\Config::disableProcessTimeout",
"codecept run --skip-group skip"
],
"test:type": "phpunit --testsuite=type",
"test:unit": "phpunit --testsuite=unit"
}
Expand Down
4 changes: 0 additions & 4 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
<file>tests</file>
<exclude-pattern>cache/</exclude-pattern>
<exclude-pattern>tests/_run/</exclude-pattern>
<exclude-pattern>tests/Acceptance/_output</exclude-pattern>
<exclude-pattern>tests/Acceptance/_run</exclude-pattern>
<exclude-pattern>tests/Acceptance/_support</exclude-pattern>
<exclude-pattern>tests/Acceptance/Support/</exclude-pattern><!-- This code mostly copy-paste from https://github.com/psalm/codeception-psalm-module and thus may have different coding-style rules -->
<exclude-pattern>tests/Application/</exclude-pattern>
<exclude-pattern>tests/Unit/Handlers/Eloquent/Schema/migrations</exclude-pattern>
<exclude-pattern>tests-app/</exclude-pattern>
Expand Down
Loading

0 comments on commit bfcd819

Please sign in to comment.