Add Laravel Pint

This commit is contained in:
Bubka 2022-11-17 16:49:08 +01:00
parent de4422c795
commit e8d044c131
3 changed files with 73 additions and 3 deletions

View File

@ -38,13 +38,14 @@
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.12",
"spatie/laravel-ignition": "^1.0",
"fakerphp/faker": "^1.20",
"laravel/pint": "^1.2",
"mockery/mockery": "^1.5",
"nunomaduro/collision": "^6.1",
"nunomaduro/larastan": "^2.0",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^9.5",
"spatie/laravel-ignition": "^1.0"
},
"conflict": {
"khanamiryan/qrcode-detector-decoder": "~1.0.6"

68
composer.lock generated
View File

@ -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": "c1eb8a99b34305b0e8960f37ebafe283",
"content-hash": "de1667c2e1e1cd184d3c9faa44d5e4eb",
"packages": [
{
"name": "asm89/stack-cors",
@ -8283,6 +8283,72 @@
},
"time": "2020-07-09T08:09:16+00:00"
},
{
"name": "laravel/pint",
"version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/pint.git",
"reference": "1d276e4c803397a26cc337df908f55c2a4e90d86"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/1d276e4c803397a26cc337df908f55c2a4e90d86",
"reference": "1d276e4c803397a26cc337df908f55c2a4e90d86",
"shasum": ""
},
"require": {
"ext-json": "*",
"ext-mbstring": "*",
"ext-tokenizer": "*",
"ext-xml": "*",
"php": "^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.11.0",
"illuminate/view": "^9.27",
"laravel-zero/framework": "^9.1.3",
"mockery/mockery": "^1.5.0",
"nunomaduro/larastan": "^2.2",
"nunomaduro/termwind": "^1.14.0",
"pestphp/pest": "^1.22.1"
},
"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": "2022-09-13T15:07:15+00:00"
},
{
"name": "mockery/mockery",
"version": "1.5.1",

3
pint.json Normal file
View File

@ -0,0 +1,3 @@
{
"preset": "laravel"
}