nuwber / rabbitevents

Nuwber's RabbitEvents provides a simple observer implementation, allowing you to publishing and handling for various events that occur in your applications. For example, if you need to react to some event occurred in another API.
MIT License
121 stars 36 forks source link

#91: Real fix for only one event exchange #100

Closed masterjus closed 2 years ago

masterjus commented 2 years ago

Changelog:

  1. Lumen support
  2. The issue #91 was solved incorrectly. Now it's fixed
  3. Little refactoring
codecov[bot] commented 2 years ago

Codecov Report

Base: 96.51% // Head: 94.04% // Decreases project coverage by -2.47% :warning:

Coverage data is based on head (44a5040) compared to base (f4acdca). Patch coverage: 84.78% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 7.x #100 +/- ## ============================================ - Coverage 96.51% 94.04% -2.48% + Complexity 190 178 -12 ============================================ Files 29 30 +1 Lines 431 403 -28 ============================================ - Hits 416 379 -37 - Misses 15 24 +9 ``` | [Impacted Files](https://codecov.io/gh/nuwber/rabbitevents/pull/100?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber) | Coverage Δ | | |---|---|---| | [src/RabbitEvents/Foundation/Support/Releaser.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9Gb3VuZGF0aW9uL1N1cHBvcnQvUmVsZWFzZXIucGhw) | `0.00% <0.00%> (ø)` | | | [src/RabbitEvents/Listener/Message/Processor.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9MaXN0ZW5lci9NZXNzYWdlL1Byb2Nlc3Nvci5waHA=) | `100.00% <ø> (ø)` | | | [src/RabbitEvents/Publisher/Publisher.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9QdWJsaXNoZXIvUHVibGlzaGVyLnBocA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: | | [src/RabbitEvents/Listener/Message/Handler.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9MaXN0ZW5lci9NZXNzYWdlL0hhbmRsZXIucGhw) | `96.42% <80.00%> (-3.58%)` | :arrow_down: | | [src/RabbitEvents/Foundation/Amqp/BindFactory.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9Gb3VuZGF0aW9uL0FtcXAvQmluZEZhY3RvcnkucGhw) | `100.00% <100.00%> (ø)` | | | [...rc/RabbitEvents/Foundation/Amqp/MessageFactory.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9Gb3VuZGF0aW9uL0FtcXAvTWVzc2FnZUZhY3RvcnkucGhw) | `100.00% <100.00%> (ø)` | | | [...Events/Foundation/Amqp/TopicDestinationFactory.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9Gb3VuZGF0aW9uL0FtcXAvVG9waWNEZXN0aW5hdGlvbkZhY3RvcnkucGhw) | `100.00% <100.00%> (ø)` | | | [src/RabbitEvents/Foundation/Consumer.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9Gb3VuZGF0aW9uL0NvbnN1bWVyLnBocA==) | `88.23% <100.00%> (ø)` | | | [src/RabbitEvents/Foundation/Context.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9Gb3VuZGF0aW9uL0NvbnRleHQucGhw) | `90.47% <100.00%> (-6.08%)` | :arrow_down: | | [src/RabbitEvents/Foundation/Message.php](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber#diff-c3JjL1JhYmJpdEV2ZW50cy9Gb3VuZGF0aW9uL01lc3NhZ2UucGhw) | `100.00% <100.00%> (ø)` | | | ... and [5 more](https://codecov.io/gh/nuwber/rabbitevents/pull/100/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuwber)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.