1--TEST--
2#[Override] attribute in trait does not check for parent class implementations (Variant with abstract __construct)
3--FILE--
4<?php
5
6abstract class A {
7    abstract public function __construct();
8}
9
10trait T {
11    #[\Override]
12    public function __construct() {
13        echo 'foo';
14    }
15}
16
17class D extends A {
18    use T;
19}
20echo "Done";
21
22?>
23--EXPECT--
24Done
25