mirror of
https://github.com/doctrine/reflection.git
synced 2026-03-24 00:32:07 +01:00
[PR #49] [MERGED] PHP 8 compatibility #59
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/reflection/pull/49
Author: @alexpott
Created: 10/27/2020
Status: ✅ Merged
Merged: 10/27/2020
Merged by: @greg0ire
Base:
1.2.x← Head:php8-compatibility📝 Commits (6)
a82bebfInitial commit2336d15Update dist to use a more recent PHP 8.006eec07Ignore compatibility files in phpstanf3ade86Ensure phpstan runs with locked dependenciesa8d8225Fix up things after merging 1.2.xdc269e0doctrine/coding-standard needs a PHP 8.0 compatible version📊 Changes
12 files changed (+137 additions, -39 deletions)
View changed files
📝
.travis.yml(+4 -1)📝
composer.json(+6 -9)📝
composer.lock(+2 -5)➕
lib/Doctrine/Common/Reflection/Compatibility/Php7/ReflectionClass.php(+24 -0)➕
lib/Doctrine/Common/Reflection/Compatibility/Php7/ReflectionMethod.php(+16 -0)➕
lib/Doctrine/Common/Reflection/Compatibility/Php8/ReflectionClass.php(+24 -0)➕
lib/Doctrine/Common/Reflection/Compatibility/Php8/ReflectionMethod.php(+16 -0)➕
lib/Doctrine/Common/Reflection/Compatibility/ReflectionClass.php(+18 -0)➕
lib/Doctrine/Common/Reflection/Compatibility/ReflectionMethod.php(+18 -0)📝
lib/Doctrine/Common/Reflection/StaticReflectionClass.php(+3 -16)📝
lib/Doctrine/Common/Reflection/StaticReflectionMethod.php(+3 -8)📝
phpstan.neon.dist(+3 -0)📄 Description
Fixes doctrine/reflection on PHP 8. Updates composer.json to allow PHP 8 and uses class aliases and traits to account for changes in \ReflectionClass and \ReflectionMethod
Related to #43
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.