Skip to content

Commit

Permalink
Drop Support Laravel 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
oanhnn committed Dec 28, 2024
1 parent ac068fd commit 1a6dac8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 76 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-styling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.3'
extensions: dom, libxml, zip
coverage: none
tools: phpcbf
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/psalm.yml

This file was deleted.

16 changes: 1 addition & 15 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- "8.3"
- "8.4"
laravel:
- "^8.12"
- "^9.0"
- "^10.0"
- "^11.0"
Expand All @@ -25,21 +24,13 @@ jobs:
testbench: 9.*
- laravel: "^10.0"
testbench: 8.*
- laravel: "^9.0"
testbench: 7.*
- laravel: "^8.12"
testbench: "^6.23"
exclude:
- laravel: "^11.0"
php: 8.1
- laravel: "^11.0"
php: 8.0
- laravel: "^10.0"
php: 8.0
- laravel: "^8.12"
php: 8.3
- laravel: "^8.12"
php: 8.4

name: PHP${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}

Expand All @@ -54,13 +45,8 @@ jobs:
extensions: curl, mbstring, fileinfo
coverage: none

- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Cache composer dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor
key: composer-PHP${{ matrix.php }}-L${{ matrix.laravel }}-${{ matrix.stability }}-${{ hashFiles('composer.json') }}
Expand Down
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
}
],
"require": {
"php": ">=8.0",
"illuminate/support": "^8.12|^9.0|^10.0|^11.0"
"php": ">=8.1",
"illuminate/support": "^9.0|^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.0|^10.0|^11.0",
"orchestra/testbench": "^7.0|^8.0|^9.0",
"phpunit/phpunit": "^10.0|^11.0",
"squizlabs/php_codesniffer": "^3.10"
},
"autoload": {
Expand All @@ -45,8 +45,7 @@
"scripts": {
"test": "vendor/bin/testbench package:test",
"format": "vendor/bin/phpcbf",
"format:check": "vendor/bin/phpcs",
"psalm": "vendor/bin/psalm"
"format:check": "vendor/bin/phpcs"
},
"config": {
"sort-packages": true
Expand Down
18 changes: 0 additions & 18 deletions psalm.xml.dist

This file was deleted.

1 change: 0 additions & 1 deletion tests/ServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ protected function getPackageProviders($app)
];
}

/** @test */
#[\PHPUnit\Framework\Attributes\Test]
public function it_should_has_temporary_url()
{
Expand Down

0 comments on commit 1a6dac8

Please sign in to comment.