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

Compatibility with BetterReflection 6.x #2999

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

ondrejmirtes
Copy link
Contributor

Depending on your local PHP settings, you might get this error:

1) Rector\Tests\Php81\Rector\Class_\MyCLabsClassToEnumRector\MyCLabsClassToEnumRectorTest::test with data set #0 ('/Users/ondrej/Development/php...hp.inc')
assert($startLine > 0) in phar:///Users/ondrej/Development/phpstan-dist/e2e/integration/repo/vendor/phpstan/phpstan/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/Reflection/ReflectionClass.php:180

2) Rector\Tests\Php81\Rector\Class_\MyCLabsClassToEnumRector\MyCLabsClassToEnumRectorTest::test with data set #1 ('/Users/ondrej/Development/php...hp.inc')
assert($startLine > 0) in phar:///Users/ondrej/Development/phpstan-dist/e2e/integration/repo/vendor/phpstan/phpstan/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/Reflection/ReflectionClass.php:180

3) Rector\Tests\Php81\Rector\Class_\MyCLabsClassToEnumRector\MyCLabsClassToEnumRectorTest::test with data set #2 ('/Users/ondrej/Development/php...hp.inc')
assert($startLine > 0) in phar:///Users/ondrej/Development/phpstan-dist/e2e/integration/repo/vendor/phpstan/phpstan/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/Reflection/ReflectionClass.php:180

4) Rector\Tests\Php81\Rector\Class_\SpatieEnumClassToEnumRector\SpatieEnumClassToEnumRectorTest::test with data set #0 ('/Users/ondrej/Development/php...hp.inc')
assert($startLine > 0) in phar:///Users/ondrej/Development/phpstan-dist/e2e/integration/repo/vendor/phpstan/phpstan/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/Reflection/ReflectionClass.php:180

5) Rector\Tests\Php81\Rector\Class_\ConstantListClassToEnumRector\ConstantListClassToEnumRectorTest::test with data set #2 ('/Users/ondrej/Development/php...hp.inc')
assert($startLine > 0) in phar:///Users/ondrej/Development/phpstan-dist/e2e/integration/repo/vendor/phpstan/phpstan/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/Reflection/ReflectionClass.php:180

6) Rector\Tests\Php81\Rector\Class_\ConstantListClassToEnumRector\ConstantListClassToEnumRectorTest::test with data set #7 ('/Users/ondrej/Development/php...hp.inc')
assert($startLine > 0) in phar:///Users/ondrej/Development/phpstan-dist/e2e/integration/repo/vendor/phpstan/phpstan/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/Reflection/ReflectionClass.php:180

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@TomasVotruba TomasVotruba merged commit 63976bc into rectorphp:main Oct 17, 2022
@TomasVotruba
Copy link
Member

Thank you 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants