LeKoala\DebugBar\Test\Collector\PhpInfoCollectorTest::testTrimLongPhpVersionNumbers
Note: testing with reflection since it's tidier than moving parent::collect() into its own method just so we can mock it.
Signature
public function testTrimLongPhpVersionNumbers(string
$phpVersion,
string
$expected )
Parameters
$phpVersion
— string$expected
— string