peppeocchi / php-cron-scheduler

PHP cron job scheduler
MIT License
808 stars 143 forks source link

Fixes #94 by checking for an array parameter when creating a new Job #97

Closed phinor closed 4 years ago

phinor commented 4 years ago

The constructor for the Job class now specifically checks for arrays passed as command parameters (a valid "callable" structure) and creates an ID based on the MD5 version of the serialized array.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 76516563ca5693824b67f4eec41347eb1ebf2435 on phinor:master into 44325d97a684deb4812671eb0a5008520bf0a2b2 on peppeocchi:master.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 76516563ca5693824b67f4eec41347eb1ebf2435 on phinor:master into 44325d97a684deb4812671eb0a5008520bf0a2b2 on peppeocchi:master.