Skip to content

Commit

Permalink
Add Laravel 8.0 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Leo-Pernold committed Sep 9, 2020
1 parent c9332af commit 6b1bf69
Show file tree
Hide file tree
Showing 4 changed files with 1,956 additions and 608 deletions.
2 changes: 1 addition & 1 deletion .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
C:37:"PHPUnit\Runner\DefaultTestResultCache":1594:{a:2:{s:7:"defects";a:2:{s:98:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_sets_the_default_feature_policy_headers";i:6;s:99:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeadersTest::it_sets_the_default_feature_policy_headers";i:6;}s:5:"times";a:11:{s:98:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_sets_the_default_feature_policy_headers";d:0.046;s:110:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_wont_set_headers_if_it_is_not_enabled_in_the_config";d:0.003;s:128:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_throws_an_invalid_policy_class_exception_when_using_an_invalid_policy";d:0.003;s:105:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_accepts_multiple_values_for_the_same_directive";d:0.003;s:115:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_can_add_multiple_values_for_the_same_directive_in_one_go";d:0.003;s:90:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_quotes_special_directive_values";d:0.003;s:103:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_can_add_values_from_a_space_separated_string";d:0.003;s:88:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_will_not_add_duplicate_values";d:0.004;s:127:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::a_route_middleware_will_overwrite_a_global_middleware_for_a_given_route";d:0.003;s:83:"Mazedlx\FeaturePolicy\Tests\DirectiveTest::it_can_determine_if_a_directive_is_valid";d:0.004;s:99:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeadersTest::it_sets_the_default_feature_policy_headers";d:0.005;}}}
C:37:"PHPUnit\Runner\DefaultTestResultCache":1594:{a:2:{s:7:"defects";a:2:{s:98:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_sets_the_default_feature_policy_headers";i:6;s:99:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeadersTest::it_sets_the_default_feature_policy_headers";i:6;}s:5:"times";a:11:{s:98:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_sets_the_default_feature_policy_headers";d:0.388;s:110:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_wont_set_headers_if_it_is_not_enabled_in_the_config";d:0.007;s:128:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_throws_an_invalid_policy_class_exception_when_using_an_invalid_policy";d:0.014;s:105:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_accepts_multiple_values_for_the_same_directive";d:0.008;s:115:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_can_add_multiple_values_for_the_same_directive_in_one_go";d:0.006;s:90:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_quotes_special_directive_values";d:0.006;s:103:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_can_add_values_from_a_space_separated_string";d:0.007;s:88:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::it_will_not_add_duplicate_values";d:0.006;s:127:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeaderTest::a_route_middleware_will_overwrite_a_global_middleware_for_a_given_route";d:0.008;s:83:"Mazedlx\FeaturePolicy\Tests\DirectiveTest::it_can_determine_if_a_directive_is_valid";d:0.007;s:99:"Mazedlx\FeaturePolicy\Tests\AddFeaturePolicyHeadersTest::it_sets_the_default_feature_policy_headers";d:0.006;}}}
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ language: php
php:
- 7.2
- 7.3

- 7.4

env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"minimum-stability": "stable",
"require": {
"php": "^7.0",
"illuminate/http": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0",
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0"
"illuminate/http": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0",
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0"
},
"require-dev": {
"orchestra/testbench": "~3.5|~3.6|~3.7",
"orchestra/testbench": "~3.5|~3.6|~3.7|~3.8|^4.0|^5.0|^6.0",
"phpunit/phpunit": "^8.0"
},
"autoload": {
Expand Down
Loading

0 comments on commit 6b1bf69

Please sign in to comment.