Skip to content

Commit

Permalink
Add @internal phpDoc above generated RuleError classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Nov 11, 2019
1 parent 20b6f7c commit d12a55e
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/generate-rule-error-classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
namespace PHPStan\Rules\RuleErrors;
/**
* @internal Use PHPStan\Rules\RuleErrorBuilder instead.
*/
class RuleError%s implements %s
{
Expand Down
3 changes: 3 additions & 0 deletions src/Rules/RuleErrors/RuleError1.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Rules\RuleErrors;

/**
* @internal Use PHPStan\Rules\RuleErrorBuilder instead.
*/
class RuleError1 implements \PHPStan\Rules\RuleError
{

Expand Down
3 changes: 3 additions & 0 deletions src/Rules/RuleErrors/RuleError11.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Rules\RuleErrors;

/**
* @internal Use PHPStan\Rules\RuleErrorBuilder instead.
*/
class RuleError11 implements \PHPStan\Rules\RuleError, \PHPStan\Rules\LineRuleError, \PHPStan\Rules\TipRuleError
{

Expand Down
3 changes: 3 additions & 0 deletions src/Rules/RuleErrors/RuleError13.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Rules\RuleErrors;

/**
* @internal Use PHPStan\Rules\RuleErrorBuilder instead.
*/
class RuleError13 implements \PHPStan\Rules\RuleError, \PHPStan\Rules\FileRuleError, \PHPStan\Rules\TipRuleError
{

Expand Down
3 changes: 3 additions & 0 deletions src/Rules/RuleErrors/RuleError15.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Rules\RuleErrors;

/**
* @internal Use PHPStan\Rules\RuleErrorBuilder instead.
*/
class RuleError15 implements \PHPStan\Rules\RuleError, \PHPStan\Rules\LineRuleError, \PHPStan\Rules\FileRuleError, \PHPStan\Rules\TipRuleError
{

Expand Down
3 changes: 3 additions & 0 deletions src/Rules/RuleErrors/RuleError3.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Rules\RuleErrors;

/**
* @internal Use PHPStan\Rules\RuleErrorBuilder instead.
*/
class RuleError3 implements \PHPStan\Rules\RuleError, \PHPStan\Rules\LineRuleError
{

Expand Down
3 changes: 3 additions & 0 deletions src/Rules/RuleErrors/RuleError5.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Rules\RuleErrors;

/**
* @internal Use PHPStan\Rules\RuleErrorBuilder instead.
*/
class RuleError5 implements \PHPStan\Rules\RuleError, \PHPStan\Rules\FileRuleError
{

Expand Down
3 changes: 3 additions & 0 deletions src/Rules/RuleErrors/RuleError7.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Rules\RuleErrors;

/**
* @internal Use PHPStan\Rules\RuleErrorBuilder instead.
*/
class RuleError7 implements \PHPStan\Rules\RuleError, \PHPStan\Rules\LineRuleError, \PHPStan\Rules\FileRuleError
{

Expand Down
3 changes: 3 additions & 0 deletions src/Rules/RuleErrors/RuleError9.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace PHPStan\Rules\RuleErrors;

/**
* @internal Use PHPStan\Rules\RuleErrorBuilder instead.
*/
class RuleError9 implements \PHPStan\Rules\RuleError, \PHPStan\Rules\TipRuleError
{

Expand Down

0 comments on commit d12a55e

Please sign in to comment.