Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coder
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
coder
Commits
87391036
Unverified
Commit
87391036
authored
10 months ago
by
Florent Torregrosa
Committed by
GitHub
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
fix(YAML): Enable YAML custom tags support (
#3456991
by Grimreaper)
parent
10a7be4b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
coder_sniffer/DrupalPractice/Project.php
+1
-1
1 addition, 1 deletion
coder_sniffer/DrupalPractice/Project.php
tests/DrupalPractice/Objects/testmodule.services.yml
+5
-0
5 additions, 0 deletions
tests/DrupalPractice/Objects/testmodule.services.yml
with
6 additions
and
1 deletion
coder_sniffer/DrupalPractice/Project.php
+
1
−
1
View file @
87391036
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
tests/DrupalPractice/Objects/testmodule.services.yml
+
5
−
0
View file @
87391036
services
:
testmodule.example
:
class
:
Drupal\testmodule\ExampleService
testmodule.test_tagged_iterator
:
class
:
Drupal\testmodule\ExampleService
arguments
:
-
!tagged_iterator
coder_test
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment