PMC-1407 "$this" can no longer be used in a plain function or method since PHP 7.1.
This commit is contained in:
2
thirdparty/phing/types/Path.php
vendored
2
thirdparty/phing/types/Path.php
vendored
@@ -318,7 +318,7 @@ class Path extends DataType {
|
||||
try {
|
||||
$element .= self::resolveFile($project, $pathElement);
|
||||
} catch (BuildException $e) {
|
||||
$this->project->log("Dropping path element " . $pathElement
|
||||
self::$project->log("Dropping path element " . $pathElement
|
||||
. " as it is not valid relative to the project",
|
||||
PROJECT_MSG_VERBOSE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user