We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87636a commit c2352cbCopy full SHA for c2352cb
2 files changed
lib/CacheListener.php
@@ -33,7 +33,9 @@ public function onCacheEvent(ICacheEvent $event): void {
33
if (!$storage->instanceOfStorage(Jail::class)) {
34
return;
35
}
36
- if ($path = $storage->getJailedPath($event->getPath())) {
+ /** @var Jail $storage */
37
+ $path = $storage->getJailedPath($event->getPath());
38
+ if ($path !== null) {
39
$event->setPath($path);
40
41
psalm.xml
@@ -130,6 +130,7 @@
130
<issueHandlers>
131
<LessSpecificReturnType errorLevel="error"/>
132
<PossiblyNullOperand errorLevel="error"/>
133
+ <ClassMustBeFinal errorLevel="suppress" />
134
</issueHandlers>
135
<plugins>
136
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
0 commit comments