Skip to content

Commit

Permalink
Avoid deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Sep 7, 2021
1 parent f60292f commit 08f11b5
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"symfony/http-kernel" : "v5.3.3",


"tsugi/lib": "dev-master#115f89939157a5e62f2f968623dea3f466679983",
"tsugi/lib": "dev-master#e8ba77c0ac78c7e32749bcea4682d7cdac204a56",
"koseu/lib": "dev-master#5c5bcb32469977bea262b1900461c3f205adb899"
},
"config": {
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vendor/composer/InstalledVersions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class InstalledVersions
'aliases' =>
array (
),
'reference' => '9e9375910a09c99965a560fd9075585db5988ff8',
'reference' => '3f2a8b70d8d314799ae0d38558780bc4b00ff811',
'name' => '__root__',
),
'versions' =>
Expand All @@ -41,7 +41,7 @@ class InstalledVersions
'aliases' =>
array (
),
'reference' => '9e9375910a09c99965a560fd9075585db5988ff8',
'reference' => '3f2a8b70d8d314799ae0d38558780bc4b00ff811',
),
'aws/aws-sdk-php' =>
array (
Expand Down Expand Up @@ -946,7 +946,7 @@ class InstalledVersions
array (
0 => '9999999-dev',
),
'reference' => '115f89939157a5e62f2f968623dea3f466679983',
'reference' => 'e8ba77c0ac78c7e32749bcea4682d7cdac204a56',
),
'vlucas/phpdotenv' =>
array (
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -6236,12 +6236,12 @@
"source": {
"type": "git",
"url": "https://github.com/tsugiproject/tsugi-php.git",
"reference": "115f89939157a5e62f2f968623dea3f466679983"
"reference": "e8ba77c0ac78c7e32749bcea4682d7cdac204a56"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/tsugiproject/tsugi-php/zipball/115f89939157a5e62f2f968623dea3f466679983",
"reference": "115f89939157a5e62f2f968623dea3f466679983",
"url": "https://api.github.com/repos/tsugiproject/tsugi-php/zipball/e8ba77c0ac78c7e32749bcea4682d7cdac204a56",
"reference": "e8ba77c0ac78c7e32749bcea4682d7cdac204a56",
"shasum": ""
},
"require": {
Expand All @@ -6254,7 +6254,7 @@
"phpunit/php-timer": ">=1.0.6",
"phpunit/phpunit": "8.*"
},
"time": "2021-09-01T19:15:01+00:00",
"time": "2021-09-07T19:47:12+00:00",
"default-branch": true,
"type": "library",
"installation-source": "dist",
Expand Down
6 changes: 3 additions & 3 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'aliases' =>
array (
),
'reference' => '9e9375910a09c99965a560fd9075585db5988ff8',
'reference' => '3f2a8b70d8d314799ae0d38558780bc4b00ff811',
'name' => '__root__',
),
'versions' =>
Expand All @@ -18,7 +18,7 @@
'aliases' =>
array (
),
'reference' => '9e9375910a09c99965a560fd9075585db5988ff8',
'reference' => '3f2a8b70d8d314799ae0d38558780bc4b00ff811',
),
'aws/aws-sdk-php' =>
array (
Expand Down Expand Up @@ -923,7 +923,7 @@
array (
0 => '9999999-dev',
),
'reference' => '115f89939157a5e62f2f968623dea3f466679983',
'reference' => 'e8ba77c0ac78c7e32749bcea4682d7cdac204a56',
),
'vlucas/phpdotenv' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion vendor/tsugi/lib/include/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$CFG->dbversion = 202108250427;

// Just turn this off to avoid security holes due to XML parsing
if ( function_exists ( 'libxml_disable_entity_loader' ) ) libxml_disable_entity_loader();
if ( function_exists ( 'libxml_disable_entity_loader' ) && version_compare(PHP_VERSION, '8.0.0') < 0 ) libxml_disable_entity_loader();

// Only exists in PHP 5 >= 5.5.0
if ( ! function_exists ( 'json_last_error_msg' ) ) {
Expand Down

0 comments on commit 08f11b5

Please sign in to comment.