We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da3c6bf commit e714f03Copy full SHA for e714f03
src/Service/CodeValidator/YamlValidator.php
@@ -19,7 +19,7 @@ public function validate(CodeNode $node, IssueCollection $issues): void
19
// Allow us to use "..." as a placeholder
20
$contents = str_replace('...', 'null', $node->getValue());
21
try {
22
- Yaml::parse($contents, Yaml::PARSE_CUSTOM_TAGS);
+ Yaml::parse($contents, Yaml::PARSE_CONSTANT | Yaml::PARSE_CUSTOM_TAGS);
23
} catch (ParseException $e) {
24
if ('Duplicate key' === substr($e->getMessage(), 0, 13)) {
25
return;
0 commit comments