296 lines
11 KiB
XML
296 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<files psalm-version="5.18.0@b113f3ed0259fd6e212d87c3df80eec95a6abf19">
|
|
<file src="src/MezzioInstaller/OptionalPackages.php">
|
|
<ArgumentTypeCoercion>
|
|
<code><![CDATA[$this->stabilityFlags]]></code>
|
|
</ArgumentTypeCoercion>
|
|
<MixedArgument>
|
|
<code>$answer</code>
|
|
<code>$constraint</code>
|
|
<code>$filename</code>
|
|
<code>$filename</code>
|
|
<code>$package</code>
|
|
<code>$target</code>
|
|
<code><![CDATA[$this->composerDefinition['autoload']]]></code>
|
|
<code><![CDATA[$this->composerDefinition['autoload-dev']]]></code>
|
|
<code>$word</code>
|
|
</MixedArgument>
|
|
<MixedArgumentTypeCoercion>
|
|
<code>$package</code>
|
|
</MixedArgumentTypeCoercion>
|
|
<MixedArrayAccess>
|
|
<code><![CDATA[$this->composerDefinition['autoload']['psr-4']]]></code>
|
|
<code><![CDATA[$this->composerDefinition['autoload']['psr-4']['MezzioInstaller\\']]]></code>
|
|
<code><![CDATA[$this->composerDefinition['autoload-dev']['psr-4']]]></code>
|
|
<code><![CDATA[$this->composerDefinition['autoload-dev']['psr-4']['MezzioInstallerTest\\']]]></code>
|
|
<code><![CDATA[$this->composerDefinition['scripts']['pre-install-cmd']]]></code>
|
|
<code><![CDATA[$this->composerDefinition['scripts']['pre-update-cmd']]]></code>
|
|
</MixedArrayAccess>
|
|
<MixedArrayAssignment>
|
|
<code><![CDATA[$this->composerDefinition['autoload']['psr-4']]]></code>
|
|
<code><![CDATA[$this->composerDefinition['autoload']['psr-4']['App\\']]]></code>
|
|
<code><![CDATA[$this->composerDefinition['require'][$packageName]]]></code>
|
|
<code><![CDATA[$this->composerDefinition['require-dev'][$packageName]]]></code>
|
|
<code><![CDATA[$this->composerDefinition['scripts']['cs-check']]]></code>
|
|
<code><![CDATA[$this->composerDefinition['scripts']['cs-fix']]]></code>
|
|
</MixedArrayAssignment>
|
|
<MixedAssignment>
|
|
<code>$answer</code>
|
|
<code>$answer</code>
|
|
<code>$constraint</code>
|
|
<code>$fileInfo</code>
|
|
<code>$filename</code>
|
|
<code>$package</code>
|
|
<code>$target</code>
|
|
<code><![CDATA[$this->composerDefinition]]></code>
|
|
</MixedAssignment>
|
|
<MixedMethodCall>
|
|
<code>isDir</code>
|
|
</MixedMethodCall>
|
|
<MixedPropertyTypeCoercion>
|
|
<code><![CDATA[$this->composerDefinition]]></code>
|
|
<code><![CDATA[$this->composerDefinition]]></code>
|
|
<code><![CDATA[$this->composerDefinition]]></code>
|
|
</MixedPropertyTypeCoercion>
|
|
<NoValue>
|
|
<code><![CDATA[$this->installType]]></code>
|
|
</NoValue>
|
|
<PossiblyInvalidArgument>
|
|
<code>$resource</code>
|
|
</PossiblyInvalidArgument>
|
|
<PossiblyInvalidIterator>
|
|
<code><![CDATA[$question['options'][$answer][$this->installType]]]></code>
|
|
</PossiblyInvalidIterator>
|
|
<PossiblyNullArgument>
|
|
<code>$content</code>
|
|
</PossiblyNullArgument>
|
|
<PossiblyUnusedMethod>
|
|
<code>install</code>
|
|
</PossiblyUnusedMethod>
|
|
<PropertyTypeCoercion>
|
|
<code><![CDATA[require __DIR__ . '/config.php']]></code>
|
|
</PropertyTypeCoercion>
|
|
</file>
|
|
<file src="test/AppTest/Handler/PingHandlerTest.php">
|
|
<MixedArgument>
|
|
<code>$json</code>
|
|
</MixedArgument>
|
|
<MixedAssignment>
|
|
<code>$json</code>
|
|
</MixedAssignment>
|
|
<MixedPropertyFetch>
|
|
<code><![CDATA[$json->ack]]></code>
|
|
</MixedPropertyFetch>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/AddPackageTest.php">
|
|
<MixedArgument>
|
|
<code>$stabilityFlags</code>
|
|
</MixedArgument>
|
|
<MixedAssignment>
|
|
<code>$stabilityFlags</code>
|
|
</MixedAssignment>
|
|
<MixedInferredReturnType>
|
|
<code>array</code>
|
|
</MixedInferredReturnType>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/ContainersTest.php">
|
|
<MixedArgument>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
</MixedArgument>
|
|
<MixedArrayAccess>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
</MixedArrayAccess>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/ErrorHandlerTest.php">
|
|
<MixedArgument>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['error-handler']]]></code>
|
|
</MixedArgument>
|
|
<MixedArrayAccess>
|
|
<code><![CDATA[$config['dependencies']]]></code>
|
|
<code><![CDATA[$config['dependencies']['factories']]]></code>
|
|
<code><![CDATA[$config['dependencies']['factories'][ErrorResponseGenerator::class]]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['error-handler']]]></code>
|
|
</MixedArrayAccess>
|
|
<MixedAssignment>
|
|
<code>$config</code>
|
|
</MixedAssignment>
|
|
<MixedInferredReturnType>
|
|
<code>array</code>
|
|
</MixedInferredReturnType>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/HomePageResponseTest.php">
|
|
<MixedArgument>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
<code><![CDATA[$config['questions']['template-engine']]]></code>
|
|
</MixedArgument>
|
|
<MixedArrayAccess>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
<code><![CDATA[$config['questions']['template-engine']]]></code>
|
|
</MixedArrayAccess>
|
|
<MoreSpecificReturnType>
|
|
<code><![CDATA[Generator<string, array{
|
|
* 0: OptionalPackages::INSTALL_*,
|
|
* 1: int,
|
|
* 2: int,
|
|
* 3: class-string<TemplateRendererInterface>,
|
|
* 4: string,
|
|
* 5: string
|
|
* }>]]></code>
|
|
<code><![CDATA[Generator<string, array{
|
|
* 0: OptionalPackages::INSTALL_*,
|
|
* 1: int,
|
|
* 2: string,
|
|
* 3: string,
|
|
* 4: int,
|
|
* 5: class-string<RouterInterface>,
|
|
* 6: string,
|
|
* 7: string
|
|
* }>]]></code>
|
|
</MoreSpecificReturnType>
|
|
<PossiblyInvalidArrayOffset>
|
|
<code>self::$expectedContainerAttributes[$containerClass]</code>
|
|
<code>self::$expectedContainerAttributes[$containerClass]</code>
|
|
<code>self::$expectedRouterAttributes[$routerClass]</code>
|
|
<code>self::$rendererConfigProviders[$rendererClass]</code>
|
|
<code>self::$routerConfigProviders[$routerClass]</code>
|
|
</PossiblyInvalidArrayOffset>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/OptionalPackagesTestCase.php">
|
|
<MixedArgument>
|
|
<code><![CDATA[$properties['devDependencies']]]></code>
|
|
<code><![CDATA[$r->getValue($installer)]]></code>
|
|
<code><![CDATA[$r->getValue($installer)]]></code>
|
|
<code>$whitelist</code>
|
|
</MixedArgument>
|
|
<MixedArrayAccess>
|
|
<code><![CDATA[$composerJson['require']]]></code>
|
|
<code><![CDATA[$composerJson['require-dev']]]></code>
|
|
<code><![CDATA[$r->getValue($installer)['extra']]]></code>
|
|
</MixedArrayAccess>
|
|
<MixedAssignment>
|
|
<code>$composerJson</code>
|
|
<code>$whitelist</code>
|
|
</MixedAssignment>
|
|
<MixedInferredReturnType>
|
|
<code>array</code>
|
|
<code>array</code>
|
|
</MixedInferredReturnType>
|
|
<MixedReturnStatement>
|
|
<code><![CDATA[$this->getInstallerProperty($installer, 'composerDefinition')]]></code>
|
|
<code><![CDATA[$this->getInstallerProperty($installer, 'config')]]></code>
|
|
</MixedReturnStatement>
|
|
<PossiblyUnusedProperty>
|
|
<code>$composerData</code>
|
|
</PossiblyUnusedProperty>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/ProcessAnswersTest.php">
|
|
<MixedArgument>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
</MixedArgument>
|
|
<MixedArrayAccess>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['template-engine']]]></code>
|
|
</MixedArrayAccess>
|
|
<MixedAssignment>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
<code>$question</code>
|
|
</MixedAssignment>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/ProjectSandboxTrait.php">
|
|
<MixedArgumentTypeCoercion>
|
|
<code><![CDATA[$this->autoloader]]></code>
|
|
</MixedArgumentTypeCoercion>
|
|
<MixedAssignment>
|
|
<code><![CDATA[$this->container]]></code>
|
|
</MixedAssignment>
|
|
<MixedInferredReturnType>
|
|
<code>ContainerInterface</code>
|
|
</MixedInferredReturnType>
|
|
<UnresolvableInclude>
|
|
<code>require $path</code>
|
|
</UnresolvableInclude>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/RemoveDevDependenciesTest.php">
|
|
<MixedAssignment>
|
|
<code><![CDATA[$this->devDependencies]]></code>
|
|
</MixedAssignment>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/RequestInstallTypeTest.php">
|
|
<MixedInferredReturnType>
|
|
<code>array</code>
|
|
</MixedInferredReturnType>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/RoutersTest.php">
|
|
<MixedArgument>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
</MixedArgument>
|
|
<MixedArrayAccess>
|
|
<code><![CDATA[$config['dependencies']]]></code>
|
|
<code><![CDATA[$config['dependencies'][$dependencyKey]]]></code>
|
|
<code><![CDATA[$config['dependencies'][$dependencyKey][RouterInterface::class]]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
</MixedArrayAccess>
|
|
<MixedAssignment>
|
|
<code>$config</code>
|
|
</MixedAssignment>
|
|
<MixedInferredReturnType>
|
|
<code>array</code>
|
|
</MixedInferredReturnType>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/SetupDataAndCacheDirTest.php">
|
|
<UnusedProperty>
|
|
<code>$project</code>
|
|
</UnusedProperty>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/TemplateRenderersTest.php">
|
|
<MixedArgument>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
<code><![CDATA[$config['questions']['template-engine']]]></code>
|
|
</MixedArgument>
|
|
<MixedArrayAccess>
|
|
<code><![CDATA[$config['dependencies']]]></code>
|
|
<code><![CDATA[$config['dependencies']['factories']]]></code>
|
|
<code><![CDATA[$config['dependencies']['factories'][ErrorHandler::class]]]></code>
|
|
<code><![CDATA[$config['questions']['container']]]></code>
|
|
<code><![CDATA[$config['questions']['router']]]></code>
|
|
<code><![CDATA[$config['questions']['template-engine']]]></code>
|
|
</MixedArrayAccess>
|
|
<MixedAssignment>
|
|
<code>$config</code>
|
|
</MixedAssignment>
|
|
</file>
|
|
<file src="test/MezzioInstallerTest/UpdateRootPackageTest.php">
|
|
<MixedArgumentTypeCoercion>
|
|
<code>$property</code>
|
|
</MixedArgumentTypeCoercion>
|
|
</file>
|
|
</files>
|