Skip to content

Commit ce01598

Browse files
committed
delete json in patterns
1 parent f8ed01d commit ce01598

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cleanup

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,13 @@ $patterns = [
5252
'*.md',
5353
'*.xml',
5454
'*.txt',
55-
'*.json',
5655
'*.dist',
5756
'.php_cs*',
5857
'.scrutinizer',
5958
'.gitignore',
6059
'.gitattributes',
6160
'.editorconfig',
6261
'dockerfile',
63-
'composer.json',
6462
'composer.lock',
6563
];
6664

@@ -119,7 +117,7 @@ function prepareWord($matches)
119117
return '[' . strtolower($matches[1]) . strtoupper($matches[1]) . ']';
120118
}
121119

122-
$directories = expandTree(dirname(dirname(__DIR__)));
120+
$directories = expandTree(dirname(__DIR__, 2));
123121

124122
foreach ($directories as $directory) {
125123
foreach ($patterns as $pattern) {

0 commit comments

Comments
 (0)