Mercurial > hg > cmmr2012-drupal-site
comparison vendor/squizlabs/php_codesniffer/README.md @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
5 [](https://travis-ci.org/squizlabs/PHP_CodeSniffer) [](http://squizlabs.github.io/PHP_CodeSniffer/analysis/squizlabs/PHP_CodeSniffer) [](https://gitter.im/squizlabs/PHP_CodeSniffer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | 5 [](https://travis-ci.org/squizlabs/PHP_CodeSniffer) [](http://squizlabs.github.io/PHP_CodeSniffer/analysis/squizlabs/PHP_CodeSniffer) [](https://gitter.im/squizlabs/PHP_CodeSniffer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
6 | 6 |
7 ## Requirements | 7 ## Requirements |
8 | 8 |
9 PHP\_CodeSniffer requires PHP version 5.4.0 or greater, although individual sniffs may have additional requirements such as external applications and scripts. See the [Configuration Options manual page](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Configuration-Options) for a list of these requirements. | 9 PHP\_CodeSniffer requires PHP version 5.4.0 or greater, although individual sniffs may have additional requirements such as external applications and scripts. See the [Configuration Options manual page](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Configuration-Options) for a list of these requirements. |
10 | |
11 If you're using PHP_CodeSniffer as part of a team, or you're running it on a [CI](https://en.wikipedia.org/wiki/Continuous_integration) server, you may want to configure your project's settings [using a configuration file](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#using-a-default-configuration-file). | |
12 | |
10 | 13 |
11 ## Installation | 14 ## Installation |
12 | 15 |
13 The easiest way to get started with PHP\_CodeSniffer is to download the Phar files for each of the commands: | 16 The easiest way to get started with PHP\_CodeSniffer is to download the Phar files for each of the commands: |
14 ``` | 17 ``` |
97 - new backwards-compatible features are added to the `phpcs` and `phpcbf` commands, or | 100 - new backwards-compatible features are added to the `phpcs` and `phpcbf` commands, or |
98 - backwards-compatible changes are made to the `ruleset.xml` format, or | 101 - backwards-compatible changes are made to the `ruleset.xml` format, or |
99 - backwards-compatible changes are made to the API used by sniff developers, or | 102 - backwards-compatible changes are made to the API used by sniff developers, or |
100 - new sniffs are added to an included standard | 103 - new sniffs are added to an included standard |
101 | 104 |
102 > NOTE: Backwards-compatible changes to the API used by sniff develpers will allow an existing sniff to continue running without producing fatal errors but may not result in the sniff reporting the same errors as it did previously without changes being required. | 105 > NOTE: Backwards-compatible changes to the API used by sniff developers will allow an existing sniff to continue running without producing fatal errors but may not result in the sniff reporting the same errors as it did previously without changes being required. |
103 | 106 |
104 The `PATCH` version is incremented when: | 107 The `PATCH` version is incremented when: |
105 - backwards-compatible bug fixes are made | 108 - backwards-compatible bug fixes are made |
106 | 109 |
107 > NOTE: As PHP_CodeSniffer exists to report and fix issues, most bugs are the result of coding standard errors being incorrectly reported or coding standard errors not being reported when they should be. This means that the messages produced by PHP_CodeSniffer, and the fixes it makes, are likely to be different between PATCH versions. | 110 > NOTE: As PHP_CodeSniffer exists to report and fix issues, most bugs are the result of coding standard errors being incorrectly reported or coding standard errors not being reported when they should be. This means that the messages produced by PHP_CodeSniffer, and the fixes it makes, are likely to be different between PATCH versions. |