Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpstan" version="1.9.12" installed="1.9.12" location="./tools/phpstan" copy="false"/>
<phar name="psalm" version="5.4.0" installed="5.4.0" location="./tools/psalm" copy="false"/>
<phar name="phpstan" version="1.10.14" installed="1.10.14" location="./tools/phpstan" copy="false"/>
<phar name="psalm" version="5.10.0" installed="5.10.0" location="./tools/psalm" copy="false"/>
</phive>
40 changes: 0 additions & 40 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.x-dev@">
<file src="src/Controller/MailPreviewController.php">
<PossiblyInvalidArgument occurrences="1">
<code>$partType</code>
</PossiblyInvalidArgument>
</file>
<file src="src/Database/Log/DebugLog.php">
<InternalProperty occurrences="1">
<code>$query-&gt;query</code>
</InternalProperty>
</file>
<file src="src/DebugInclude.php">
<PossiblyNullArrayOffset occurrences="2">
<code>$this-&gt;_composerPaths</code>
Expand All @@ -27,9 +17,6 @@
</PossiblyNullArrayOffset>
</file>
<file src="src/Mailer/MailPreview.php">
<DeprecatedTrait occurrences="1">
<code>ModelAwareTrait</code>
</DeprecatedTrait>
<PossiblyFalseOperand occurrences="1">
<code>$pos</code>
</PossiblyFalseOperand>
Expand All @@ -45,29 +32,10 @@
<code>new $className($config)</code>
</PropertyTypeCoercion>
</file>
<file src="src/Panel/DeprecationsPanel.php">
<InvalidScalarArgument occurrences="4">
<code>$pluginName</code>
<code>$return['plugins']</code>
<code>$return['vendor']</code>
<code>$vendorName</code>
</InvalidScalarArgument>
</file>
<file src="src/Panel/IncludePanel.php">
<InvalidScalarArgument occurrences="4">
<code>$pluginName</code>
<code>$return['plugins']</code>
<code>$return['vendor']</code>
<code>$vendorName</code>
</InvalidScalarArgument>
</file>
<file src="src/Panel/PanelRegistry.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>string|null</code>
</LessSpecificImplementedReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$class</code>
</MoreSpecificImplementedParamType>
<UnsafeInstantiation occurrences="1">
<code>new $class($this, $config)</code>
</UnsafeInstantiation>
Expand All @@ -78,19 +46,11 @@
</UndefinedInterfaceMethod>
</file>
<file src="src/View/Helper/ToolbarHelper.php">
<DeprecatedMethod occurrences="1">
<code>makeNeatArray</code>
</DeprecatedMethod>
<InternalClass occurrences="1">
<code>new HtmlFormatter()</code>
</InternalClass>
<InternalMethod occurrences="1">
<code>dump</code>
</InternalMethod>
<InvalidArgument occurrences="3">
<code>$currentAncestors</code>
<code>$value</code>
<code>$values</code>
</InvalidArgument>
</file>
</files>
3 changes: 3 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
autoloader="tests/bootstrap.php"
usePhpDocMethodsWithoutMagicCall="true"
errorBaseline="psalm-baseline.xml"
findUnusedPsalmSuppress="true"
findUnusedBaselineEntry="true"
findUnusedCode="false"
>
<projectFiles>
<directory name="src" />
Expand Down
1 change: 0 additions & 1 deletion src/Cache/Engine/DebugEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ public function __toString(): string
return str_replace('Engine', '', $class);
}

/** @psalm-suppress UndefinedMethod */
return $this->_config['className'];
}
}