Ir al contenido

Not Implemented Exception (ARCH7156)

Esta página aún no está disponible en tu idioma.

Key php.logging.not-implemented · Severity warning · Category logging

Leaving not implemented placeholder exceptions in shipped code paths causes unexpected runtime crashes.

<?php
public function exportReport(int $id): string
{
throw new \RuntimeException('Not implemented yet');
}
<?php
public function exportReport(int $id): string
{
$report = $this->repository->find($id);
return $this->renderer->toPdf($report);
}

Replace placeholder exceptions with a real implementation, or don’t ship the code path.