Showing 6 of 6 total issues
The parameter $event_proto is not named in camelCase. Open
Open
public function __construct(
$scopes = '',
EventInterface $event_proto = null
) {
// set scopes
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The variable $event_proto is not named in camelCase. Open
Open
public function __construct(
$scopes = '',
EventInterface $event_proto = null
) {
// set scopes
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_manager is not named in camelCase. Open
Open
public static function getEventManager()
{
if (!isset(self::$event_manager[get_called_class()])) {
self::$event_manager[get_called_class()] =
EventDispatcher::getShareable(static::$static_scope);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_manager is not named in camelCase. Open
Open
public static function setEventManager(EventManagerInterface $eventManager)
{
self::$event_manager[get_called_class()] = $eventManager;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_manager is not named in camelCase. Open
Open
public static function getEventManager()
{
if (!isset(self::$event_manager[get_called_class()])) {
self::$event_manager[get_called_class()] =
EventDispatcher::getShareable(static::$static_scope);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_manager is not named in camelCase. Open
Open
public static function getEventManager()
{
if (!isset(self::$event_manager[get_called_class()])) {
self::$event_manager[get_called_class()] =
EventDispatcher::getShareable(static::$static_scope);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}