diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index 9477047..4383909 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index af56b22..3efa16e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,25 +9,30 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*, 8.*] + php: [8.3, 8.2, 8.1] + laravel: [11.*, 10.*, 9.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 11.* + testbench: 9.* + carbon: ^3.0 - laravel: 10.* testbench: 8.* + carbon: ^2.63 - laravel: 9.* testbench: 7.* - - laravel: 8.* - testbench: ^6.23 + carbon: ^2.63 exclude: - - laravel: 10.* - php: 8.0 + - laravel: 11.* + php: 8.1 + - laravel: 9.* + php: 8.3 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -38,7 +43,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:${{ matrix.carbon }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest - name: Execute tests diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index fa56639..94df2c3 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: main diff --git a/composer.json b/composer.json index b0403c0..958bdf5 100644 --- a/composer.json +++ b/composer.json @@ -29,15 +29,15 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { - "php": "^8.0", - "illuminate/http": "^8.0|^9.0|^10.0", - "illuminate/support": "^8.0|^9.0|^10.0", + "php": "^8.1", + "illuminate/http": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", "spatie/laravel-package-tools": "^1.11" }, "require-dev": { "mockery/mockery": "^1.3.3", - "orchestra/testbench": "^6.0|^7.0|^8.0", - "pestphp/pest": "^1.21.2", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "pestphp/pest": "^1.23.0|^2.34.0", "roave/security-advisories": "dev-master" }, "autoload": { @@ -72,4 +72,4 @@ ] } } -} +} \ No newline at end of file diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 9db857e..6ab08b2 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,24 +1,23 @@ - - - - src/ - - - - - - - - - - tests - - - - - + + + + + + + + + + + tests + + + + + + + + src/ + +