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

Support PHP 8 #72

Closed
wants to merge 2 commits into from
Closed

Support PHP 8 #72

wants to merge 2 commits into from

Conversation

janicekt
Copy link

@janicekt janicekt commented Dec 27, 2021

Description of the change

adds PHP 8 support and updates the Rollbar-php package to a php8 supported version. Remove PHP 7 support because it is no longer supported in new version Rollbar-php

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Maintenance
  • New release

Related issues

Shortcut stories and GitHub issues (delete irrelevant)

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers assigned
  • Issue from task tracker has a link to this pull request
  • Changes have been reviewed by at least one other engineer

@janicekt janicekt changed the title Support php 8 Support PHP 8 Dec 27, 2021
@janicekt
Copy link
Author

janicekt commented Dec 27, 2021

this fork i have thrown it on my private project and it works fine .. please review, merge and release new version. thx

@art-cg
Copy link

art-cg commented Jan 3, 2022

Thanks for the PR. I am not sure if it works with symfony 5.0. Hard to tell without Github Actions (maybe you can run your the tests local with composer install --prefer-lowest).

And we need another PR to add more php versions in Travis (merged upfront) https://github.com/rollbar/rollbar-php-symfony-bundle/blob/master/.travis.yml
Or even better GithubActions tests

@art-cg
Copy link

art-cg commented Jan 6, 2022

@janicekt What do you think about my PR based on this one?

@janicekt
Copy link
Author

janicekt commented Jan 6, 2022

Thanks for the PR. I am not sure if it works with symfony 5.0. Hard to tell without Github Actions (maybe you can run your the tests local with composer install --prefer-lowest).

And we need another PR to add more php versions in Travis (merged upfront) https://github.com/rollbar/rollbar-php-symfony-bundle/blob/master/.travis.yml Or even better GithubActions tests

in PHP 8.1 with lowest deps are not tests works because there are PHP deprecations in external deps. That's only OK locally with Symfony 5.4 and newer. Its would be nice to have travis
Snímek obrazovky 2022-01-06 v 13 52 32
Snímek obrazovky 2022-01-06 v 13 54 30

@janicekt janicekt closed this Jan 6, 2022
@janicekt janicekt reopened this Jan 6, 2022
@janicekt
Copy link
Author

janicekt commented Jan 6, 2022

Thanks for the PR. I am not sure if it works with symfony 5.0. Hard to tell without Github Actions (maybe you can run your the tests local with composer install --prefer-lowest).

And we need another PR to add more php versions in Travis (merged upfront) https://github.com/rollbar/rollbar-php-symfony-bundle/blob/master/.travis.yml Or even better GithubActions tests

thanks for the comment. I add .travis.yml updates in this PR. But I don't think the travis is doing anything.

@art-cg
Copy link

art-cg commented Jan 6, 2022

Travis is not running on PR right know (but i guess maintainer has more infos about the usage).
Update: PR for GitHub Actions is ready for review #74

@danielmorell
Copy link
Collaborator

Hi @janicekt, thank you for your work on this! We have moved development for PHP 8 to the next/5.x/main branch. We are also planning on using GitHub Actions for our CI. We have merged both #73 and #74 into next/5.x/main.

If there is anything you think is important that was not included already, you could merge next/5.x/main into your branch and update this PR.

@janicekt
Copy link
Author

janicekt commented Jun 19, 2022

on my version I have been working on symfony 5.4 with php8.1 for few months and without any problems .. I'm going to test the migration to 5.0-RC1 version. Thx @danielmorell

@danielmorell danielmorell added this to the v5.0.0 milestone Jul 21, 2022
@danielmorell
Copy link
Collaborator

Today we released the stable v5.0.0. I am going to go ahead and close this PR. @janicekt thank you for your work on this. If, there is anything in here that we are missing in v5, please let's talk about it and figure out a way to move it forward.

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.

Improve documentation in README.md
3 participants