enjoping / DXFighter

A new DXF writer and reader in PHP which outputs AC1012 (R15) DXF files
BSD 3-Clause "New" or "Revised" License
42 stars 22 forks source link

Use PHP Exception instead of PHPUnit Exception class. #16

Closed NielsdeBlaauw closed 3 years ago

NielsdeBlaauw commented 3 years ago

On production environments PPHUnit should not be installed, so the throw new \PHPUnit\Framework\Exception('xxx') throws an Uncaught Exception Error: "Class 'PHPUnit\Framework\Exception' not found"