Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2021-09-28 01:13:59 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2021-09-28 01:17:45 +0300
commite96b75bb921d94aefc38f8cc831215dea95d9d8b (patch)
tree83f89d939cef2ba513b6ab8b44af92505128499e /test
parent7955f7d96dcc67fe651a54f6a5fcd7a6664048c3 (diff)
Replace class strings with the `::class` constant
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test')
-rw-r--r--test/classes/Config/ConfigFileTest.php2
-rw-r--r--test/classes/Gis/GisGeometryCollectionTest.php2
-rw-r--r--test/classes/Gis/GisLineStringTest.php2
-rw-r--r--test/classes/Gis/GisMultiLineStringTest.php2
-rw-r--r--test/classes/Gis/GisMultiPointTest.php2
-rw-r--r--test/classes/Gis/GisMultiPolygonTest.php2
-rw-r--r--test/classes/Gis/GisPointTest.php2
-rw-r--r--test/classes/Gis/GisPolygonTest.php2
8 files changed, 8 insertions, 8 deletions
diff --git a/test/classes/Config/ConfigFileTest.php b/test/classes/Config/ConfigFileTest.php
index 6d469daa27..8f1de1ee31 100644
--- a/test/classes/Config/ConfigFileTest.php
+++ b/test/classes/Config/ConfigFileTest.php
@@ -252,7 +252,7 @@ class ConfigFileTest extends AbstractTestCase
);
$default = new stdClass();
$this->assertInstanceOf(
- 'stdClass',
+ stdClass::class,
$this->object->get('key not excist', $default)
);
}
diff --git a/test/classes/Gis/GisGeometryCollectionTest.php b/test/classes/Gis/GisGeometryCollectionTest.php
index 16c6b2bc22..7cdea0c8b5 100644
--- a/test/classes/Gis/GisGeometryCollectionTest.php
+++ b/test/classes/Gis/GisGeometryCollectionTest.php
@@ -215,7 +215,7 @@ class GisGeometryCollectionTest extends AbstractTestCase
TCPDF $pdf
): void {
$return = $this->object->prepareRowAsPdf($spatial, $label, $line_color, $scale_data, $pdf);
- $this->assertInstanceOf('TCPDF', $return);
+ $this->assertInstanceOf(TCPDF::class, $return);
}
/**
diff --git a/test/classes/Gis/GisLineStringTest.php b/test/classes/Gis/GisLineStringTest.php
index c929637f34..832672ecd4 100644
--- a/test/classes/Gis/GisLineStringTest.php
+++ b/test/classes/Gis/GisLineStringTest.php
@@ -209,7 +209,7 @@ class GisLineStringTest extends GisGeomTestCase
TCPDF $pdf
): void {
$return = $this->object->prepareRowAsPdf($spatial, $label, $line_color, $scale_data, $pdf);
- $this->assertInstanceOf('TCPDF', $return);
+ $this->assertInstanceOf(TCPDF::class, $return);
}
/**
diff --git a/test/classes/Gis/GisMultiLineStringTest.php b/test/classes/Gis/GisMultiLineStringTest.php
index 4948019e49..1c8f4bf939 100644
--- a/test/classes/Gis/GisMultiLineStringTest.php
+++ b/test/classes/Gis/GisMultiLineStringTest.php
@@ -291,7 +291,7 @@ class GisMultiLineStringTest extends GisGeomTestCase
TCPDF $pdf
): void {
$return = $this->object->prepareRowAsPdf($spatial, $label, $line_color, $scale_data, $pdf);
- $this->assertInstanceOf('TCPDF', $return);
+ $this->assertInstanceOf(TCPDF::class, $return);
}
/**
diff --git a/test/classes/Gis/GisMultiPointTest.php b/test/classes/Gis/GisMultiPointTest.php
index 5b14857a08..26820e30a2 100644
--- a/test/classes/Gis/GisMultiPointTest.php
+++ b/test/classes/Gis/GisMultiPointTest.php
@@ -211,7 +211,7 @@ class GisMultiPointTest extends GisGeomTestCase
TCPDF $pdf
): void {
$return = $this->object->prepareRowAsPdf($spatial, $label, $point_color, $scale_data, $pdf);
- $this->assertInstanceOf('TCPDF', $return);
+ $this->assertInstanceOf(TCPDF::class, $return);
}
/**
diff --git a/test/classes/Gis/GisMultiPolygonTest.php b/test/classes/Gis/GisMultiPolygonTest.php
index 3e883a877f..bf23bc2d9f 100644
--- a/test/classes/Gis/GisMultiPolygonTest.php
+++ b/test/classes/Gis/GisMultiPolygonTest.php
@@ -379,7 +379,7 @@ class GisMultiPolygonTest extends GisGeomTestCase
TCPDF $pdf
): void {
$return = $this->object->prepareRowAsPdf($spatial, $label, $fill_color, $scale_data, $pdf);
- $this->assertInstanceOf('TCPDF', $return);
+ $this->assertInstanceOf(TCPDF::class, $return);
}
/**
diff --git a/test/classes/Gis/GisPointTest.php b/test/classes/Gis/GisPointTest.php
index 25c7703c34..901fc236e0 100644
--- a/test/classes/Gis/GisPointTest.php
+++ b/test/classes/Gis/GisPointTest.php
@@ -226,7 +226,7 @@ class GisPointTest extends GisGeomTestCase
TCPDF $pdf
): void {
$return = $this->object->prepareRowAsPdf($spatial, $label, $point_color, $scale_data, $pdf);
- $this->assertInstanceOf('TCPDF', $return);
+ $this->assertInstanceOf(TCPDF::class, $return);
}
/**
diff --git a/test/classes/Gis/GisPolygonTest.php b/test/classes/Gis/GisPolygonTest.php
index 7cb9af09c8..8e0684e5bc 100644
--- a/test/classes/Gis/GisPolygonTest.php
+++ b/test/classes/Gis/GisPolygonTest.php
@@ -464,7 +464,7 @@ class GisPolygonTest extends GisGeomTestCase
TCPDF $pdf
): void {
$return = $this->object->prepareRowAsPdf($spatial, $label, $fill_color, $scale_data, $pdf);
- $this->assertInstanceOf('TCPDF', $return);
+ $this->assertInstanceOf(TCPDF::class, $return);
}
/**