Skip to content

Commit ccbbd71

Browse files
authored
Merge pull request #276 from PHPCSStandards/feature/soft-deprecate-sniffs-to-be-removed-in-4.0
Soft deprecate all sniffs which are to be removed in PHPCS 4.0
2 parents 73a6cae + 0f18ec6 commit ccbbd71

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+90
-0
lines changed

src/Standards/Generic/Sniffs/Debug/CSSLintSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Roman Levishchenko <index.0h@gmail.com>
66
* @copyright 2013-2014 Roman Levishchenko
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8+
*
9+
* @deprecated 3.9.0
810
*/
911

1012
namespace PHP_CodeSniffer\Standards\Generic\Sniffs\Debug;

src/Standards/Generic/Sniffs/Debug/ClosureLinterSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <gsherwood@squiz.net>
66
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8+
*
9+
* @deprecated 3.9.0
810
*/
911

1012
namespace PHP_CodeSniffer\Standards\Generic\Sniffs\Debug;

src/Standards/Generic/Sniffs/Debug/ESLintSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Ryan McCue <ryan+gh@hmn.md>
66
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8+
*
9+
* @deprecated 3.9.0
810
*/
911

1012
namespace PHP_CodeSniffer\Standards\Generic\Sniffs\Debug;

src/Standards/Generic/Sniffs/Debug/JSHintSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* @author Alexander Wei§ <aweisswa@gmx.de>
77
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
88
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
9+
*
10+
* @deprecated 3.9.0
911
*/
1012

1113
namespace PHP_CodeSniffer\Standards\Generic\Sniffs\Debug;

src/Standards/MySource/Sniffs/CSS/BrowserSpecificStylesSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <gsherwood@squiz.net>
66
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8+
*
9+
* @deprecated 3.9.0
810
*/
911

1012
namespace PHP_CodeSniffer\Standards\MySource\Sniffs\CSS;

src/Standards/MySource/Sniffs/Channels/DisallowSelfActionsSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <gsherwood@squiz.net>
66
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8+
*
9+
* @deprecated 3.9.0
810
*/
911

1012
namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Channels;

src/Standards/MySource/Sniffs/Channels/IncludeOwnSystemSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <gsherwood@squiz.net>
66
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8+
*
9+
* @deprecated 3.9.0
810
*/
911

1012
namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Channels;

src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <gsherwood@squiz.net>
66
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8+
*
9+
* @deprecated 3.9.0
810
*/
911

1012
namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Channels;

src/Standards/MySource/Sniffs/Channels/UnusedSystemSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <gsherwood@squiz.net>
66
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8+
*
9+
* @deprecated 3.9.0
810
*/
911

1012
namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Channels;

src/Standards/MySource/Sniffs/Commenting/FunctionCommentSniff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* @author Greg Sherwood <gsherwood@squiz.net>
88
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
99
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
10+
*
11+
* @deprecated 3.9.0
1012
*/
1113

1214
namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Commenting;

0 commit comments

Comments
 (0)