Skip to content

Commit 6b30019

Browse files
committed
Update deps
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent abc0d8a commit 6b30019

File tree

3 files changed

+26
-15
lines changed

3 files changed

+26
-15
lines changed

.php_cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ $config = PhpCsFixer\Config::create()
77
->setRiskyAllowed(true)
88
->setRules([
99
'@PHP71Migration' => true,
10+
'@PHP73Migration' => false,
11+
'@PhpCsFixer' => true,
12+
'@PhpCsFixer:risky' => true,
1013
'@PSR2' => true,
1114
'@Symfony' => true,
1215
'@Symfony:risky' => true,
13-
'@PhpCsFixer' => true,
14-
'@PhpCsFixer:risky' => true,
1516
'align_multiline_comment' => true,
1617
'array_indentation' => true,
1718
'array_syntax' => ['syntax' => 'short'],
@@ -21,12 +22,14 @@ $config = PhpCsFixer\Config::create()
2122
'comment_to_phpdoc' => true,
2223
'compact_nullable_typehint' => true,
2324
'concat_space' => ['spacing' => 'one'],
25+
'escape_implicit_backslashes' => false,
2426
'fully_qualified_strict_types' => true,
2527
'linebreak_after_opening_tag' => true,
2628
'list_syntax' => ['syntax' => 'short'],
2729
'method_argument_space' => ['ensure_fully_multiline' => true],
2830
'native_constant_invocation' => true,
2931
'native_function_invocation' => true,
32+
'native_function_type_declaration_casing' => true,
3033
'no_alternative_syntax' => true,
3134
'no_multiline_whitespace_before_semicolons' => true,
3235
'no_null_property_initialization' => true,
@@ -38,7 +41,8 @@ $config = PhpCsFixer\Config::create()
3841
'not_operator_with_space' => false,
3942
'not_operator_with_successor_space' => false,
4043
'ordered_class_elements' => true,
41-
'ordered_imports' => true,
44+
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'const', 'function']],
45+
'ordered_interfaces' => true,
4246
'php_unit_ordered_covers' => true,
4347
'php_unit_set_up_tear_down_visibility' => true,
4448
'php_unit_strict' => true,
@@ -50,7 +54,9 @@ $config = PhpCsFixer\Config::create()
5054
'pow_to_exponentiation' => true,
5155
'random_api_migration' => true,
5256
'return_assignment' => false,
57+
'simple_to_complex_string_variable' => true,
5358
'single_line_comment_style' => true,
59+
'single_trait_insert_per_statement' => true,
5460
'strict_comparison' => false,
5561
'strict_param' => false,
5662
'string_line_ending' => true,

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"jfcherng/php-sequence-matcher": "^3.1"
3030
},
3131
"require-dev": {
32-
"friendsofphp/php-cs-fixer": "^2.14.1",
32+
"friendsofphp/php-cs-fixer": "^2.15",
3333
"phan/phan": "^1.0",
3434
"phpunit/phpunit": "^7.5 || ^8.0",
3535
"squizlabs/php_codesniffer": "^3.4"

composer.lock

Lines changed: 16 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)