Skip to content

Commit 62bbd33

Browse files
committed
Keep generic constant naming
1 parent 015ae8c commit 62bbd33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RoboFile.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class RoboFile extends \Robo\Tasks
1010
use DocumentationHelpers;
1111

1212
const REPO_BLOB_URL = 'https://github.com/Codeception/Codeception/blob';
13-
const BRANCH_53 = '5.3';
13+
const BRANCH_5x = '5.3';
1414
const BRANCH_MAIN = 'main';
1515

1616
function post()
@@ -420,11 +420,11 @@ public function buildPhar82()
420420
'ext-phalcon',
421421
);
422422

423-
$version = self::BRANCH_53 . '.' . date('Ymd');
423+
$version = self::BRANCH_5x . '.' . date('Ymd');
424424
$releaseDir = "releases/$version";
425425
$this->stopOnFail();
426426
$this->taskFilesystemStack()->mkdir('build/82')->run();
427-
$this->setCodeceptionVersionTo('^' . self::BRANCH_53, $ignoredPlatformReqs);
427+
$this->setCodeceptionVersionTo('^' . self::BRANCH_5x, $ignoredPlatformReqs);
428428
$this->setPlatformVersionTo('8.2.0', $ignoredPlatformReqs);
429429
$buildFile = 'build/82/codecept.phar';
430430
$this->buildPhar($buildFile);
@@ -441,7 +441,7 @@ public function buildPhar82()
441441

442442
public function release82()
443443
{
444-
$version = self::BRANCH_53 . '.' . date('Ymd');
444+
$version = self::BRANCH_5x . '.' . date('Ymd');
445445
$releaseDir = "releases/$version";
446446
$this->updateBuildsPage();
447447

0 commit comments

Comments
 (0)