File tree Expand file tree Collapse file tree 5 files changed +14
-21
lines changed Expand file tree Collapse file tree 5 files changed +14
-21
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 7.1
5
4
- 7.2
5
+ - 7.3
6
+ - 7.4
6
7
7
8
before_script : composer install
8
9
Original file line number Diff line number Diff line change 11
11
],
12
12
"minimum-stability" : " stable" ,
13
13
"require" : {
14
- "php" : " >=7.1 " ,
14
+ "php" : " >=7.2 " ,
15
15
"guzzlehttp/guzzle" : " ^6.2" ,
16
- "illuminate/http" : " ^5.4 " ,
17
- "illuminate/support" : " ^5.4 " ,
18
- "nesbot/carbon" : " ^1.22 || ^ 2.0" ,
16
+ "illuminate/http" : " ^6.0 " ,
17
+ "illuminate/support" : " ^6.0 " ,
18
+ "nesbot/carbon" : " ^2.0" ,
19
19
"ramsey/uuid" : " ^3.6"
20
20
},
21
21
"require-dev" : {
22
- "jshayes/fake-requests" : " ^2 .0" ,
23
- "mockery/mockery" : " ^0.9.9 " ,
24
- "orchestra/testbench" : " ^3.4 " ,
25
- "phpunit/phpunit" : " ^6 .0" ,
22
+ "jshayes/fake-requests" : " ^3 .0" ,
23
+ "mockery/mockery" : " ^1.0 " ,
24
+ "orchestra/testbench" : " ^4.0 " ,
25
+ "phpunit/phpunit" : " ^8 .0" ,
26
26
"satooshi/php-coveralls" : " ^1.0"
27
27
},
28
28
"autoload" : {
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function fromInteger($integer)
57
57
});
58
58
}
59
59
60
- protected function setUp ()
60
+ protected function setUp (): void
61
61
{
62
62
parent ::setUp ();
63
63
Original file line number Diff line number Diff line change 2
2
3
3
namespace Tests ;
4
4
5
+ use Illuminate \Support \Str ;
5
6
use Orchestra \Testbench \TestCase as Base ;
6
7
use SoapBox \SignedRequests \ServiceProvider ;
7
8
@@ -20,8 +21,8 @@ public function it_publishes_configurations_when_it_is_booted()
20
21
$ this ->assertNotEmpty ($ publishes );
21
22
22
23
foreach ($ publishes as $ key => $ value ) {
23
- $ this ->assertTrue (ends_with ($ key , 'signed-requests.php ' ));
24
- $ this ->assertTrue (ends_with ($ value , 'signed-requests.php ' ));
24
+ $ this ->assertTrue (Str:: endsWith ($ key , 'signed-requests.php ' ));
25
+ $ this ->assertTrue (Str:: endsWith ($ value , 'signed-requests.php ' ));
25
26
}
26
27
}
27
28
}
Original file line number Diff line number Diff line change 7
7
8
8
abstract class TestCase extends Base
9
9
{
10
- /**
11
- * @before
12
- */
13
- protected function setUpMockery ()
14
- {
15
- Mockery::getConfiguration ()->allowMockingNonExistentMethods (false );
16
- Mockery::getConfiguration ()->allowMockingMethodsUnnecessarily (false );
17
- }
18
-
19
10
/**
20
11
* @after
21
12
*/
You can’t perform that action at this time.
0 commit comments