Skip to content

Commit cbd0451

Browse files
committed
update stan
1 parent d6dfe20 commit cbd0451

File tree

4 files changed

+45
-4
lines changed

4 files changed

+45
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- name: Setup PHP
9898
uses: shivammathur/setup-php@v2
9999
with:
100-
php-version: '8.2'
100+
php-version: '8.3'
101101
extensions: mbstring, intl
102102
coverage: none
103103
tools: phive, cs2pr

.phive/phars.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpstan" version="2.0.1" installed="2.0.1" location="./tools/phpstan" copy="false"/>
4-
<phar name="psalm" version="5.26.1" installed="5.26.1" location="./tools/psalm" copy="false"/>
3+
<phar name="phpstan" version="2.1.17" installed="2.1.17" location="./tools/phpstan" copy="false"/>
4+
<phar name="psalm" version="6.12.0" installed="6.12.0" location="./tools/psalm" copy="false"/>
55
</phive>

psalm-baseline.xml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,48 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="5.14.1@b9d355e0829c397b9b3b47d0c0ed042a8a70284d">
2+
<files psalm-version="6.12.0@cf420941d061a57050b6c468ef2c778faf40aee2">
3+
<file src="src/CakeDumpSqlPlugin.php">
4+
<ClassMustBeFinal>
5+
<code><![CDATA[CakeDumpSqlPlugin]]></code>
6+
</ClassMustBeFinal>
7+
</file>
8+
<file src="src/Command/DumpSqlCommand.php">
9+
<ClassMustBeFinal>
10+
<code><![CDATA[DumpSqlCommand]]></code>
11+
</ClassMustBeFinal>
12+
</file>
13+
<file src="src/Error/BinaryNotFoundException.php">
14+
<ClassMustBeFinal>
15+
<code><![CDATA[BinaryNotFoundException]]></code>
16+
</ClassMustBeFinal>
17+
</file>
18+
<file src="src/Error/UnknownDriverException.php">
19+
<ClassMustBeFinal>
20+
<code><![CDATA[UnknownDriverException]]></code>
21+
</ClassMustBeFinal>
22+
</file>
23+
<file src="src/Error/VersionMismatchException.php">
24+
<ClassMustBeFinal>
25+
<code><![CDATA[VersionMismatchException]]></code>
26+
</ClassMustBeFinal>
27+
</file>
28+
<file src="src/Sql/MySQL.php">
29+
<ClassMustBeFinal>
30+
<code><![CDATA[MySQL]]></code>
31+
</ClassMustBeFinal>
32+
</file>
33+
<file src="src/Sql/PostgreSQL.php">
34+
<ClassMustBeFinal>
35+
<code><![CDATA[PostgreSQL]]></code>
36+
</ClassMustBeFinal>
37+
</file>
338
<file src="src/Sql/SqlBase.php">
439
<ForbiddenCode>
540
<code><![CDATA[shell_exec("$test $command")]]></code>
641
</ForbiddenCode>
742
</file>
43+
<file src="src/Sql/Sqlite.php">
44+
<ClassMustBeFinal>
45+
<code><![CDATA[Sqlite]]></code>
46+
</ClassMustBeFinal>
47+
</file>
848
</files>

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
1111
autoloader="tests/bootstrap.php"
1212
errorBaseline="psalm-baseline.xml"
13+
ensureOverrideAttribute="false"
1314
>
1415
<projectFiles>
1516
<directory name="src" />

0 commit comments

Comments
 (0)