Skip to content

Commit d3298c9

Browse files
authored
Merge pull request #8 from atfromhome/upgrade-l9
Drop support for Laravel 9
2 parents ba45025 + 68ccce6 commit d3298c9

File tree

4 files changed

+29
-11
lines changed

4 files changed

+29
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [8.3, 8.2]
17-
laravel: [9.*, 10.*]
16+
php: [8.2, 8.3]
17+
laravel: [10.*, 11.*]
1818
stability: [prefer-stable]
1919
include:
20-
- laravel: 9.*
21-
testbench: 7.*
2220
- laravel: 10.*
2321
testbench: 8.*
22+
- laravel: 11.*
23+
testbench: 9.*
2424

2525
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2626

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
],
1818
"require": {
1919
"php": "^8.1",
20-
"saloonphp/laravel-http-sender": "^2.0",
21-
"saloonphp/pagination-plugin": "^2.0",
22-
"saloonphp/saloon": "^3.6",
23-
"spatie/laravel-data": "^3.11",
20+
"saloonphp/laravel-http-sender": "^2.0|^3.0",
21+
"saloonphp/pagination-plugin": "^2.2",
22+
"saloonphp/saloon": "^3.10",
23+
"spatie/laravel-data": "^4.10.0",
2424
"spatie/laravel-package-tools": "^1.15.0"
2525
},
2626
"require-dev": {
27-
"laravel/pint": "^1.10",
28-
"orchestra/testbench": "^8.0",
27+
"laravel/pint": "1.17.2",
28+
"orchestra/testbench": "^9.0",
2929
"roave/security-advisories": "dev-latest",
30-
"vimeo/psalm": "^5.0"
30+
"vimeo/psalm": "^6.0@dev"
3131
},
3232
"autoload": {
3333
"psr-4": {

psalm-baseline.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<files psalm-version="dev-master@dee5fe4e848ebe974581cf92bb59abe868b3367a">
3+
<file src="src/Database/Eloquent/WebhookCall.php">
4+
<InvalidTemplateParam>
5+
<code><![CDATA[WebhookCall]]></code>
6+
</InvalidTemplateParam>
7+
</file>
8+
<file src="src/LaravelMoota.php">
9+
<InvalidNullableReturnType>
10+
<code><![CDATA[class-string<ProcessWebhookJob>]]></code>
11+
</InvalidNullableReturnType>
12+
<NullableReturnStatement>
13+
<code><![CDATA[$jobClass]]></code>
14+
</NullableReturnStatement>
15+
</file>
16+
</files>

psalm.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
66
findUnusedBaselineEntry="true"
77
findUnusedCode="false"
8+
errorBaseline="psalm-baseline.xml"
89
>
910
<projectFiles>
1011
<directory name="src"/>
1112
<ignoreFiles>
1213
<directory name="vendor"/>
14+
<directory name="src/Models"/>
1315
</ignoreFiles>
1416
</projectFiles>
1517
</psalm>

0 commit comments

Comments
 (0)