Add AddOns #18
Annotations
6 errors and 1 warning
src/App.php#L86
In method "Mammatus\Queue\App::consume", caught "Throwable" must be rethrown. Either catch a more specific exception or add a "throw" clause in the "catch" block to propagate the exception. More info: http://bit.ly/failloud
|
src/Composer/Collector.php#L32
Parameter #2 $consumer of class Mammatus\Queue\Composer\Item constructor expects Mammatus\Queue\Attributes\Consumer, object given.
|
src/Composer/Plugin.php#L66
Function file_get_contents is unsafe to use. It can return FALSE instead of throwing an exception. Please add 'use function Safe\file_get_contents;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library.
|
src/Composer/Plugin.php#L66
file_get_contents blocks the event loop, use React\Filesystem\Node\FileInterface::getContents from react/filesystem instead. Please consult the documentation for more information: https://github.com/reactphp/filesystem/?tab=readme-ov-file#getcontents
|
src/Manager.php#L75
In method "Mammatus\Queue\Manager::consume", caught "Throwable" must be rethrown. Either catch a more specific exception or add a "throw" clause in the "catch" block to propagate the exception. More info: http://bit.ly/failloud
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading