Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit fb8ca75

Browse files
committed
Add suport laravel 11
1 parent 46bca7c commit fb8ca75

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.github/workflows/phpcs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
- name: Setup PHP
1414
uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: '7.4'
16+
php-version: '8.1'
1717

1818
- name: Validate composer.json and composer.lock
1919
run: composer validate
2020

2121
- name: Install dependencies
22-
run: composer install --dev --prefer-dist --no-progress --no-suggest --no-interaction
22+
run: composer install --prefer-dist --no-progress --no-interaction
2323

2424
- name: Run code sniffer
2525
run: vendor/bin/phpcs

.github/workflows/phpunit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php-versions: [ '7.1', '7.2', '7.3', '7.4' ]
10+
php-versions: [ '8.1' ]
1111
name: PHP ${{ matrix.php-versions }} - PHPUnit
1212
steps:
1313
- name: Checkout
@@ -26,7 +26,7 @@ jobs:
2626
run: composer validate
2727

2828
- name: Install dependencies
29-
run: composer install --dev --prefer-dist --no-progress --no-suggest --no-interaction
29+
run: composer install --prefer-dist --no-progress --no-interaction
3030

3131
- name: Run test suite
3232
run: vendor/bin/phpunit --coverage-clover=coverage.xml

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changes History
22

3+
2.0.0
4+
-----
5+
+ Declare compatibility with Laravel 11
6+
+ Updated saritasa/laravel-repositories to new major version
7+
38
1.4.0
49
-----
510
- Declare compatibility with Laravel 6

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
}
1212
],
1313
"require": {
14-
"php": ">=7.1",
15-
"illuminate/support": "5.* || ^6.0",
16-
"saritasa/laravel-repositories": "^3.3"
14+
"php": ">=8.0",
15+
"illuminate/support": ">=5.0 <12.0",
16+
"saritasa/laravel-repositories": "^4.0"
1717
},
1818
"require-dev": {
1919
"mockery/mockery": "^1.1",
20-
"phpunit/phpunit": "^7.5",
20+
"phpunit/phpunit": "^8.5",
2121
"squizlabs/php_codesniffer": "^3.5"
2222
},
2323
"autoload": {

0 commit comments

Comments
 (0)