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) {
5353 $ arrowsRegex = "/^\s*#\s*include\s*<\s*([a-zA-Z0-9_+]*)\.h\s*>/ " ;
5454 $ quotesRegex = "/^\s*#\s*include\s* \"\s*([a-zA-Z0-9_+]*)\.h\s* \"/ " ;
5555
56- $ headers = array ( "arrows " => array () , "quotes " => array ()) ;
56+ $ headers = [ "arrows " => [] , "quotes " => []] ;
5757 foreach (explode ("\n" , $ code ) as $ line )
5858 {
5959 if (preg_match ($ arrowsRegex , $ line , $ matches ))
@@ -78,7 +78,7 @@ function detectHeadersInFile($code) {
7878 */
7979 function readLibraries ($ sketchFiles ) {
8080 // Scan files for headers and locate the corresponding include paths.
81- $ headers = array ( "arrows " => array () , "quotes " => array ()) ;
81+ $ headers = [ "arrows " => [] , "quotes " => []] ;
8282
8383 foreach ($ sketchFiles as $ file )
8484 {
You can’t perform that action at this time.
0 commit comments