-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Allow PHP 8.1 #40
Allow PHP 8.1 #40
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.
Welp, - Root composer.json requires laminas/laminas-coding-standard ~2.2.0 -> satisfiable by laminas/laminas-coding-standard[2.2.0, 2.2.1].
Guess laminas/laminas-coding-standard:~2.3
is needed here.
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.
1) LaminasTest\ApiTools\OAuth2\Controller\AuthControllerTest::testResource
Laminas\View\Exception\DomainException: Laminas\View\Renderer\PhpRenderer::render: received View Model argument, but template is empty
Meanwhile, PHP 7.3 can go away :)
Fix requested bshaffer/oauth2-server-php#1021 |
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.
For the CS issues, could we perhaps switch to psr-11, if servicemanager is forced to be at the last version? 🤔
a82b120
to
d77a464
Compare
CS issue fixed, so now waiting for bshaffer/oauth2-server-php#1021 |
b5edf3b
to
1dddb58
Compare
After squash looks like GA stuck, but before all passed https://github.com/laminas-api-tools/api-tools-oauth2/actions/runs/2420613249 so just waiting for new release oauth2 by @bshaffer |
31410f6
to
2cb83f3
Compare
* @param null|string $requestedName | ||
* @return AuthController | ||
*/ | ||
public function createService(ServiceLocatorInterface $controllers, $name = null, $requestedName = null) |
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.
@snapshotpl if we keep the BC breaks in, we need a major: can we keep the dead public
methods for a while, and mark them @deprecated
instead?
|
||
class AuthControllerFactory implements FactoryInterface | ||
class AuthControllerFactory |
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.
Can we somehow keep FactoryInterface
to avoid a BC break? 🤔
Fixed in https://github.com/bshaffer/oauth2-server-php/releases/tag/v1.12.1 |
Thanks @bshaffer! All tests are green now! |
Not sure why php-cs enforced |
It will break autoloading (depending on autoloading order), so I think we need to either ignore or skip the rule for now 🤔 |
48d8579
to
99673fe
Compare
Signed-off-by: Witold Wasiczko <witold@wasiczko.pl>
Excellent, also thanks for squashing! |
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.
Thanks @snapshotpl!
Description
Allow install on PHP 8.1
Needs: