Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update box from 3.14 to 3.16 #851

Merged
merged 1 commit into from
Apr 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .phive/phars.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<phar name="phpstan" version="^1.0" installed="1.3.3" location="./tools/phpstan" copy="true"/>
<phar name="psalm" version="^4.8.0" installed="4.18.1" location="./tools/psalm" copy="true"/>
<phar name="infection" version="^0.25" installed="0.25.6" location="./tools/infection" copy="true"/>
<phar name="humbug/box" version="^3.13.0" installed="3.14.0" location="./tools/box" copy="true"/>
<phar name="humbug/box" version="^3.16.0" installed="3.16.0" location="./tools/box" copy="true"/>
</phive>
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ psalm:
$(PSALM_BIN)

infection: tools-install composer-install
$(INFECTION_BIN) --threads=$(shell nproc || sysctl -n hw.ncpu || 1) --test-framework-options='--testsuite=Tests' --only-covered --min-msi=82
$(INFECTION_BIN) --threads=$(shell nproc || sysctl -n hw.ncpu || 1) --test-framework-options='--testsuite=Tests' --only-covered --min-msi=80

gpg:
gpg --detach-sign --armor --default-key 41DDE07547459FAECFA17813B8F640134AB1782E --output deptrac.phar.asc deptrac.phar
Expand Down
18 changes: 9 additions & 9 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

use Isolated\Symfony\Component\Finder\Finder;
use Isolated\Symfony\Component\Finder\Finder as IsolatedFinder;

$polyfillsBootstrap = Finder::create()
$polyfillsBootstrap = IsolatedFinder::create()
->files()
->in(__DIR__ . '/vendor/symfony/polyfill-*')
->name('*.php');
Expand All @@ -13,17 +13,17 @@
'prefix' => null, // string|null
'finders' => [], // Finder[]
'patchers' => [], // callable[]
'files-whitelist' => array_map(
'exclude-files' => array_map(
static function ($file) {
return $file->getPathName();
},
iterator_to_array($polyfillsBootstrap)
),
'whitelist' => [
'Qossmic\\Deptrac\\*',
'Symfony\\Polyfill\\*',
'exclude-namespaces' => [
'Qossmic\Deptrac',
'Symfony\Polyfill',
],
'whitelist-global-constants' => true, // bool
'whitelist-global-classes' => true, // bool
'whitelist-global-functions' => true, // bool
'expose-global-constants' => true, // bool
'expose-global-classes' => true, // bool
'expose-global-functions' => true, // bool
];