diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-04-27 00:01:13 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-04-27 00:01:13 +0300 |
commit | 9d8fda54d229f045b0f06de2c1b76e00a3618f30 (patch) | |
tree | 8bfd7bcfd38c39c3b700bcf4d13320a595e80c40 /test/classes/VersionInformationTest.php | |
parent | c5468f1d778e92df6110ab165e5c6b5e8e204711 (diff) |
Fix phpcs false positive test
Related to 62a6591d3f8c390208eab61bd865519593a3ce96
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test/classes/VersionInformationTest.php')
-rw-r--r-- | test/classes/VersionInformationTest.php | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/test/classes/VersionInformationTest.php b/test/classes/VersionInformationTest.php index 6020059e62..7430cf6eaa 100644 --- a/test/classes/VersionInformationTest.php +++ b/test/classes/VersionInformationTest.php @@ -333,18 +333,18 @@ class VersionInformationTest extends PmaTestCase return [ [ [ - (object) [ + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=5.5,<8.0', 'version' => '4.9.3', 'mysql_versions' => '>=5.5', - ], - (object) [ + ]), + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=7.1,<8.0', 'version' => '5.0.0', 'mysql_versions' => '>=5.5', - ], + ]), ], [ [ @@ -368,18 +368,18 @@ class VersionInformationTest extends PmaTestCase ], [ [ - (object) [ + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=5.5,<7.0', 'version' => '6.0.0', 'mysql_versions' => '>=5.5', - ], - (object) [ + ]), + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=7.1,<8.0', 'version' => '5.0.0', 'mysql_versions' => '>=5.5', - ], + ]), ], [ [ @@ -399,18 +399,18 @@ class VersionInformationTest extends PmaTestCase ], [ [ - (object) [ + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=5.5,<7.0', 'version' => '6.0.0-rc1', 'mysql_versions' => '>=5.5', - ], - (object) [ + ]), + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=7.1,<8.0', 'version' => '6.0.0-rc2', 'mysql_versions' => '>=5.5', - ], + ]), ], [ [ @@ -430,18 +430,18 @@ class VersionInformationTest extends PmaTestCase ], [ [ - (object) [ + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=5.5,<7.0', 'version' => '6.0.0', 'mysql_versions' => '>=5.5', - ], - (object) [ + ]), + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=7.1,<8.0', 'version' => '5.0.0', 'mysql_versions' => '>=5.5', - ], + ]), ], [ [ @@ -461,18 +461,18 @@ class VersionInformationTest extends PmaTestCase ], [ [ - (object) [ + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=5.5,<7.0', 'version' => '6.0.0', 'mysql_versions' => '>=5.5', - ], - (object) [ + ]), + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=7.1,<8.0', 'version' => '5.0.0', 'mysql_versions' => '>=5.5', - ], + ]), ], [ [ @@ -492,18 +492,18 @@ class VersionInformationTest extends PmaTestCase ], [ [ - (object) [ + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=5.5,<8.0', 'version' => '4.9.3', 'mysql_versions' => '>=5.5', - ], - (object) [ + ]), + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=7.1,<8.0', 'version' => '5.0.0', 'mysql_versions' => '>=5.5', - ], + ]), ], [ [ @@ -527,18 +527,18 @@ class VersionInformationTest extends PmaTestCase ], [ [ - (object) [ + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=7.1,<8.0', 'version' => '5.0.0', 'mysql_versions' => '>=5.5', - ], - (object) [ + ]), + ((object) [ 'date' => '2019-12-26', 'php_versions' => '>=5.5,<8.0', 'version' => '4.9.3', 'mysql_versions' => '>=5.5', - ], + ]), ], [ [ |