Skip to content

Commit 877f5ed

Browse files
authored
Trim strings and bump reflection docblock (#1721)
* Update version restraint * UPdate snapshots * update strings
1 parent fafe264 commit 877f5ed

File tree

45 files changed

+14
-130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+14
-130
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"require": {
2424
"php": "^8.2",
2525
"ext-json": "*",
26-
"barryvdh/reflection-docblock": "^2.3",
26+
"barryvdh/reflection-docblock": "^2.4",
2727
"composer/class-map-generator": "^1.0",
2828
"illuminate/console": "^11.15 || ^12",
2929
"illuminate/database": "^11.15 || ^12",

tests/Console/ModelsCommand/AdvancedCasts/__snapshots__/Test__test__1.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
use Illuminate\Database\Eloquent\Model;
1414

1515
/**
16-
*
17-
*
1816
* @property \Illuminate\Support\Carbon $cast_to_date_serialization
1917
* @property \Illuminate\Support\Carbon $cast_to_datetime_serialization
2018
* @property \Illuminate\Support\Carbon $cast_to_custom_datetime

tests/Console/ModelsCommand/AllowGlobDirectory/__snapshots__/Test__test__1.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
use Illuminate\Database\Eloquent\Model;
88

99
/**
10-
*
11-
*
1210
* @property int $id
1311
* @property string|null $char_nullable
1412
* @property string $char_not_nullable

tests/Console/ModelsCommand/ArrayCastsWithComment/__snapshots__/Test__test__1.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
use Illuminate\Database\Eloquent\Model;
88

99
/**
10-
*
11-
*
1210
* @property array<int, string>|null $cast_to_array -- These three should not be duplicated
1311
* @property array<int, string> $cast_to_json some-description
1412
* @property \Illuminate\Support\Collection<int, string> $cast_to_collection some-description

tests/Console/ModelsCommand/Attributes/__snapshots__/Test__test__1.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
use Illuminate\Database\Eloquent\Model;
99

1010
/**
11-
*
12-
*
1311
* @property int $id
1412
* @property string|null $name
1513
* @property string|null $name_read
@@ -85,8 +83,6 @@ protected function nonBackedGet(): Attribute
8583
use Illuminate\Database\Eloquent\Model;
8684

8785
/**
88-
*
89-
*
9086
* @property int $id
9187
* @property int $diverging_type_hinted_get_and_set
9288
* @property string|null $name

tests/Console/ModelsCommand/Comment/__snapshots__/Test__test__1.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
use Illuminate\Database\Eloquent\Relations\MorphTo;
1111

1212
/**
13-
*
14-
*
1513
* @property int $id
1614
* @property string $both_same_name I'm a getter
1715
* @property string $both_without_getter_comment

tests/Console/ModelsCommand/CustomCollection/__snapshots__/Test__test__1.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
use Illuminate\Database\Eloquent\Relations\HasMany;
1010

1111
/**
12-
*
13-
*
1412
* @property int $id
1513
* @property-read SimpleCollection<int, Simple> $relationHasMany
1614
* @property-read int|null $relation_has_many_count

tests/Console/ModelsCommand/CustomDate/__snapshots__/Test__test__1.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
use Illuminate\Database\Eloquent\Model;
88

99
/**
10-
*
11-
*
1210
* @property \Carbon\CarbonImmutable|null $created_at
1311
* @property \Carbon\CarbonImmutable|null $updated_at
1412
* @method static \Illuminate\Database\Eloquent\Builder<static>|CustomDate newModelQuery()

tests/Console/ModelsCommand/DoesNotGeneratePhpdocWithExternalEloquentBuilder/__snapshots__/Test__test__1.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\DoesNotGeneratePhpdocWithExternalEloquentBuilder\Models{
1515
/**
16-
*
17-
*
1816
* @property int $id
1917
* @property string|null $char_nullable
2018
* @property string $char_not_nullable

tests/Console/ModelsCommand/DynamicRelations/__snapshots__/Test__test__1.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
use Illuminate\Database\Eloquent\Relations\HasOne;
1111

1212
/**
13-
*
14-
*
1513
* @property-read \Illuminate\Database\Eloquent\Collection<int, Dynamic> $regularHasMany
1614
* @property-read int|null $regular_has_many_count
1715
* @method static \Illuminate\Database\Eloquent\Builder<static>|Dynamic newModelQuery()

0 commit comments

Comments
 (0)