Merged in bugfix/PMC-1407 (pull request #7144)

PMC-1407 "$this" can no longer be used in a plain function or method since PHP 7.1.

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Roly
2019-11-28 18:31:09 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -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);
}