Skip to content

Commit

Permalink
Fixes the warnings from codesniffer for constant visibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius committed Apr 11, 2020
1 parent 40bef46 commit a69c391
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Cli/AcquiaCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AcquiaCli

private $runner;

const NAME = 'AcquiaCli';
public const NAME = 'AcquiaCli';

/**
* AcquiaCli constructor.
Expand Down
10 changes: 5 additions & 5 deletions src/Commands/AcquiaCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,27 @@ abstract class AcquiaCommand extends Tasks
/**
* Regex for a valid UUID string.
*/
const UUIDV4 = '/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i';
public const UUIDV4 = '/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i';

/**
* Task response from API indicates failure.
*/
const TASKFAILED = 'failed';
protected const TASKFAILED = 'failed';

/**
* Task response from API indicates completion.
*/
const TASKCOMPLETED = 'completed';
protected const TASKCOMPLETED = 'completed';

/**
* Task response from API indicates started.
*/
const TASKSTARTED = 'started';
protected const TASKSTARTED = 'started';

/**
* Task response from API indicates in progress.
*/
const TASKINPROGRESS = 'in-progress';
protected const TASKINPROGRESS = 'in-progress';

/**
* AcquiaCommand constructor.
Expand Down

0 comments on commit a69c391

Please sign in to comment.