friendsoftwig/twigcs
Twigcs is a checkstyle/linter for Twig templates, like phpcs for PHP. Scan template directories for coding standard violations, control exit codes via severity, and exclude paths. Install via Composer or PHIVE and run as a CLI tool.
Full Changelog: https://github.com/friendsoftwig/twigcs/compare/v6.6.0...v6.6.1
Full Changelog: https://github.com/friendsoftwig/twigcs/compare/v6.5.0...v6.6.0
Full Changelog: https://github.com/friendsoftwig/twigcs/compare/6.5.0...v6.5.0
vimeo/psalm to phpstan/phpstan by @localheinz in https://github.com/friendsoftwig/twigcs/pull/342Full Changelog: https://github.com/friendsoftwig/twigcs/compare/6.4.0...6.5.0
Full Changelog: https://github.com/friendsoftwig/twigcs/compare/6.3.0...6.4.0
friendsofphp/php-cs-fixer by @localheinz in https://github.com/friendsoftwig/twigcs/pull/306vimeo/psalm by @localheinz in https://github.com/friendsoftwig/twigcs/pull/307findUnusedBaselineEntry option for vimeo/psalm by @localheinz in https://github.com/friendsoftwig/twigcs/pull/308CHANGELOG.md by @localheinz in https://github.com/friendsoftwig/twigcs/pull/309Full Changelog: https://github.com/friendsoftwig/twigcs/compare/6.2.0...6.3.0
CHANGELOG.md by @localheinz in https://github.com/friendsoftwig/twigcs/pull/272setUp() by @localheinz in https://github.com/friendsoftwig/twigcs/pull/274Full Changelog: https://github.com/friendsoftwig/twigcs/compare/v6.1.0...6.2.0
Full Changelog: https://github.com/friendsoftwig/twigcs/compare/v3.0.1...v3.1.0
.gitattributes by @localheinz in https://github.com/friendsoftwig/twigcs/pull/198phpunit with shivammathur/setup-php by @localheinz in https://github.com/friendsoftwig/twigcs/pull/200bin directory by @localheinz in https://github.com/friendsoftwig/twigcs/pull/214.gitignore by @localheinz in https://github.com/friendsoftwig/twigcs/pull/215friendsofphp/php-cs-fixer by @localheinz in https://github.com/friendsoftwig/twigcs/pull/216--ansi option by @localheinz in https://github.com/friendsoftwig/twigcs/pull/218.editorconfig by @localheinz in https://github.com/friendsoftwig/twigcs/pull/222composer.json by @localheinz in https://github.com/friendsoftwig/twigcs/pull/224maglnet/composer-require-checker by @localheinz in https://github.com/friendsoftwig/twigcs/pull/223phpunit.xsd as installed with composer by @localheinz in https://github.com/friendsoftwig/twigcs/pull/225phpunit/phpunit:^9.5.20 by @localheinz in https://github.com/friendsoftwig/twigcs/pull/229vimeo/psalm by @localheinz in https://github.com/friendsoftwig/twigcs/pull/232CONTRIBUTING.md by @localheinz in https://github.com/friendsoftwig/twigcs/pull/233Makefile by @localheinz in https://github.com/friendsoftwig/twigcs/pull/234humbug/box by @localheinz in https://github.com/friendsoftwig/twigcs/pull/235box.json.dist before compiling Phar by @localheinz in https://github.com/friendsoftwig/twigcs/pull/237phpunit/phpunit in verbose mode by @localheinz in https://github.com/friendsoftwig/twigcs/pull/238Full Changelog: https://github.com/friendsoftwig/twigcs/compare/v5.1.0...5.2.0
Full Changelog: https://github.com/friendsoftwig/twigcs/compare/v2.1.0...v3.0.0
.php extension by @yguedidi in https://github.com/friendsoftwig/twigcs/pull/247Full Changelog: https://github.com/friendsoftwig/twigcs/compare/v6.0.0...v6.1.0
Team changes @localheinz @Ciloe and @alexmart are now maintainers on the project.
BC Breaks
master branch has been moved to main (@OwlyCode)New features
Bugfixes
New features:
exclude option now supports both files and directories (@jklmnop)Bugfixes:
New features:
Fixes:
New features:
Fixes:
Fixes #99: The trailing space rule places the violations at the wrong line and column.
Fixes #100: Invalid spacing around the .. operator
Fixes #99 : The trailing space rule places the violations at the wrong line and column.
Includes fixes for Symfony 5 and Twig 3 compatibility.
Also deprecates twig versions older than 1.41 for 1.x or 2.10 for 2.x.
Fixes a compatibility issue with twig 3.0
This version adds support for Symfony 5 and Twig 3 for twigcs 3.X used as a dependency. Please note that the minimal requirements were bumped to twig 1.41 or twig 2.10. Please use the .phar if you are using an older version of twig.
This is the beta of the 4.0 version. It features a complete rewrite of the way spaces are handled.
Changelog:
See the upgrade guide if you come from 3.1 or older versions.
@OwlyCode PR's
How can I help you explore Laravel packages today?