Skip to content

Commit

Permalink
delete json in patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
visavi committed May 21, 2018
1 parent f8ed01d commit ce01598
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,13 @@ $patterns = [
'*.md',
'*.xml',
'*.txt',
'*.json',
'*.dist',
'.php_cs*',
'.scrutinizer',
'.gitignore',
'.gitattributes',
'.editorconfig',
'dockerfile',
'composer.json',
'composer.lock',
];

Expand Down Expand Up @@ -119,7 +117,7 @@ function prepareWord($matches)
return '[' . strtolower($matches[1]) . strtoupper($matches[1]) . ']';
}

$directories = expandTree(dirname(dirname(__DIR__)));
$directories = expandTree(dirname(__DIR__, 2));

foreach ($directories as $directory) {
foreach ($patterns as $pattern) {
Expand Down

0 comments on commit ce01598

Please sign in to comment.