HOR-3620
Change phing's class Task to PhingTask
This commit is contained in:
2
thirdparty/phing/BuildEvent.php
vendored
2
thirdparty/phing/BuildEvent.php
vendored
@@ -57,7 +57,7 @@ class BuildEvent extends EventObject {
|
||||
/**
|
||||
* A reference to the task
|
||||
*
|
||||
* @var Task
|
||||
* @var PhingTask
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
|
||||
@@ -28,12 +28,12 @@ include_once 'phing/RuntimeConfigurable.php';
|
||||
* Use {@link Project#createTask} to register a new Task.
|
||||
*
|
||||
* @author Andreas Aderhold <andi@binarycloud.com>
|
||||
* @copyright © 2001,2002 THYRELL. All rights reserved
|
||||
* @copyright © 2001,2002 THYRELL. All rights reserved
|
||||
* @version $Revision: 1.11 $
|
||||
* @see Project#createTask()
|
||||
* @package phing
|
||||
*/
|
||||
abstract class Task extends ProjectComponent {
|
||||
abstract class PhingTask extends ProjectComponent {
|
||||
|
||||
/** owning Target object */
|
||||
protected $target;
|
||||
2
thirdparty/phing/UnknownElement.php
vendored
2
thirdparty/phing/UnknownElement.php
vendored
@@ -171,7 +171,7 @@ class UnknownElement extends TaskPhing {
|
||||
* @param UnknownElement $ue The unknwon element to create a task from
|
||||
* @param RuntimeConfigurable $w The wrapper object
|
||||
* @param boolean $onTopLevel Whether to treat this task as if it is top-level.
|
||||
* @return Task The freshly created task
|
||||
* @return PhingTask The freshly created task
|
||||
*/
|
||||
protected function makeTask(UnknownElement $ue, RuntimeConfigurable $w, $onTopLevel = false) {
|
||||
|
||||
|
||||
4
thirdparty/phing/parser/TaskHandler.php
vendored
4
thirdparty/phing/parser/TaskHandler.php
vendored
@@ -29,7 +29,7 @@ include_once 'phing/UnknownElement.php';
|
||||
* initialized on the fly.
|
||||
*
|
||||
* @author Andreas Aderhold <andi@binarycloud.com>
|
||||
* @copyright <EFBFBD> 2001,2002 THYRELL. All rights reserved
|
||||
* @copyright © 2001,2002 THYRELL. All rights reserved
|
||||
* @version $Revision: 1.10 $
|
||||
* @package phing.parser
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ class TaskHandler extends AbstractHandler {
|
||||
/**
|
||||
* Reference to the task object that represents the currently parsed
|
||||
* target.
|
||||
* @var Task
|
||||
* @var PhingTask
|
||||
*/
|
||||
private $task;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ class SequentialTask extends TaskPhing implements TaskContainer {
|
||||
|
||||
/**
|
||||
* Add a nested task to Sequential.
|
||||
* @param Task $nestedTask Nested task to execute Sequential
|
||||
* @param PhingTask $nestedTask Nested task to execute Sequential
|
||||
*/
|
||||
public function addTask(TaskPhing $nestedTask) {
|
||||
$this->nestedTasks[] = $nestedTask;
|
||||
|
||||
2
thirdparty/phing/util/SourceFileScanner.php
vendored
2
thirdparty/phing/util/SourceFileScanner.php
vendored
@@ -37,7 +37,7 @@ class SourceFileScanner {
|
||||
private $task;
|
||||
|
||||
/**
|
||||
* @param task The task we should log messages through
|
||||
* @param PhingTask The task we should log messages through
|
||||
*/
|
||||
function __construct($task) {
|
||||
$this->task = $task;
|
||||
|
||||
Reference in New Issue
Block a user