Skip to content

Commit 62dcacd

Browse files
danepowellfabpot
authored andcommitted
Fix Psalm errors
1 parent 1f7bc10 commit 62dcacd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/psalm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ jobs:
4949
git checkout composer.json
5050
git checkout -m ${{ github.base_ref }}
5151
52-
# to be removed when psalm adds support for intersection types
52+
# @todo intersection types are broken in Psalm
53+
# @see https://github.com/vimeo/psalm/issues/7520
5354
sed -i 's/Uuid&/Uuid|/' src/Symfony/Component/Uid/Factory/TimeBasedUuidFactory.php
55+
sed -i 's/Interface&/Interface|/' src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MigratingSessionHandler.php
5456
./vendor/bin/psalm.phar --set-baseline=.github/psalm/psalm.baseline.xml --no-progress
5557
git checkout -m FETCH_HEAD
5658

0 commit comments

Comments
 (0)