You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ColumnDefinition and IndexDefinition classes have an @internal PHPDoc annotation. PHPStan 2.1.13 (bleeding edge) added a rule that reports calls to internal methods. As a result, calling – for example – initial() in a migration reports an error:
$table->boolean('is_default')->initial(false); // Call to method initial() of internal class Tpetry\PostgresqlEnhanced\Schema\ColumnDefinition from outside its root namespace Tpetry.
I'm not sure what the ideal fix would be here. We could remove the @internal annotations and preserve the note in its unstructured text form?