PHP 8.2.30
Preview: .php_cs.dist.php Size: 1.25 KB
/proc/thread-self/root/home/byroehnu/easetack.com/vendor/spatie/eloquent-sortable/.php_cs.dist.php

<?php

$finder = Symfony\Component\Finder\Finder::create()
    ->in([
        __DIR__ . '/src',
        __DIR__ . '/tests',
    ])
    ->name('*.php')
    ->notName('*.blade.php')
    ->ignoreDotFiles(true)
    ->ignoreVCS(true);

return (new PhpCsFixer\Config())
    ->setRules([
        '@PSR12' => true,
        'array_syntax' => ['syntax' => 'short'],
        'ordered_imports' => ['sort_algorithm' => 'alpha'],
        'no_unused_imports' => true,
        'not_operator_with_successor_space' => true,
        'trailing_comma_in_multiline' => true,
        'phpdoc_scalar' => true,
        'unary_operator_spaces' => true,
        'binary_operator_spaces' => true,
        'blank_line_before_statement' => [
            'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'],
        ],
        'phpdoc_single_line_var_spacing' => true,
        'phpdoc_var_without_name' => true,
        'class_attributes_separation' => [
            'elements' => [
                'method' => 'one',
            ],
        ],
        'method_argument_space' => [
            'on_multiline' => 'ensure_fully_multiline',
            'keep_multiple_spaces_after_comma' => true,
        ],
        'single_trait_insert_per_statement' => true,
    ])
    ->setFinder($finder);

Directory Contents

Dirs: 4 × Files: 8

Name Size Perms Modified Actions
.github DIR
- drwxrwxrwx 2025-05-16 16:14:51
Edit Download
config DIR
- drwxrwxrwx 2025-05-16 16:14:51
Edit Download
src DIR
- drwxrwxrwx 2025-05-16 16:14:51
Edit Download
tests DIR
- drwxrwxrwx 2025-05-16 16:14:51
Edit Download
220 B lrw-rw-rw- 2025-02-19 07:17:00
Edit Download
178 B lrw-rw-rw- 2025-02-19 07:17:00
Edit Download
1.25 KB lrw-rw-rw- 2025-02-19 07:17:00
Edit Download
5.69 KB lrw-rw-rw- 2025-02-19 07:17:00
Edit Download
1.37 KB lrw-rw-rw- 2025-02-19 07:17:00
Edit Download
1.05 KB lrw-rw-rw- 2025-02-19 07:17:00
Edit Download
955 B lrw-rw-rw- 2025-02-19 07:17:00
Edit Download
8.80 KB lrw-rw-rw- 2025-02-19 07:17:00
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).