symfony-util/coding-standards-fixer

从 symfony/demo 中获取 PHP 编码规范修复器的配置,作为文件头部注释的功能

v5.4.0-alpha 2018-03-11 13:25 UTC

This package is auto-updated.

Last update: 2024-09-29 05:14:47 UTC


README

从 symfony/demo 中获取 PHP 编码规范修复器的配置,作为文件头部注释的功能

PHPPackages Rank Maintainability Build Status

待办事项

  • 实现提议的规则集作为数组常量 https://php.ac.cn/manual/en/language.constants.syntax.php
    • 数组常量需要 PHP 5.6(不知道如何在 5.6 之前实现它,最好还是不要尝试寻找更多解决方案)
    php > print_r(array_merge(null, array('dog', 'cat', 'bird')));
    PHP Warning:  array_merge(): Argument #1 is not an array in php shell code on line 1