mambax7/adslight

View on GitHub
language/english/modinfo.php

Summary

Maintainability
A
2 hrs
Test Coverage

File modinfo.php has 259 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php declare(strict_types=1);
/*
-------------------------------------------------------------------------
                     ADSLIGHT 2 : Module for Xoops

Severity: Minor
Found in language/english/modinfo.php - About 2 hrs to fix

    Line exceeds 120 characters; contains 125 characters
    Open

    define('_MI_ADSLIGHT_GLOBAL_UPDATE_NEWPOST_NOTIFYDSC', 'Receive notification when an listing is updated in all categories.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 128 characters
    Open

    define('_MI_ADSLIGHT_VALIDATE_NEWPOST_NOTIFYDSC', 'Receive notification when a new listing is posted to the current category.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 124 characters
    Open

    define('_MI_ADSLIGHT_UPDATE_NEWPOST_NOTIFYDSC', 'Receive notification when an listing is updated in the current category.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 125 characters
    Open

    define('_MI_ADSLIGHT_GLOBAL_DELETE_NEWPOST_NOTIFYDSC', 'Receive notification when an listing is deleted in all categories.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 124 characters
    Open

    define('_MI_ADSLIGHT_MAPSSET_DESC', 'If you want to create the map of your country.<br>Thank you to read the module docs.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 176 characters
    Open

    define('_MI_ADSLIGHT_ADSLIGHT_USE_INDEX_CODE_DESC', 'Place the additional code between listings<br>on the home page and category page.<br><br>Banners, Adsense code, etc. ...');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 176 characters
    Open

    define('_MI_ADSLIGHT_THUMBW_DESC', 'Thumbnails width in pixels<br>This means your picture thumbnail will have<br>at most this size in width<br>All proportions are maintained');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 129 characters
    Open

    define('_MI_ADSLIGHT_GLOBAL_VALIDATE_NEWPOST_NOTIFYDSC', 'Receive notification when a new listing is posted to all categories.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 129 characters
    Open

    define('_MI_ADSLIGHT_GLOBAL_DELETE_NEWPOST_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE}: auto-notify : Listing deleted in categories');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 125 characters
    Open

    define('_MI_ADSLIGHT_GLOBAL_VALIDATE_NEWPOST_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE}: auto-notify : New listing in category');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 127 characters
    Open

    define('_MI_ADSLIGHT_ADSLIGHT_CATS_CODE_DESC', 'Google adsence code or code of a banner:<br>Format: width = 300 height = 250');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 131 characters
    Open

    define('_MI_ADSLIGHT_USEDESC_TIPS_WRITE', "If you select 'yes', you can write below the title and text of the page info / advice");
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 129 characters
    Open

    define('_MI_ADSLIGHT_GLOBAL_UPDATE_NEWPOST_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE}: auto-notify : Listing updated in categories');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 274 characters
    Open

    define('_MI_ADSLIGHT_RESIZEDW_DESC', 'Resized picture width in pixels<br>This means your picture will have<br>at most this size in width<br>All proportions are maintained<br> The original picture if bigger than this size will <br>be resized so it wont break your template');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 157 characters
    Open

    define('_MI_ADSLIGHT_SUPPORT01', ' If you wish to suggest an improvement:<br><br>- A correction<br>- A translation<br>- A suggestion<br>- Report a Bug<br>');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 283 characters
    Open

    define('_MI_ADSLIGHT_ACTIVE_THUMBSCATS_DESC', "Enable the display of thumbnail pictures in the categories<br>If it is off an icon <img src='" . XOOPS_URL . "/modules/adslight/assets/images/camera_photo.png' width='24px' ><br> indicates whether or not there is a picture in the ad.");
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 126 characters
    Open

    define('_MI_ADSLIGHT_DELETE_NEWPOST_NOTIFYDSC', 'Receive notification when an listing is deleted from the current category.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 283 characters
    Open

    define('_MI_ADSLIGHT_RESIZEDH_DESC', 'Resized picture height in pixels<br>This means your picture will have<br>at most this size in height<br>All proportions are maintained<br> The original picture if bigger than this size will <br>be resized so it wont break your template design');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 186 characters
    Open

    define('_MI_ADSLIGHT_ORIGH_DESC', "Maximum original picture height in pixels<br>This means user's original picture can't exceed <br>this size in height<br>or else it won't be uploaded");
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 130 characters
    Open

    define('_MI_ADSLIGHT_MAXFILEBYTES_D', 'This the maximum size a file of your pictue can have in bytes <br>like 512000 for 500 KB');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 276 characters
    Open

    define('_MI_ADSLIGHT_ACTIVE_THUMBSINDEX_DESC', "Enable the display of thumbnail images to homepage<br>If it is off an icon <img src='" . XOOPS_URL . "/modules/adslight/assets/images/camera_photo.png' width='24px' ><br> indicates whether or not there is a picture in the ad.");
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 155 characters
    Open

    define('_MI_ADSLIGHT_UPLOAD_DESC', 'Path to your uploads directory<br>in linux should look like /var/www/uploads<br>in windows like C:/Program Files/www');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 157 characters
    Open

    define('_MI_ADSLIGHT_ACTIVE_REWRITEURL_DESC', 'Enable URL rewriting for a better ranking.<br>To install the rewrite, thank you to read the file README.txt');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 185 characters
    Open

    define('_MI_ADSLIGHT_ORIGW_DESC', "Maximum original picture width in pixels<br>This means user's original picture can't exceed <br>this size in height<br>or else it won't be uploaded");
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 178 characters
    Open

    define('_MI_ADSLIGHT_THUMBH_DESC', 'Thumbnails Height in pixels<br>This means your picture thumbnail will have<br>at most this size in height<br>All proportions are maintained');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 149 characters
    Open

    define('_MI_ADSLIGHT_ADSLIGHT_USE_BANNER_DESC', 'allows you to insert banners Xoops between proposals.<br>If you choose Yes<br>NO insert code here');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 168 characters
    Open

    define('_MI_ADSLIGHT_ADSLIGHT_INDEX_CODE_PLACE_DESC', 'Ex. If you choose 4 there will be 3 proposals before this code.<br>The code will be displayed in 4th position.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 130 characters
    Open

    define('_MI_ADSLIGHT_LINKUPLOAD_DE', 'This is the address of the root of your uploads <br>like https://www.yoursite.com/uploads');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status