diff --git a/.psalm/baseline.xml b/.psalm/baseline.xml index d1c65f4ebcd..269bac20426 100644 --- a/.psalm/baseline.xml +++ b/.psalm/baseline.xml @@ -1,88 +1,88 @@ - + - notify + - $file - $file - $file - $file - $file - $file - $file - $line - $line - $line - $line - $line - $line - $line - $message - $message - $message - $message - $message - $message - $message - $message + + + + + + + + + + + + + + + + + + + + + + - assert($test instanceof TestMethod) + - toString - toString - toString - toString + + + + - $calledMethods + - $calledMethods + - $calledMethods + - $calledMethods + - $calledMethods + - $calledMethods + - $calledMethods + - $methods + - $methodNames + @@ -92,66 +92,66 @@ - get_loaded_extensions + - fromSecondsAndNanoseconds + - fromBytes + - $tests + - $data + - dataFromDataProvider - dataFromDataProvider - hasDataFromDataProvider - hasDataFromDataProvider + + + + - $className - $className - $methodName + + + name()]]> name()]]> - Assert::assertStringNotMatchesFormat(...func_get_args()) - Assert::assertStringNotMatchesFormatFile(...func_get_args()) + + - Assert::anything(...func_get_args()) - Assert::directoryExists(...func_get_args()) - Assert::fileExists(...func_get_args()) - Assert::isEmpty(...func_get_args()) - Assert::isFalse(...func_get_args()) - Assert::isFinite(...func_get_args()) - Assert::isInfinite(...func_get_args()) - Assert::isJson(...func_get_args()) - Assert::isList(...func_get_args()) - Assert::isNan(...func_get_args()) - Assert::isNull(...func_get_args()) - Assert::isReadable(...func_get_args()) - Assert::isTrue(...func_get_args()) - Assert::isWritable(...func_get_args()) + + + + + + + + + + + + + + @@ -161,13 +161,13 @@ - toString + - toString - toString + + @@ -177,19 +177,19 @@ - getMethod + - toString + - hasProperty + - toString - toString + + @@ -202,7 +202,7 @@ - bool + @@ -212,15 +212,15 @@ - !$detectedEncoding + - toString + - $line + regularExpressionForFormatDescription( $this->convertNewlines($this->formatDescription), )]]> @@ -228,28 +228,28 @@ - toString + - toString + - $type + - toString + - $className - $methodName + + providedTests]]> @@ -260,14 +260,14 @@ - empty($methodName) + - $className - $methods - $type + + + render(), $className['className'])]]> - new UnknownTraitException($traitName) - new UnknownTraitException($traitName) + + - mockObjectForAbstractClass + - - $e - - getMethod - testDouble - testDouble - testDouble - testDouble - testDouble - testDouble - testDouble - testDouble + + + + + + + + + - - $method - $method - $method - - !$parameterStart - empty($methods) + + - - WSDL_CACHE_NONE - mockName]]> - class-string + @@ -342,18 +331,18 @@ mockName]]> - class-string + - mockObjectForAbstractClass - mockObjectForTrait + + - $object - $object - $object + + + @@ -363,12 +352,12 @@ - $configurableMethods + - MethodName + methodNameRule]]> @@ -376,45 +365,45 @@ - $returnType - $types + + newInstanceWithoutConstructor()]]> - MockObject + - $parameterVerificationResult + - $mockClassName - $originalClassName + + expectedException]]> - disableArgumentCloning - disallowMockingUnknownTypes - enableProxyingToOriginalMethods - generateClassFromWsdl - mockObjectForAbstractClass - mockObjectForTrait - objectForTrait + + + + + + + - getMethod + - $outputBufferingLevel + - $backupGlobalsExcludeList - $groups + + contains($testArgument)]]> @@ -425,13 +414,13 @@ output()]]> - $var + - bootstrap + - !$path + @@ -452,32 +441,32 @@ testSuiteTimes]]> - assert($test instanceof TestMethod) + - comparisonFailure - comparisonFailure + + - $flowId + - assert($test instanceof TestMethod) - assert($testSuite instanceof TestSuiteForTestClass) - assert($testSuite instanceof TestSuiteForTestMethodWithDataProvider) - assert($testSuite instanceof TestSuiteForTestMethodWithDataProvider) + + + + - $value + - $testResults + @@ -486,18 +475,15 @@ time]]> - assert($test instanceof TestMethod) + - - SoapClient - - $metadata instanceof CoversFunction - $metadata instanceof UsesFunction - assert($metadata instanceof Covers) - assert($metadata instanceof Uses) + + + + @@ -505,47 +491,47 @@ getCode()]]> - (int) $matches[0][1] + - !$docComment + - assert($metadata instanceof DependsOnClass) + - array_unique($groups) - array_unique($groups) + + ]]> - $metadata instanceof CoversFunction - $metadata instanceof UsesFunction - assert($metadata instanceof Covers) - assert($metadata instanceof Uses) + + + + - assert($metadata instanceof RequiresFunction) - assert($metadata instanceof RequiresMethod) - assert($metadata instanceof RequiresOperatingSystem) - assert($metadata instanceof RequiresOperatingSystemFamily) - assert($metadata instanceof RequiresPhp) - assert($metadata instanceof RequiresPhpExtension) - assert($metadata instanceof RequiresPhpunit) - assert($metadata instanceof RequiresSetting) + + + + + + + + - $metadata + @@ -584,36 +570,40 @@ * >]]> + [A-Za-z_-]+)(?:[ \t]+(?P.*?))?[ \t]*\r?$/m', $docBlock, $matches)]]> - $_className - $_className - $function - $function - $pieces[0] - $pieces[0] - $pieces[1] - $pieces[1] - $value - $value - $value - $value - $value - $value + + + + + + + + + + + + + + - trim($tmp[0]) - trim($tmp[1]) + + =']]> + + + @@ -625,55 +615,55 @@ - Driver - \SebastianBergmann\CodeCoverage\CodeCoverage + + - codeCoverageGenerationFailed - codeCoverageGenerationFailed - codeCoverageGenerationFailed - codeCoverageGenerationFailed - codeCoverageGenerationFailed - codeCoverageGenerationFailed - codeCoverageGenerationSucceeded - codeCoverageGenerationSucceeded - codeCoverageGenerationSucceeded - codeCoverageGenerationSucceeded - codeCoverageGenerationSucceeded - codeCoverageGenerationSucceeded - coverageCacheDirectory - coverageClover - coverageCobertura - coverageCrap4j - coverageHtml - coverageHtmlCustomCssFile - coveragePhp - coverageText - coverageText - coverageXml + + + + + + + + + + + + + + + + + + + + + + codeCoverage]]> driver]]> - start + - $errorFile - $errorLine - $errorString + + + - Issue::from($file, $line, null, $description) - Issue::from($file, $line, null, $description) + + - GroupFilterIterator + groupTests]]> @@ -681,11 +671,11 @@ - $filter + filter]]> - NameFilterIterator + filter]]> @@ -693,20 +683,20 @@ - TestIdFilterIterator + - RawCodeCoverageData::fromXdebugWithoutPathCoverage([]) - RawCodeCoverageData::fromXdebugWithoutPathCoverage([]) + + - RawCodeCoverageData::fromXdebugWithoutPathCoverage([]) - RawCodeCoverageData::fromXdebugWithoutPathCoverage([]) + + - bootstrap + @@ -716,22 +706,25 @@ - $setting[1] + + + + - assert($testSuite instanceof TestSuiteForTestMethodWithDataProvider) + - require_once $suiteClassFile + - $tests + randomize($suite->tests())]]> resolveDependencies($tests)]]> reverse($suite->tests())]]> @@ -745,7 +738,7 @@ generateBaseline()]]> - nameAndVersion + logfileJunit())]]> logfileJunit())]]> - atLeastVersion - build - configurationFile - listTestsXml - logEventsText - logEventsText - logEventsText - logEventsVerboseText - logEventsVerboseText - logEventsVerboseText - logfileJunit - logfileTeamcity + + + + + + + + + + + + - !$configurationFile - !$configurationFile + + - include_once $filename + - Registry::init( + + )]]> - $configurationFile + - $options[1] - $parameters - $testSuffixes + + + - bool - string + + excludeTestSuite]]> @@ -807,13 +800,13 @@ - configurationFile - configurationFile - configurationFile + + + - $candidate - $candidate + + @@ -826,7 +819,7 @@ ]]> - $columns + excludeGroups)]]> @@ -837,8 +830,8 @@ - baseline - detect + + @@ -847,93 +840,93 @@ - assert($xmlConfiguration instanceof LoadedFromFileConfiguration) + - $candidate + - $result + - $files - $source - $source - $source - $source + + + + + - !$file - !$file - !$file - !$file + + + + - \PHPUnit\Event\TestSuite\TestSuiteBuilder::from($testSuite) + - !$argument + - $constants + - $directories + - $extensionBootstraps + - $files + - $directories + - $groups + - $iniSettings + - $directories + - $files + - $testSuites + - $variables + @@ -943,53 +936,23 @@ getAttribute('phpVersionOperator')]]> - assert($directoryNode instanceof DOMElement) - assert($fileNode instanceof DOMElement) + + - !$verbatim + getBoolean($document->documentElement->getAttribute('colors'), false)]]> - - - createElement - - - - - createElement - - - - - createElement - - - - - createElement - - - - - createElement - - - - - createElement - - - removeChild + - removeChild - removeChild + + @@ -1000,21 +963,21 @@ - assert($test instanceof TestMethod) - assert($test instanceof TestMethod) + + - Printer + - DefaultPrinter::standardError() - DefaultPrinter::standardError() - DefaultPrinter::standardOutput() - DefaultPrinter::standardOutput() - DefaultPrinter::standardOutput() - DefaultPrinter::standardOutput() + + + + + + - self::$printer + @@ -1049,36 +1012,36 @@ - self::$directories - self::$directories - self::$directories + + + - !$file - !$file - $file + + + - is_array($envVar) + - $_SERVER + tempFile = tempnam(sys_get_temp_dir(), 'phpunit_'))]]> tempFile]]> - [] + - $filter + @@ -1086,7 +1049,7 @@ ', 'gt', '>=', 'ge', '==', '=', 'eq', '!=', '<>', 'ne'], true)]]> - $operator +