singpolyma / openpgp-php

OpenPGP.php is a pure-PHP implementation of the OpenPGP Message Format (RFC 4880).
http://singpolyma.github.io/openpgp-php/
The Unlicense
179 stars 69 forks source link

Php 7.4 Array and string offset curly braces is deprecated #88

Closed roninhack closed 3 years ago

roninhack commented 4 years ago

In php7.4 array and string offset curly syntax is deprecated.

lib/openpgp.php:127,129,133,138,140

i didnt check other files.

MrPetovan commented 4 years ago

Fixed by https://github.com/singpolyma/openpgp-php/commit/c9cef8e4e6d02ed6e75f1b40fc5050bd0babbc16