5 Star 7 Fork 2

Gitee 极速下载/phpDocumentor2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/phpDocumentor/phpDocumentor2.git
克隆/下载
.twig-cs-fixer.php 521 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jaapio 提交于 9个月前 . Update clean template to twig 3
<?php
require __DIR__ . '/vendor/autoload.php';
$ruleset = new TwigCsFixer\Ruleset\Ruleset();
// You can start from a default standard
$ruleset->addStandard(new TwigCsFixer\Standard\TwigCsFixer());
$ruleset->overrideRule(new \TwigCsFixer\Rules\Variable\VariableNameRule(
case: \TwigCsFixer\Rules\Variable\VariableNameRule::CAMEL_CASE,
));
$ruleset->addRule(new \TwigCsFixer\ForIfRule());
$config = new TwigCsFixer\Config\Config();
$config->setRuleset($ruleset);
$config->allowNonFixableRules();
return $config;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/mirrors/phpDocumentor2.git
git@gitee.com:mirrors/phpDocumentor2.git
mirrors
phpDocumentor2
phpDocumentor2
master

搜索帮助