-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
PHP 8.3 support added #62
Conversation
83f39f2
to
ba763b9
Compare
@froschdesign Can you please review the PR? We are looking for your help to merge this because we are working on Magento Dependencies and support php 8.3 due to laminas dependencies we are blocked so looking forward from your side. Can you please do the needful? |
src/Figlet/Figlet.php
Outdated
@@ -832,6 +832,10 @@ protected function _smushAmount() | |||
if (empty($leftChar) || $leftChar === ' ') { | |||
$amount++; | |||
} elseif (! empty($rightChar)) { | |||
/** | |||
* @psalm-suppress RedundantConditionGivenDocblockType |
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.
We should baseline these, not suppress them
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.
Made all the suggested changes and pushed the code. Kindly review. Thank you.
src/Table/DecoratorManager.php
Outdated
/** @var FactoriesConfigurationType */ | ||
/** | ||
* @var FactoriesConfigurationType | ||
* @psalm-suppress NonInvariantDocblockPropertyType |
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.
This is fixable: doesn't need suppression
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.
Done
src/Table/Table.php
Outdated
@@ -499,6 +499,7 @@ public function render() | |||
/** | |||
* Magic method which returns the rendered table | |||
* | |||
* @psalm-suppress MethodSignatureMustProvideReturnType |
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.
This should be baselined, not suppressed
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.
Done
test/MultiByteTest.php
Outdated
@@ -9,6 +9,7 @@ | |||
|
|||
/** | |||
* @group Laminas_Text | |||
* @psalm-suppress DeprecatedMethod |
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.
To be baselined, not suppressed
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.
Done
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.
LGTM
About timeline: nobody (that I know of) is paid to work on this over here, and we do it in our free time/when we can/out of our good will, so please be patient, as our only timeline is "when we want to do it between work and life" :P
Description