src/Utils/Cache.php
The property $_cacheTag is not named in camelCase. Open
Open
class Cache
{
/**
* @var \Imanghafoori\Widgets\Utils\CacheTag
*/
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
Property name "$_cacheTag" should not be prefixed with an underscore to indicate visibility Open
Open
private $_cacheTag;
- Exclude checks
The variable $_key is not named in camelCase. Open
Open
private function makeCacheKey(array $arg, $widget, string $form): string
{
if (method_exists($widget, 'cacheKey')) {
return $widget->cacheKey($arg);
}
- 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 $_key is not named in camelCase. Open
Open
private function makeCacheKey(array $arg, $widget, string $form): string
{
if (method_exists($widget, 'cacheKey')) {
return $widget->cacheKey($arg);
}
- 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 $_key is not named in camelCase. Open
Open
private function makeCacheKey(array $arg, $widget, string $form): string
{
if (method_exists($widget, 'cacheKey')) {
return $widget->cacheKey($arg);
}
- 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 $_key is not named in camelCase. Open
Open
private function makeCacheKey(array $arg, $widget, string $form): string
{
if (method_exists($widget, 'cacheKey')) {
return $widget->cacheKey($arg);
}
- 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 $_key is not named in camelCase. Open
Open
private function makeCacheKey(array $arg, $widget, string $form): string
{
if (method_exists($widget, 'cacheKey')) {
return $widget->cacheKey($arg);
}
- 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();
}
}