Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea057db

Browse files
committed
Merge branch '2.3'
2 parents 4f76ee4 + 051f28d commit ea057db

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/AutoReview/ProjectCodeTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ final class ProjectCodeTest extends TestCase
5858
\PhpCsFixer\Tokenizer\Transformers::class,
5959
];
6060

61+
public function testThatClassesWithoutTestsVarIsProper()
62+
{
63+
$unknownClasses = array_filter(
64+
self::$classesWithoutTests,
65+
function ($class) { return !class_exists($class) && !trait_exists($class); }
66+
);
67+
$this->assertSame([], $unknownClasses);
68+
}
69+
6170
/**
6271
* @param string $className
6372
*

0 commit comments

Comments
 (0)