1
0
Fork 0

Merge commit 'refs/pull/8575/head' of github.com:composer/composer

pull/8597/head
Jordi Boggiano 2020-02-12 10:11:58 +01:00
commit c7ba751319
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 3 additions and 1 deletions

View File

@ -1525,6 +1525,8 @@ EOF;
'/composersrc/ClassToExclude.php',
'/composersrc/*/excluded/excsubpath',
'**/excsubpath',
'composers', // should _not_ cause exclusion of /composersrc/**
'/src-ca/', // should _not_ cause exclusion of /src-cake/**
),
));
@ -1547,7 +1549,7 @@ EOF;
$this->fs->ensureDirectoryExists($this->workingDir.'/composersrc/tests');
file_put_contents($this->workingDir.'/composersrc/foo.php', '<?php class ClassMapFoo {}');
// this classes should not be found in the classmap
// these classes should not be found in the classmap
$this->fs->ensureDirectoryExists($this->workingDir.'/composersrc/excludedTests');
file_put_contents($this->workingDir.'/composersrc/excludedTests/bar.php', '<?php class ClassExcludeMapFoo {}');
file_put_contents($this->workingDir.'/composersrc/ClassToExclude.php', '<?php class ClassClassToExclude {}');