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

Commit

Permalink
Add suport laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
maxermolenko committed Aug 7, 2024
1 parent 46bca7c commit fb8ca75
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.1'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress --no-suggest --no-interaction
run: composer install --prefer-dist --no-progress --no-interaction

- name: Run code sniffer
run: vendor/bin/phpcs
4 changes: 2 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '7.1', '7.2', '7.3', '7.4' ]
php-versions: [ '8.1' ]
name: PHP ${{ matrix.php-versions }} - PHPUnit
steps:
- name: Checkout
Expand All @@ -26,7 +26,7 @@ jobs:
run: composer validate

- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress --no-suggest --no-interaction
run: composer install --prefer-dist --no-progress --no-interaction

- name: Run test suite
run: vendor/bin/phpunit --coverage-clover=coverage.xml
Expand Down
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changes History

2.0.0
-----
+ Declare compatibility with Laravel 11
+ Updated saritasa/laravel-repositories to new major version

1.4.0
-----
- Declare compatibility with Laravel 6
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
}
],
"require": {
"php": ">=7.1",
"illuminate/support": "5.* || ^6.0",
"saritasa/laravel-repositories": "^3.3"
"php": ">=8.0",
"illuminate/support": ">=5.0 <12.0",
"saritasa/laravel-repositories": "^4.0"
},
"require-dev": {
"mockery/mockery": "^1.1",
"phpunit/phpunit": "^7.5",
"phpunit/phpunit": "^8.5",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
Expand Down

0 comments on commit fb8ca75

Please sign in to comment.