Skip to content

Commit

Permalink
Merge pull request #447 from mvsvolkov/feature/laravel9Support
Browse files Browse the repository at this point in the history
Laravel 9 и php8.1 compability
  • Loading branch information
bessudnov authored Apr 11, 2022
2 parents 02c5e7e + 982d419 commit 81cd1b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
"ext-json": "*",
"amocrm/oauth2-amocrm": "^2.0",
"guzzlehttp/guzzle": "6.* || 7.*",
"illuminate/support": "5.* || 6.* || 7.* || 8.*",
"illuminate/support": "5.* || 6.* || 7.* || 8.* || 9.*",
"symfony/dotenv": "3.* || 4.* || 5.* || 6.*",
"fig/http-message-util": "1.*",
"ramsey/uuid": "^3 || ^4",
"lcobucci/jwt": "^3.4.6 || ^4.0.4",
"nesbot/carbon": "^2.52"
},
"require-dev": {
"phpunit/phpunit": "7.*.*",
"phpunit/phpunit": "7.*.* || 9.*.*",
"squizlabs/php_codesniffer": "3.5.*"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Cases/AmoCRM/Client/AmoCRMApiClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class AmoCRMApiClientTest extends TestCase
*/
private $apiClient;

public function setUp()
public function setUp(): void
{
$this->apiClient = new AmoCRMApiClient('xxx', 'xxx', 'xxx');
$this->apiClient->setAccessToken(new AccessToken([
Expand Down
2 changes: 1 addition & 1 deletion tests/Cases/AmoCRM/Filters/LeadsFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class LeadsFilterTest extends TestCase
*/
private $leadsFilter;

public function setUp()
public function setUp(): void
{
$this->leadsFilter = new LeadsFilter();
}
Expand Down

0 comments on commit 81cd1b4

Please sign in to comment.