1
0
Fork 0
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:
Jordi Boggiano 2021-08-21 17:41:52 +02:00 committed by GitHub
parent 4b8585d767
commit d3c176ec69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
74 changed files with 395 additions and 547 deletions

View file

@ -110,7 +110,7 @@ class InitCommandTest extends TestCase
public function testNamespaceFromMissingPackageName()
{
$command = new InitCommand;
$namespace = $command->namespaceFromPackageName(null);
$namespace = $command->namespaceFromPackageName('');
$this->assertNull($namespace);
}
}