Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Apr 11, 2024
1 parent bf8d799 commit 8b27b69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Psalm/Internal/Fork/PsalmRestarter.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private static function toBytes(string $value): int
/**
* No type hint to allow xdebug-handler v1 and v2 usage
*
* @param string[] $command
* @param non-empty-list<string> $command
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint
*/
protected function restart($command): void
Expand Down Expand Up @@ -178,6 +178,7 @@ protected function restart($command): void
0,
$additional_options,
);
assert(count($command) > 0);

parent::restart($command);
}
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/SuicidalAutoloader/autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
Transliterator::class, // symfony/string
InstalledVersions::class, // composer v2
'Mockery\Closure', // Mockery/mockery 1.6.1
'Mockery\Matcher\TExpected', // Mockery/mockery, invalid template usage
'parent', // it's unclear why Psalm tries to autoload parent
'PHPUnit\Framework\ArrayAccess',
'PHPUnit\Framework\Countable',
Expand Down

0 comments on commit 8b27b69

Please sign in to comment.