mirror of
https://github.com/getgrav/grav.git
synced 2026-05-06 20:36:26 +02:00
fix(tests): PHP 7.3 compatibility in UpgraderFamilyTest
Replace typed class properties with PHPDoc annotations so the test file passes CI on PHP 7.3 (typed properties require 7.4+).
This commit is contained in:
@@ -10,8 +10,10 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class TestableUpgrader extends Upgrader
|
||||
{
|
||||
private string $localVersion;
|
||||
private string $remoteVersion;
|
||||
/** @var string */
|
||||
private $localVersion;
|
||||
/** @var string */
|
||||
private $remoteVersion;
|
||||
|
||||
public function __construct(string $local, string $remote)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user