-
Notifications
You must be signed in to change notification settings - Fork 82
Update composer.json #132
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
base: master
Are you sure you want to change the base?
Update composer.json #132
Conversation
all php-css-parser 9
|
Unit tests are happy. Have you had a chance to review changes between 8 and 9? I haven't yet done so to see if there are any breaking changes that need to be addressed. |
|
phpstan reports the same warnings with both 8 and 9. They should probably be fixed regardless. The signatures are the same, so I imagine they are compatible. I'm hesitant to fix these, though, because you're still supporting PHP 7.1, and maintaining compatibility with that is awkward. If yo ever release a new version, I'd recommend rector and updating to only supported versions of php. Very low priority, I just noticed the new version of that library. phpstan analyze src Line Svg/Style.php 89 Method Svg\Style::fromAttributes() should return Svg\Style but return statement is missing. Line Svg/Surface/CPdf.php 1109 Undefined variable: $object Line Svg/Surface/SurfaceCpdf.php 220 Call to an undefined method Svg\Surface\SurfaceCpdf::_convert_gif_bmp_to_png(). |
The only potentially breaking change is MyIntervals/PHP-CSS-Parser#1194. It is unlikely to be breaking, but since it changed the class hierarchy, we considered it worthy of a new major release, just in case. You can allow v8 or v9 in |
|
Thank you for the information. I do plan to start reviewing changes for the next release of SvgLib i the near future. |
What about dropping all unsupported/EOL versions of the dependencies? |
|
I'm fine to do that, though preferably separately as a major release. I know it's not strictly necessary since dependency management will take care of it, but I prefer to do it that way to maintain a clear cut off point. |
|
Makes sense. PHP 7.1 reached EOL in 2019. PHP 8.5 will be released in a few weeks, seems like a nice time for a new release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
allow php-css-parser 9