Problem/Motivation

Looks like an older version of abraham/twitteroauth in module's composer.json is preventing the module to be compatible with PHP 7.4.

Proposed resolution

Update abraham/twitteroauth library to latest version.

User interface changes

NA

API changes

NA

Data model changes

NA

Comments

divyesh19 created an issue. See original summary.

divyesh19’s picture

Status: Active » Needs review
StatusFileSize
new341 bytes
divyesh19’s picture

StatusFileSize
new731 bytes

Updating the ludwig.json as well.

divyesh19’s picture

meet_bhanvadia’s picture

Status: Needs review » Reviewed & tested by the community

Patch #3 looks good. It works well with PHP 7.4.
It would be great if merged to dev.

devad’s picture

The ludwig.json file needs composer/ca-bundle library as well (the new dependency of abraham/twitteroauth 2.0.1).

Here is how the new ludwig.json file should look like:

{
    "require": {
        "abraham/twitteroauth": {
            "version" : "v2.0.1",
            "url": "https://github.com/abraham/twitteroauth/archive/2.0.1.zip"
        },
        "composer/ca-bundle": {
            "version" : "v1.2.9",
            "url": "https://github.com/composer/ca-bundle/archive/1.2.9.zip"
        }
    }
}

devad’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new967 bytes

Patch with proper ludwig.json file.

devad’s picture

StatusFileSize
new1.37 KB

I have git cloned the wrong branch previously. Here is a proper patch for 2.0.x branch.

Adding few extra spaces to composer.json file as well to follow the .json 4 spaces recommended indent policy.

devad’s picture

divyesh19’s picture

Status: Needs review » Reviewed & tested by the community

@devad, thanks for the updated patch. Works well.

  • baikho committed c17e7d8 on 2.x authored by devad
    Issue #3213335 by divyesh19, devad, meet_bhanvadia: Compatibility with...
baikho’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.