Skip to content

Commit

Permalink
#1437 update atoum + fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
stakovicz committed Sep 14, 2024
1 parent b66c412 commit ff98c87
Show file tree
Hide file tree
Showing 5 changed files with 1,521 additions and 706 deletions.
10 changes: 6 additions & 4 deletions bin/doctrine-dbal
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,12 @@ if (PHP_VERSION_ID < 80000) {
}
}

if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
include("phpvfscomposer://" . __DIR__ . '/..'.'/vendor/doctrine/dbal/bin/doctrine-dbal');
exit(0);
if (
(function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
|| (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
) {
return include("phpvfscomposer://" . __DIR__ . '/..'.'/vendor/doctrine/dbal/bin/doctrine-dbal');
}
}

include __DIR__ . '/..'.'/vendor/doctrine/dbal/bin/doctrine-dbal';
return include __DIR__ . '/..'.'/vendor/doctrine/dbal/bin/doctrine-dbal';
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"algolia/algoliasearch-client-php": "^1.12",
"beberlei/assert": "^2.9",
"captioning/captioning": "^2.6",
"ccmbenchmark/ting_bundle": "^3.0",
"ccmbenchmark/ting_bundle": "3.4.1",
"cocur/slugify": "^2.3",
"doctrine/dbal": "^2.5",
"ekino/newrelic-bundle": "^1.4",
Expand Down Expand Up @@ -90,12 +90,12 @@
],
"minimum-stability": "stable",
"require-dev": {
"atoum/atoum": "^2.8",
"atoum/atoum": "^3.0",
"atoum/stubs": "^2.5",
"friendsofphp/php-cs-fixer": "~2",
"behat/behat": "^3.7",
"behat/mink-extension": "^2.3",
"behat/mink-goutte-driver": "^1.2",
"friendsofphp/php-cs-fixer": "~2",
"smalot/pdfparser": "^0.19.0"
},
"repositories": [
Expand Down
Loading

0 comments on commit ff98c87

Please sign in to comment.