YetiForceCompany/YetiForceCRM

View on GitHub
modules/Users/textparsers/MeetingUrl.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Call to method getParam from undeclared class \App\TextParser (Did you mean class \Tests\App\TextParser)
Open

        return $this->textParser->getParam('meetingUrl');
Severity: Critical
Found in modules/Users/textparsers/MeetingUrl.php by phan

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

class Users_MeetingUrl_Textparser extends \App\TextParser\Base

The class Users_MeetingUrl_Textparser is not named in CamelCase.
Open

class Users_MeetingUrl_Textparser extends \App\TextParser\Base
{
    /** @var string Class name */
    public $name = 'LBL_MEETING_URL';

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

Spaces must be used to indent lines; tabs are not allowed
Open

     * Process.

Spaces must be used to indent lines; tabs are not allowed
Open

    public $name = 'LBL_MEETING_URL';

Spaces must be used to indent lines; tabs are not allowed
Open

    /** @var string Class name */

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this->textParser->getParam('meetingUrl');

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

    public $type = 'mail';

Spaces must be used to indent lines; tabs are not allowed
Open

    public function process()

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    /** @var string Parser type */

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return string

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

class Users_MeetingUrl_Textparser extends \App\TextParser\Base

There are no issues that match your filters.

Category
Status