Brian Matovu

Results 18 issues of Brian Matovu

**Current behavior** If an invalid property is included in the RRULE string, it will be ignored on the creation of the RRULE object. ``` $rule = new \Recurr\Rule('FREQ=MONTHLY;BYDAY=-1FR;COUNT=10;SKIP=5'); ``` The...

**Steps** - Clear application cache ```bash php artisan config:clear ``` - Delete existing access token(s) from the database ```php \Bmatovu\MtnMomo\Models\Token::truncate(); ``` - Confirm package configuration ```php config('mtn-momo') ``` \* Refer...

From a user in production. If either PayerMessage or PayeeNote is empty, you will get an Internal Server Error. TODO: Improve Collection::requestToPay to require these two

support

```php function msisdn($phoneNumber, $countryCode = '256', $networkCodes = '39|76|77|78') { $phoneNumber = preg_replace('/[^\d]/', '', $phoneNumber); if(! preg_match("/^(0|{$countryCode})({$networkCodes})[\d+]{7}$/", $phoneNumber, $matches)) { throw new \InvalidArgumentException('Invalid phone number'); } if($matches[1] == '0') {...

Separate into PHP only app and Laravel app Return GuzzleHttp responses Throw GuzzleHttp exceptions - Remove extra exceptions

Claim a consent by the account holder for the requested scopes. ```http POST /bc-authorize ``` Claim a consent by the account holder for the requested scopes. ```http POST /oauth2/token/ ```...

Change [![image](https://user-images.githubusercontent.com/5412360/113741509-654dd980-970a-11eb-9a81-a744838aa08a.png)](https://twitter.com/themsaid/status/1379396539160879107?s=21) Source https://twitter.com/themsaid/status/1379101925250043906 Reason https://twitter.com/themsaid/status/1379127661965021185

It would be nice to have a custom XML validation rule shipped with the package. Similar to the [JSON validation rule](https://laravel.com/docs/8.x/validation#rule-json)

``` $request->isXml(); ``` Should validate the content type to be XML as well as check the validity of the content to be valid XML ``` $request->sentXml(); ``` Should only validate...