File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Symfony/src/Codebender/BuilderBundle/Handler Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ function detectHeadersInFile($code) {
53
53
$ arrowsRegex = "/^\s*#\s*include\s*<\s*([a-zA-Z0-9_+]*)\.h\s*>/ " ;
54
54
$ quotesRegex = "/^\s*#\s*include\s* \"\s*([a-zA-Z0-9_+]*)\.h\s* \"/ " ;
55
55
56
- $ headers = array ( "arrows " => array () , "quotes " => array ()) ;
56
+ $ headers = [ "arrows " => [] , "quotes " => []] ;
57
57
foreach (explode ("\n" , $ code ) as $ line )
58
58
{
59
59
if (preg_match ($ arrowsRegex , $ line , $ matches ))
@@ -78,7 +78,7 @@ function detectHeadersInFile($code) {
78
78
*/
79
79
function readLibraries ($ sketchFiles ) {
80
80
// Scan files for headers and locate the corresponding include paths.
81
- $ headers = array ( "arrows " => array () , "quotes " => array ()) ;
81
+ $ headers = [ "arrows " => [] , "quotes " => []] ;
82
82
83
83
foreach ($ sketchFiles as $ file )
84
84
{
You can’t perform that action at this time.
0 commit comments