1<?php
2
3declare(strict_types=1);
4
5namespace DeprecationTests;
6
7use Doctrine\Foo\Bar;
8
9class Foo
10{
11    public static function triggerDependencyWithDeprecation(): void
12    {
13        $bar = new Bar();
14        $bar->oldFunc();
15    }
16
17    public static function triggerDependencyWithDeprecationFromInside(): void
18    {
19        $bar = new Bar();
20        $bar->newFunc();
21    }
22}
23