vaimo / composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and composer command for testing/troubleshooting patches.
MIT License
287 stars 40 forks source link

PHP 8.1 compatibility > Always pass string to explode #87

Closed ruudk closed 2 years ago

ruudk commented 2 years ago

Fixes this notice on PHP 8.1:

Deprecation Notice: explode(): Passing null to parameter #2 ($string) of type string is deprecated in vendor/vaimo/composer-patches/src/Patch/SourceLoaders/PatchesSearch.php:234
ruudk commented 2 years ago

@allanpaiste Can this be merged? 🙏