Skip to content

Commit 2e945a1

Browse files
ADD laravel 9 support
1 parent 258859e commit 2e945a1

File tree

3 files changed

+21
-17
lines changed

3 files changed

+21
-17
lines changed

.github/workflows/run-tests.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
48

59
jobs:
610
test:
@@ -9,12 +13,12 @@ jobs:
913
fail-fast: true
1014
matrix:
1115
os: [ubuntu-latest, windows-latest]
12-
php: [8.0, 7.4]
13-
laravel: [8.*]
16+
php: [8.1, 8.0]
17+
laravel: [9.*]
1418
stability: [prefer-lowest, prefer-stable]
1519
include:
16-
- laravel: 8.*
17-
testbench: ^6.23
20+
- laravel: 9.*
21+
testbench: 7.*
1822

1923
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2024

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2021 MAIZE SRL <innovation@h-farm.com>
3+
Copyright (c) 2022 MAIZE SRL <innovation@h-farm.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@
2323
}
2424
],
2525
"require": {
26-
"php": "^7.4|^8.0",
27-
"illuminate/database": "^8.0",
28-
"illuminate/http": "^8.0",
29-
"illuminate/routing": "^8.0",
30-
"illuminate/support": "^8.0",
31-
"illuminate/validation": "^8.0",
26+
"php": "^8.0",
27+
"illuminate/database": "^9.0",
28+
"illuminate/http": "^9.0",
29+
"illuminate/routing": "^9.0",
30+
"illuminate/support": "^9.0",
31+
"illuminate/validation": "^9.0",
3232
"spatie/laravel-package-tools": "^1.9.2"
3333
},
3434
"require-dev": {
35-
"friendsofphp/php-cs-fixer": "^3.3",
36-
"nunomaduro/collision": "^5.10",
37-
"nunomaduro/larastan": "^1.0",
38-
"orchestra/testbench": "^6.23",
35+
"friendsofphp/php-cs-fixer": "^3.4",
36+
"nunomaduro/collision": "^6.0",
37+
"nunomaduro/larastan": "^2.0.1",
38+
"orchestra/testbench": "^7.0",
3939
"pestphp/pest": "^1.21",
4040
"pestphp/pest-plugin-laravel": "^1.1",
4141
"phpstan/extension-installer": "^1.1",
@@ -57,7 +57,7 @@
5757
},
5858
"scripts": {
5959
"format": "vendor/bin/php-cs-fixer fix --config=.php_cs.dist.php --allow-risky=yes",
60-
"phpstan": "vendor/bin/phpstan analyse",
60+
"analyse": "vendor/bin/phpstan analyse",
6161
"test": "vendor/bin/pest",
6262
"test-coverage": "vendor/bin/pest coverage"
6363
},

0 commit comments

Comments
 (0)