Skip to content

Commit

Permalink
Update to PHP-CS-Fixer ^3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Sep 22, 2021
1 parent abbf861 commit 57909e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"php": "^7.4 || ^8.0",
"ext-mbstring": "*",
"ext-tokenizer": "*",
"friendsofphp/php-cs-fixer": "^3.0.0"
"friendsofphp/php-cs-fixer": "^3.1.0"
},
"require-dev": {
"malukenho/mcbumpface": "^1.1.5",
"phpstan/phpstan": "^0.12.86",
"phpstan/phpstan-phpunit": "^0.12.18",
"phpunit/phpunit": "^9.5.4",
"phpstan/phpstan": "^0.12.99",
"phpstan/phpstan-phpunit": "^0.12.22",
"phpunit/phpunit": "^9.5.9",
"slam/php-debug-r": "^1.7.0",
"slam/phpstan-extensions": "^5.1.0",
"thecodingmachine/phpstan-strict-rules": "^0.12.1"
Expand Down
8 changes: 4 additions & 4 deletions lib/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ final class Config extends PhpCsFixerConfig
{
public const RULES = [
'@DoctrineAnnotation' => true,
'@PHP71Migration' => true,
'@PHP71Migration:risky' => true,
'@PHPUnit75Migration:risky' => true,
'@PHP80Migration' => true,
'@PHP80Migration:risky' => true,
'@PHPUnit84Migration:risky' => true,
'@PhpCsFixer' => true,
'@PhpCsFixer:risky' => true,
'Slam/final_abstract_public' => true,
Expand All @@ -25,12 +25,12 @@ final class Config extends PhpCsFixerConfig
'align_multiline_comment' => ['comment_type' => 'all_multiline'],
'binary_operator_spaces' => ['default' => 'align_single_space'],
'braces' => false, // See Slam/php_only_braces
'class_keyword_remove' => false,
'combine_consecutive_issets' => false,
'combine_consecutive_unsets' => false,
'comment_to_phpdoc' => false,
'concat_space' => ['spacing' => 'one'],
'date_time_immutable' => false,
'declare_parentheses' => true,
'error_suppression' => false,
'final_class' => false,
'final_internal_class' => false,
Expand Down

0 comments on commit 57909e2

Please sign in to comment.