Skip to content

Commit

Permalink
Switch to PHPCSStandards/PHP_CodeSniffer
Browse files Browse the repository at this point in the history
The Squizlabs repo has been abandoned. The project continues in a fork in the PHPCSStandards organisation.

Ref:
* squizlabs/PHP_CodeSniffer 3932
  • Loading branch information
jrfnl committed Dec 7, 2023
1 parent dc93c9a commit 732219c
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-phpcs-versionnr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: octokit/[email protected]
id: get_latest_release
with:
route: GET /repos/squizlabs/PHP_CodeSniffer/releases/latest
route: GET /repos/PHPCSStandards/PHP_CodeSniffer/releases/latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion PHPCSUtils/BackCompat/BCFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @author Klaus Purer <[email protected]>
*
* @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHPCSUtils\BackCompat;
Expand Down
2 changes: 1 addition & 1 deletion PHPCSUtils/ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHPCSUtils" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHPCSUtils" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/PHPCSStandards/PHP_CodeSniffer/master/phpcs.xsd">
<description>Utility methods for external PHPCS standards.</description>
</ruleset>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ To use a non-Composer based installation for your sniff development environment,
Your installation instructions for a non-Composer based installation will probably look similar to this:
> * Install [PHP_CodeSniffer] via [your preferred method](https://github.com/squizlabs/PHP_CodeSniffer#installation).
> * Install [PHP_CodeSniffer] via [your preferred method](https://github.com/PHPCSStandards/PHP_CodeSniffer#installation).
> * Register the path to PHPCS in your system `$PATH` environment variable to make the `phpcs` command available from anywhere in your file system.
> * Download the \[latest _YourStandardName_ release\] and unzip/untar it into an arbitrary directory.
> You can also choose to clone the repository using git.
Expand Down Expand Up @@ -288,7 +288,7 @@ If you are unsure whether the changes you are proposing would be welcome, please
This code is released under the [GNU Lesser General Public License (LGPLv3)](LICENSE).
[PHP_CodeSniffer]: https://github.com/squizlabs/PHP_CodeSniffer
[PHP_CodeSniffer]: https://github.com/PHPCSStandards/PHP_CodeSniffer
[Composer PHPCS plugin]: https://github.com/PHPCSStandards/composer-installer
[phpcsutils-repo]: https://github.com/PHPCSStandards/PHPCSUtils
[phpcsutils-web]: https://phpcsutils.com/
Expand Down
2 changes: 1 addition & 1 deletion Tests/BackCompat/BCFile/FindEndOfStatementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @author Phil Davis <[email protected]>
*
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHPCSUtils\Tests\BackCompat\BCFile;
Expand Down
2 changes: 1 addition & 1 deletion Tests/BackCompat/BCFile/FindExtendedClassNameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @author Phil Davis <[email protected]>
*
* @copyright 2016-2019 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHPCSUtils\Tests\BackCompat\BCFile;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author Phil Davis <[email protected]>
*
* @copyright 2016-2019 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHPCSUtils\Tests\BackCompat\BCFile;
Expand Down
2 changes: 1 addition & 1 deletion Tests/BackCompat/BCFile/GetMemberPropertiesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @author Phil Davis <[email protected]>
*
* @copyright 2017-2019 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHPCSUtils\Tests\BackCompat\BCFile;
Expand Down
2 changes: 1 addition & 1 deletion Tests/BackCompat/BCFile/GetMethodParametersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author George Mponos <[email protected]>
*
* @copyright 2010-2019 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHPCSUtils\Tests\BackCompat\BCFile;
Expand Down
2 changes: 1 addition & 1 deletion Tests/BackCompat/BCFile/GetMethodPropertiesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @author Juliette Reinders Folmer <[email protected]>
*
* @copyright 2018-2019 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHPCSUtils\Tests\BackCompat\BCFile;
Expand Down
2 changes: 1 addition & 1 deletion Tests/BackCompat/BCFile/IsReferenceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @author Phil Davis <[email protected]>
*
* @copyright 2017-2019 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHPCSUtils\Tests\BackCompat\BCFile;
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!--
#############################################################################
COMMAND LINE ARGUMENTS
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Annotated-Ruleset
#############################################################################
-->

Expand Down

0 comments on commit 732219c

Please sign in to comment.