File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 11
11
12
12
` php-chmod ` is a PHP library for easily changing file/directory permissions recursively.
13
13
14
- ✅ Literal octal notation (0o) is supported
14
+ > ✅ Literal octal notation (0o) is supported
15
15
16
16
### Versions & Dependencies
17
17
@@ -117,29 +117,29 @@ $result->setNames(['*.php']);
117
117
$result->setExcludedPaths(['first/dir', 'other/dir']);
118
118
```
119
119
120
- ` scan ` finds all the concerned files/directories :
120
+ ` doExcludeFiles ` excludes all files:
121
121
122
122
``` php
123
- $result->scan([__DIR__] );
123
+ $result->doExcludeFiles( );
124
124
```
125
125
126
- ` setPaths ` sets paths of files/directories manually. This is an alternative to the scanner if you want to use a custom
127
- scanner:
126
+ ` doExcludeDirectories ` excludes all directories:
128
127
129
128
``` php
130
- $result->setPaths($paths );
129
+ $result->doExcludeDirectories( );
131
130
```
132
131
133
- ` doExcludeFiles ` excludes all files:
132
+ ` scan ` finds all the concerned files/directories :
134
133
135
134
``` php
136
- $result->doExcludeFiles( );
135
+ $result->scan([__DIR__] );
137
136
```
138
137
139
- ` doExcludeDirectories ` excludes all directories:
138
+ ` setPaths ` sets paths of files/directories manually. This is an alternative to the scanner if you want to use a custom
139
+ scanner:
140
140
141
141
``` php
142
- $result->doExcludeDirectories( );
142
+ $result->setPaths($paths );
143
143
```
144
144
145
145
` dryRun ` returns an array of the concerned files/directories:
You can’t perform that action at this time.
0 commit comments