Move all files to tome/
This commit is contained in:
parent
5675bcfc36
commit
674daab35b
2874 changed files with 0 additions and 0 deletions
|
|
@ -1,25 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tools\Phpat;
|
||||
|
||||
use PHPat\Selector\Selector;
|
||||
use PHPat\Test\Builder\Rule;
|
||||
use PHPat\Test\PHPat;
|
||||
|
||||
final class ArchitectureTest {
|
||||
|
||||
public function test_all_classes_should_be_final(): Rule {
|
||||
return PHPat::rule()
|
||||
->classes(
|
||||
Selector::inNamespace(
|
||||
namespace: '/^Drupal\\\\opd_\w+/',
|
||||
regex: TRUE,
|
||||
),
|
||||
)
|
||||
->excluding(Selector::isInterface())
|
||||
->shouldBeFinal();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue