diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 34fe543..65656d5 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: '8.4' coverage: none @@ -39,7 +39,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: '8.4' coverage: none diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4baddc9..bc8c896 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,24 +13,22 @@ jobs: matrix: os: [ubuntu-latest] php: [8.4, 8.5] - laravel: [12.*, 13.*] + laravel: [13.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 13.* testbench: ^11.0 - - laravel: 12.* - testbench: ^10.7 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - - name: Checkout + - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: - php-version: '8.4' + php-version: ${{ matrix.php }} coverage: none - name: Setup problem matchers diff --git a/composer.json b/composer.json index 44aa832..fdeb18f 100644 --- a/composer.json +++ b/composer.json @@ -5,22 +5,23 @@ "license": "MIT", "require": { "php": "^8.4", - "illuminate/container": "^12.0 || ^13.0", - "illuminate/contracts": "^12.0 || ^13.0", - "illuminate/database": "^12.0 || ^13.0", - "illuminate/support": "^12.0 || ^13.0", + "illuminate/container": "^13.0", + "illuminate/contracts": "^13.0", + "illuminate/database": "^13.0", + "illuminate/support": "^13.0", "nesbot/carbon": "^3.0", "nuwave/lighthouse": "^6.54", - "symfony/dependency-injection": "^7.0 || ^8.0", - "worksome/graphql-helpers": "^0.1.18" + "symfony/dependency-injection": "^8.0", + "worksome/graphql-helpers": "^0.1.19" }, "require-dev": { - "larastan/larastan": "^3.9", - "nunomaduro/collision": "^7.10 || ^8.1.1", - "orchestra/testbench": "^10.8 || ^11.0", - "pestphp/pest": "^4.7 || ^5.1", - "pestphp/pest-plugin-laravel": "^4.1 || ^5.0", - "worksome/coding-style": "^5.2" + "canvural/larastan-strict-rules": "^3.0", + "larastan/larastan": "^3.13", + "nunomaduro/collision": "^8.1.1", + "orchestra/testbench": "^11.0", + "pestphp/pest": "^5.1", + "pestphp/pest-plugin-laravel": "^5.0", + "worksome/coding-style": "^6.0" }, "autoload": { "psr-4": { @@ -39,7 +40,8 @@ "allow-plugins": { "pestphp/pest-plugin": true, "worksome/coding-style": true, - "dealerdirect/phpcodesniffer-composer-installer": true + "dealerdirect/phpcodesniffer-composer-installer": true, + "phpstan/extension-installer": true } }, "scripts": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 16e9b5c..a49314c 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,5 +1,4 @@ includes: - - ./vendor/worksome/coding-style/larastan.neon - phpstan-baseline.neon parameters: