diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/php-style.yml similarity index 100% rename from .github/workflows/fix-php-code-style-issues.yml rename to .github/workflows/php-style.yml diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 7d24d22..65cf615 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -16,7 +16,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' coverage: none - name: Install composer dependencies diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f6a1ce8..58dddd0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,12 +13,10 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.1, 8.2, 8.3] - laravel: [9.*, 10.*, 11.*] + php: [8.2, 8.3] + laravel: [10.*, 11.*] stability: [prefer-stable] include: - - laravel: 9.* - testbench: 7.* - laravel: 10.* testbench: 8.* - laravel: 11.* diff --git a/.gitignore b/.gitignore index 83c9b9f..8054c8d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .idea .phpunit.result.cache +.phpunit.cache build composer.lock coverage diff --git a/composer.json b/composer.json index a937d3b..8566597 100644 --- a/composer.json +++ b/composer.json @@ -16,21 +16,20 @@ } ], "require": { - "php": "^8.1|^8.2|^8.3", - "illuminate/contracts": "^9.0|^10.0|^11.0", + "php": "^8.2|^8.3", + "illuminate/contracts": "^10.0|^11.0", "nesbot/carbon": "^2.64|^3.1", "spatie/laravel-package-tools": "^1.13.0" }, "require-dev": { + "larastan/larastan": "^2.9", "laravel/pint": "^1.2.1", - "nunomaduro/collision": "^6.3.1", - "nunomaduro/larastan": "^2.2.9", - "orchestra/testbench": "^7.15|^8.0", + "orchestra/testbench": "^9.5", "phpstan/extension-installer": "^1.2", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-mockery": "^1.1", "phpstan/phpstan-phpunit": "^1.2.2", - "phpunit/phpunit": "^9.5.26", + "phpunit/phpunit": "^9.6.21|^10.5.38", "rregeer/phpunit-coverage-check": "^0.3.1" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index c2c8210..7931b51 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,39 +1,23 @@ - - - - tests - - - - - ./src - - - - - - - - - - + + + + tests + + + + + + + + + + + + + + + ./src + +