symfony-tools/code-block-checker
Composer 安装命令:
composer create-project symfony-tools/code-block-checker
包简介
README 文档
README
Makes sure that code blocks have valid syntax and can actually run.
$ php ./code-block-checker.php verify:docs /path/to/docs cache.rst controller.rst --env=dev
::error file=cache,line=377::[Invalid syntax] PHP Parse error: syntax error, unexpected token "}"
[ERROR] Build completed with 1 errors
$ php ./code-block-checker.php verify:docs /path/to/docs cache.rst controller.rst --env=dev --generate-baseline=baseline.json
$ php ./code-block-checker.php verify:docs /path/to/docs cache.rst controller.rst --env=dev --baseline=baseline.json
[OK] Build completed successfully!
This project is considered an internal tool and therefore, you shouldn't use this project in your application. Unlike the rest of the Symfony projects, this repository doesn't provide any support and it doesn't guarantee backward compatibility. Any file or the entire project can change, or even disappear, at any moment without prior notice.
统计信息
- 总下载量: 10.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2021-04-23