From 9d22ed462e36a8fa39c3d632f26693262a2e0aa1 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 17 Jan 2024 12:57:19 +0100 Subject: [PATCH] Bump baseline --- .psalm/baseline.xml | 98 ++++++++++++++++++++++++----- .psalm/static-analysis-baseline.xml | 10 +-- 2 files changed, 83 insertions(+), 25 deletions(-) diff --git a/.psalm/baseline.xml b/.psalm/baseline.xml index 10aa8603c5c..d1c65f4ebcd 100644 --- a/.psalm/baseline.xml +++ b/.psalm/baseline.xml @@ -1,5 +1,5 @@ - + notify @@ -89,9 +89,6 @@ - - - @@ -108,18 +105,6 @@ fromBytes - - - - - - - - - - - - $tests @@ -226,6 +211,9 @@ + + !$detectedEncoding + toString @@ -270,6 +258,11 @@ ]]> + + + empty($methodName) + + $className @@ -307,6 +300,10 @@ $method $method + + !$parameterStart + empty($methods) + WSDL_CACHE_NONE @@ -419,6 +416,9 @@ $backupGlobalsExcludeList $groups + + contains($testArgument)]]> + @@ -430,6 +430,9 @@ bootstrap + + !$path + @@ -504,6 +507,9 @@ (int) $matches[0][1] + + !$docComment + @@ -577,6 +583,10 @@ * string|array{version: string, operator: string}|array{constraint: string}|array * >]]> + + + [A-Za-z_-]+)(?:[ \t]+(?P.*?))?[ \t]*\r?$/m', $docBlock, $matches)]]> + @@ -701,6 +711,10 @@ + + + + $setting[1] @@ -755,6 +769,10 @@ logfileJunit logfileTeamcity + + !$configurationFile + !$configurationFile + include_once $filename @@ -766,6 +784,9 @@ $xmlConfiguration, ) + + $configurationFile + @@ -790,6 +811,10 @@ configurationFile configurationFile + + $candidate + $candidate + @@ -803,18 +828,35 @@ $columns + + excludeGroups)]]> + groups)]]> + testsCovering)]]> + testsUsing)]]> + baseline detect + + + assert($xmlConfiguration instanceof LoadedFromFileConfiguration) + + $candidate + + + + + $result + @@ -824,11 +866,20 @@ $source $source + + !$file + !$file + !$file + !$file + \PHPUnit\Event\TestSuite\TestSuiteBuilder::from($testSuite) + + !$argument + @@ -895,6 +946,10 @@ assert($directoryNode instanceof DOMElement) assert($fileNode instanceof DOMElement) + + !$verbatim + getBoolean($document->documentElement->getAttribute('colors'), false)]]> + @@ -999,6 +1054,13 @@ self::$directories + + + !$file + !$file + $file + + is_array($envVar) @@ -1006,6 +1068,10 @@ $_SERVER + + tempFile = tempnam(sys_get_temp_dir(), 'phpunit_'))]]> + tempFile]]> + [] diff --git a/.psalm/static-analysis-baseline.xml b/.psalm/static-analysis-baseline.xml index 9e360892bb9..2698f71095f 100644 --- a/.psalm/static-analysis-baseline.xml +++ b/.psalm/static-analysis-baseline.xml @@ -1,16 +1,8 @@ - - - - TestUsingCallbacks - - + createTestProxy - - TestUsingMocks -