Showing 910 of 910 total issues
Opening brace should be on a new line Open
Open
private static function validatePart($request, $match, $id){
- Exclude checks
Opening brace should be on a new line Open
Open
public static function listAll($request, $match, $p){
- Exclude checks
Whitespace found at end of line Open
Open
* @param Pluf_HTTP_Request $request
- Exclude checks
Whitespace found at end of line Open
Open
* @param Pluf_HTTP_Request $request
- Exclude checks
Multi-line function call not indented correctly; expected 4 spaces but found 8 Open
Open
));
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
'more than one Part exist with the name $s', $name));
- Exclude checks
Whitespace found at end of line Open
Open
* @param array $p
- Exclude checks
Whitespace found at end of line Open
Open
* @param array $p
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Whitespace found at end of line Open
Open
* @param array $match
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
Open
} else if (isset($request->REQUEST['course'])) {
- Exclude checks
Whitespace found at end of line Open
Open
* @param array $p
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
'The model class was not provided in the parameters.');
- Exclude checks
The variable $search_fields is not named in camelCase. Open
Open
function configure($search_fields = array(), $sort_fields = array())
{
if (is_array($search_fields)) {
$this->search_fields = $search_fields;
}
- 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 $sort_fields is not named in camelCase. Open
Open
public static function find($request, $match)
{
// check for topic
if (isset($match['topicId'])) {
$topicId = $match['topicId'];
- 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 $search_fields is not named in camelCase. Open
Open
public static function find($request, $match)
{
// check for lesson
if (isset($match['lessonId'])) {
$lessonId = $match['lessonId'];
- 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 $sort_fields is not named in camelCase. Open
Open
public static function find($request, $match)
{
// check for topic
if (isset($match['topicId'])) {
$topicId = $match['topicId'];
- 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 $search_fields is not named in camelCase. Open
Open
function __construct($model = null, $search_fields = array())
{
$this->model = $model;
$this->configure($search_fields);
}
- 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 $search_fields is not named in camelCase. Open
Open
public static function find($request, $match)
{
// check for lesson
if (isset($match['lessonId'])) {
$lessonId = $match['lessonId'];
- 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 $sort_fields is not named in camelCase. Open
Open
public static function find($request, $match)
{
// check for lesson
if (isset($match['lessonId'])) {
$lessonId = $match['lessonId'];
- 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();
}
}