Add support to dump int keys as strings by using the Yaml::DUMP_NUMERIC_KEY_AS_STRING flag
6.2
Add support for !php/enum and !php/enum *->value
Deprecate the !php/const: tag in key which will be replaced by the !php/const tag (without the colon) since 3.4
6.1
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.
You can trigger a rebase of this PR 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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Updates the requirements on symfony/yaml to permit the latest version.
Release notes
Sourced from symfony/yaml's releases.
Changelog
Sourced from symfony/yaml's changelog.
... (truncated)
Commits
c6980e8
Fix passing null to trim()4cd2e3e
[Dumper] Trim leading newlines when checking if value begins with a space3713e20
Fix phpdocs in componentsc8336db
Migrate tostatic
data providers usingrector/rector
7432eef
[Tests] Migrate data providers to static ones675e51d
Update license years (last time)71c05db
[Yaml] Minor: Update Inline parse phpdoc74f2ca5
Bump license year to 2023edcdc11
bug #48331 [Yaml] fix dumping top-level tagged values (xabbuh)12402e1
fix dumping top-level tagged valuesYou can trigger a rebase of this PR 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 show