mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
* Fixed missing oauth tables during setup. * Merged develop changes Removed PHP_CS file
This commit is contained in:
parent
66a9421fac
commit
4a88e155c4
39
.php_cs.dist
39
.php_cs.dist
|
@ -1,39 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
ini_set('memory_limit', '1024M');
|
|
||||||
|
|
||||||
$finder = PhpCsFixer\Finder::create()
|
|
||||||
->notPath('bootstrap/cache')
|
|
||||||
->notPath('storage')
|
|
||||||
->notPath('vendor')
|
|
||||||
->notPath('node_modules')
|
|
||||||
->in(__DIR__)
|
|
||||||
->name('*.php')
|
|
||||||
->notName('*.blade.php')
|
|
||||||
->ignoreDotFiles(true)
|
|
||||||
->ignoreVCS(true)
|
|
||||||
;
|
|
||||||
|
|
||||||
return PhpCsFixer\Config::create()
|
|
||||||
->setRules(array(
|
|
||||||
'@Symfony' => true,
|
|
||||||
'class_definition' => [
|
|
||||||
'multiLineExtendsEachSingleLine' => true,
|
|
||||||
],
|
|
||||||
'ordered_class_elements' => [
|
|
||||||
'use_trait', 'constant_public', 'constant_protected', 'constant_private',
|
|
||||||
'property_public', 'property_protected', 'property_private', 'construct',
|
|
||||||
'destruct', 'magic', 'phpunit', 'method_public', 'method_protected',
|
|
||||||
'method_private'
|
|
||||||
],
|
|
||||||
'function_declaration' => ['closure_function_spacing' => 'none'],
|
|
||||||
'binary_operator_spaces' => ['default' => 'align_single_space_minimal'],
|
|
||||||
'array_syntax' => ['syntax' => 'short'],
|
|
||||||
'concat_space' => ['spacing' => 'one'],
|
|
||||||
'blank_line_after_namespace' => true,
|
|
||||||
'linebreak_after_opening_tag' => true,
|
|
||||||
'not_operator_with_successor_space' => true,
|
|
||||||
'ordered_imports' => true,
|
|
||||||
'phpdoc_order' => true,
|
|
||||||
))
|
|
||||||
->setFinder($finder);
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue