Skip to content

Commit 34180d4

Browse files
committed
Fix some bugs detected with phpstan
1 parent cecd4a3 commit 34180d4

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

src/Script/Configuration.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ class Configuration
2525
*/
2626
private $composerBinDirectory;
2727

28+
/**
29+
* @var Mode
30+
*/
31+
private $mode;
32+
2833
/**
2934
* @param Composer $composer
3035
* @param Mode $mode

tests/Script/Processor/CleanUpTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Tooly\Tests\Scrip\Processor;
3+
namespace Tooly\Tests\Script\Processor;
44

55
use Composer\IO\ConsoleIO;
66
use Composer\Util\Silencer;

tests/Script/Processor/ProcessTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Tooly\Tests\Scrip\Processor;
3+
namespace Tooly\Tests\Script\Processor;
44

55
use Composer\IO\ConsoleIO;
66
use org\bovigo\vfs\vfsStream;

tests/Script/Processor/SymlinkTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Tooly\Tests\Scrip\Processor;
3+
namespace Tooly\Tests\Script\Processor;
44

55
use Composer\IO\ConsoleIO;
66
use Tooly\Factory\ToolFactory;

0 commit comments

Comments
 (0)