Skip to content

Internal error: Class staabm\PHPStanDba\Tests\Fixture\PreparedStatement was not found #756

@evomase

Description

@evomase

The changes made in this PR #755 have caused a new issue. I had to revert that change locally to fix the issue below.

Internal error: Class staabm\PHPStanDba\Tests\Fixture\PreparedStatement was not found while trying to analyse it - discovering symbols is probably not configured properly. while analysing file /home/runner/work/src/helpers.php
Post the following stack trace to https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml: 
## phar:///home/runner/work/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/BetterReflection/BetterReflectionProvider.php(144)
#0 phar:///home/runner/work/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/ReflectionProvider/MemoizingReflectionProvider.php(40): PHPStan\Reflection\BetterReflection\BetterReflectionProvider->getClass()
#1 /home/runner/work/vendor/staabm/phpstan-dba/src/Rules/SyntaxErrorInPreparedStatementMethodRule.php(81):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions