Skip to content

Commit 24d990b

Browse files
committed
Reproduce env int key problem
Ref phpstan/phpstan#10833
1 parent bdde2ed commit 24d990b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ jobs:
181181
OUTPUT=$(../../bin/phpstan 2>&1)
182182
grep 'Result cache might not behave correctly' <<< "$OUTPUT"
183183
grep 'ResultCache8E2E\\CustomRule' <<< "$OUTPUT"
184+
- script: |
185+
cd e2e/env-int-key
186+
env 1=1 ../../bin/phpstan analyse test.php
184187
185188
steps:
186189
- name: "Checkout"

e2e/env-int-key/test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php

0 commit comments

Comments
 (0)