Skip to content

Commit 895e9db

Browse files
authored
Fixture fix missing .php before .inc on NamespacedUseAutoImportTest (#7958)
1 parent b49ed29 commit 895e9db

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Rector\Tests\Issues\NamespacedUseAutoImport\Fixture;
6+
7+
use Carbon\Carbon;
8+
use Carbon\CarbonInterface;
9+
10+
/**
11+
* @property \Carbon\CarbonInterface|null $deleted_at
12+
*/
13+
class NotInUseFqcnDocblock2
14+
{
15+
public function demoFunction(): array
16+
{
17+
return [Carbon::parse('2026-01-01 11:16:01')];
18+
}
19+
}
20+
21+
?>
22+
-----
23+
<?php
24+
25+
declare(strict_types=1);
26+
27+
namespace Rector\Tests\Issues\NamespacedUseAutoImport\Fixture;
28+
29+
use Carbon\Carbon;
30+
use Carbon\CarbonInterface;
31+
32+
/**
33+
* @property CarbonInterface|null $deleted_at
34+
*/
35+
class NotInUseFqcnDocblock2
36+
{
37+
public function demoFunction(): array
38+
{
39+
return [Carbon::parse('2026-01-01 11:16:01')];
40+
}
41+
}
42+
43+
?>

0 commit comments

Comments
 (0)