Skip to content

Commit

Permalink
Require at least nesbot/carbon ^2.62.1 since it is not actually fully…
Browse files Browse the repository at this point in the history
… PHP 8.2 compatible until then
  • Loading branch information
asgrim committed Dec 12, 2022
1 parent 2e2eae0 commit f30d638
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"laravel/framework": "^5.5.0|^6.0|^7.0|^8.0|^9.0",
"laravel/lumen-framework": "^5.5.0|^6.0|^7.0|^8.0|^9.0",
"monolog/monolog": "^1.27|^2.5",
"nesbot/carbon": "^2.62.1",
"nyholm/psr7": "^1.5",
"phpunit/phpunit": "^8.5.22|^9.5.2",
"psalm/plugin-phpunit": "^0.16.1",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions tests/Unit/AgentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1011,25 +1011,21 @@ public function testMetadataIsNotSentIfCached(): void
->method('connected')
->willReturn(true);

/** @noinspection PhpParamsInspection */
$this->connector->expects(self::at(1))
->method('sendCommand')
->with(self::isInstanceOf(RegisterMessage::class))
->willReturn('{"Register":"Success"}');
/** @noinspection PhpParamsInspection */
$this->connector->expects(self::at(2))
->method('sendCommand')
->with(self::isInstanceOf(Metadata::class))
->willReturn('{"Metadata":"Success"}');
/** @noinspection PhpParamsInspection */
$this->connector->expects(self::at(3))
->method('sendCommand')
->with(self::isInstanceOf(Request::class))
->willReturn('{"Request":"Success"}');
$this->connector->expects(self::at(4))
->method('connected')
->willReturn(true);
/** @noinspection PhpParamsInspection */
$this->connector->expects(self::at(5))
->method('sendCommand')
->with(self::isInstanceOf(Request::class))
Expand Down

0 comments on commit f30d638

Please sign in to comment.