Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The tests were failing on PHP 8.1 due to a `file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated` notice coming from the `JobsRepository::dumpJsonFile()` method. While it would probably be unlikely for this error condition ever to be hit in a real life situation, it is something which is likely to happen in the tests and well, a little defensive coding goes a long way. With this fix in place, the tests now pass on PHP 8.1 and PHP 8.2 and compatibility with both can be declared. 🎉 Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
- Loading branch information