php artisan boost:add-skill nowo-tech/phpstan-frankenphp
Save this content to: .cursor/rules/10-phpstan-extension.mdc
This package ships PHPStan rules for FrankenPHP migration.
- Register rules in `rules/{classic,worker,hardening}.neon` with `phpstan.rules.rule` tags.
- Keep `extension.neon` free of enabled rules; only schema/defaults.
- Every rule needs: stable `frankenphp.*` identifier, docs in `docs/RULES.md`, RuleTestCase, and `demo/*/bad` + `demo/*/good` samples.
- Adopt levels in order: classic → worker → hardening (`ruleset-worker-strict.neon` is optional).
- Use `declare(strict_types=1);` on every PHP file.
This package ships PHPStan rules for FrankenPHP migration.
rules/{classic,worker,hardening}.neon with phpstan.rules.rule tags.extension.neon free of enabled rules; only schema/defaults.frankenphp.* identifier, docs in docs/RULES.md, RuleTestCase, and demo/*/bad + demo/*/good samples.ruleset-worker-strict.neon is optional).declare(strict_types=1); on every PHP file.How can I help you explore Laravel packages today?