PhpVersionsSyncTest
class PhpVersionsSyncTest extends TestCase (View source)
Guards against drift between PhpVersions.php and the reflection cache directory.
When a new PHP version is added to PhpVersions.php, the corresponding Reflection{X.Y}.json cache file must also be generated. These tests catch that omission in CI before validators silently skip the new version.
Methods
void
setUp()
No description
void
testEachPhpVersionHasReflectionCacheFile()
No description
void
testNoOrphanedReflectionCacheFiles()
No description
Details
protected void
setUp()
No description
void
testEachPhpVersionHasReflectionCacheFile()
No description
void
testNoOrphanedReflectionCacheFiles()
No description