Skip to content

Commit

Permalink
user error const
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Nov 28, 2022
1 parent a0db5e3 commit 6a87f70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function refactor(Node $node): ?Node
{
trigger_error(
'The AddArrayParamDocTypeRector rule is deprecated, as it works with doc block types that are not reliable and might infer incorrect types',
E_ERROR
E_USER_ERROR
);
sleep(3);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function refactor(Node $node): ?Node
{
trigger_error(
'Use specific rules to infer params instead. This rule will was split info many small ones.',
E_ERROR
E_USER_ERROR
);
sleep(3);

Expand Down

0 comments on commit 6a87f70

Please sign in to comment.