Skip to content

Commit

Permalink
test: adapt now that barryvdh#666 has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mfn committed Feb 16, 2024
1 parent ba557cb commit ef93de8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions tests/Console/ModelsCommand/CustomPhpdocTags/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,8 @@
class Test extends AbstractModelsCommand
{
/**
* This test shows that, when adding custom phpdoc tags with a parameter
* but without a space, they're changed when writing break, possibly breaking
* tools.
*
* It is changed from
* - `@SuppressWarnings(PHPMD.ExcessiveClassComplexity)`
* to
* - `@SuppressWarnings (PHPMD.ExcessiveClassComplexity)`
*
* If this test fails because the issue has been fixed, please keep the
* test but adjust it and it's comments, to prevent this from every breaking
* again.
* This test makes sure that custom phpdoc tags are not mangled, e.g.
* there are no spaces inserted etc.
*
* @link https://github.com/barryvdh/laravel-ide-helper/issues/666
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the class phpdoc is written back, one is inserted.
*
* @link https://github.com/barryvdh/laravel-ide-helper/issues/666
* @SuppressWarnings (PHPMD.ExcessiveClassComplexity)
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
* @property integer $id
* @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery()
Expand Down

0 comments on commit ef93de8

Please sign in to comment.