modules/Users/textparsers/MeetingUrl.php
Call to method getParam
from undeclared class \App\TextParser
(Did you mean class \Tests\App\TextParser) Open
Open
return $this->textParser->getParam('meetingUrl');
- Exclude checks
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Users_MeetingUrl_Textparser extends \App\TextParser\Base
- Exclude checks
The class Users_MeetingUrl_Textparser is not named in CamelCase. Open
Open
class Users_MeetingUrl_Textparser extends \App\TextParser\Base
{
/** @var string Class name */
public $name = 'LBL_MEETING_URL';
- Read upRead up
- Exclude checks
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
Open
* Process.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $name = 'LBL_MEETING_URL';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @var string Class name */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $this->textParser->getParam('meetingUrl');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $type = 'mail';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function process()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @var string Parser type */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return string
- Exclude checks
Class name "Users_MeetingUrl_Textparser" is not in camel caps format Open
Open
class Users_MeetingUrl_Textparser extends \App\TextParser\Base
- Exclude checks