diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4ca3a36..47883b1 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] php: [8.0, 8.1, 8.2, 8.3] - laravel: [^8.83.27, ^9.51.0, ^10.0.0, ^11.0.0] + laravel: [^9.51.0, ^10.0.0, ^11.0.0] stability: [prefer-lowest, prefer-stable] include: - laravel: ^11.0.0 @@ -19,8 +19,6 @@ jobs: testbench: ^8.0.0 - laravel: ^9.51.0 testbench: ^7.22.0 - - laravel: ^8.83.27 - testbench: ^6.25.1 exclude: - php: 8.1 laravel: ^11.0.0 @@ -28,8 +26,6 @@ jobs: laravel: ^11.0.0 - php: 8.0 laravel: ^10.0.0 - - php: 8.1 - laravel: ^8.83.27 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 7c05eef..d6ca1de 100644 --- a/composer.json +++ b/composer.json @@ -21,23 +21,22 @@ "require": { "php": "^8.0", "ext-json": "*", - "illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0", + "illuminate/contracts": "^9.51.0|^10.0.0", "lloricode/paymaya-sdk-php": "^2.0.0", - "spatie/laravel-package-tools": "^1.1" + "spatie/laravel-package-tools": "^1.16.2" }, "require-dev": { "composer-runtime-api": "^2.2.2", - "laravel/pint": "^1.5", - "nesbot/carbon": "^2.63", - "orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0", - "pestphp/pest": "^1.22.4", - "pestphp/pest-plugin-laravel": "^1.4", - "phpstan/extension-installer": "^1.2", - "phpstan/phpstan-deprecation-rules": "^1.1.1", - "phpstan/phpstan-phpunit": "^1.3.4", - "rector/rector": "^0.15.16", - "spatie/laravel-ray": "^1.32.2", - "spatie/x-ray": "^1.1" + "laravel/pint": "^1.14", + "nesbot/carbon": "^2.72.3", + "orchestra/testbench": "^^7.22.0|^8.21.1", + "pestphp/pest": "^2.34.1", + "pestphp/pest-plugin-laravel": "^2.3", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan-deprecation-rules": "^1.1.4", + "phpstan/phpstan-phpunit": "^1.3.16", + "rector/rector": "^1.0.2", + "spatie/laravel-ray": "^1.35.1" }, "autoload": { "psr-4": { @@ -56,8 +55,7 @@ "test-coverage": "vendor/bin/pest --coverage", "format": "vendor/bin/pint", "rector": "vendor/bin/rector process", - "rector-dry-run": "vendor/bin/rector process --dry-run", - "x-ray": "vendor/bin/x-ray src tests" + "rector-dry-run": "vendor/bin/rector process --dry-run" }, "config": { "sort-packages": true, diff --git a/tests/ArchitectureTest.php b/tests/ArchitectureTest.php new file mode 100644 index 0000000..4c86c20 --- /dev/null +++ b/tests/ArchitectureTest.php @@ -0,0 +1,7 @@ +expect(['dd', 'dump', 'ray', 'rd', 'die', 'eval', 'sleep', 'debug', 'var_dump', 'env']) + ->not->toBeUsed();