Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors and deprecations findings #145

Open
rikardow opened this issue Jul 9, 2024 · 1 comment
Open

Errors and deprecations findings #145

rikardow opened this issue Jul 9, 2024 · 1 comment

Comments

@rikardow
Copy link

rikardow commented Jul 9, 2024

Hi, thanks for the great work on this plugin

We found some errors and deprecations in the codebase, here's the list

  1. File: filter/wiris/integration/lib/haxe/Utf8.class.php
    Line: 26
    Message: Function utf8_encode() is deprecated since PHP 8.2; Use mb_convert_encoding(), UConverter::transcode() or iconv instead.
    Type: warning

  2. File: filter/wiris/integration/lib/haxe/Utf8.class.php
    Line: 29
    Message: Function utf8_decode() is deprecated since PHP 8.2; Use mb_convert_encoding(), UConverter::transcode() or iconv instead.
    Type: warning

  3. File: filter/wiris/integration/lib/php/Boot.class.php
    Line: 808
    Message: enum' is a soft reserved keyword as of PHP version 8.1 and should not be used to name a class, interface or trait or as part of a namespace (class declaration).
    Type: warning

  4. File: filter/wiris/integration/lib/php/Boot.class.php
    Line: 732
    Message: Method name _hx_type::rfl is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
    Type: warning

  5. File: filter/wiris/integration/lib/com/wiris/system/CallWrapper.class.php
    Line: 9
    Message: Function __autoload() is deprecated since PHP 7.2 and removed since PHP 8.0; Use spl_autoload_register() instead.
    Type: error

Thank you very much for your efforts

@carla-at-wiris
Copy link
Contributor

Hello @rikardow,

Thank you for reporting this! We've moved this suggestion to the next step and will let you know once we start working on it and once it is released. Any further issues, please feel free to contact us again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants