Skip to content

Commit

Permalink
Added static_lambda rule (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaff authored Dec 16, 2020
1 parent 360dccc commit a940907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"friendsofphp/php-cs-fixer": "^2.16"
"friendsofphp/php-cs-fixer": "^2.17"
},
"require-dev": {
"roave/security-advisories": "dev-master"
Expand All @@ -25,7 +25,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "0.2.x-dev"
"dev-master": "0.3.x-dev"
}
}
}
1 change: 1 addition & 0 deletions src/lib/PhpCsFixer/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public function __construct($name = 'default')
'yoda_style' => false,
'no_break_comment' => false,
'self_accessor' => false,
'static_lambda' => true,
]);
}
}

0 comments on commit a940907

Please sign in to comment.