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 {
|
try {
|
||||||
$element .= self::resolveFile($project, $pathElement);
|
$element .= self::resolveFile($project, $pathElement);
|
||||||
} catch (BuildException $e) {
|
} 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",
|
. " as it is not valid relative to the project",
|
||||||
PROJECT_MSG_VERBOSE);
|
PROJECT_MSG_VERBOSE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user