Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd217fd

Browse files
Merge branch '3.2' into 3.3
* 3.2: update phpunit-bridge cache-id respect optional error handler arguments [Intl] Fix bin/common.php PHP7 compatibility
2 parents 023cf9e + 39b0515 commit cd217fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env php
22
<?php
33

4-
// Cache-Id: https://github.com/symfony/phpunit-bridge/commit/2a45e94c3cde63d8cdfa729e51b80f85b1ab37f6
4+
// Cache-Id: https://github.com/symfony/phpunit-bridge/commit/29fa7b8196870591f35e1554dd69def482e01fb2
55

66
if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
77
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";

src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static function register($mode = 0)
9797
'other' => array(),
9898
'remaining vendor' => array(),
9999
);
100-
$deprecationHandler = function ($type, $msg, $file, $line, $context) use (&$deprecations, $getMode, $UtilPrefix, $inVendors) {
100+
$deprecationHandler = function ($type, $msg, $file, $line, $context = array()) use (&$deprecations, $getMode, $UtilPrefix, $inVendors) {
101101
$mode = $getMode();
102102
if ((E_USER_DEPRECATED !== $type && E_DEPRECATED !== $type) || DeprecationErrorHandler::MODE_DISABLED === $mode) {
103103
$ErrorHandler = $UtilPrefix.'ErrorHandler';

src/Symfony/Component/Intl/Resources/bin/common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function get_icu_version_from_genrb($genrb)
6868
return $matches[1];
6969
}
7070

71-
set_exception_handler(function (\Exception $exception) {
71+
set_exception_handler(function (\Throwable $exception) {
7272
echo "\n";
7373

7474
$cause = $exception;

0 commit comments

Comments
 (0)