laminas / laminas-diactoros

PSR HTTP Message implementations
https://docs.laminas.dev/laminas-diactoros/
BSD 3-Clause "New" or "Revised" License
483 stars 63 forks source link

Add RectorPHP #163

Open internalsystemerror opened 1 year ago

internalsystemerror commented 1 year ago
Q A
Documentation no
Bugfix no
BC Break no
New Feature no
RFC yes
QA yes

Description

I thought I'd take a look at how we might use https://github.com/rectorphp/rector. This PR contains 2 commits to first add rector as a dependency with configuration, and then to actually run rector and see what has changed.

Its not my intention for this to merged as is, but as a demonstration to get feedback and help discuss an approach.