Open
Description
Doing a simple
class ConfigChecker
{
public FTPInterface $ftpCheckObject {
get {
return $this->ftpCheckObject;
}
set(FTPInterface $value) {
$this->ftpCheckObject = $value;
}
}
}
causes the following errors:
--------------------------------------------------------------------------------
FOUND 10 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
10 | ERROR | There must not be more than one property declared per statement
12 | ERROR | Visibility must be declared on property "$this"
12 | ERROR | Scope modifier not specified for member variable "$this"
14 | WARNING | Code after the RETURN statement on line 12 cannot be executed
14 | ERROR | There must not be more than one property declared per statement
14 | ERROR | Visibility must be declared on property "$value"
14 | ERROR | Scope modifier not specified for member variable "$value"
15 | WARNING | Code after the RETURN statement on line 12 cannot be executed
15 | ERROR | There must not be more than one property declared per statement
15 | ERROR | Visibility must be declared on property "$this"
15 | ERROR | Scope modifier not specified for member variable "$this"
15 | ERROR | Scope modifier not specified for member variable "$value"
--------------------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
No labels