-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for glob paths to exclude files
Moved file exclusion matching to value object classes `Path` and `Paths`. Provides support for wildcard exclusions using an asterisk: ```json "extra": { "exclude-from-files": [ "laravel/framework/src/*/helpers.php" ] } ``` Changed: - Refactored tests to decouple set-up and tear-down, sort methods by visibility and alphabetically, and improve static analysis. - Updated tests to support meta-packages and immutable packages. - Fixed support for `InstallationManager` before and after Composer v2.5.6. Resolves #16
- Loading branch information
Showing
9 changed files
with
523 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Directories | ||
/report/ | ||
/vendor/ | ||
|
||
# Files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Parameter \\#1 \\$path of function realpath expects string, mixed given\\.$#" | ||
count: 1 | ||
path: src/Path.php | ||
- | ||
message: "#^Parameter \\#1 \\$path of function realpath expects string, string\\|false given\\.$#" | ||
count: 1 | ||
path: src/ExcludeFilePlugin.php | ||
path: src/Path.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.