Skip to content

Commit 5ab9147

Browse files
committed
psalm 6 with its PHP reqs
1 parent 591bd69 commit 5ab9147

File tree

3 files changed

+9
-27
lines changed

3 files changed

+9
-27
lines changed

Diff for: .github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242
php_version:
4343
# - 7.2
4444
# - 7.3
45-
- 7.4
46-
- 8.0
45+
# - 7.4
46+
# - 8.0
4747
- 8.1
4848
- 8.2
4949
- 8.3
50-
# - 8.4
50+
- 8.4
5151
dependencies_level:
5252
- --prefer-lowest
5353
- ""

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"source": "https://github.com/mayflower/mo4-coding-standard"
2424
},
2525
"require": {
26-
"php": "~7.4 || ~8.0",
26+
"php": "~8.1",
2727
"dealerdirect/phpcodesniffer-composer-installer": "~0.7 || ~1.0",
2828
"escapestudios/symfony2-coding-standard": "^3.10.0",
2929
"slevomat/coding-standard": "^8.14",

Diff for: psalm-baseline.xml

+5-23
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<files psalm-version="dev-master@765dcbfe43002e52e4808b65561842784fe7bcc7">
3-
<file src="MO4/Sniffs/Formatting/AlphabeticalUseStatementsSniff.php">
4-
<PossiblyFalseArgument>
5-
<code><![CDATA[\substr($a, $min)]]></code>
6-
<code><![CDATA[\substr($b, $min)]]></code>
7-
</PossiblyFalseArgument>
8-
</file>
9-
<file src="MO4/Sniffs/Formatting/UnnecessaryNamespaceUsageSniff.php">
10-
<PossiblyFalseArgument>
11-
<code><![CDATA[$replacement]]></code>
12-
<code><![CDATA[$replacement]]></code>
13-
</PossiblyFalseArgument>
14-
</file>
15-
<file src="MO4/Sniffs/Strings/VariableInDoubleQuotedStringSniff.php">
16-
<PossiblyFalseArgument>
17-
<code><![CDATA[\substr($content, 0, $pos)]]></code>
18-
<code><![CDATA[\substr($content, 0, $pos)]]></code>
19-
<code><![CDATA[\substr($content, 0, $pos)]]></code>
20-
<code><![CDATA[\substr($content, 0, $pos)]]></code>
21-
</PossiblyFalseArgument>
22-
<PossiblyFalseOperand>
23-
<code><![CDATA[$after]]></code>
24-
<code><![CDATA[$before]]></code>
25-
</PossiblyFalseOperand>
3+
<file src="MO4/Library/PregLibrary.php">
4+
<ArgumentTypeCoercion>
5+
<code><![CDATA[$flags]]></code>
6+
<code><![CDATA[$pattern]]></code>
7+
</ArgumentTypeCoercion>
268
</file>
279
</files>

0 commit comments

Comments
 (0)