shapefile
shapefile copied to clipboard
Change the ShapeType class to be an enum
The PhpMyAdmin\ShapeFile\ShapeType class should be changed to a PHP backed enum and the ShapeType constants should be turned into enum cases.
Currently, the ShapeFile class accepts any integer as a shape type. Only the shape type defined in the ShapeType class should be accepted.
- Related to #26