We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c38eef commit f395958Copy full SHA for f395958
Tests/Mapping/Loader/StaticMethodLoaderTest.php
@@ -17,6 +17,18 @@
17
18
class StaticMethodLoaderTest extends \PHPUnit_Framework_TestCase
19
{
20
+ private $errorLevel;
21
+
22
+ protected function setUp()
23
+ {
24
+ $this->errorLevel = error_reporting();
25
+ }
26
27
+ protected function tearDown()
28
29
+ error_reporting($this->errorLevel);
30
31
32
public function testLoadClassMetadataReturnsTrueIfSuccessful()
33
34
$loader = new StaticMethodLoader('loadMetadata');
@@ -78,6 +90,8 @@ public function testLoadClassMetadataInAbstractClasses()
78
90
79
91
public function testLoadClassMetadataIgnoresAbstractMethods()
80
92
93
+ error_reporting(E_ALL | E_STRICT);
94
81
95
82
96
$caught = false;
83
97
try {
0 commit comments