diff --git a/.phpunit.result.cache b/.phpunit.result.cache new file mode 100644 index 0000000..2027c63 --- /dev/null +++ b/.phpunit.result.cache @@ -0,0 +1 @@ +C:37:"PHPUnit\Runner\DefaultTestResultCache":4099:{a:2:{s:7:"defects";a:0:{}s:5:"times";a:29:{s:105:"SoapBox\Idempotency\Tests\Unit\Guzzle\MiddlewareTest::it_applies_the_idempotency_header_for_post_requests";d:0.132;s:104:"SoapBox\Idempotency\Tests\Unit\Guzzle\MiddlewareTest::it_applies_the_idempotency_header_for_put_requests";d:0.015;s:106:"SoapBox\Idempotency\Tests\Unit\Guzzle\MiddlewareTest::it_applies_the_idempotency_header_for_patch_requests";d:0.015;s:111:"SoapBox\Idempotency\Tests\Unit\Guzzle\MiddlewareTest::it_does_not_apply_the_idempotency_header_for_get_requests";d:0.015;s:114:"SoapBox\Idempotency\Tests\Unit\Guzzle\MiddlewareTest::it_does_not_apply_the_idempotency_header_for_delete_requests";d:0.015;s:106:"SoapBox\Idempotency\Tests\Unit\Guzzle\MiddlewareTest::it_applies_separate_idempotency_keys_to_each_request";d:0.016;s:124:"SoapBox\Idempotency\Tests\Unit\Guzzle\MiddlewareTest::it_works_when_previous_middleware_doesnt_pass_the_request_by_reference";d:0.015;s:121:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::adding_a_response_to_the_cache_caches_the_response_to_the_specified_store";d:0.026;s:111:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::adding_a_response_to_the_cache_prefixes_the_key_with_the_prefix";d:0.016;s:129:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::adding_a_response_to_the_cache_will_set_the_time_to_live_to_the_configured_amount";d:0.015;s:137:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::adding_a_response_to_the_cache_will_set_the_time_to_live_to_a_day_when_none_is_configured";d:0.014;s:133:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::it_returns_with_null_when_trying_to_get_a_response_for_a_key_that_is_not_in_the_cache";d:0.015;s:112:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::getting_a_response_from_the_cache_returns_an_equivalent_response";d:0.015;s:125:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::getting_a_response_from_the_cache_fetched_the_response_from_the_correct_store";d:0.015;s:117:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::getting_a_response_from_the_cache_will_prefix_the_key_with_the_prefix";d:0.016;s:132:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::getting_a_response_from_the_cache_returns_an_equivalent_response_after_serialization";d:0.016;s:137:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::getting_a_json_response_from_the_cache_returns_an_equivalent_response_after_serialization";d:0.017;s:141:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::getting_a_redirect_response_from_the_cache_returns_an_equivalent_response_after_serialization";d:0.016;s:145:"SoapBox\Idempotency\Tests\Unit\IdempotencyTest::it_correctly_serialized_a_response_that_has_an_exception_that_cannot_be_serialized_attached_to_it";d:0.028;s:131:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_will_return_the_cached_response_the_second_time_through_for_post_requests";d:0.016;s:130:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_will_return_the_cached_response_the_second_time_through_for_put_requests";d:0.016;s:132:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_will_return_the_cached_response_the_second_time_through_for_patch_requests";d:0.016;s:156:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_will_not_return_a_cached_response_if_there_is_not_cached_response_for_the_provided_idempotency_key";d:0.016;s:119:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_will_not_cache_the_response_if_no_idempotency_key_is_provided";d:0.015;s:103:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_will_not_cache_the_response_for_a_get_request";d:0.015;s:106:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_will_not_cache_the_response_for_a_delete_request";d:0.015;s:118:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_will_not_returned_the_cached_response_if_the_header_is_wrong";d:0.016;s:128:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_does_not_execute_the_next_middleware_when_it_returns_a_cached_response";d:0.016;s:128:"SoapBox\Idempotency\Tests\Unit\Laravel\MiddlewareTest::it_executes_the_next_middleware_when_it_does_not_return_a_cached_response";d:0.015;}}} \ No newline at end of file diff --git a/composer.json b/composer.json index 0ea7033..ddd5227 100644 --- a/composer.json +++ b/composer.json @@ -6,8 +6,14 @@ "require": { "ramsey/uuid": "^3.8", "guzzlehttp/psr7": "^1.4", - "illuminate/support": "^6.0" + "illuminate/support": "^7.0" }, + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/Soapbox/fake-requests" + } + ], "autoload": { "psr-4": { "SoapBox\\Idempotency\\": "src/" @@ -20,8 +26,8 @@ }, "require-dev": { "phpunit/phpunit": "^8.0", - "orchestra/testbench": "^4.0", - "jshayes/fake-requests": "^3.0" + "orchestra/testbench": "^5.0", + "jshayes/fake-requests": "dev-master" }, "extra": { "laravel": {