<?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([ '@PSR2' => 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, 'method_argument_space' => [ 'on_multiline' => 'ensure_fully_multiline', 'keep_multiple_spaces_after_comma' => true, ], 'single_trait_insert_per_statement' => true, ]) ->setFinder($finder);
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.git | Folder | 0755 |
|
|
.github | Folder | 0755 |
|
|
docs | Folder | 0755 |
|
|
resources | Folder | 0755 |
|
|
src | Folder | 0755 |
|
|
tests | Folder | 0755 |
|
|
.editorconfig | File | 362 B | 0644 |
|
.gitattributes | File | 1.08 KB | 0644 |
|
.gitignore | File | 209 B | 0644 |
|
.php_cs.php | File | 1.16 KB | 0644 |
|
.prettierignore | File | 20 B | 0644 |
|
.prettierrc | File | 104 B | 0644 |
|
CHANGELOG.md | File | 8.91 KB | 0644 |
|
LICENSE.md | File | 1.08 KB | 0644 |
|
README.md | File | 12.43 KB | 0644 |
|
composer.json | File | 1.99 KB | 0644 |
|
lint-staged.config.js | File | 94 B | 0644 |
|
package.json | File | 2.4 KB | 0644 |
|
phpstan-baseline.neon | File | 0 B | 0644 |
|
phpstan.neon.dist | File | 166 B | 0644 |
|
phpunit.xml.dist | File | 582 B | 0644 |
|
postcss.config.js | File | 188 B | 0644 |
|
tailwind.config.js | File | 1.58 KB | 0644 |
|
tsconfig.json | File | 761 B | 0644 |
|
yarn.lock | File | 246.76 KB | 0644 |
|