We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
group_to_single_imports
1.21.0
8.3.17
<?php use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Schedule;
No Changes. Same as before.
{ "preset": "laravel", "rules": { "concat_space": { "spacing": "one" }, "ordered_imports": { "sort_algorithm": "length", "imports_order": ["const", "class", "function"] }, "braces": false, "single_import_per_statement": { "group_to_single_imports": true }, "binary_operator_spaces": { "default": "align_single_space_minimal" } }, "exclude": [ "vendor/" ] }
pint.json
{ "preset": "laravel", "rules": { "single_import_per_statement": { "group_to_single_imports": true } }, "exclude": ["vendor/"] }
<?php use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schedule; dd(Artisan::class, Cache::class, DB::class, Schedule::class);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Pint Version
1.21.0
PHP Version
8.3.17
Description
Before:
After:
Terminal Output
Steps To Reproduce
pint.json
The text was updated successfully, but these errors were encountered: