Skip to content

Commit

Permalink
Upgrade to box 3.15 (PHP81 compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
veewee committed Feb 9, 2022
1 parent 0b50cfc commit 0761c88
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ prepare:
php $(BUILD_DIR)/fix-some-stuff-in-composer.php
composer --working-dir='$(BUILD_DIR)' config platform.php '$(PHP)'
composer install --working-dir='$(BUILD_DIR)' --no-scripts --no-plugins --no-dev --no-interaction --optimize-autoloader
./vendor/bin/box compile --working-dir='$(BUILD_DIR)'
php -d error_reporting='(E_ALL & ~E_DEPRECATED)' ./vendor/bin/box compile --working-dir='$(BUILD_DIR)' -vvv
# Copy composer plugin
cp '$(BUILD_DIR)/src/Composer/GrumPHPPlugin.php' '$(ROOT_DIR)/src/Composer/GrumPHPPlugin.php'
# All good : lets finish up
Expand Down
12 changes: 6 additions & 6 deletions build/scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
);

return [
'whitelist' => [
'GrumPHP\*',
'PhpParser\*',
'Composer\*',
'Symfony\\Polyfill\\*',
'exclude-namespaces' => [
'GrumPHP',
'PhpParser',
'Composer',
'Symfony\Polyfill',
],
'files-whitelist' => [
'exclude-files' => [
...$polyfillsBootstraps,
...$polyfillsStubs
],
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"composer-plugin-api": "~2.0"
},
"require-dev": {
"humbug/box": "^3.12.2",
"jetbrains/phpstorm-stubs": "dev-master@dev"
"humbug/box": "^3.15"
},
"replace": {
"phpro/grumphp": "self.version"
Expand Down

0 comments on commit 0761c88

Please sign in to comment.