Skip to content

Commit

Permalink
update native function invocation rule
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Aug 31, 2021
1 parent 5cbacb3 commit 090fbce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Prooph.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct()
public function getRules(): array
{
$rules = [
'@PSR2' => true,
'@PSR12' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'operators' => [
Expand Down Expand Up @@ -74,7 +74,10 @@ public function getRules(): array
'strategy' => 'no_multi_line',
],
'native_function_casing' => true,
'native_function_invocation' => true,
'native_function_invocation' => [
'include' => ['@internal'],
'scope' => 'all',
],
'new_with_braces' => true,
'no_alias_functions' => true,
'no_blank_lines_after_class_opening' => true,
Expand Down

0 comments on commit 090fbce

Please sign in to comment.