PHP Structured Edit

Use when editing PHP source: renaming a method, function or variable and its call sites; adding, changing or removing a method, property, constant, parameter, return type, attribute or use import; inserting or replacing a statement, expression or call argument; changing a signature, visibility or docblock; editing a PHP string literal; creating or deleting a whole PHP file. Reach for this before Edit or sed on a .php file. Use ordinary search for discovery. Not for read-only PHP questions or edits to non-PHP files.

netresearch Updated

File contents

netresearch/php-ast-edit-skill commit 51fb67f248

Frequently asked questions

npx get-skill add netresearch/php-structured-edit