assertMatchesRegularExpression('/^\d+\.\d+\.\d+$/', Version::VERSION); preg_match('/^## (\d+\.\d+\.\d+)/m', file_get_contents(__DIR__.'/../../CHANGELOG.md'), $matches); $this->assertSame(Version::VERSION, $matches[1] ?? null, 'Oberster Abschnitt in CHANGELOG.md muss der aktuellen VERSION entsprechen.'); } }