diff --git a/composer.json b/composer.json index 5da8384..c41d496 100644 --- a/composer.json +++ b/composer.json @@ -28,6 +28,7 @@ "illuminate/contracts": "^8.0|^9.0|^10.0" }, "require-dev": { + "laravel/pint": "^1.13", "nunomaduro/collision": "^7.10", "orchestra/testbench": "^6.0|^7.0|^8.0", "phpunit/phpunit": "^10.1" @@ -44,7 +45,8 @@ }, "scripts": { "test": "vendor/bin/testbench package:test --no-coverage", - "test-coverage": "vendor/bin/phpunit --coverage-html coverage" + "test-coverage": "vendor/bin/phpunit --coverage-html coverage", + "format": "vendor/bin/pint" }, "config": { "sort-packages": true diff --git a/composer.lock b/composer.lock index bd37bba..d86c7d0 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": "3cdf00795defcd9390e95f9705273b9d", + "content-hash": "7f0e66b5d691198f31bf450a9e70aa1d", "packages": [ { "name": "brick/math", @@ -5692,6 +5692,72 @@ }, "time": "2020-07-09T08:09:16+00:00" }, + { + "name": "laravel/pint", + "version": "v1.13.6", + "source": { + "type": "git", + "url": "https://github.com/laravel/pint.git", + "reference": "3e3d2ab01c7d8b484c18e6100ecf53639c744fa7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/pint/zipball/3e3d2ab01c7d8b484c18e6100ecf53639c744fa7", + "reference": "3e3d2ab01c7d8b484c18e6100ecf53639c744fa7", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "ext-tokenizer": "*", + "ext-xml": "*", + "php": "^8.1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.38.0", + "illuminate/view": "^10.30.1", + "laravel-zero/framework": "^10.3.0", + "mockery/mockery": "^1.6.6", + "nunomaduro/larastan": "^2.6.4", + "nunomaduro/termwind": "^1.15.1", + "pestphp/pest": "^2.24.2" + }, + "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": "2023-11-07T17:59:57+00:00" + }, { "name": "laravel/tinker", "version": "v2.8.2",