Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B2C Listeners don't comply to psr-4 standards #31

Open
DrH97 opened this issue May 6, 2021 · 0 comments
Open

B2C Listeners don't comply to psr-4 standards #31

DrH97 opened this issue May 6, 2021 · 0 comments

Comments

@DrH97
Copy link

DrH97 commented May 6, 2021

The name-spacing of B2C listeners is faulty

Detailed description

B2C Listeners are name-spaced incorrectly leading to composer autoload warnings and later on, laravel throws errors

Context

This correction is necessary to avoid errors occurring after b2c event is fired

Possible implementation

Simple fix of the following:
namespace Samerior\MobileMoney\src\Mpesa\Listeners;

changed to:
namespace Samerior\MobileMoney\Mpesa\Listeners;

Your environment

  • PHP 7.4, Laravel 6.20, mobile-money 2.2.1
  • Ubuntu 20.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant