nostrver-se / nostr-php

PHP helper library for Nostr https://nostr-php.dev
https://nostr-php.dev
MIT License
53 stars 15 forks source link

Function utf8_encode() is deprecated in PHP 8.2 #22

Closed pjv closed 2 months ago

pjv commented 1 year ago

Testing under PHP 8.2 gives a deprecation notice when signing an event here: https://github.com/swentel/nostr-php/blob/f4e3b60fe2610f431ea503453eebf67bb7ed7ec4/src/Sign/Sign.php#L28

quentintaranpino commented 1 year ago

I saw that yesterday. I will make a PR

pjv commented 1 year ago

@swentel see my comment here: https://github.com/swentel/nostr-php/pull/25#issuecomment-1486671849