-
-
Notifications
You must be signed in to change notification settings - Fork 708
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JoinStringConcatRector for too long lines
- Loading branch information
1 parent
e57526e
commit 6f66783
Showing
4 changed files
with
42 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Rector\CodeQuality\Exception; | ||
|
||
use Exception; | ||
|
||
final class TooLongException extends Exception | ||
{ | ||
} |
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
13 changes: 13 additions & 0 deletions
13
...deQuality/tests/Rector/Concat/JoinStringConcatRector/Fixture/skip_longer_than_120.php.inc
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,13 @@ | ||
<?php | ||
|
||
namespace Rector\CodeQuality\Tests\Rector\Concat\JoinStringConcatRector\Fixture; | ||
|
||
class SkipLongerThan120 | ||
{ | ||
public function run() | ||
{ | ||
$name = 'Adds $uuid property to entities, that already have $id with integer type.' . | ||
'Require for step-by-step migration from int to uuid. ' . | ||
'In following step it should be renamed to $id and replace it'; | ||
} | ||
} |
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