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

Details

protected void setUp()

No description

Return Value

void

void testEachPhpVersionHasReflectionCacheFile()

No description

Return Value

void

void testNoOrphanedReflectionCacheFiles()

No description

Return Value

void