Sunnysideup\UpgradeToSilverstripe4\Tasks\IndividualTasks\FindFilesWithSimpleUseStatements

Synopsis

class FindFilesWithSimpleUseStatements extends Task {
}

Hierarchy

Members

protected

Methods

protected

public

Inherited from Sunnysideup\UpgradeToSilverstripe4\Tasks\Task

protected

  • commitAndPush() — Adds all files to Git staging and commits them with set commit message after execution and pushes it via git
  • ender() — Executed as the last step of a task. Used primarily for finishing off of changes made during execution of task.
  • getCommitMessage() — The commit message that is used for the final git commit after running this task. IF none are set it will return a default message
  • hasCommitAndPush() — Does the task require the module changes to be committed after the task has run.
  • runSilverstripeUpgradeTask() — Runs the SilverStripe made upgrader
  • setParams()
  • starter() — Runs everything that should be run and begining of execution, I.e commiting everything to get or creating a backup branch before making changes

public