diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index d5db2f1..4489ef2 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -3,9 +3,9 @@ name: PHPStan on: push: paths: - - '**.php' - - 'phpstan.neon.dist' - - '.github/workflows/phpstan.yml' + - "**.php" + - "phpstan.neon.dist" + - ".github/workflows/phpstan.yml" jobs: phpstan: @@ -18,11 +18,11 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: "8.2" coverage: none - name: Install composer dependencies - uses: ramsey/composer-install@v3 + run: composer install --prefer-dist --no-progress --no-suggest --dev - name: Run PHPStan run: ./vendor/bin/phpstan --error-format=github diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f51ccd1..f757581 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,7 +19,7 @@ jobs: os: [ubuntu-latest, windows-latest] php: [8.3, 8.2] laravel: [11.*, 10.*] - stability: [prefer-lowest, prefer-stable] + stability: [prefer-stable] include: - laravel: 11.* testbench: 9.* diff --git a/README.md b/README.md index 5ed5e26..ed930ab 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Latest Version on Packagist](https://img.shields.io/packagist/v/medilies/rm-q.svg?style=flat-square)](https://packagist.org/packages/medilies/rm-q) [![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/medilies/rm-q/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/medilies/rm-q/actions?query=workflow%3Arun-tests+branch%3Amain) -[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/medilies/rm-q/phpstan.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/medilies/rm-q/actions?query=workflow%3A"phpstan"+branch%3Amain) +[![phpstan](https://img.shields.io/github/actions/workflow/status/medilies/rm-q/phpstan.yml?branch=main&label=phpstan&style=flat-square)](https://github.com/medilies/rm-q/actions?query=workflow%3A"phpstan"+branch%3Amain) Since file deletion is often irreversible, this Laravel package queues file deletions within a database transaction, allowing for rollback in case of errors. diff --git a/composer.json b/composer.json index fa5e16e..358717c 100644 --- a/composer.json +++ b/composer.json @@ -21,10 +21,10 @@ ], "require": { "php": "^8.2", - "illuminate/contracts": "^10.0||^11.0", - "symfony/uid": "^7.1" + "illuminate/contracts": "^10.0||^11.0" }, "require-dev": { + "larastan/larastan": "^2.0", "laravel/pint": "^1.14", "nunomaduro/collision": "^8.1.1||^7.10.0", "orchestra/testbench": "^9.0.0||^8.22.0", @@ -85,4 +85,4 @@ }, "minimum-stability": "stable", "prefer-stable": true -} \ No newline at end of file +}