Skip to content

Commit ad1aef8

Browse files
committed
build: upd deps
1 parent 4d5fa84 commit ad1aef8

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ vendor/
66
phpunit.xml
77
.phpunit.result.cache
88

9-
.php_cs
10-
.php_cs.cache
9+
/.php-cs-fixer.php
10+
/.php-cs-fixer.cache

.php_cs.dist renamed to .php-cs-fixer.dist.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,21 @@
44
->exclude('fixtures')
55
->in(['src', 'tests']);
66

7-
return PhpCsFixer\Config::create()
7+
return (new PhpCsFixer\Config())
88
->setRules([
99
'@Symfony' => true,
1010
'@PHP73Migration' => true,
11-
'array_syntax' => ['syntax' => 'short'],
11+
1212
'combine_consecutive_issets' => true,
1313
'combine_consecutive_unsets' => true,
1414
'compact_nullable_typehint' => true,
1515
'linebreak_after_opening_tag' => true,
16-
'list_syntax' => ['syntax' => 'short'],
17-
// 'mb_str_functions' => true,
18-
'native_function_invocation' => true,
16+
'native_function_invocation' => ['scope' => 'all', 'include' => ['@all']],
1917
'native_constant_invocation' => true,
2018
'no_null_property_initialization' => true,
2119
'no_useless_else' => true,
2220
'no_useless_return' => true,
23-
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
21+
'ordered_imports' => ['sort_algorithm' => 'alpha'],
2422
'phpdoc_order' => true,
2523
'strict_comparison' => true,
2624
'combine_nested_dirname' => true,

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"license": "LGPL-3.0-or-later",
66
"require": {
77
"php": ">=7.3",
8-
"symfony/process": "^4.4||^5.0"
8+
"symfony/process": "^4.4||^5.0||^6.0"
99
},
1010
"require-dev": {
1111
"phpunit/phpunit": "^9.5",
12-
"friendsofphp/php-cs-fixer": "^2.19"
12+
"friendsofphp/php-cs-fixer": "^3.0"
1313
},
1414
"authors": [
1515
{

0 commit comments

Comments
 (0)