Skip to content
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

Symfony 5.X support #30

Merged
merged 7 commits into from
Feb 22, 2024

Conversation

andriisobolatpaysera
Copy link
Contributor

@andriisobolatpaysera andriisobolatpaysera commented Feb 18, 2024

Symfony 5.X support

Added

  • Support for PHP >=7.4 and support for Symfony 5.X.
  • GitHub Workflows

Removed

  • Support for Symfony 3.X

Test

  • composer test

PayseraRestBundle.php Outdated Show resolved Hide resolved
Listener/RestListener.php Show resolved Hide resolved
Exception/FatalThrowableError.php Outdated Show resolved Hide resolved
@@ -228,6 +228,10 @@ public function onKernelView(GetResponseForControllerResultEvent $event)

$response->setContent($responseContent);

if ($responseContent === null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't be needed, strict types not used

@@ -640,6 +640,9 @@ public function getLogger()
*/
protected function normalizeControllerKey($controllerKey)
{
if ($controllerKey === null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Also should not be needed, strict types not used

@mSprunskas mSprunskas merged commit 345d752 into paysera:master Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants