modmore / Gitify

Command line toolkit to make managing a MODX site in git a lot easier.
MIT License
122 stars 55 forks source link

Fix undefined array key "service" warnings #427

Closed hugopeek closed 1 year ago

hugopeek commented 1 year ago

What does it do ?

It checks if "service" array key is set.

Why is it needed ?

PHP 8 has become more strict with this kind of loosy truthy falsy check on an array key.

Related issue(s)/PR(s)

Fixes #426

muzzwood commented 1 year ago

Thanks @hugopeek ! :)