Skip to content
Snippets Groups Projects
Unverified Commit 87391036 authored by Florent Torregrosa's avatar Florent Torregrosa Committed by GitHub
Browse files

fix(YAML): Enable YAML custom tags support (#3456991 by Grimreaper)

parent 10a7be4b
Branches
Tags
No related merge requests found
......@@ -190,7 +190,7 @@ class Project
return false;
}
$services = Yaml::parse(file_get_contents($ymlFile));
$services = Yaml::parse(file_get_contents($ymlFile), Yaml::PARSE_CUSTOM_TAGS);
if (isset($services['services']) === false) {
$cache[$phpcsFile->getFilename()] = false;
return false;
......
services:
testmodule.example:
class: Drupal\testmodule\ExampleService
testmodule.test_tagged_iterator:
class: Drupal\testmodule\ExampleService
arguments:
- !tagged_iterator coder_test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment