Nerdman项目的默认PHP-CS-Fixer配置
github.com/gnoddep/php-cs-fixer-config
源代码
问题
安装次数: 359
依赖者: 0
建议者: 0
安全性: 0
星标: 0
关注者: 1
分支: 0
公开问题: 0
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
MIT f9670e2d06a1c33e46f992ccbb60f30f3770a009
This package is auto-updated.
Last update: 2024-09-06 16:35:30 UTC
composer require --dev nerdman/php-cs-fixer-config
请在您的PHP-CS-Config文件中添加以下内容
<?php use Nerdman\CodeStyle\Config\Php81; use PhpCsFixer\Finder; $finder = Finder::create() ->in(__DIR__) ->exclude('var') ->notContains('/@nolint/'); return new Php81($finder, '.php-cs.cache');