If you have PHP_CodeSniffer, then you can fix the code layout problems reported by it, automatically, with thePHP Code Beautifier and Fixer. phpcbf -w --standard=PSR2 file.php 另一种选择是使用PHP Coding Standards Fixer。 他可以在修正错误之前列出代码结构中的错误和错误类型。 php-cs-fixer fi...
PHP error checker allows to check your PHP code syntax, and find PHP errors easily and quickly. This PHP code checker tool highlights and goes to line with a syntax error. You can check syntax for PHP 5, PHP 7 and PHP 8 :) To check your code, you must copy and paste, drag and ...
一个是 PHP Coding Standards Fixer,它具有良好的测试。 另一个是随 PHP_CodeSniffer 安装的 PHP Code 美化修整器。 你也可以手动运行 phpcs 命令: phpcs -sw --standard=PSR12 file.php 它会显示出相应的错误以及如何修正的方法。同时,这条命令你也可以用在 git hook 中,如果你的分支代码不符合选择的代码...
PHP CS Fixer- A coding standards fixer library. PHP Mess Detector- A library that scans code for bugs, sub-optimal code, unused parameters and more. PHPCheckstyle- A tool to help adhere to certain coding conventions. PHPCPD- A library that detects copied and pasted code. ...
If you need to apply code styles that are not supported by the tool, you cancreate custom rules. Editor Integration Dedicated plugins exist for: Community The PHP CS Fixer is maintained on GitHub athttps://github.com/PHP-CS-Fixer/PHP-CS-Fixer. Bug reports and ideas about new features are...
adamculp/php-code-quality- a Docker image doing a lot of code quality checks VFAC/PHP7Compatibility- a Docker container to check PHP7 Compatibility grumphp-php-compatibility- A plugin forGrumPHP PHPCompatibility Checker WordPress plugin :Wordpress siteandGithub ...
PHP Code Sniffer-一个检测PHP、CSS和JS代码标准冲突的库 PHPCPD– 一个检测复制和粘贴代码的库 PHP Analyser-一个分析PHP代码查找缺陷和错误的库 PHP CS Fixer– 一个编码标准库 PHP Manipulator-一个分析和修改PHP源代码的库 PHP Metrics-一个静态测量库 ...
PHP CS Fixer- 一个PHP代码规范与质量检查工具 phpmd- 一个PHP代码规范与质量检查工具 PHPCPD- 一个检测复制和粘贴代码的库 PHP Analyser- 一个分析PHP代码中错误的库 PHP Manipulator- 用于分析和修改PHP源代码的库 PHP Metrics- 一个静态测量库 PHP Refactoring Browser- 一个用于重构PHP代码的命令行工具 ...
PHP Code Sniffer - 一个检测PHP、CSS和JS代码标准冲突的库 PHP CS Fixer - 一个编码标准库 PHP Manipulator - 一个分析和修改PHP源代码的库 PHP Mess Detector - 一个扫描代码缺陷,次优代码,未使用的参数等等的库。 PHP Metrics - 一个静态测量库 PHP Migration - 一个PHP版本升级的静态分析库 PHP Parser...
framework/ core framework code tests/ tests of the core framework code Spreading the Word Acknowledging or citing Yii 2 is as important as direct contributions. In presentations If you are giving a presentation or talk featuring work that makes use of Yii 2 and would like to acknowledge it, ...