| 1 | <?php |
||
| 16 | class TypesDumper |
||
| 17 | { |
||
| 18 | const MARKER = 'ELAO_ENUM_DT'; |
||
| 19 | |||
| 20 | public function dumpToFile(string $file, array $types) |
||
| 24 | |||
| 25 | private function dump(array $types): string |
||
| 34 | |||
| 35 | private function getTypeCode(string $class, string $type, string $name): string |
||
| 65 | |||
| 66 | public static function getTypeClassname(string $class): string |
||
| 70 | } |
||
| 71 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.