diff --git a/src/Composer/Package/Archiver/GitExcludeFilter.php b/src/Composer/Package/Archiver/GitExcludeFilter.php index 6727f9af2..926bb4d69 100644 --- a/src/Composer/Package/Archiver/GitExcludeFilter.php +++ b/src/Composer/Package/Archiver/GitExcludeFilter.php @@ -53,7 +53,7 @@ class GitExcludeFilter extends BaseExcludeFilter * * @return array An exclude pattern for filter() */ - protected function parseGitIgnoreLine($line) + public function parseGitIgnoreLine($line) { return $this->generatePattern($line); } @@ -65,7 +65,7 @@ class GitExcludeFilter extends BaseExcludeFilter * * @return array An exclude pattern for filter() */ - protected function parseGitAttributesLine($line) + public function parseGitAttributesLine($line) { $parts = preg_split('#\s+#', $line);