Closed ChaerilM closed 3 years ago
i could not find any other file that uses Khill\Lavacharts\Support\Renderable
nor Khill\Lavacharts\Support\RenderableTrait
So I have a useless trait causing issues... I will give a second look when I get a chance. Thank you for bringing this to my attention
it might be an uncleaned commit after migration since Khill\Lavacharts\Support\Renderable
and Khill\Lavacharts\Support\Traits\RenderableTrait
had similar structure
It actually looks like you uncovered my indecisiveness in choosing inheritance over composition with traits... I think Renderable used to be a trait, but then I made it a class...
investigating...
I also moved the 4.0
work into its own branch so master
tracks the current development of 3.1
again
Hi thanks for the PR, but I still see this warning when running composer update
Class Khill\Lavacharts\Support\RenderableTrait located in ./vendor/khill/lavacharts/src/Support/Renderable.php does not comply with psr-4 autoloading standard. Skipping.
Can you please tag a patch release to resolve this issue, thank you! cc @kevinkhill https://github.com/kevinkhill/lavacharts/compare/3.1.13..3.1
I forget to mention that I have Composer version 2 (moved to it because it's much faster), so this is an issue now not just a warning!
@yaayes I believe he push the patch for version 4, I've tried it but seems there was a breaking changes and I could not find doc for it. for now probably wait in indefinite time
awww, I don't like discouraging you and hearing "indefinite" I have 30 minutes right now, lets see if I can make something happen.
Hi thankyl you @ChaerilM and @kevinkhill for the response. Why not a patch for the version 3, it will not break anything since as @ChaerilM says that trait is not used anywhere in the package
let me know if errors arise please! I didn't test anything, because I'm off to my paying job now :smile:
Thanks @kevinkhill for taking the time to solve this. Very appreciated!
Updated successfully without any warnings related to composer v2, and I can confirm that nothing break (at least in my application which use like four/five type of commons charts)
Awesome, glad to hear that. 🤞🏻 All my hot glue and duct tape keeps 3.1 together until I eveeeeentually carve time for v4
composer gives warning while update. in some case, it does not add lavachart to autoloading due to this issue