-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'PIPRES-489/ps9-compatibility' of github.com:mollie/Pres…
…taShop into PIPRES-489/ps9-compatibility
- Loading branch information
Showing
8 changed files
with
62 additions
and
9 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
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Isolated\Symfony\Component\Finder\Finder; | ||
|
||
return [ | ||
// The prefix configuration. If a non null value will be used, a random prefix will be generated. | ||
'prefix' => 'Mollie\\Vendor', | ||
|
||
// By default when running php-scoper add-prefix, it will prefix all relevant code found in the current working | ||
// directory. You can however define which files should be scoped by defining a collection of Finders in the | ||
// following configuration key. | ||
// | ||
// For more see: https://github.com/humbug/php-scoper#finders-and-paths | ||
'finders' => [ | ||
Finder::create() | ||
->files() | ||
->ignoreVCS(true) | ||
->notName('/LICENSE|.*\\.md|.*\\.dist|Makefile|composer\\.json|composer\\.lock/') | ||
->exclude([ | ||
'test', | ||
'test_old', | ||
'tests', | ||
'Tests', | ||
'vendor-bin', | ||
'console', | ||
]) | ||
->in('vendor/league'), | ||
Finder::create() | ||
->files() | ||
->ignoreVCS(true) | ||
->notName('/LICENSE|.*\\.md|.*\\.dist|Makefile|composer\\.json|composer\\.lock/') | ||
->exclude([ | ||
'test', | ||
'test_old', | ||
'tests', | ||
'Tests', | ||
'vendor-bin', | ||
'console', | ||
]) | ||
->in('vendor/psr'), | ||
Finder::create()->append([ | ||
'composer.json', | ||
]), | ||
], | ||
]; |
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
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