Christoph’s screenshot shows a check if the PHP version is below 8.0.0 Basically saves you from parsing a semantic version string into major minor patch.
Christoph’s screenshot shows a check if the PHP version is below 8.0.0 Basically saves you from parsing a semantic version string into major minor patch.
Great one, thank you! Just a tiny pitfall (if I'm not mistaken) in case your Queue fake contains multiple jobs and you want to check if one of them passes the callback: `expect` will throw and thus abort the loop, whereas returning `false` continues with the next job instance. Sample code below.
May 8, 2025 at 7:59 AM
Great one, thank you! Just a tiny pitfall (if I'm not mistaken) in case your Queue fake contains multiple jobs and you want to check if one of them passes the callback: `expect` will throw and thus abort the loop, whereas returning `false` continues with the next job instance. Sample code below.