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

This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-11-27 09:18:29 -04:00
parent fb0d8abc53
commit 6bd24efcf4

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