Add PHP 7.4 support (#464)
* Add PHP 7.4 to build matrix * DB fix * YAML parser fix in test data * Show versions * Package updates * Track used ICAOs * 7.4 METAR parsing fix * METAR parser fix * Formatting * Add meters to response units * Call instance for unit conversion * Return value * Catch exception for unknown quantity * Comment fix * Formatting * METAR parsing fixes on PHP 7.4 * Package updates * More random airport ID * More random airport ID * Properly disable toolbar * Semver written out to version file * Use dev as default identifier
This commit is contained in:
@@ -20,10 +20,12 @@ class VersionTest extends TestCase
|
||||
public function testGreaterThanVersionStrings(): void
|
||||
{
|
||||
$test = [
|
||||
'7.0.0' => '6.0.0',
|
||||
'7.0.0-beta' => '7.0.0-alpha',
|
||||
'7.0.0-beta.1' => '7.0.0-beta',
|
||||
'7.0.0-beta.2' => '7.0.0-beta.1',
|
||||
'7.0.0' => '6.0.0',
|
||||
'7.0.0+1231s' => '6.0.0',
|
||||
'7.0.0-beta' => '7.0.0-alpha',
|
||||
'7.0.0-beta.1' => '7.0.0-beta',
|
||||
'7.0.0-beta.2' => '7.0.0-beta.1',
|
||||
'7.0.0-beta.2+a34sdf' => '7.0.0-beta.1',
|
||||
];
|
||||
|
||||
$versionSvc = app(VersionService::class);
|
||||
|
||||
Reference in New Issue
Block a user