Aller au contenu

Not Implemented Exception (ARCH7156)

Ce contenu n’est pas encore disponible dans votre langue.

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.