• Resolved 4ud

    (@4ud)


    Hi!

    I’ve tested all my plugins with this PHP linter:
    https://www.ads-software.com/plugins/php-compatibility-checker/

    Unfortunately I found a problem with your plugin:

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.client.php
    ————————————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————————————
    71 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7
    ————————————————————————————————————————————

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.de.php
    ——————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ——————————————————————————————————————————–

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.idna.php
    ———————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————————————————————-
    94 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7
    ———————————————————————————————————————————-

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.ip.lib.php
    ————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————————————

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.ip.php
    ——————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ——————————————————————————————————————————–

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.main.php
    ———————————————————————————————————————————-
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    ———————————————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    51 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7
    ———————————————————————————————————————————-

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.mobi.php
    ———————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ———————————————————————————————————————————-

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.nl.php
    ——————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ——————————————————————————————————————————–

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.nz.php
    ——————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ——————————————————————————————————————————–

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.org.php
    ———————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ———————————————————————————————————————————

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.parser.php
    ————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————————————

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.servers.php
    ————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————————————-

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.si.php
    ——————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ——————————————————————————————————————————–

    FILE: /plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.utils.php
    ———————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ———————————————————————————————————————————–

    Would be great if you can fix this!

    All the best and thx for your great plugin,
    4ud

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP 7 compatibility check’ is closed to new replies.