Require phpstan and correct issues found up to level 2

* issues found by phpstan L0
* issues found by phpstan L1
* issues found by phpstan L2 in src/
* issues found by phpstan L2 in tests/
This commit is contained in:
Martin Hujer
2017-11-10 10:36:50 +01:00
committed by Ben Ramsey
parent 1eccd070c2
commit ca2629767d
23 changed files with 106 additions and 37 deletions
@@ -267,8 +267,8 @@ class SystemNodeProviderTest extends TestCase
*
* @dataProvider provideCommandPerOs
*
* @param $os
* @param $command
* @param string $os
* @param string $command
*/
public function testGetNodeGetsNetworkInterfaceConfig($os, $command)
{
@@ -369,8 +369,8 @@ class SystemNodeProviderTest extends TestCase
*
* @dataProvider provideCommandPerOs
*
* @param $os
* @param $command
* @param string $os
* @param string $command
*/
public function testCallGetsysfsOnLinux($os, $command)
{