diff --git a/composer.json b/composer.json index 23c4a167..00943d90 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,11 @@ "format": "vendor/bin/php-cs-fixer fix --allow-risky=yes" }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "phpstan/extension-installer": true, + "composer/package-versions-deprecated": true + } }, "extra": { "laravel": { diff --git a/src/Exceptions/UnableToMakeRequest.php b/src/Exceptions/UnableToMakeRequest.php index 353559de..e6c6a975 100644 --- a/src/Exceptions/UnableToMakeRequest.php +++ b/src/Exceptions/UnableToMakeRequest.php @@ -11,7 +11,7 @@ public static function create(): self return new static( 'You are not authorized. ' . 'Make sure you are logged in with the correct credentials.' . - 'Try to use "->login()" before you make other requests.' + 'Try to use "->login()" before you make other requests.', ); } } diff --git a/src/Exceptions/UnableToSearch.php b/src/Exceptions/UnableToSearch.php index 79984f86..20436e30 100644 --- a/src/Exceptions/UnableToSearch.php +++ b/src/Exceptions/UnableToSearch.php @@ -18,7 +18,7 @@ public static function invalidPageNumber(int $page): self { return new static( 'You need to specify page number greater than zero. ' . - "Following is not valid: \"->page({$page})\"" + "Following is not valid: \"->page({$page})\"", ); } @@ -26,7 +26,7 @@ public static function invalidPerPageNumber(int $perPage): self { return new static( 'You need to specify per page number greater than zero. ' . - "Following is not valid: \"->perPage({$perPage})\"" + "Following is not valid: \"->perPage({$perPage})\"", ); } }