acc-find-null-pointer-issues

Installation
SKILL.md

Null Pointer Detection

Analyze PHP code for null pointer dereference issues.

Detection Patterns

1. Nullable Return Without Check

// BUG: No null check after find
$user = $repository->find($id);
$user->getName(); // May be null

// BUG: Chained calls on nullable
$order = $this->orderRepository->findByUser($userId);
$order->getItems()->first()->getProduct(); // Multiple null risks

2. Missing Null Coalescing

Related skills
Installs
1
GitHub Stars
71
First Seen
Feb 11, 2026
Security Audits