efabrica-team / rector-nette

Rector upgrades rules for Nette
http://getrector.org
MIT License
27 stars 7 forks source link

Remove str_ends_with(), str_starts_with(), str_contains() rules, now handled in PHP 8.0 natively #84

Closed TomasVotruba closed 2 years ago

TomasVotruba commented 2 years ago

There are native PHP features that handle such situations much in native way, e.g.

This will improve the overall experience as well https://ben.balter.com/2016/07/21/removing-a-feature-is-a-feature/ :slightly_smiling_face: