diff --git a/src/Composer/Package/Archiver/BaseExcludeFilter.php b/src/Composer/Package/Archiver/BaseExcludeFilter.php index 18fa05404..8e69ed069 100644 --- a/src/Composer/Package/Archiver/BaseExcludeFilter.php +++ b/src/Composer/Package/Archiver/BaseExcludeFilter.php @@ -59,7 +59,7 @@ abstract class BaseExcludeFilter $path = $relativePath; } - if (preg_match($pattern, $path)) { + if (@preg_match($pattern, $path)) { $exclude = !$negate; } }