diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 30c8a493..39b15807 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,4 +9,11 @@ updates: schedule: interval: "weekly" labels: - - "dependencies" \ No newline at end of file + - "dependencies" + + - package-ecosystem: "composer" + directory: "/" + schedule: + interval: "weekly" + labels: + - "dependencies" diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 372212b5..721c28d0 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -13,7 +13,7 @@ jobs: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v1 + uses: dependabot/fetch-metadata@v2 with: github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 4937a98f..42cfa18d 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -16,11 +16,11 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none - name: Install composer dependencies - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 - name: Run PHPStan run: composer test:types diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 80ecc324..3fc215c8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,12 +15,12 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.2, 8.3] + php: [8.3, 8.4] laravel: [10.*, 11.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* - testbench: ^8.21 + testbench: 8.* - laravel: 11.* testbench: 9.* diff --git a/composer.json b/composer.json index 0d4548e8..fd132079 100644 --- a/composer.json +++ b/composer.json @@ -16,17 +16,17 @@ } ], "require": { - "php": "^8.2", + "php": "^8.3", "spatie/laravel-package-tools": "^1.16", "illuminate/contracts": "^10.0 || ^11.0" }, "require-dev": { - "nunomaduro/collision": "^7.0 || ^8.0", - "larastan/larastan": "^2.6", - "orchestra/testbench": "^8.21 || ^9.0", - "pestphp/pest": "^2.33", - "pestphp/pest-plugin-laravel": "^2.2", - "worksome/coding-style": "^2.8" + "nunomaduro/collision": "^7.10 || ^8.1.1", + "larastan/larastan": "^2.9", + "orchestra/testbench": "^8.22 || ^9.0", + "pestphp/pest": "^3.0", + "pestphp/pest-plugin-laravel": "^3.0", + "worksome/coding-style": "^2.15" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 496a7854..7210b2eb 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -7,7 +7,7 @@ cacheDirectory=".phpunit.cache" > - + tests diff --git a/src/Facades/Skeleton.php b/src/Facades/Skeleton.php index ea88dd94..ee72b16f 100644 --- a/src/Facades/Skeleton.php +++ b/src/Facades/Skeleton.php @@ -11,7 +11,7 @@ */ class Skeleton extends Facade { - protected static function getFacadeAccessor() + protected static function getFacadeAccessor(): string { return \VendorName\Skeleton\Skeleton::class; } diff --git a/src/Skeleton.php b/src/Skeleton.php old mode 100755 new mode 100644