During the make file build process we are seeing the warning below due to a missing library type key.
Undefined property: DrushMakeProject_Library::$type make.project.inc:165
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | undefined_property_drushmakeproject_library_type_fix-3354209-1.patch | 1.16 KB | vimal_nadar |
Comments
Comment #2
vimal_nadar commentedI have added the 3 missing library types key to the make file.
Comment #3
vimal_nadar commentedComment #4
lesleyfernandes commentedI reviewed that fix, and it is working fine. I am not seeing warnings here.
Comment #5
vimal_nadar commentedComment #6
vimal_nadar commentedComment #7
gausarts commentedThank you.
It was fine for years, and now broken?
May I know your setup for a repro?
Upstream breaking changes are never a bug, otherwise no projects would never reach any stability of their own. We should adapt to or update it as a Task instead.
Deep ponder mode. This file has caused a handful of issues this far. While this is useful to some devs, but it apparently costs more maintainance. I am thinking to remove it as I can no longer support things that cost me more maintainance that I can afford at least just as recently.
Comment #8
vimal_nadar commentedDuring the build process of a Drupal 7.95 version site with PHP 8.0, a warning message is displayed when installing this module using a make file, indicating a potential issue or warning related to PHP 8.0 compatibility.
Comment #9
vimal_nadar commentedComment #10
gausarts commentedLast time I tried PHP8 for D7, it was like opening a can of worms.
Too many modules incompatible to deal with.
This should be in, but let's postpone this till I can get back to it.
Thanks.
Comment #11
lesleyfernandes commentedHi gausarts,
This patch is promoting a simple change, and PHP 7.x has already reached EOL:
https://www.php.net/supported-versions.php
Reviewing the code using PHPCS to check if changes are required to make the code fully compatible with PHP 8.1+ would be nice.
Comment #13
gausarts commentedGot it! I said at #10: "This should be in, but let's postpone this till I can get back to it."
No biggies. Committed. Thank you for contribution and patience.