Loading core/modules/config/tests/config_test/config/install/config_test.types.yml +5 −1 Original line number Diff line number Diff line Loading @@ -5,6 +5,10 @@ float: 3.14159 float_as_integer: !!float 1 hex: 0xC int: 99 octal: 0775 # Symfony 5.1's YAML parser issues a deprecation when reading octal with a # leading zero, to comply with YAML 1.2. However PECL YAML is still YAML 1.1 # compliant. @todo: revisit parsing of octal once PECL YAML supports YAML 1.2. # @see https://www.drupal.org/project/drupal/issues/3205480 # octal: 0775 string: string string_int: '1' core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php +6 −1 Original line number Diff line number Diff line Loading @@ -281,7 +281,12 @@ public function testDataTypes() { 'float_as_integer' => (float) 1, 'hex' => 0xC, 'int' => 99, 'octal' => 0775, // Symfony 5.1's YAML parser issues a deprecation when reading octal with // a leading zero, to comply with YAML 1.2. However PECL YAML is still // YAML 1.1 compliant. // @todo: revisit parsing of octal once PECL YAML supports YAML 1.2. // See https://www.drupal.org/project/drupal/issues/3205480 // 'octal' => 0775, 'string' => 'string', 'string_int' => '1', ]; Loading Loading
core/modules/config/tests/config_test/config/install/config_test.types.yml +5 −1 Original line number Diff line number Diff line Loading @@ -5,6 +5,10 @@ float: 3.14159 float_as_integer: !!float 1 hex: 0xC int: 99 octal: 0775 # Symfony 5.1's YAML parser issues a deprecation when reading octal with a # leading zero, to comply with YAML 1.2. However PECL YAML is still YAML 1.1 # compliant. @todo: revisit parsing of octal once PECL YAML supports YAML 1.2. # @see https://www.drupal.org/project/drupal/issues/3205480 # octal: 0775 string: string string_int: '1'
core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php +6 −1 Original line number Diff line number Diff line Loading @@ -281,7 +281,12 @@ public function testDataTypes() { 'float_as_integer' => (float) 1, 'hex' => 0xC, 'int' => 99, 'octal' => 0775, // Symfony 5.1's YAML parser issues a deprecation when reading octal with // a leading zero, to comply with YAML 1.2. However PECL YAML is still // YAML 1.1 compliant. // @todo: revisit parsing of octal once PECL YAML supports YAML 1.2. // See https://www.drupal.org/project/drupal/issues/3205480 // 'octal' => 0775, 'string' => 'string', 'string_int' => '1', ]; Loading