summaryrefslogtreecommitdiff
path: root/vendor/symfony/polyfill-php73
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-08-25 19:22:36 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-08-26 10:50:56 +0100
commitf8a5f4cc875c1af9415dbd10973d827d4618a996 (patch)
tree846822d82a49191f3292c983568e05896f797eee /vendor/symfony/polyfill-php73
parent871db2ea6c6f89b03a7a9520f7de5a3805ee2659 (diff)
downloadwebtrees-f8a5f4cc875c1af9415dbd10973d827d4618a996.tar.gz
webtrees-f8a5f4cc875c1af9415dbd10973d827d4618a996.tar.bz2
webtrees-f8a5f4cc875c1af9415dbd10973d827d4618a996.zip
Update vendor dependencies
Diffstat (limited to 'vendor/symfony/polyfill-php73')
-rw-r--r--vendor/symfony/polyfill-php73/Php73.php13
-rw-r--r--vendor/symfony/polyfill-php73/bootstrap.php1
-rw-r--r--vendor/symfony/polyfill-php73/composer.json2
3 files changed, 13 insertions, 3 deletions
diff --git a/vendor/symfony/polyfill-php73/Php73.php b/vendor/symfony/polyfill-php73/Php73.php
index aa3708f64f..7c99d1972a 100644
--- a/vendor/symfony/polyfill-php73/Php73.php
+++ b/vendor/symfony/polyfill-php73/Php73.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Symfony\Polyfill\Php73;
/**
@@ -19,8 +28,8 @@ final class Php73
*/
public static function hrtime($asNum = false)
{
- $ns = \microtime(false);
- $s = \substr($ns, 11) - self::$startAt;
+ $ns = microtime(false);
+ $s = substr($ns, 11) - self::$startAt;
$ns = 1E9 * (float) $ns;
if ($asNum) {
diff --git a/vendor/symfony/polyfill-php73/bootstrap.php b/vendor/symfony/polyfill-php73/bootstrap.php
index 049b8bb8aa..4c3f44f6bf 100644
--- a/vendor/symfony/polyfill-php73/bootstrap.php
+++ b/vendor/symfony/polyfill-php73/bootstrap.php
@@ -17,6 +17,7 @@ if (PHP_VERSION_ID < 70300) {
}
if (!function_exists('hrtime')) {
+ require_once __DIR__.'/Php73.php';
p\Php73::$startAt = (int) microtime(true);
function hrtime($asNum = false) { return p\Php73::hrtime($asNum); }
}
diff --git a/vendor/symfony/polyfill-php73/composer.json b/vendor/symfony/polyfill-php73/composer.json
index e98167ed51..92808af8f9 100644
--- a/vendor/symfony/polyfill-php73/composer.json
+++ b/vendor/symfony/polyfill-php73/composer.json
@@ -26,7 +26,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.11-dev"
+ "dev-master": "1.12-dev"
}
}
}