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 5.6 #11

Closed
jonahgeorge opened this issue Oct 29, 2017 · 11 comments
Closed

Support PHP 5.6 #11

jonahgeorge opened this issue Oct 29, 2017 · 11 comments
Assignees

Comments

@jonahgeorge
Copy link
Owner

No description provided.

@jcchavezs
Copy link

I believe main need here is to have as much test coverage as possible.

@jonahgeorge
Copy link
Owner Author

PHP 5.6 is no longer actively supported and will stop being supported for security updates by end of year.

http://php.net/supported-versions.php

@jonahgeorge
Copy link
Owner Author

jonahgeorge commented Jun 18, 2018

Reopening this as it's part of the consideration for migrating into jaegertracing org

@jonahgeorge jonahgeorge reopened this Jun 18, 2018
@blong14
Copy link
Collaborator

blong14 commented Jun 19, 2018

@jonahgeorge I can take a look at this one. The plan would be to wire up some documentation on how to test different PHP versions via docker (docker run --rm...) for local testing. Add the necessary PHP version constraint to travis. Finally, update the code where necessary. Thoughts?

@blong14
Copy link
Collaborator

blong14 commented Jun 19, 2018

@jcchavezs what state is your branch in that adds support for 5.6?

@jonahgeorge
Copy link
Owner Author

With the release of 0.3.0, almost all code has at least a partial test and type hints in the docblock- so adding support for 5.6 should be as simple as removing the primitive type hints in the function signatures.

I'm not convinced that adding a docker setup is necessary as long as Travis has 5.6 in the test matrix. I would imagine most people will just install another version of PHP and switch their symlinks.

@blong14
Copy link
Collaborator

blong14 commented Jun 19, 2018

I was just thinking adding to the README how one could run a container to test a specific version of php, so there wouldn't be any code to include Dockerfiles or anything like, but having it in travis is fine.

@jonahgeorge
Copy link
Owner Author

jonahgeorge commented Jun 19, 2018

Ah, gotcha. Documentation around running different PHP version via Docker in the README or something like TESTING.md would be perfect

@benkeil
Copy link

benkeil commented Jul 5, 2018

+1

@blong14
Copy link
Collaborator

blong14 commented Jul 7, 2018

@jonahgeorge I'm working out things for this. Not yet ready for a pull request but I think some feedback would be nice.

Diff with master

@blong14
Copy link
Collaborator

blong14 commented Jul 7, 2018

Also, once composer is updated appropriately for all versions pull request will be issued. Once merged I'll start working on the application code updates to handle changes necessary for 5.6.

fredipevcin added a commit to fredipevcin/jaeger-client-php that referenced this issue Sep 19, 2018
Closes jonahgeorge#11 as not implmeneted.
fredipevcin added a commit to fredipevcin/jaeger-client-php that referenced this issue Sep 19, 2018
Library is using return type declarations which are supported only from
PHP version 7.

Closes jonahgeorge#11 as not implmeneted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants