Upgrade to 4.0.1

This commit is contained in:
Bastian Allgeier
2023-11-30 14:04:59 +01:00
parent 48fecb671b
commit 6cdb5c1c91
16 changed files with 215 additions and 217 deletions

View File

@@ -1069,17 +1069,17 @@
},
{
"name": "symfony/yaml",
"version": "v6.3.8",
"version_normalized": "6.3.8.0",
"version": "v6.4.0",
"version_normalized": "6.4.0.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "3493af8a8dad7fa91c77fa473ba23ecd95334a92"
"reference": "4f9237a1bb42455d609e6687d2613dde5b41a587"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/3493af8a8dad7fa91c77fa473ba23ecd95334a92",
"reference": "3493af8a8dad7fa91c77fa473ba23ecd95334a92",
"url": "https://api.github.com/repos/symfony/yaml/zipball/4f9237a1bb42455d609e6687d2613dde5b41a587",
"reference": "4f9237a1bb42455d609e6687d2613dde5b41a587",
"shasum": ""
},
"require": {
@@ -1091,9 +1091,9 @@
"symfony/console": "<5.4"
},
"require-dev": {
"symfony/console": "^5.4|^6.0"
"symfony/console": "^5.4|^6.0|^7.0"
},
"time": "2023-11-06T10:58:05+00:00",
"time": "2023-11-06T11:00:25+00:00",
"bin": [
"Resources/bin/yaml-lint"
],
@@ -1124,7 +1124,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/yaml/tree/v6.3.8"
"source": "https://github.com/symfony/yaml/tree/v6.4.0"
},
"funding": [
{

View File

@@ -1,8 +1,8 @@
<?php return array(
'root' => array(
'name' => 'getkirby/cms',
'pretty_version' => '4.0.0',
'version' => '4.0.0.0',
'pretty_version' => '4.0.1',
'version' => '4.0.1.0',
'reference' => NULL,
'type' => 'kirby-cms',
'install_path' => __DIR__ . '/../../',
@@ -47,8 +47,8 @@
'dev_requirement' => false,
),
'getkirby/cms' => array(
'pretty_version' => '4.0.0',
'version' => '4.0.0.0',
'pretty_version' => '4.0.1',
'version' => '4.0.1.0',
'reference' => NULL,
'type' => 'kirby-cms',
'install_path' => __DIR__ . '/../../',
@@ -167,9 +167,9 @@
),
),
'symfony/yaml' => array(
'pretty_version' => 'v6.3.8',
'version' => '6.3.8.0',
'reference' => '3493af8a8dad7fa91c77fa473ba23ecd95334a92',
'pretty_version' => 'v6.4.0',
'version' => '6.4.0.0',
'reference' => '4f9237a1bb42455d609e6687d2613dde5b41a587',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/yaml',
'aliases' => array(),

View File

@@ -55,12 +55,8 @@ class Inline
*
* @throws ParseException
*/
public static function parse(string $value = null, int $flags = 0, array &$references = []): mixed
public static function parse(string $value, int $flags = 0, array &$references = []): mixed
{
if (null === $value) {
return '';
}
self::initialize($flags);
$value = trim($value);
@@ -161,7 +157,7 @@ class Inline
} elseif (floor($value) == $value && $repr == $value) {
// Preserve float data type since storing a whole number will result in integer value.
if (!str_contains($repr, 'E')) {
$repr = $repr.'.0';
$repr .= '.0';
}
}
} else {

View File

@@ -21,7 +21,7 @@
"symfony/polyfill-ctype": "^1.8"
},
"require-dev": {
"symfony/console": "^5.4|^6.0"
"symfony/console": "^5.4|^6.0|^7.0"
},
"conflict": {
"symfony/console": "<5.4"