-
-
Notifications
You must be signed in to change notification settings - Fork 122
Add support for PHP 8, update dependencies' versions #220
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to specify versions more explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's how it was in @bizley's draft (initial commit). Maybe there is a reason for that? Different PHP versions I guess? 🤔 Anyway I agree with you, in terms of dependencies this is not safe. I'll take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I did it like that because we usually don't have constraint on the PHP version. I can see now that since we have it limited we should also limit phpunit but still allowing all range of it for the given php versions.
@bizley You are probably busy now, but do you have time for review? 🤔
Oh, sweet, is it ready? I'll find some time for sure.
Oh, sweet, is it ready? I'll find some time for sure.
That's great! 👍 Yes, it's ready for review.
# Conflicts: # CHANGELOG.md
Uh oh!
There was an error while loading. Please reload this page.
Related:
TODO list (required):
typeandtypesin other places, extract common logic.endLineinBaseDoc.isReturnByReferenceinFunctionDoc.$reflector->getNode()->default.composer installlocally.TODO list (optional):
phpDocumentor/Reflectionfork.Improvements / acceptable additional changes:
callback->callable.mixed[]->array.@seetags).\yii\db\Event- >yii\db\Event). This is also more consistent with other class names now.\\->\(inside of strings,'app\\controllers->'app\controllers'). Very few cases, not a big issue in my opinion.1->0x1). Previously they were displayed as integers (the beginning was cut off).0xFFFFFF->0xffffff).protected string formatMessage ( $message, $format = [\yii\helpers\Console::FG_RED, \yii\helpers\Console::BOLD] )After:protected string formatMessage ( $message, $format = [Console::FG_RED, Console::BOLD] ).\Exception(\Throwablewas redundant).@seetags that refer to private properies and methods.@seetags causing broken links.@methodtag are not rendered as inherited now (1 case only).@methodtag) https://www.yiiframework.com/doc/api/2.0/yii-db-activerelationtrait#()-detail.highlight_stringfunction was changed in PHP 8).Thanks to @bizley for initial attempt and changes. 👏