|
@@ 177-183 (lines=7) @@
|
| 174 |
|
return $types; |
| 175 |
|
} |
| 176 |
|
|
| 177 |
|
public function testTraits(): void |
| 178 |
|
{ |
| 179 |
|
$this->assertStringNotContainsString(' use ', |
| 180 |
|
$this->make(new Declaration(new \ReflectionClass(Fixtures\EntityWithoutTrait::class), 'EntityProxy' . __LINE__))); |
| 181 |
|
$this->assertStringNotContainsString(' use ', |
| 182 |
|
$this->make(new Declaration(new \ReflectionClass(Fixtures\EntityWithTrait::class), 'EntityProxy' . __LINE__))); |
| 183 |
|
} |
| 184 |
|
|
| 185 |
|
public function testConstants(): void |
| 186 |
|
{ |
|
@@ 185-191 (lines=7) @@
|
| 182 |
|
$this->make(new Declaration(new \ReflectionClass(Fixtures\EntityWithTrait::class), 'EntityProxy' . __LINE__))); |
| 183 |
|
} |
| 184 |
|
|
| 185 |
|
public function testConstants(): void |
| 186 |
|
{ |
| 187 |
|
$this->assertStringNotContainsString(' const ', |
| 188 |
|
$this->make(new Declaration(new \ReflectionClass(Fixtures\EntityWithoutConstants::class), 'EntityProxy' . __LINE__))); |
| 189 |
|
$this->assertStringNotContainsString(' const ', |
| 190 |
|
$this->make(new Declaration(new \ReflectionClass(Fixtures\EntityWithConstants::class), 'EntityProxy' . __LINE__))); |
| 191 |
|
} |
| 192 |
|
|
| 193 |
|
public function testProperties(): void |
| 194 |
|
{ |