Showing 119 of 119 total issues
The first parameter of a multi-line function declaration must be on the line after the opening bracket Open
Open
public static function invokeSoap($wsdlURL, $method,
- Exclude checks
The first parameter of a multi-line function declaration must be on the line after the opening bracket Open
Open
public static function validateEquality($paramName, array $data,
- Exclude checks
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line Open
Open
{
- Exclude checks
Multi-line function declarations must define one parameter per line Open
Open
public static function recursiveArraySearch($needleKey, $needleValue,
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 38 Open
Open
\Closure $callback = null)
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 46 Open
Open
array $params)
- Exclude checks
The closing parenthesis of a multi-line function declaration must be on a new line Open
Open
array $params)
- Exclude checks
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line Open
Open
{
- Exclude checks
The first parameter of a multi-line function declaration must be on the line after the opening bracket Open
Open
public static function recursivelySetValue($needleKey, $needleValue,
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 36 Open
Open
$_return_header = true)
- Exclude checks
Multi-line function declarations must define one parameter per line Open
Open
public static function invokeSoap($wsdlURL, $method,
- Exclude checks
The closing parenthesis of a multi-line function declaration must be on a new line Open
Open
array $params = [])
- Exclude checks
The first parameter of a multi-line function declaration must be on the line after the opening bracket Open
Open
public static function validateByCallback($paramName, array $data,
- Exclude checks
Multi-line function declarations must define one parameter per line Open
Open
public static function validateByCallback($paramName, array $data,
- Exclude checks
The closing parenthesis of a multi-line function declaration must be on a new line Open
Open
array $haystack)
- Exclude checks
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line Open
Open
{
- Exclude checks
The closing parenthesis of a multi-line function declaration must be on a new line Open
Open
array $options = array())
- Exclude checks
Missing class import via use statement (line '97', column '23'). Open
Open
throw new \Exception('Parameter is not set');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '84', column '31'). Open
Open
$soapClient = new \SoapClient($wsdlURL, $options);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '88', column '20'). Open
Open
$ref = new \ReflectionClass($className);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}