diff --git a/.github/workflows/code-style.yml b/.github/workflows/code-style.yml index 22addf3..e1fc6a4 100644 --- a/.github/workflows/code-style.yml +++ b/.github/workflows/code-style.yml @@ -33,9 +33,8 @@ jobs: restore-keys: | ${{ runner.os }}-php- - - name: Install dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' - run: composer install --prefer-dist --no-progress --no-suggest + - name: Install Pint + run: composer global require laravel/pint - - name: Run pint - run: ./vendor/bin/pint --test + - name: Run Pint + run: pint --test diff --git a/composer.json b/composer.json index ea27361..90a932a 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,5 @@ "psy/psysh": "*" }, "minimum-stability": "stable", - "prefer-stable": true, - "require-dev": { - "laravel/pint": "^1.19" - } + "prefer-stable": true } diff --git a/composer.lock b/composer.lock index 8d63d0e..2a5a09e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1130d41e7e62baf860f3bb9f06a09765", + "content-hash": "206f824071dc8fdf6bc7dcd684dd5aab", "packages": [ { "name": "nikic/php-parser", @@ -928,74 +928,7 @@ "time": "2024-11-08T15:48:14+00:00" } ], - "packages-dev": [ - { - "name": "laravel/pint", - "version": "v1.19.0", - "source": { - "type": "git", - "url": "https://github.com/laravel/pint.git", - "reference": "8169513746e1bac70c85d6ea1524d9225d4886f0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/8169513746e1bac70c85d6ea1524d9225d4886f0", - "reference": "8169513746e1bac70c85d6ea1524d9225d4886f0", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-mbstring": "*", - "ext-tokenizer": "*", - "ext-xml": "*", - "php": "^8.1.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.66.0", - "illuminate/view": "^10.48.25", - "larastan/larastan": "^2.9.12", - "laravel-zero/framework": "^10.48.25", - "mockery/mockery": "^1.6.12", - "nunomaduro/termwind": "^1.17.0", - "pestphp/pest": "^2.36.0" - }, - "bin": [ - "builds/pint" - ], - "type": "project", - "autoload": { - "psr-4": { - "App\\": "app/", - "Database\\Seeders\\": "database/seeders/", - "Database\\Factories\\": "database/factories/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nuno Maduro", - "email": "enunomaduro@gmail.com" - } - ], - "description": "An opinionated code formatter for PHP.", - "homepage": "https://laravel.com", - "keywords": [ - "format", - "formatter", - "lint", - "linter", - "php" - ], - "support": { - "issues": "https://github.com/laravel/pint/issues", - "source": "https://github.com/laravel/pint" - }, - "time": "2024-12-30T16:20:10+00:00" - } - ], + "packages-dev": [], "aliases": [], "minimum-stability": "stable", "stability-flags": {},