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
Added support for parsing the inline notation spanning multiple lines.
Added support to dump null as ~ by using the Yaml::DUMP_NULL_AS_TILDE flag.
deprecated accepting STDIN implicitly when using the lint:yaml command, use lint:yaml - (append a dash) instead to make it explicit.
4.3.0
Using a mapping inside a multi-line string is deprecated and will throw a ParseException in 5.0.
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
Bumps symfony/yaml from 3.4.39 to 4.4.21.
Release notes
Sourced from symfony/yaml's releases.
... (truncated)
Changelog
Sourced from symfony/yaml's changelog.
... (truncated)
Commits
3871c72
Fix #36973: Command description consistency29e6130
Switched to non-null defaults in exception constructors0a04eb0
[yaml] Delelte unused comparison operation17ed9f1
Use createMock() and use import instead of FQCNa170990
Changed private static array-properties to constdd3f776
a colon followed by spaces exclusively separates mapping keys and values22640fb
Use ::class keyword when possiblef1c4a3c
minor #39775 [WIP] Use ::class keyword when possible (fabpot)471d834
Use ::class keyword when possible9bbbc93
minor #39773 Improve composer.json descriptions (fabpot)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