4b61618920
By running the following command after updating composer.json ``` composer update chillerlan/php-qrcode chillerlan/php-settings-container ``` This change fixes a deprecation warning from Preferences -> Personal data / Authentication -> Authenticator (OTP). ``` Return type of chillerlan\Settings\SettingsContainerAbstract::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice 1. vendor/chillerlan/php-settings-container/src/SettingsContainerAbstract.php(19): ttrss_error_handler(Return type of chillerlan\Settings\SettingsContainerAbstract::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice, vendor/chillerlan/php-settings-container/src/SettingsContainerAbstract.php) 2. vendor/composer/ClassLoader.php(571): include(/usr/share/webapps/tt-rss/vendor/chillerlan/php-settings-container/src/SettingsContainerAbstract.php) 3. vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile(/usr/share/webapps/tt-rss/vendor/composer/../chillerlan/php-settings-container/src/SettingsContainerAbstract.php) 4. vendor/chillerlan/php-qrcode/src/QROptions.php(59): loadClass(chillerlan\Settings\SettingsContainerAbstract) 5. vendor/composer/ClassLoader.php(571): include(/usr/share/webapps/tt-rss/vendor/chillerlan/php-qrcode/src/QROptions.php) 6. vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile(/usr/share/webapps/tt-rss/vendor/composer/../chillerlan/php-qrcode/src/QROptions.php) 7. vendor/chillerlan/php-qrcode/src/QRCode.php(113): loadClass(chillerlan\QRCode\QROptions) 8. classes/pref/prefs.php(958): __construct() 9. classes/pref/prefs.php(469): _get_otp_qrcode_img() 10. classes/pref/prefs.php(541): index_auth_2fa() 11. backend.php(136): index_auth() ``` The issue is fixed in php-settings-container 2.1.1 [1] Here I use the latest php-qrcode version for another PHP 8.1 fix [2]. [1] https://github.com/chillerlan/php-settings-container/commit/68bc5019c8b38956c83906431ef879668366b036#diff-359c7f7a6d32d9935951e1b0742eb116fb654f4a932c8d40328bb5dcab2fa111L162 [2] https://github.com/chillerlan/php-qrcode/issues/97
46 lines
2.0 KiB
Plaintext
46 lines
2.0 KiB
Plaintext
000000000000000000000000000000000000000000000
|
|
000000000000000000000000000000000000000000000
|
|
000000000000000000000000000000000000000000000
|
|
000000000000000000000000000000000000000000000
|
|
000011111110111010000101111010000011111110000
|
|
000010000010111000001101011000001010000010000
|
|
000010111010101101011000001101011010111010000
|
|
000010111010110100111110010100111010111010000
|
|
000010111010000001101011000001101010111010000
|
|
000010000010100111110010100111110010000010000
|
|
000011111110101010101010101010101011111110000
|
|
000000000000010010100111110010100000000000000
|
|
000011001110000101111010000101111001011110000
|
|
000000000000111010000101111010000111100010000
|
|
000001011010100111110010100111110011001010000
|
|
000010000101111101011000001101011110011110000
|
|
000000011010100011000001101011000101110100000
|
|
000011001100001001101011000001101010011010000
|
|
000010110111110000001101011000001100110100000
|
|
000010000100100010100111110010100001100100000
|
|
000011111110111101111010000101111010100110000
|
|
000011010000111010000101111010000111100100000
|
|
000010101111111111110010100111110011001000000
|
|
000010110001110101011000001101011110011010000
|
|
000001001111100011000001101011000101110010000
|
|
000011000100110001101011000001101010011100000
|
|
000001000011001000001101011000001100110000000
|
|
000011101001011010100111110010100001100000000
|
|
000010111010001101111010000101111010100110000
|
|
000011100000001010000101111010000111100000000
|
|
000000001110110111110010100111110011001000000
|
|
000000011001011101011000001101011110011100000
|
|
000011111110101011000001101011001111110110000
|
|
000000000000110001101011000001101000111100000
|
|
000011111110001000001101011000011010110000000
|
|
000010000010101010100111110010101000100100000
|
|
000010111010111101111010000101111111100110000
|
|
000010111010011010000101111010001101100010000
|
|
000010111010000111110010100111100101101100000
|
|
000010000010101101011000001101001100111100000
|
|
000011111110101011000001101011000110010110000
|
|
000000000000000000000000000000000000000000000
|
|
000000000000000000000000000000000000000000000
|
|
000000000000000000000000000000000000000000000
|
|
000000000000000000000000000000000000000000000
|