-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #523 from PHPCSStandards/feature/switch-to-fork-of…
…-phpcs Switch to PHPCSStandards/PHP_CodeSniffer & raise minimum supported version
- Loading branch information
Showing
26 changed files
with
40 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
@@ -498,7 +498,7 @@ public static function getMethodParameters(File $phpcsFile, $stackPtr) | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 0.0.5. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::getMethodProperties() Original source. | ||
* @see \PHPCSUtils\Utils\FunctionDeclarations::getProperties() PHPCSUtils native improved version. | ||
|
@@ -543,7 +543,7 @@ public static function getMethodProperties(File $phpcsFile, $stackPtr) | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 0.0.5. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::getMemberProperties() Original source. | ||
* @see \PHPCSUtils\Utils\Variables::getMemberProperties() PHPCSUtils native improved version. | ||
|
@@ -653,7 +653,7 @@ public static function getClassProperties(File $phpcsFile, $stackPtr) | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 0.0.5. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::isReference() Original source. | ||
* @see \PHPCSUtils\Utils\Operators::isReference() PHPCSUtils native improved version. | ||
|
@@ -679,7 +679,7 @@ public static function isReference(File $phpcsFile, $stackPtr) | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 0.0.5. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::getTokensAsString() Original source. | ||
* @see \PHPCSUtils\Utils\GetTokensAsString Related set of functions. | ||
|
@@ -708,7 +708,7 @@ public static function getTokensAsString(File $phpcsFile, $start, $length, $orig | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 2.1.0. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::findStartOfStatement() Original source. | ||
* | ||
|
@@ -732,7 +732,7 @@ public static function findStartOfStatement(File $phpcsFile, $start, $ignore = n | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 2.1.0. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::findEndOfStatement() Original source. | ||
* | ||
|
@@ -756,7 +756,7 @@ public static function findEndOfStatement(File $phpcsFile, $start, $ignore = nul | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 0.0.5. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::hasCondition() Original source. | ||
* @see \PHPCSUtils\Utils\Conditions::hasCondition() PHPCSUtils native alternative. | ||
|
@@ -781,7 +781,7 @@ public static function hasCondition(File $phpcsFile, $stackPtr, $types) | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 1.3.0. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::getCondition() Original source. | ||
* @see \PHPCSUtils\Utils\Conditions::getCondition() More versatile alternative. | ||
|
@@ -812,7 +812,7 @@ public static function getCondition(File $phpcsFile, $stackPtr, $type, $first = | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 1.2.0. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::findExtendedClassName() Original source. | ||
* @see \PHPCSUtils\Utils\ObjectDeclarations::findExtendedClassName() PHPCSUtils native improved version. | ||
|
@@ -837,7 +837,7 @@ public static function findExtendedClassName(File $phpcsFile, $stackPtr) | |
* | ||
* Changelog for the PHPCS native function: | ||
* - Introduced in PHPCS 2.7.0. | ||
* - The upstream method has received no significant updates since PHPCS 3.7.1. | ||
* - The upstream method has received no significant updates since PHPCS 3.8.0. | ||
* | ||
* @see \PHP_CodeSniffer\Files\File::findImplementedInterfaceNames() Original source. | ||
* @see \PHPCSUtils\Utils\ObjectDeclarations::findImplementedInterfaceNames() PHPCSUtils native improved version. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.