use composer package of php-scoper

This commit is contained in:
Tomas Votruba 2018-05-28 21:06:06 +02:00
parent afb7380a91
commit 8d5876448a
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ set -x
rm -rf build/
# prefix current code to /build directory (see "scoper.inc.php" for settings)
php php-scoper.phar add-prefix --no-interaction --prefix='RectorPrefixed'
vendor/bin/php-scoper add-prefix --no-interaction
# prefix namespace in *.yml files
# but not in /config, since there is only Rector\ services and "class names"

View File

@ -22,6 +22,7 @@
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.2",
"humbug/php-scoper": "@dev",
"phpstan/phpstan-shim": "^0.9",
"phpunit/phpunit": "^7.1",
"slam/php-cs-fixer-extensions": "^1.15",