@@ -224,15 +224,15 @@ protected function normalizeOptions(array $options): array
224224 }
225225
226226 $ rawExcludePaths = is_array ($ merged ['excludePaths ' ] ?? null ) ? $ merged ['excludePaths ' ] : [];
227- $ excludePaths = array_values (array_filter ($ rawExcludePaths , ' is_string ' ));
227+ $ excludePaths = array_values (array_filter ($ rawExcludePaths , is_string (...) ));
228228 $ excludePaths [] = $ cacheDir ;
229229 $ excludePaths [] = __DIR__ . '/../ ' ;
230230
231231 $ appDir = is_string ($ merged ['appDir ' ] ?? null ) ? $ merged ['appDir ' ] : '' ;
232232 $ cacheFileMode = is_int ($ merged ['cacheFileMode ' ] ?? null ) ? $ merged ['cacheFileMode ' ] : (0770 & ~umask ());
233233 $ features = is_int ($ merged ['features ' ] ?? null ) ? $ merged ['features ' ] : 0 ;
234234 $ rawIncludePaths = is_array ($ merged ['includePaths ' ] ?? null ) ? $ merged ['includePaths ' ] : [];
235- $ includePaths = array_values (array_filter ($ rawIncludePaths , ' is_string ' ));
235+ $ includePaths = array_values (array_filter ($ rawIncludePaths , is_string (...) ));
236236 $ debug = is_bool ($ merged ['debug ' ] ?? null ) ? $ merged ['debug ' ] : false ;
237237
238238 $ containerClass = static ::$ containerClass ;
@@ -256,8 +256,8 @@ protected function normalizeOptions(array $options): array
256256 'cacheDir ' => $ resolvedCacheDir ,
257257 'cacheFileMode ' => $ cacheFileMode ,
258258 'features ' => $ features ,
259- 'includePaths ' => array_values (array_filter ($ resolvedIncludePaths , ' is_string ' )),
260- 'excludePaths ' => array_values (array_filter ($ resolvedExcludePaths , ' is_string ' )),
259+ 'includePaths ' => array_values (array_filter ($ resolvedIncludePaths , is_string (...) )),
260+ 'excludePaths ' => array_values (array_filter ($ resolvedExcludePaths , is_string (...) )),
261261 'containerClass ' => $ containerClass ,
262262 ];
263263 }
0 commit comments