🔧
This commit is contained in:
28
vendor/inertiajs/inertia-laravel/.php-cs-fixer.dist.php
vendored
Normal file
28
vendor/inertiajs/inertia-laravel/.php-cs-fixer.dist.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
// Reference: http://cs.sensiolabs.org/
|
||||
|
||||
return (new PhpCsFixer\Config())
|
||||
->setUsingCache(false)
|
||||
->setRiskyAllowed(true)
|
||||
->setRules([
|
||||
'@PHP70Migration' => true,
|
||||
'@PHP71Migration' => true,
|
||||
'@PSR2' => true,
|
||||
'@Symfony' => true,
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'increment_style' => ['style' => 'post'],
|
||||
'multiline_whitespace_before_semicolons' => true,
|
||||
'array_indentation' => true,
|
||||
'not_operator_with_successor_space' => true,
|
||||
'ordered_imports' => ['sort_algorithm' => 'length'],
|
||||
'php_unit_method_casing' => ['case' => 'snake_case'],
|
||||
'semicolon_after_instruction' => false,
|
||||
'single_line_throw' => false,
|
||||
'yoda_style' => false,
|
||||
'strict_comparison' => true,
|
||||
'yoda_style' => false,
|
||||
'single_line_throw' => false,
|
||||
'php_unit_method_casing' => ['case' => 'snake_case'],
|
||||
'global_namespace_import' => ['import_classes' => true, 'import_constants' => true, 'import_functions' => true],
|
||||
]);
|
||||
Reference in New Issue
Block a user