-
Notifications
You must be signed in to change notification settings - Fork 154
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 #250 from magento-commerce/imported-fredden-magent…
…o-coding-standard-433 [Imported] Automatically remove useless comments
- Loading branch information
Showing
6 changed files
with
396 additions
and
3 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
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
165 changes: 165 additions & 0 deletions
165
Magento2/Tests/Commenting/ClassAndInterfacePHPDocFormattingUnitTest.1.inc.fixed
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 |
---|---|---|
@@ -0,0 +1,165 @@ | ||
<?php | ||
|
||
/** | ||
* Handler for PHP errors/warnings/notices that converts them to exceptions. | ||
*/ | ||
class ErrorHandler | ||
{ | ||
|
||
} | ||
|
||
class NotAnErrorHandler | ||
{ | ||
|
||
} | ||
|
||
class FaultyHandler | ||
{ | ||
|
||
} | ||
|
||
class SomeHandler | ||
{ | ||
|
||
} | ||
|
||
class YetAnotherHandler | ||
{ | ||
|
||
} | ||
|
||
class GreenHandler | ||
{ | ||
|
||
} | ||
|
||
class EmptyHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* Handler for PHP errors/warnings/notices that converts them to exceptions. | ||
* | ||
* @api is ok here | ||
* @deprecated can be used in this context | ||
* @see is ok here | ||
*/ | ||
class ExampleHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @api | ||
* @since 100.0.2 | ||
*/ | ||
class ApiHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @api | ||
*/ | ||
class AsyncApiHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @SuppressWarnings(PHPMD.CouplingBetweenObjects) | ||
*/ | ||
class GroupRepositoryHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
class DeprecatedHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @deprecated Should not be used | ||
*/ | ||
class AncientHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @deprecated | ||
* @see | ||
*/ | ||
class AgedHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @deprecated Should not be used | ||
* @see | ||
*/ | ||
class ArhaicHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @deprecated Should not be used | ||
* @see Magento\Framework\NewHandler | ||
*/ | ||
class OldHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @see Magento\Framework\NewHandler | ||
*/ | ||
class SomethingHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @see | ||
*/ | ||
class DoNotCareHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @deprecated | ||
* @see Magento\Framework\NewHandler | ||
*/ | ||
class OldHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @deprecated This class will be removed in version 1.0.0 without replacement | ||
*/ | ||
class DeprecatedButHandler | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* @deprecated It's also deprecated - This class will be removed in version 1.0.0 without replacement | ||
*/ | ||
class AlsoDeprecatedButHandler | ||
{ | ||
|
||
} | ||
|
||
class OnlyUselessCommentContent | ||
{ | ||
|
||
} |
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.