Open
Description
<?php
declare(strict_types=1);
/**
* @deprecated use something else
*/
trait MyTrait
{
public function doFoo()
{
}
}
class X
{
use MyTrait;
}
$x = new X();
$x->doFoo();
I think we should see deprecation messages for every trait-method beeing called, when the trait itself is marked deprecated.
Metadata
Metadata
Assignees
Labels
No labels