File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
32
32
-- The token after the statement (normally a semicolon) becomes the scope closer
33
33
-- The token is also associated with the opening and closing parenthesis of the statement
34
34
-- Any functions named "fn" will cause have a T_FN token for the function name, but have no scope information
35
+ - The PHPCS file cache now takes file permissions into account
36
+ -- The cache is now invalidated for a file when its permissions are changed
35
37
- File::getMethodParameters() now supports arrow functions
36
38
- File::getMethodProperties() now supports arrow functions
37
39
- Generic.CodeAnalysis.EmptyPhpStatement now reports unnecessary semicolons after control structure closing braces
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ public function process()
93
93
}
94
94
95
95
$ hash = md5_file ($ this ->path );
96
+ $ hash .= fileperms ($ this ->path );
96
97
$ cache = Cache::get ($ this ->path );
97
98
if ($ cache !== false && $ cache ['hash ' ] === $ hash ) {
98
99
// We can't filter metrics, so just load all of them.
You can’t perform that action at this time.
0 commit comments