Update website

This commit is contained in:
Guilhem Lavaux 2024-11-19 08:02:04 +01:00
parent 4413528994
commit 1d90fbf296
6865 changed files with 1091082 additions and 0 deletions

View file

@ -0,0 +1,34 @@
<?php
declare(strict_types=1);
namespace Doctrine\Tests\RST\BuilderCustomScannerFinder;
use Doctrine\RST\Builder;
use Doctrine\Tests\RST\BaseBuilderTest;
use Symfony\Component\Finder\Finder;
/**
* Tests a custom Finder for Scanner
*/
class BuilderCustomScannerFinderTest extends BaseBuilderTest
{
public function testCustomScannerFinder(): void
{
self::assertFileExists($this->targetFile('path1/file1.html'));
self::assertFileNotExists($this->targetFile('path2/file2.html'));
}
protected function getFixturesDirectory(): string
{
return 'BuilderCustomScannerFinder';
}
protected function configureBuilder(Builder $builder): void
{
$finder = new Finder();
$finder->exclude('path2');
$builder->setScannerFinder($finder);
}
}

View file

@ -0,0 +1,4 @@
Index
=====
a file

View file

@ -0,0 +1,4 @@
File1
=====
a file

View file

@ -0,0 +1,4 @@
Path 2 File
===========
a file