Skip to content

Commit 0f18ec6

Browse files
committed
Soft deprecate all sniffs which are to be removed in PHPCS 4.0
The deprecation of these sniffs was previously already announced in: * CSS/JS specific sniffs: squizlabs/PHP_CodeSniffer#2448 * MySource standard: squizlabs/PHP_CodeSniffer#2471 This commit _soft_ deprecates these sniffs with a `@deprecated` annotation. This will get a mention in the changelog. Hard deprecation will follow in a future 3.x minor as per 188.
1 parent 73a6cae commit 0f18ec6

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

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Roman Levishchenko <[email protected]>
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

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Ryan McCue <[email protected]>
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

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* @author Alexander Wei§ <[email protected]>
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

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* @author Greg Sherwood <[email protected]>
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;

src/Standards/MySource/Sniffs/Debug/DebugCodeSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Debug;

src/Standards/MySource/Sniffs/Debug/FirebugConsoleSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Debug;

src/Standards/MySource/Sniffs/Objects/AssignThisSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Objects;

src/Standards/MySource/Sniffs/Objects/CreateWidgetTypeCallbackSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Objects;

src/Standards/MySource/Sniffs/Objects/DisallowNewWidgetSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Objects;

src/Standards/MySource/Sniffs/PHP/AjaxNullComparisonSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* @author Greg Sherwood <[email protected]>
99
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
1010
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
11+
*
12+
* @deprecated 3.9.0
1113
*/
1214

1315
namespace PHP_CodeSniffer\Standards\MySource\Sniffs\PHP;

src/Standards/MySource/Sniffs/PHP/EvalObjectFactorySniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\PHP;

src/Standards/MySource/Sniffs/PHP/GetRequestDataSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\PHP;

src/Standards/MySource/Sniffs/PHP/ReturnFunctionValueSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\PHP;

src/Standards/MySource/Sniffs/Strings/JoinStringsSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Strings;

src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/ClassDefinitionNameSpacingSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/ColonSpacingSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/ColourDefinitionSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/DisallowMultipleStyleDefinitionsSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/DuplicateClassDefinitionSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/DuplicateStyleDefinitionSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/EmptyClassDefinitionSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/EmptyStyleDefinitionSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/ForbiddenStylesSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/IndentationSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/LowercaseStyleDefinitionSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/MissingColonSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/NamedColoursSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/OpacitySniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/SemicolonSpacingSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/CSS/ShorthandSizeSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\CSS;

src/Standards/Squiz/Sniffs/Classes/DuplicatePropertySniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\Classes;

src/Standards/Squiz/Sniffs/Debug/JSLintSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\Debug;

src/Standards/Squiz/Sniffs/Debug/JavaScriptLintSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\Debug;

src/Standards/Squiz/Sniffs/Objects/DisallowObjectStringIndexSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Sertan Danis <[email protected]>
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\Squiz\Sniffs\Objects;

src/Standards/Squiz/Sniffs/Objects/ObjectMemberCommaSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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\Squiz\Sniffs\Objects;

src/Standards/Squiz/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @author Greg Sherwood <[email protected]>
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.3.0 Use the Generic.WhiteSpace.LanguageConstructSpacing sniff instead.
810
*/
911

1012
namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace;

0 commit comments

Comments
 (0)