Code style fixes
This commit is contained in:
parent
0868eb9c69
commit
6891b8a75f
87 changed files with 598 additions and 603 deletions
|
|
@ -31,7 +31,7 @@ class PackageBuild implements \PHPCI\Plugin
|
|||
* @param Build $build
|
||||
* @param array $options
|
||||
*/
|
||||
public function __construct(Builder $phpci, Build $build, array $options = array())
|
||||
public function __construct(Builder $phpci, Build $build, array $options = [])
|
||||
{
|
||||
$path = $phpci->buildPath;
|
||||
$this->build = $build;
|
||||
|
|
@ -65,7 +65,7 @@ class PackageBuild implements \PHPCI\Plugin
|
|||
chdir($this->phpci->buildPath);
|
||||
|
||||
if (!is_array($this->format)) {
|
||||
$this->format = array($this->format);
|
||||
$this->format = [$this->format];
|
||||
}
|
||||
|
||||
foreach ($this->format as $format) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue