Skip to content

Commit 7591758

Browse files
committed
Test Symplify in integration tests
1 parent ad73e92 commit 7591758

4 files changed

Lines changed: 9106 additions & 0 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,14 @@ jobs:
138138
git checkout f5d8c215569fe5dd22f7236795a353002c0ae58a
139139
composer install
140140
../../../phpstan analyse -c ../magento-testcase.neon
141+
- php-version: 8.1
142+
script: |
143+
git clone https://github.com/symplify/symplify.git e2e/integration/repo
144+
cd e2e/integration/repo
145+
git checkout 1bc2ca86613da4d86198d3ca33a2d76805daf568
146+
cp ../symplify-composer.lock composer.lock
147+
composer install
148+
../../../phpstan analyse -c ../symplify.neon
141149
142150
steps:
143151
- name: "Checkout"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^On passing a constant, the method should have an enum type\\. See https\\://phpstan\\.org/writing\\-php\\-code/phpdoc\\-types\\#literals\\-and\\-constants$#"
5+
count: 1
6+
path: repo/packages/phpstan-rules/src/TypeAnalyzer/CallableTypeAnalyzer.php

0 commit comments

Comments
 (0)