We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abc4210 commit 890cfbfCopy full SHA for 890cfbf
2 files changed
psalm.xml
@@ -0,0 +1,15 @@
1
+<?xml version="1.0"?>
2
+<psalm
3
+ errorLevel="5"
4
+ resolveFromConfigFile="true"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6
+ xmlns="https://getpsalm.org/schema/config"
7
+ xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8
+>
9
+ <projectFiles>
10
+ <directory name="src" />
11
+ <ignoreFiles>
12
+ <directory name="vendor" />
13
+ </ignoreFiles>
14
+ </projectFiles>
15
+</psalm>
src/Plugin.php
@@ -265,6 +265,6 @@ public function getPrimaryNamespace(PackageInterface $package)
265
);
266
}
267
268
- return trim($primaryNs, '\\');
+ return trim((string)$primaryNs, '\\');
269
270
0 commit comments