-
Notifications
You must be signed in to change notification settings - Fork 48
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
Comments
I believe main need here is to have as much test coverage as possible. |
PHP 5.6 is no longer actively supported and will stop being supported for security updates by end of year. |
Reopening this as it's part of the consideration for migrating into jaegertracing org |
@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? |
@jcchavezs what state is your branch in that adds support for 5.6? |
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. |
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. |
Ah, gotcha. Documentation around running different PHP version via Docker in the README or something like TESTING.md would be perfect |
+1 |
@jonahgeorge I'm working out things for this. Not yet ready for a pull request but I think some feedback would be nice. |
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. |
Closes jonahgeorge#11 as not implmeneted.
Library is using return type declarations which are supported only from PHP version 7. Closes jonahgeorge#11 as not implmeneted.
No description provided.
The text was updated successfully, but these errors were encountered: