Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproduce bug 8538 #9093

Open
wants to merge 2 commits into
base: 1.10.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/other-tests.yml
Expand Up @@ -365,6 +365,13 @@ jobs:
cp ../../phpstan.phar vendor/phpstan/phpstan/phpstan.phar
cp ../../bootstrap.php vendor/phpstan/phpstan/bootstrap.php
vendor/bin/phpunit tests
- php-version: 8.2
ini-values: memory_limit=256M
extensions: :mbstring # disables mbstring
operating-system: ubuntu-latest
script: |
cd e2e/bug8538
../../phpstan analyze bug8538.php

steps:
- name: "Checkout"
Expand Down
5 changes: 5 additions & 0 deletions e2e/bug8538/bug8538.php
@@ -0,0 +1,5 @@
<?php

namespace Bug8538;

echo sprintf('Section: %s%s', strtoupper("Something"), PHP_EOL);