mambax7/alumni-26x

View on GitHub
locale/en_US/en_US.php

Summary

Maintainability
A
0 mins
Test Coverage

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class AlumniLocaleEn_US /*extends XoopsLocaleEn_US*/
Severity: Minor
Found in locale/en_US/en_US.php by phpcodesniffer

The class AlumniLocaleEn_US is not named in CamelCase.
Open

class AlumniLocaleEn_US /*extends XoopsLocaleEn_US*/
{
    // Module
    const MODULE_NAME = 'Alumni';
    const MODULE_DESC = 'Module for creating Alumni pages';
Severity: Minor
Found in locale/en_US/en_US.php by phpmd

CamelCaseClassName

Since: 0.2

It is considered best practice to use the CamelCase notation to name classes.

Example

class class_name {
}

Source

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 26 and the first side effect is on line 21.
Open

<?php
Severity: Minor
Found in locale/en_US/en_US.php by phpcodesniffer

Line exceeds 120 characters; contains 162 characters
Open

    const CONF_USE_INDEX_CODE_DESC = 'Put additional code between listings<br>on the index page<br>and the categories page.<br><br>Banners, Adsense code, etc...';
Severity: Minor
Found in locale/en_US/en_US.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

    const NOTIFICATION_CATEGORY_NEWLISTING_DSC = 'Receive notification when any new listing is published in the current category.';
Severity: Minor
Found in locale/en_US/en_US.php by phpcodesniffer

Line exceeds 120 characters; contains 147 characters
Open

    const CONF_USE_BANNER_DESC = 'Will allow you to insert xoopsbanners in between listings.<br>If you choose Yes<br>Do Not insert any code below';
Severity: Minor
Found in locale/en_US/en_US.php by phpcodesniffer

Line exceeds 120 characters; contains 148 characters
Open

    const CONF_INDEX_CODE_PLACE_DESC = 'Ex. If you choose 4 there will be 3 listings before this code.<br> Code will be displayed in the 4th slot.';
Severity: Minor
Found in locale/en_US/en_US.php by phpcodesniffer

Class name "AlumniLocaleEn_US" is not in camel caps format
Open

class AlumniLocaleEn_US /*extends XoopsLocaleEn_US*/
Severity: Minor
Found in locale/en_US/en_US.php by phpcodesniffer

There are no issues that match your filters.

Category
Status