Commit 703a19f
committed
Don't set installed_paths config in ruleset file
The "parent" rules may not be installed in that location, and it prevents using phpcs from a phar file because it is a relative path.
https://www.php.net/phar.interceptfilefuncs: "instructs phar to intercept fopen(), readfile(), file_get_contents(), opendir(), and all of the stat-related functions. If any of these functions is called from within a phar archive with a relative path, the call is modified to access a file within the phar archive. Absolute paths are assumed to be attempts to load external files from the filesystem."1 parent 243fb6f commit 703a19f
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
0 commit comments