File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ class RoboFile extends \Robo\Tasks
12
12
const REPO_BLOB_URL = 'https://github.com/Codeception/Codeception/blob ' ;
13
13
const BRANCH_4x = '4.2 ' ;
14
14
const BRANCH_5x = '5.1 ' ;
15
+ const BRANCH_MAIN = 'main ' ;
15
16
16
17
function post ()
17
18
{
@@ -263,7 +264,7 @@ public function buildDocsExtensions()
263
264
->prepend ("# Official Extensions \n" )
264
265
->processClassSignature (function (ReflectionClass $ r , $ text ) {
265
266
$ name = $ r ->getShortName ();
266
- return "## $ name \n\n[See Source]( " . self ::REPO_BLOB_URL . "/ " . self ::BRANCH_5x . "/ext/ $ name.php) " ;
267
+ return "## $ name \n\n[See Source]( " . self ::REPO_BLOB_URL . "/ " . self ::BRANCH_MAIN . "/ext/ $ name.php) " ;
267
268
})
268
269
->filterMethods (function (ReflectionMethod $ r ) {
269
270
return false ;
You can’t perform that action at this time.
0 commit comments