Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

PHP 8.4 support added #23

Merged
merged 23 commits into from
Oct 23, 2024
Merged

Conversation

manishranjan-adobe
Copy link
Contributor

Q A
Documentation yes/no
Bugfix yes/no
BC Break yes/no
New Feature yes/no
RFC yes/no
QA yes/no

Signed-off-by: manishranjan-adobe <[email protected]>
Signed-off-by: manishranjan-adobe <[email protected]>
Signed-off-by: manishranjan-adobe <[email protected]>
Signed-off-by: manishranjan-adobe <[email protected]>
…deprecated, the explicit nullable type must be used instead

Signed-off-by: manishranjan-adobe <[email protected]>
Copy link
Member

@gsteel gsteel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @manishranjan-adobe - There are a couple of BC breaks here that need reverting

src/Consumer.php Outdated Show resolved Hide resolved
src/Token/Access.php Outdated Show resolved Hide resolved
Signed-off-by: manishranjan-adobe <[email protected]>
@gsteel
Copy link
Member

gsteel commented Oct 21, 2024

Please fix CS issues first

@manishranjan-adobe
Copy link
Contributor Author

Please fix CS issues first

@gsteel I see, we are using an outdated version of laminas/laminas-coding-standard which ultimately relies on squizlabs/php_codesniffer again which is not supporting 8.0 onwards. I am not sure if it kept outdated for a reason.

@gsteel
Copy link
Member

gsteel commented Oct 21, 2024

An upgrade to laminas-coding-standard 2.5 or 3.0 may be required, at which point the direct dev dependency on phpcs can be dropped

…deprecated, the explicit nullable type must be used instead

Signed-off-by: manishranjan-adobe <[email protected]>
Signed-off-by: manishranjan-adobe <[email protected]>
@manishranjan-adobe
Copy link
Contributor Author

@gsteel I have fixed the PHPCS issues. Also, the laminas/laminas-coding-standard and squizlabs/php_codesniffer were updated.

You might need to fix the CI pipeline. The below check may not be working properly after the upgrade.
./vendor/bin/phpcs -q --report=checkstyle | cs2pr

@samsonasik
Copy link
Member

You should can run:

vendor/bin/phpcbf

to fix cs

Signed-off-by: manishranjan-adobe <[email protected]>
Signed-off-by: manishranjan-adobe <[email protected]>
@manishranjan-adobe
Copy link
Contributor Author

@gsteel @samsonasik All checks passed.

Copy link
Member

@gsteel gsteel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more adjustments and we should be getting there!

phpcs.xml Outdated Show resolved Hide resolved
phpunit.xml Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Show resolved Hide resolved
src/Config/ConfigInterface.php Outdated Show resolved Hide resolved
src/Token/AbstractToken.php Outdated Show resolved Hide resolved
src/Token/AbstractToken.php Outdated Show resolved Hide resolved
Signed-off-by: manishranjan-adobe <[email protected]>
Signed-off-by: manishranjan-adobe <[email protected]>
Signed-off-by: manishranjan-adobe <[email protected]>
@manishranjan-adobe
Copy link
Contributor Author

@gsteel PR looks good to me. Let us know, if we miss something or need to relook. cheers

Signed-off-by: manishranjan-adobe <[email protected]>
src/Client.php Outdated Show resolved Hide resolved
phpcs.xml.dist Show resolved Hide resolved
phpunit.xml.dist Outdated Show resolved Hide resolved
phpunit.xml.dist Outdated Show resolved Hide resolved
@gsteel
Copy link
Member

gsteel commented Oct 22, 2024

@manishranjan-adobe Please address @samsonasik's review feedback and then this can get merged 👍

Signed-off-by: manishranjan-adobe <[email protected]>
@manishranjan-adobe
Copy link
Contributor Author

@samsonasik Suggested changes addressed. Please have a look. Thanks

src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
Signed-off-by: manishranjan-adobe <[email protected]>
Signed-off-by: manishranjan-adobe <[email protected]>
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
Signed-off-by: manishranjan-adobe <[email protected]>
@manishranjan-adobe
Copy link
Contributor Author

@gsteel As suggested, the changes have been made. Thanks

Copy link
Member

@samsonasik samsonasik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Member

@gsteel gsteel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @manishranjan-adobe 😅

@gsteel gsteel self-assigned this Oct 23, 2024
@gsteel gsteel added this to the 2.7.0 milestone Oct 23, 2024
@gsteel gsteel merged commit 5182456 into laminas:2.7.x Oct 23, 2024
13 of 14 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants