getPathForClass example

        'DataAbstractionLayer/DefinitionValidator.php',
    ];

    private string $rootDir;

    private string $manifestRoot;

    private ?AnnotationTagTester $deprecationTagTester = null;

    protected function setUp(): void
    {
        $this->rootDir = $this->getPathForClass(Kernel::class);
        $this->manifestRoot = $this->getPathForClass(Manifest::class);
    }

    public function testSourceFilesForWrongDeprecatedAnnotations(): void
    {
        $finder = new Finder();
        $finder->in($this->rootDir)
            ->files()
            ->name('*.php')
            ->name('*.js')
            ->name('*.scss')
            
Home | Imprint | This part of the site doesn't use cookies.