mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 10:07:12 +00:00
* composer require --dev friendsofphp/php-cs-fixer:^2 * php-cs-fixer: ignore cache and custom local config file * php-cs-fixer: initial config * php-cs-fixer: replace commands in composer * php-cs-fixer: add PSR12 "as good as it currently gets" * php-cs-fixer: apply PSR12 to codebase * tests: add workaround to keep unused imports for snapshot testing * php-cs-fixer: apply no_unused_imports * php-cs-fixer: apply array_syntax short * php-cs-fixer: apply single_quote * php-cs-fixer: switch ordered_imports sort_algorithm to alpha Let's be opinionated here for consistency * php-cs-fixer: split between non-tests and tests and share config * php-cs-fixer: apply declare_strict_types for tests * php-cs-fixer: apply fully_qualified_strict_types * php-cs-fixer: apply space_after_semicolon * php-cs-fixer: apply trailing_comma_in_multiline_array * php-cs-fixer: apply trim_array_spaces * php-cs-fixer: apply unary_operator_spaces * php-cs-fixer: apply whitespace_after_comma_in_array * php-cs-fixer: apply native_function_invocation * php-cs-fixer: apply concat_space * grumphp: reflect we're using phpcsfixer now * composer remove --dev squizlabs/php_codesniffer * gha: simplify fix-style approach Not really necessary to remove packages and then manually prevent unrelated commits creeping in Co-authored-by: Barry vd. Heuvel <[email protected]>
82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
"name": "barryvdh/laravel-ide-helper",
|
|
"description": "Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.",
|
|
"keywords": [
|
|
"laravel",
|
|
"autocomplete",
|
|
"ide",
|
|
"helper",
|
|
"phpstorm",
|
|
"netbeans",
|
|
"sublime",
|
|
"codeintel",
|
|
"phpdoc"
|
|
],
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Barry vd. Heuvel",
|
|
"email": "[email protected]"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=7.2",
|
|
"ext-json": "*",
|
|
"barryvdh/reflection-docblock": "^2.0.6",
|
|
"composer/composer": "^1.6 || ^2.0@dev",
|
|
"doctrine/dbal": "~2.3",
|
|
"illuminate/console": "^6 || ^7 || ^8",
|
|
"illuminate/filesystem": "^6 || ^7 || ^8",
|
|
"illuminate/support": "^6 || ^7 || ^8",
|
|
"phpdocumentor/type-resolver": "^1.1.0"
|
|
},
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "^2",
|
|
"illuminate/config": "^6 || ^7 || ^8",
|
|
"illuminate/view": "^6 || ^7 || ^8",
|
|
"mockery/mockery": "^1.3",
|
|
"orchestra/testbench": "^4 || ^5 || ^6",
|
|
"phpro/grumphp": "^0.19.0",
|
|
"spatie/phpunit-snapshot-assertions": "^1.4 || ^2.2 || ^3",
|
|
"vimeo/psalm": "^3.12"
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "2.8-dev"
|
|
},
|
|
"laravel": {
|
|
"providers": [
|
|
"Barryvdh\\LaravelIdeHelper\\IdeHelperServiceProvider"
|
|
]
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Barryvdh\\LaravelIdeHelper\\": "src"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Barryvdh\\LaravelIdeHelper\\Tests\\": "tests"
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"scripts": {
|
|
"analyze": "psalm",
|
|
"check-style": [
|
|
"php-cs-fixer fix --diff --diff-format=udiff --dry-run",
|
|
"php-cs-fixer fix --diff --diff-format=udiff --dry-run --config=.php_cs.tests.php"
|
|
],
|
|
"fix-style": [
|
|
"php-cs-fixer fix",
|
|
"php-cs-fixer fix --config=.php_cs.tests.php"
|
|
],
|
|
"test": "phpunit",
|
|
"test-regenerate": "phpunit -d --update-snapshots"
|
|
}
|
|
}
|