From 6bd24efcf4b64551d9b3c12a0e6943f09c3ed6bf Mon Sep 17 00:00:00 2001 From: Roly Rudy Gutierrez Pinto Date: Wed, 27 Nov 2019 09:18:29 -0400 Subject: [PATCH] PMC-1407 "$this" can no longer be used in a plain function or method since PHP 7.1. --- thirdparty/phing/types/Path.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/phing/types/Path.php b/thirdparty/phing/types/Path.php index 2205d92e5..502b3a1e3 100644 --- a/thirdparty/phing/types/Path.php +++ b/thirdparty/phing/types/Path.php @@ -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); }