File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ package: tools/box
56
56
$(eval VERSION=$(shell git describe --abbrev=0 --tags 2> /dev/null | sed -e 's/^v//' || echo 'dev') )
57
57
@rm -rf build/phar && mkdir -p build/phar
58
58
59
- cp -r src LICENSE composer.json build/phar
59
+ cp -r src LICENSE composer.json scoper.inc.php build/phar
60
60
sed -e 's/@@version@@/$(VERSION)/g' manifest.xml.in > build/phar/manifest.xml
61
61
62
62
cd build/phar && \
@@ -89,4 +89,4 @@ tools/infection.pubkey:
89
89
curl -Ls https://github.com/infection/infection/releases/download/0.9.0/infection.phar.pubkey -o tools/infection.pubkey
90
90
91
91
tools/box :
92
- curl -Ls https://github.com/humbug/box/releases/download/3.0.0-beta.0 /box.phar -o tools/box && chmod +x tools/box
92
+ curl -Ls https://github.com/humbug/box/releases/download/3.0.0-beta.4 /box.phar -o tools/box && chmod +x tools/box
Original file line number Diff line number Diff line change 7
7
"exclude-composer-files": true,
8
8
"check-requirements": false,
9
9
"main": "vendor/autoload.php",
10
+ "compactors": [
11
+ "KevinGH\\Box\\Compactor\\PhpScoper"
12
+ ],
10
13
"banner": [
11
14
"This file is part of the zalas/phpunit-injector project.",
12
15
"",
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ return [
4
+ 'whitelist ' => [
5
+ 'Psr\Container\* ' ,
6
+ 'PHPUnit\Framework\* ' ,
7
+ 'Symfony\Component\* ' ,
8
+ 'Zalas\Injector\* ' ,
9
+ ],
10
+ ];
You can’t perform that action at this time.
0 commit comments