Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1836,6 +1836,20 @@ jobs:
extensions: ":curl"
- script: "bin/phpstan analyse -l 8 tests/e2e/anon-class/Granularity.php"
extensions: ""
- script: |
cd e2e/bug-11359
OUTPUT=$(../bashunit assert exit_code "1" "../../bin/phpstan analyse --no-progress --error-format raw --level=8 bug-11359.php")
echo "$OUTPUT"
../bashunit assert contains 'e2e/bug-11359/bug-11359.php:3:Function mb_ucfirst not found.' "$OUTPUT"
php-version: "8.2"
extensions: mbstring
- script: |
cd e2e/bug-11359
OUTPUT=$(../bashunit assert exit_code "0" "../../bin/phpstan analyse --no-progress --error-format raw --level=8 bug-11359.php")
echo "$OUTPUT"
../bashunit assert not_contains 'Function mb_ucfirst not found.' "$OUTPUT"
php-version: "8.4"
extensions: mbstring
- script: "bin/phpstan analyse -l 8 e2e/phpstan-phpunit-190/test.php -c e2e/phpstan-phpunit-190/test.neon"
extensions: ""
- script: "bin/phpstan analyse e2e/only-files-not-analysed-trait/src -c e2e/only-files-not-analysed-trait/ignore.neon"
Expand Down Expand Up @@ -2086,7 +2100,7 @@ jobs:
with:
coverage: ${{ matrix.coverage || 'none' }}
ini-values: ${{ matrix.ini-values || '' }}
php-version: "8.2"
php-version: ${{ matrix.php-version || '8.2' }}
tools: ${{ matrix.tools }}
extensions: ${{ matrix.extensions }}

Expand Down
3 changes: 3 additions & 0 deletions e2e/bug-11359/bug-11359.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php declare(strict_types = 1);

print mb_ucfirst('hello');
Loading