lint/laravel/prefer-sleep-facade
In the code-quality set. Unsafe fix: it can change behaviour. Runs when laravel is installed.
What it does
Use Sleep::sleep() and Sleep::usleep() instead of the sleep() and usleep() function.
Configuration
[lint.rules]
"laravel/prefer-sleep-facade" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
SleepFuncToSleepStaticCall(rector-laravel)