File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11/vendor
22/.idea
3+ composer.lock
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ language: php
33php :
44 - 7.2
55 - 7.3
6+ - 7.4
67
78before_script :
89 - composer self-update
910 - composer install --prefer-source --no-interaction --dev
1011
11- script : phpunit
12+ script : vendor/bin/ phpunit
1213
1314notifications :
1415 email :
Original file line number Diff line number Diff line change 1111 ],
1212 "require" : {
1313 "php" : " >=7.2" ,
14- "illuminate/contracts" : " ^5.1. | ^6.0 | ^7.0 | ^8.0" ,
15- "illuminate/support" : " ^5.1 | ^6.0 | ^7.0 | ^8.0" ,
16- "illuminate/http" : " 5.1 | ^6.0 | ^7.0 | ^8.0"
14+ "illuminate/contracts" : " ^5.1| ^6.0| ^7.0| ^8.0" ,
15+ "illuminate/support" : " ^5.1| ^6.0| ^7.0| ^8.0" ,
16+ "illuminate/http" : " ^ 5.1| ^6.0| ^7.0| ^8.0"
1717 },
1818 "require-dev" : {
1919 "phpunit/phpunit" : " ^5.4" ,
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ class HttpPushTest extends PHPUnit_Framework_TestCase
1515 */
1616 protected $ instance ;
1717
18- public function setUp ()
18+ public function setUp (): void
1919 {
2020 $ this ->instance = new HttpPush ();
2121 }
2222
23- public function tearDown ()
23+ public function tearDown (): void
2424 {
2525 $ this ->instance ->clear ();
2626 parent ::tearDown ();
@@ -89,7 +89,7 @@ public function test_resource_generates_font_link_string()
8989 {
9090 $ this ->instance ->queueResource ('/assets/font/Roboto.woff ' , 'font ' );
9191
92- $ this ->assertEquals ('</assets/font/Roboto.woff>; rel=preload; as=font ' , $ this ->instance ->generateLinks ()[0 ]);
92+ $ this ->assertEquals ('</assets/font/Roboto.woff>; rel=preload; as=font; crossorigin ' , $ this ->instance ->generateLinks ()[0 ]);
9393 }
9494
9595 public function test_clear_resources ()
You can’t perform that action at this time.
0 commit comments