- added support for Symfony 7
- #77 CI: add build PHP 8.3 and Symfony 7
- #69 dropped support PHP 7.1 and dropped support Symfony 4.1 and lower
- fixed application when using sebastian/diff version 5 (set Builder class for Differ class)
- #76 Files path service: only use GLOB_BRACE when available
8.0.0 - 2023-02-26
- add support for Symfony 6
- Config: added new parameter for ignoring indent for comments for indent check
- #55 added option to disable check only changed files and added option to change path to cache file
- #70 CI: add build PHP 8.2
- #72 Composer: added support to "sebastian/diff" version 5
- removed status code from result class, now it's no longer necessary
- #71 Composer: removed dependency to "symfony/http-kernel"
- #46 CI: add support for PHP 8.1 and Symfony 5 and 6
- #73 Command: show information about file is not readable
7.0.1 - 2021-12-12
- #64 Changed names of classes used in yaml files in tests
7.0.0 - 2021-09-02
- add support for PHP 8
- drop support for symfony 3.4.30 and lower
6.0.0 - 2021-03-21
- Yaml alphabetical: create fixer
- Config: added new parameter for prioritizing keys in alphabetical functionality
- Yaml files path service: use wildcards for find files instead of directory recursive iterator
- Yaml empty line at end: this standard can be used for any file suffix
- Config: prioritized keys can be defined exactly with string
::exact
for exact search
- Yaml indent: fix get correct indents for array
apiVersion2: v1
- addresses:
- ip: ~
ports:
+ - name: postgres
+ port: 5432
- - name: postgres
- port: 5432
- Yaml files path service: now you can use curly braces to find file, e.g.:
services.{yml,yaml}
- Yaml alphabetical: fixed right sort yaml by depth
- Yaml files path service: don't run recursive searching for file if full path to file is defined
- Yaml indent: fix get correct indents for array
plugins:
- search
- readthedocs-version-warning:
project_id: "490215"
show_on_versions:
- - latest
+ - latest
5.1.2 - 2020-02-02
- Yaml service aliasing: get correct short type if alias has double quotes
5.1.1 - 2019-12-27
- Yaml empty line at end: correct fix file with one non-blank line
5.1.0 - 2019-12-26
- Config: add new parameter for preserve indents comment lines without parent
- Yaml indents: don't change indents for comment line without parent if is set 'preserved' parameter
- Yaml indent: fix issue with file ending with comment line
5.0.0 - 2019-12-15
- create fixer for yaml spaces between groups
- from now project can set different and more options for yaml standards
- create config file with options
- whoever can create own checker and fixer and add it to config file
- create new standards: YamlEmptyLineAtEnd
- Check yaml file has empty line at end of file
- create new standards: YamlServiceAliasing
- Check yaml service file observe short or long code style aliasing
- added support for symfony 5
- remove command options and move it to config file
- config: all parameters are now optional and have default value
- remove support for php 5.6 version and php 7.0 version
- exclude files by name is no longer implemented
- Yaml indent: fix scenario for array as it is used in example file
example/yaml-standards.yaml
4.2.5 - 2019-08-13
- #31 Yaml files path service: ignore uniterable filepaths, Thanks to @PetrHeinz
- #32 Yaml indent: fix situation when key is without value and is not parent, Thanks to @PetrHeinz
- #35 Yaml indent: fix right indent for arrays with unquoted colons, Thanks to @PetrHeinz
4.2.4 - 2019-07-26
- #27 Yaml indent: fix nested hierarchy, where elements are nested in 2 arrays, e.g.:
patchesJson6902:
- target:
group: extensions
version: v1beta1
kind: Ingress
name: shopsys
path: ./ingress-patch.yaml
to correct
patchesJson6902:
- target:
group: extensions
version: v1beta1
kind: Ingress
name: shopsys
path: ./ingress-patch.yaml
, Thanks to @PetrHeinz
4.2.3 - 2019-07-14
- Yaml path service: first check whether path refer to real dir or file
4.2.2 - 2019-06-18
- fix don't check skipped files
4.2.1 - 2019-06-02
- caught exception thrown while loading directories by recursion
4.2.0 - 2019-06-02
- show skipped files in terminal
- add
--fix
option - create fixer for yaml indent
- show info what problem can be fixed by fixer
- Yaml indent checker: fix get correct indents between dash and key if line belong to array and has zero indents
- Yaml indent checker: fix counting of parents if line belong to array and has bad zero indents and simultaneously is child of higher parent
- Yaml inline checker: fix show different between recommended and actual file content
- Yaml indent checker: fix get correct indents when line is directive
4.1.0 - 2019-03-07
- #13 Output result: output now adapts to the actual window width of the terminal, Thanks to @boris-brtan
- add option
exclude-file
for exclude files for check
- #14 Yaml indent checker: add right indents for comment line without in bottom, Thanks to @DavidOstrozlik
- #18 Add missing necessary
jakub-onderka/php-parallel-lint
to composer require, Thanks to @ChrisDBrown
4.0.0 - 2019-01-21
- add option
exclude-dir
for exclude dirs for check
- rename option from
exclude
toexclude-by-name
3.1.1 - 2018-12-09
- Yaml indent checker: fix check correct indent
3.1.0 - 2018-11-17
- Yaml indent checker: check also correct indent between dash and text in one line array
- fix showing code status for current checked file
- Yaml indent checker: fix correct indent for reused variable
- Yaml indent checker: fix correct indent for array in one line, e.g.
- foo: bar
or- { foo: bar }
and their children
3.0.0 - 2018-10-21
- add
.yaml
file support - Indent checker:
- create new checker to check right count of intents
- add new option, e.g.
--check-indents-count-of-indents=4
- Inline checker:
- create new checker to check correct style of yaml file
- add new option, e.g.
--check-inline
- Spaces between groups checker:
- create new checker to check space between groups
- add new option, e.g.
--check-spaces-between-groups-to-level=2
- Alphabetical checker:
- add new option for check depth correct alphabetically sort, e.g.
--check-alphabetical-sort-depth=2
- add new option for check depth correct alphabetically sort, e.g.
- change yaml dump inline to highest in alphabetical checker
- command is now lazy loaded
- remove unnecessary indent from alphabetical checker
- rename project from yaml-alphabetical-checker to yaml-standards
- if file is not readable, then continue to next file
2.0.0 - 2017-11-18
- add new option for exclude files with mask, e.g.
--exclude=service
- option directories changed to required argument
- now you can send file path and directories for argument to check
- remove
classic
mode and replace him fordiff
mode
1.0.1 - 2017-11-05
- fix return exit code in classic mode
- create base command to check yaml sort
- create
--diff
mode