In cases where it will likely improve readability, strings containing single quotes will be double-quoted
5.4
Add new lint:yaml dirname --exclude=/dirname/foo.yaml --exclude=/dirname/bar.yaml
option to exclude one or more specific files from multiple file list
Allow negatable for the parse tags option with --no-parse-tags
5.3
Added github format support & autodetection to render errors as annotations
when running the YAML linter command in a Github Action environment.
5.1.0
Added support for parsing numbers prefixed with 0o as octal numbers.
Deprecated support for parsing numbers starting with 0 as octal numbers. They will be parsed as strings as of Symfony 6.0. Prefix numbers with 0o
so that they are parsed as octal numbers.
Before:
Yaml::parse('072');
After:
Yaml::parse('0o72');
Added yaml-lint binary.
Deprecated using the !php/object and !php/const tags without a value.
5.0.0
Removed support for mappings inside multi-line strings.
removed support for implicit STDIN usage in the lint:yaml command, use lint:yaml - (append a dash) instead to make it explicit.
4.4.0
... (truncated)
Commits
e83fe9a Guard scripts from being run in non-CLI contexts
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps symfony/yaml from 5.3.6 to 5.4.14.
Release notes
Sourced from symfony/yaml's releases.
... (truncated)
Changelog
Sourced from symfony/yaml's changelog.
... (truncated)
Commits
e83fe9a
Guard scripts from being run in non-CLI contexts7a3aa21
Merge branch '4.4' into 5.4aeccc4d
cs fix5d30210
minor #46739 [Yaml] Improve test coverage in DumperTest and ParserTest (donqu...0e43701
[Yaml] Improve test coverage in DumperTest and ParserTest05d4ea5
Merge branch '4.4' into 5.4c2b28c1
CS fixes04e4292
Merge branch '4.4' into 5.407e392f
[Yaml] Enhance coverage in yaml DumperTest.e80f87d
minor #45085 [Yaml] Improve the deprecation warnings for octal numbers to sug...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)