Skip to content

Commit 9e128bf

Browse files
committed
Add dependencies
1 parent 101e847 commit 9e128bf

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
install:
1717
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
1818
- composer require "phpstan/phpstan" "friendsofphp/php-cs-fixer:^2.8"
19+
# depencencies for phpstan
20+
- composer require --dev "symfony/symfony" "laravel/framework" "drupal/drupal"
1921
script:
2022
# Static analyzer check
2123
- ./vendor/bin/phpstan analyze -c .phpstan.neon --level=4 --no-progress Bootstraps Bridges Laravel

Bootstraps/Symfony.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class Symfony implements BootstrapInterface, HooksInterface, ApplicationEnvironm
2525
/**
2626
* Instantiate the bootstrap, storing the $appenv
2727
*
28-
* @param $appenv
29-
* @param $debug
28+
* @param string $appenv
29+
* @param boolean $debug
3030
*/
3131
public function initialize($appenv, $debug)
3232
{

Bridges/HttpKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ protected function mapResponse(SymfonyResponse $syResponse, $stdout='')
315315
}
316316

317317
/**
318-
* @param $appBootstrap
318+
* @param string $appBootstrap
319319
* @return string
320320
* @throws \RuntimeException
321321
*/

0 commit comments

Comments
 (0)