MyGit

3.2.0

squizlabs/PHP_CodeSniffer

版本发布时间: 2017-12-13 06:06:52

squizlabs/PHP_CodeSniffer最新发布版本:3.7.2(2023-02-23 07:13:42)

Comment Syntax Changes

This release deprecates the @codingStandards comment syntax used for sending commands to PHP_CodeSniffer. The existing syntax will continue to work in all version 3 releases, but will be removed in version 4

The comment formats have been replaced by a shorter syntax:

The new syntax allows for additional developer comments to be added after a -- separator. This is useful for describing why a code block is being ignored, or why a setting is being changed. E.g., // phpcs:disable -- This code block must be left as-is.

Comments using the new syntax are assigned new comment token types to allow them to be detected:

Other Changes

相关地址:原始地址 下载(tar) 下载(zip)

1、 phpcbf.phar 1.02MB

2、 phpcbf.phar.asc 587B

3、 phpcs.phar 1.02MB

4、 phpcs.phar.asc 587B

查看:2017-12-13发行的版本