1 | <?php |
||
19 | class ConfigurationTest extends TestCase |
||
20 | { |
||
21 | /** @var Configuration */ |
||
22 | protected $configuration; |
||
23 | |||
24 | /** |
||
25 | * {@inheritDoc} |
||
26 | * |
||
27 | * @covers \GeneratedHydrator\Configuration::__construct |
||
28 | */ |
||
29 | public function setUp() : void |
||
33 | |||
34 | /** |
||
35 | * @covers \GeneratedHydrator\Configuration::setHydratedClassName |
||
36 | * @covers \GeneratedHydrator\Configuration::getHydratedClassName |
||
37 | */ |
||
38 | public function testGetSetHydratedClassName() : void |
||
44 | |||
45 | /** |
||
46 | * @covers \GeneratedHydrator\Configuration::createFactory |
||
47 | */ |
||
48 | public function testCreateFactory() : void |
||
52 | |||
53 | /** |
||
54 | * @covers \GeneratedHydrator\Configuration::doesAutoGenerateProxies |
||
55 | * @covers \GeneratedHydrator\Configuration::setAutoGenerateProxies |
||
56 | */ |
||
57 | public function testGetSetAutoGenerateProxies() : void |
||
67 | |||
68 | /** |
||
69 | * @covers \GeneratedHydrator\Configuration::getGeneratedClassesNamespace |
||
70 | * @covers \GeneratedHydrator\Configuration::setGeneratedClassesNamespace |
||
71 | */ |
||
72 | public function testGetSetProxiesNamespace() : void |
||
83 | |||
84 | /** |
||
85 | * @covers \GeneratedHydrator\Configuration::getClassNameInflector |
||
86 | * @covers \GeneratedHydrator\Configuration::setClassNameInflector |
||
87 | */ |
||
88 | public function testSetGetClassNameInflector() : void |
||
98 | |||
99 | /** |
||
100 | * @covers \GeneratedHydrator\Configuration::getGeneratorStrategy |
||
101 | * @covers \GeneratedHydrator\Configuration::setGeneratorStrategy |
||
102 | */ |
||
103 | public function testSetGetGeneratorStrategy() : void |
||
113 | |||
114 | /** |
||
115 | * @covers \GeneratedHydrator\Configuration::getGeneratedClassesTargetDir |
||
116 | * @covers \GeneratedHydrator\Configuration::setGeneratedClassesTargetDir |
||
117 | */ |
||
118 | public function testSetGetProxiesTargetDir() : void |
||
125 | |||
126 | /** |
||
127 | * @covers \GeneratedHydrator\Configuration::getGeneratedClassAutoloader |
||
128 | * @covers \GeneratedHydrator\Configuration::setGeneratedClassAutoloader |
||
129 | */ |
||
130 | public function testSetGetGeneratedClassAutoloader() : void |
||
140 | |||
141 | /** |
||
142 | * @covers \GeneratedHydrator\Configuration::getHydratorGenerator |
||
143 | * @covers \GeneratedHydrator\Configuration::setHydratorGenerator |
||
144 | */ |
||
145 | public function testSetGetHydratorGenerator() : void |
||
155 | } |
||
156 |
If a method or function can return multiple different values and unless you are sure that you only can receive a single value in this context, we recommend to add an additional type check:
If this a common case that PHP Analyzer should handle natively, please let us know by opening an issue.