feat: pint
This commit is contained in:
parent
b4a2bb9a1f
commit
8f187986d2
3 changed files with 77 additions and 2 deletions
|
@ -84,7 +84,8 @@
|
||||||
"squizlabs/php_codesniffer": "^3.7",
|
"squizlabs/php_codesniffer": "^3.7",
|
||||||
"swoole/ide-helper": "5.0.2",
|
"swoole/ide-helper": "5.0.2",
|
||||||
"textalk/websocket": "1.5.7",
|
"textalk/websocket": "1.5.7",
|
||||||
"utopia-php/fetch": "0.1.*"
|
"utopia-php/fetch": "0.1.*",
|
||||||
|
"laravel/pint": "^1.14"
|
||||||
},
|
},
|
||||||
"provide": {
|
"provide": {
|
||||||
"ext-phpiredis": "*"
|
"ext-phpiredis": "*"
|
||||||
|
|
68
composer.lock
generated
68
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "733cdc4128cc298318cf487442d3efed",
|
"content-hash": "a0c585fabc25c78458734e1fbf9d30c8",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adhocore/jwt",
|
"name": "adhocore/jwt",
|
||||||
|
@ -2893,6 +2893,72 @@
|
||||||
],
|
],
|
||||||
"time": "2022-12-30T00:15:36+00:00"
|
"time": "2022-12-30T00:15:36+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "laravel/pint",
|
||||||
|
"version": "v1.14.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/laravel/pint.git",
|
||||||
|
"reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/laravel/pint/zipball/6b127276e3f263f7bb17d5077e9e0269e61b2a0e",
|
||||||
|
"reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-json": "*",
|
||||||
|
"ext-mbstring": "*",
|
||||||
|
"ext-tokenizer": "*",
|
||||||
|
"ext-xml": "*",
|
||||||
|
"php": "^8.1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"friendsofphp/php-cs-fixer": "^3.49.0",
|
||||||
|
"illuminate/view": "^10.43.0",
|
||||||
|
"larastan/larastan": "^2.8.1",
|
||||||
|
"laravel-zero/framework": "^10.3.0",
|
||||||
|
"mockery/mockery": "^1.6.7",
|
||||||
|
"nunomaduro/termwind": "^1.15.1",
|
||||||
|
"pestphp/pest": "^2.33.6"
|
||||||
|
},
|
||||||
|
"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-02-20T17:38:05+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "matthiasmullie/minify",
|
"name": "matthiasmullie/minify",
|
||||||
"version": "1.3.71",
|
"version": "1.3.71",
|
||||||
|
|
8
pint.json
Normal file
8
pint.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"preset": "psr12",
|
||||||
|
"exclude": [
|
||||||
|
"./app/sdks",
|
||||||
|
"./tests/resources/functions",
|
||||||
|
"./app/console"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue