queue
queue copied to clipboard
Use `yiisoft/yii-console` with optional.
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ✔️ |
| Breaks BC? | ❌ |
PR Summary
-
Update to
README.mdfor clearer usage instructions- Instructions for usage with Yii Console and Symfony Console were added. Adding these equips users with more ways to use the product.
- An actionable code example for configuring a logger with
yiisoft/log-target-filewas provided, making it easier for users to set up logging functionalities. - Instructions for adding aliases for the logger were given to allow users to use more convenient shortcuts for their tasks.
-
Addition new helper files
- Three new files were added (
bin/definitions.php,bin/queue,bin/queue.bat). These files are likely aimed at expanding the functionality or streamlining the usage of the product.
- Three new files were added (
-
Modification of
composer.jsonfor enhanced package setup- "
yiisoft/config" package was added to the dependencies. This aids in improved configuration management of the project "bin/queue"was included in the"bin"section. This implies the addition of new command-line functionalities.
- "
-
Updates to
src/Command/ListenCommand.phpandsrc/Command/RunCommand.phpfor consistent return values- Rather than using a symbolic constant (
ExitCode::OK), theexecutemethod in both files now consistently return0to signify success. This makes the code more straightforward to understand and follow.
- Rather than using a symbolic constant (
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
eba0486) 94.31% compared to head (7910e61) 94.31%.
Additional details and impacted files
@@ Coverage Diff @@
## master #178 +/- ##
=========================================
Coverage 94.31% 94.31%
Complexity 340 340
=========================================
Files 40 40
Lines 915 915
=========================================
Hits 863 863
Misses 52 52
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
https://github.com/yiisoft/actions/pull/66 fix mutation actions.
I think we need to adjust it the same way as https://github.com/yiisoft/db-migration/commit/e0e4e498c3593149015b12478c377ed8bfc73e06