Skip to content

Commit

Permalink
Soft deprecate all sniffs which are to be removed in PHPCS 4.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jrfnl committed Jan 19, 2024
1 parent 73a6cae commit 0f18ec6
Show file tree
Hide file tree
Showing 45 changed files with 90 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Standards/Generic/Sniffs/Debug/CSSLintSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Roman Levishchenko <index.0h@gmail.com>
* @copyright 2013-2014 Roman Levishchenko
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Generic\Sniffs\Debug;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Generic/Sniffs/Debug/ClosureLinterSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Generic\Sniffs\Debug;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Generic/Sniffs/Debug/ESLintSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Ryan McCue <ryan+gh@hmn.md>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Generic\Sniffs\Debug;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Generic/Sniffs/Debug/JSHintSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* @author Alexander Wei§ <aweisswa@gmx.de>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Generic\Sniffs\Debug;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\CSS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Channels;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Channels;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Channels;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/MySource/Sniffs/Channels/UnusedSystemSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Channels;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Commenting;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/MySource/Sniffs/Debug/DebugCodeSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Debug;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/MySource/Sniffs/Debug/FirebugConsoleSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Debug;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/MySource/Sniffs/Objects/AssignThisSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Objects;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/MySource/Sniffs/PHP/AjaxNullComparisonSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\PHP;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/MySource/Sniffs/PHP/EvalObjectFactorySniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\PHP;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/MySource/Sniffs/PHP/GetRequestDataSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\PHP;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\PHP;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/MySource/Sniffs/Strings/JoinStringsSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Strings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/ColonSpacingSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/ColourDefinitionSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/EmptyClassDefinitionSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/EmptyStyleDefinitionSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/ForbiddenStylesSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/IndentationSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/MissingColonSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/NamedColoursSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/OpacitySniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/SemicolonSpacingSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/CSS/ShorthandSizeSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/Classes/DuplicatePropertySniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\Classes;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/Debug/JSLintSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\Debug;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/Debug/JavaScriptLintSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\Debug;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Sertan Danis <sdanis@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\Objects;
Expand Down
2 changes: 2 additions & 0 deletions src/Standards/Squiz/Sniffs/Objects/ObjectMemberCommaSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.9.0
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
* @deprecated 3.3.0 Use the Generic.WhiteSpace.LanguageConstructSpacing sniff instead.
*/

namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace;
Expand Down

0 comments on commit 0f18ec6

Please sign in to comment.