Php-cs-fixerFixing non-conforming code works the same as phpcbfIt’s just that the rules seem a little different. This tool is not included in PHP ﹣ codesniffer, but in another independent project … such as PSR2For each PHPThere needs to be a blank line at the end of the file, so after running the script, a blank line can be added at the end automatically. PhpcbfThe script can automatically correct the non-conforming part of the code format. ![]() PhpcsScript pair PHP、 JavaScript、 CSSThe document defines a series of code specifications (usually using official code specification standards, such as PHPOf PSR2), can detect the code that does not conform to the code specification and issue a warning or error (error level can be set). PHP? Codesniffer is a code style checking tool. You can read this article using php-cs-fixer: … introduce
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |