mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
2fba281b14
* Initial plan * Add tests for PHP class attribute placement and fix whitespace in regex Co-authored-by: barryvdh <[email protected]> * Add advanced edge case tests: final+nested-brackets and multiple attributes Co-authored-by: barryvdh <[email protected]> * Add PHP 8.5 test for closures inside attribute arguments Co-authored-by: barryvdh <[email protected]> * composer fix-style --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: barryvdh <[email protected]> Co-authored-by: laravel-ide-helper <[email protected]>
15 lines
379 B
PHP
15 lines
379 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\PhpAttributesBeforeClass\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
// Tests: final class + attribute with nested array argument (e.g. ObservedBy([...]))
|
|
#[ObservedByStub([StubObserver::class])]
|
|
final class FinalWithNested extends Model
|
|
{
|
|
protected $table = 'simples';
|
|
}
|