PHPlot icon indicating copy to clipboard operation
PHPlot copied to clipboard

PHP8.2 test

Open cth18012017 opened this issue 2 years ago • 11 comments

Hello, Please test your Code with PHP8.2. If there are any Chancen, please create a new PHPlot tag / release

cth18012017 avatar Dec 17 '22 09:12 cth18012017

I can't easily test with PHP 8.2 because PHPlot also requires the function imagecreate from the php-gd library and the system I have is 8.1 based. If you want to write some TravisCI tests that builds a system with both PHP8.2 and the php-gd library we can run tests against that.

There is a new branch (develop) which will have the new tags/versions prior to any release.

AJRepo avatar Dec 17 '22 21:12 AJRepo

Heello, you can in local development Set up docker with to dockerfiles where you have 8.1 and 8.2. You can Start now 8.1 or 8.2 for development and Tests.

https://hub.docker.com/_/php

Where do you load php_gd?

I find the Tag 6.2.0, the Version Tag 6.2.1 is the Master, but not a tag for downloading. What is the next version tag ? 7.0.0 what will you Insert, composer, bugs php8.2,8.1? For develop is the sourcecode good. But for Produktion use i would use the Code without test- and example classes.

cth18012017 avatar Dec 18 '22 09:12 cth18012017

I'm not running docker. It has some underlying security issues and so have moved to LXC/LXD instead. I have access to PHP 8.2 now and have compiled it. it runs fine. The problem is that the php_gd is not also loaded. If you have an LXD/LCD build that includes a working php_gd or a juju charm config that works - happy to look at it.

So I'll either wait until PHP 8.2 is supported in mainline Ubuntu with a php_gd module that works with 8.2, or if you want to setup a TravisCI environment that builds a system with both PHP8.2 and the php-gd library we can test against that with each git push.

What is the next version tag ?

I haven't set one yet. Planning 8.0.0.

AJRepo avatar Dec 18 '22 12:12 AJRepo

See: https://github.com/phplot/PHPlot/tree/develop

AJRepo avatar Dec 26 '22 05:12 AJRepo

Hi i cant watch the composer.yml but in .gitignore i watch the composer.lock--Diese Nachricht wurde von meinem Android Mobiltelefon mit WEB.DE Mail gesendet.Am 26.12.22, 06:11 schrieb AJRepo @.***>:

See: https://github.com/phplot/PHPlot/tree/develop —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

cth18012017 avatar Dec 26 '22 06:12 cth18012017

composer.json ? See 1f421927e760cd27d1b56b8e9a59d5f60e6cb1ba

AJRepo avatar Dec 26 '22 16:12 AJRepo

Now if i watch in the development branch, i can see the composer.json.I will test it in the next year at 2.1.2023.Under wich Version will you build your New Tag at the Master branch? And would you renew the changelog or news side for this Nnew release?Can you make a paragraph in the read.me file about using PHPlot in conjunction with composer!A little Code example for example--Diese Nachricht wurde von meinem Android Mobiltelefon mit WEB.DE Mail gesendet.Am 26.12.22, 17:24 schrieb AJRepo @.***>:

composer.json ? See 1f42192 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

cth18012017 avatar Dec 26 '22 17:12 cth18012017

Hello, have you test phpplot with php 8.2.? So that we can use it in the next year if we change to php 8.2? Second: in the news.txt the latest Release.notice is for the Version Tag 8.0.0.1 but i do not see 8.0.0.2 and 8.0.0.3

cth18012017 avatar Oct 13 '23 20:10 cth18012017

Regarding PHP 8.2: after having updated some outdated function calls issuing notices, PHPlot works perfectly for my use cases on PHP 8.2.12. @AJRepo: would you be interested in getting the changed code? If so, how? Pull request?

jeriba4 avatar Oct 31 '23 00:10 jeriba4

Pull request would be great. Please target develop if it is at or ahead of master.

AJRepo avatar Oct 31 '23 22:10 AJRepo

Hello, is the New Code from jeriba4 here and after test it gives a new Tag 8 0.0.4

cth18012017 avatar Nov 25 '23 09:11 cth18012017