Skip to content

Commit df73c82

Browse files
committedFeb 4, 2018
Added backslash before native functions
1 parent fb88c73 commit df73c82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+191
-190
lines changed
 

‎.php_cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ return PhpCsFixer\Config::create()
77
'blank_line_after_opening_tag' => true,
88
'single_blank_line_before_namespace' => true,
99
'no_unused_imports' => true,
10-
'single_quote' => true
10+
'single_quote' => true,
11+
'native_function_invocation' => true
1112
])
1213
->setFinder(
1314
PhpCsFixer\Finder::create()

‎src/AST/Expander.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function addArgument($argument)
2828

2929
public function hasArguments() : bool
3030
{
31-
return (boolean) count($this->arguments);
31+
return (boolean) \count($this->arguments);
3232
}
3333

3434
public function getArguments() : array

0 commit comments

Comments
 (0)