mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5 * Update seld/phar-utils to latest * Add phpstan-setup / phpstan scripts
This commit is contained in:
parent
4b8585d767
commit
d3c176ec69
74 changed files with 395 additions and 547 deletions
|
@ -110,7 +110,7 @@ class InitCommandTest extends TestCase
|
|||
public function testNamespaceFromMissingPackageName()
|
||||
{
|
||||
$command = new InitCommand;
|
||||
$namespace = $command->namespaceFromPackageName(null);
|
||||
$namespace = $command->namespaceFromPackageName('');
|
||||
$this->assertNull($namespace);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue