Skip to content

PHP Fatal error: Uncaught Error: Call to undefined function str_contains() in phar:///.../phpstan.phar/src/Turbo/TurboExtensionSelector.php:113 #15137

Description

@simonschaufi

Bug report

I'm running Rector under PHP7.4 and since this commit: phpstan/phpstan-src@51d272f I get a fatal error. I see that phpstan requires the symfony/polyfill-php80 but somehow it doesn't use the polyfill method

Code snippet that reproduces the problem

https://github.com/sabbelasichon/typo3-rector/actions/runs/33388953308/job/99477872986?pr=4924

Expected output

normal run

Did PHPStan help you today? Did it make you happy in any way?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions