Closed roberthenniger closed 3 years ago
Wait, this shouldn't be. I think i know what the problem is. I accidentally tagged the main branch?? I'm gonna fix this right now! (the 3.x branch works perfectly fine from PHP7.2 onwards)
Done. The proper v3.4.1 should be available soon. Sorry for the inconvenience!
Updating dependencies (including require-dev) Package operations: 0 installs, 2 updates, 0 removals
This is weird. Do you have some locked dependencies by chance?
No, no locked dependencies. It upgrades and downgrades just fine.
From: smiley @.> Date: Thursday, 9 September 2021 at 11:22 To: chillerlan/php-qrcode @.> Cc: Robert Henniger @.>, Author @.> Subject: Re: [chillerlan/php-qrcode] Upgrading from 3.4.0 to 3.4.1 breaks PHP 7.3 (#83)
This is weird. Do you have some locked dependencies by chance?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/chillerlan/php-qrcode/issues/83#issuecomment-915915442, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABMPRWQJZL3OKW7FLYYHTVLUBB4GXANCNFSM5DWSJEVA.
Can you please try to fetch from the latest commit directly and see if this works?
composer require chillerlan/php-qrcode:v3.2.x-dev#468603b687a5fe75c1ff33857a45f1726c7b95a9
Seems that the library upgrades internally to the php-settings-container v2.1.2 and this is not compatible with PHP 7.3. Getting an exception with the following content:
syntax error, unexpected 'SettingsContainerInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
I would have prefered if the version number would have gone up to 3.5.0 or even 4.0 since some of the loaded libs are clearly not compatible anymore. Wa snow downgrading on our environment.