Apply fixes from StyleCI (#13208)

This commit is contained in:
Jellyfrog
2021-09-08 23:35:56 +02:00
committed by GitHub
parent c6d2385c3a
commit 26b95c0ccc
370 changed files with 1667 additions and 1667 deletions

View File

@@ -39,9 +39,9 @@ class ValidationResult
/**
* ValidationResult constructor.
* @param string $message The message to describe this result
* @param int $status The status of this result FAILURE, WARNING, or SUCCESS
* @param string $fix a suggested fix to highlight for the user
* @param string $message The message to describe this result
* @param int $status The status of this result FAILURE, WARNING, or SUCCESS
* @param string $fix a suggested fix to highlight for the user
*/
public function __construct($message, $status, $fix = null)
{
@@ -52,8 +52,8 @@ class ValidationResult
/**
* Create a new ok Validation result
* @param string $message The message to describe this result
* @param string $fix a suggested fix to highlight for the user
* @param string $message The message to describe this result
* @param string $fix a suggested fix to highlight for the user
* @return ValidationResult
*/
public static function ok($message, $fix = null)
@@ -63,8 +63,8 @@ class ValidationResult
/**
* Create a new warning Validation result
* @param string $message The message to describe this result
* @param string $fix a suggested fix to highlight for the user
* @param string $message The message to describe this result
* @param string $fix a suggested fix to highlight for the user
* @return ValidationResult
*/
public static function warn($message, $fix = null)
@@ -74,7 +74,7 @@ class ValidationResult
/**
* Create a new informational Validation result
* @param string $message The message to describe this result
* @param string $message The message to describe this result
* @return ValidationResult
*/
public static function info($message)
@@ -84,8 +84,8 @@ class ValidationResult
/**
* Create a new failure Validation result
* @param string $message The message to describe this result
* @param string $fix a suggested fix to highlight for the user
* @param string $message The message to describe this result
* @param string $fix a suggested fix to highlight for the user
* @return ValidationResult
*/
public static function fail($message, $fix = null)
@@ -147,7 +147,7 @@ class ValidationResult
* The commands (generally) to fix the issue.
* If there are multiple, use an array.
*
* @param string|array $fix
* @param string|array $fix
* @return ValidationResult $this
*/
public function setFix($fix)
@@ -203,8 +203,8 @@ class ValidationResult
* Print a list of items up to a max amount
* If over that number, a line will print the total items
*
* @param string $format format as consumed by printf()
* @param int $max the max amount of items to print, default 15
* @param string $format format as consumed by printf()
* @param int $max the max amount of items to print, default 15
*/
private function printList($format = "\t %s\n", $max = 15)
{