How I use Agents to Extract Hidden Feedback from Github and Improved Rector

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

The author describes using AI agents (Claude Code) to extract hidden bug reports from open-source PHP projects' `rector.php` configuration files on GitHub. By analyzing the `withSkip()` sections of popular repositories, the agent identifies whether skipped rules represent Rector bugs or valid workarounds, then automatically creates PRs with test fixtures to fix them. The workflow scales from a single project to scraping top 300 Packagist dependents, aggregating the most-skipped rules into an HTML report. A key outcome is a new `withTypeGuardedClasses()` feature added to Rector that prevents BC-breaking type declaration changes on classes intended for extension, replacing dozens of manual skip entries with a clean configuration option.

10m read timeFrom tomasvotruba.com
Post cover image
Table of contents
"Skip" over Bug ReportDiscovering new Feature missing in RectorIntroducing Type Guarded ClassesMore RepositoriesMore SourcesVisual PresentationAutomate Sessions You'll get Back to Later
929 Impressions