You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Squizlabs repo has been abandoned. The project continues in a fork in the PHPCSStandards organisation.
Note: I'm not changing the version constraints. All tags since 2.0.0 have been recreated in the PHPCSStandards fork, though the package name in those tags has not been changed.
~~Based on tests I've run, the package should install fine when old tags are requested, though if a user has a `composer.json` which _also_ includes `squizlabs/php_codesniffer` in their dependency chain, this means that both will be installed, which could lead to issues.~~
~~I recommend tagging a release straight-away. This should then allow _our_ dependencies to update their own requirements and version constraints and to release, to prevent these type of problems.~~
**Update**: The Composer package name will not change, so while this PR should still be merged at our convenience (after the 3.8.0 release expected this Friday), we will not need to do a release to unblock end-users.
Ref:
* squizlabs/PHP_CodeSniffer 3932
@@ -58,7 +58,7 @@ Composer will automatically install dependencies and register the PHPCSDebug sta
58
58
59
59
### Stand-alone Installation
60
60
61
-
* Install [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) via [your preferred method](https://github.com/squizlabs/PHP_CodeSniffer#installation).
61
+
* Install [PHP CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) via [your preferred method](https://github.com/PHPCSStandards/PHP_CodeSniffer#installation).
62
62
* Register the path to PHPCS in your system `$PATH` environment variable to make the `phpcs` command available from anywhere in your file system.
63
63
* Download the [latest PHPCSDevTools release](https://github.com/PHPCSStandards/PHPCSDevTools/releases) and unzip/untar it into an arbitrary directory.
64
64
You can also choose to clone this repository using git.
Copy file name to clipboardExpand all lines: phpcs.xml.dist
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
<?xml version="1.0"?>
2
-
<rulesetxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"name="Coding Standard for PHPCSDevTools"xsi:noNamespaceSchemaLocation="./vendor/squizlabs/php_codesniffer/phpcs.xsd">
2
+
<rulesetxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"name="Coding Standard for PHPCSDevTools"xsi:noNamespaceSchemaLocation="./vendor/phpcsstandards/php_codesniffer/phpcs.xsd">
3
3
<description>Check the code of the PHPCSDevTools standard itself.</description>
0 commit comments