File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ matrix:
18
18
before_script :
19
19
- composer self-update
20
20
- composer install --no-interaction
21
- - travis_retry composer require laravel/framework;
21
+ - travis_retry composer require laravel/framework laravel/lumen-framework ;
22
22
script :
23
23
- composer test:travis
Original file line number Diff line number Diff line change 1
1
parameters :
2
- ignoreErrors :
3
- # Ignore type errors for passing a Mock
4
- - ' #.*MockObject given.* #'
5
- - ' #.*MockInterface given.* #'
6
- - ' #.*does not accept PHPUnit\\Framework\\MockObject\\MockObject.* #'
7
2
excludes_analyse :
8
3
- %rootDir%/../../../config/*
Original file line number Diff line number Diff line change 6
6
7
7
use HelpScout \Api \ApiClient ;
8
8
use HelpScout \Api \ApiClientFactory ;
9
+ use Illuminate \Foundation \Application as LaravelApplication ;
9
10
use Illuminate \Support \ServiceProvider ;
11
+ use Laravel \Lumen \Application as LumenApplication ;
10
12
11
13
class HelpScoutServiceProvider extends ServiceProvider
12
14
{
Original file line number Diff line number Diff line change 8
8
use HelpScout \Api \Workflows \WorkflowsEndpoint ;
9
9
use HelpScout \Laravel \HelpScoutFacade as HelpScout ;
10
10
use HelpScout \Laravel \HelpScoutServiceProvider ;
11
- use Illuminate \Contracts \Container \ Container ;
11
+ use Illuminate \Contracts \Foundation \ Application ;
12
12
use PHPUnit \Framework \TestCase ;
13
13
14
14
abstract class ServiceProviderTest extends TestCase
15
15
{
16
+ /**
17
+ * @var Application
18
+ */
16
19
protected $ app ;
17
20
18
21
public function setUp ()
@@ -25,7 +28,7 @@ public function setUp()
25
28
}
26
29
27
30
/**
28
- * @return Container
31
+ * @return Application
29
32
*/
30
33
abstract protected function setupApplication ();
31
34
You can’t perform that action at this time.
0 commit comments