seboettg / citeproc-php

Full-featured CSL 1.0.1 processor for PHP
MIT License
73 stars 38 forks source link

PHP 8.0 compatibility? #111

Closed schnumsel closed 2 years ago

schnumsel commented 2 years ago

Please follow the general troubleshooting steps first:

Bug reports:

Do you plan to support PHP 8 in the near future? I get an error in

src/Seboettg/CiteProc/Styles/AffixesTrait.php

in line 74 saying: Array and string offset access syntax with curly braces is no longer supported.

Would be great to fix it so I could upgrade to PHP 8

Best regards and thanks in advance,

Willi

seboettg commented 2 years ago

I'm pretty busy currently. I hope I can do it in the early next year.

seboettg commented 2 years ago

Hi @schnumsel! I think citeproc-php is now working with PHP 8.0. To double check, please checkout the branch feature/issue-111-php80-compatibility and test it by running citeproc-php with php 8.0! Thanks in advance.