namelesscoder / fluid-lint
TYPO3.Fluid 模板文件的 Lint/语法检查
1.0.0
2015-04-23 01:26 UTC
Requires
Requires (Dev)
- mikey179/vfsstream: *
- namelesscoder/fluid: dev-master
- phpunit/phpunit: *
- satooshi/php-coveralls: *
This package is not auto-updated.
Last update: 2024-09-11 15:04:26 UTC
README
检查 Fluid 模板文件的基本语法。
存档
此项目已多年未维护,已停滞。
仓库已被存档,并在 packagist.org 上标记为废弃。
如果一般的 Fluid 模板 linter 被广泛接受,则其实施应直接合并到 https://github.com/TYPO3/Fluid。
安装
composer require typo3fluid/fluid-lint
用法
./vendor/bin/fluidlint /path/to/files-or-file
如果你正在为一个使用自定义 RenderingContext 的项目进行 linting,请将 RenderingContext 类作为最后一个参数指定
./vendor/bin/fluidlint /path/to/files-or-file MyVendor\\MyPackageName\\Rendering\\MyRenderingContext