| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan; |
| 4: | |
| 5: | use Exception; |
| 6: | use PHPStan\Turbo\ReferencedByTurboExtension; |
| 7: | |
| 8: | #[ReferencedByTurboExtension(key: 'shouldNotHappenException')] |
| 9: | final class ShouldNotHappenException extends Exception |
| 10: | { |
| 11: | |
| 12: | /** @api */ |
| 13: | public function __construct(string $message = 'Internal error.') |
| 14: | { |
| 15: | parent::__construct($message); |
| 16: | } |
| 17: | |
| 18: | } |
| 19: |