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
1212 const REPO_BLOB_URL = 'https://github.com/Codeception/Codeception/blob ' ;
1313 const BRANCH_4x = '4.2 ' ;
1414 const BRANCH_5x = '5.1 ' ;
15+ const BRANCH_MAIN = 'main ' ;
1516
1617 function post ()
1718 {
@@ -263,7 +264,7 @@ public function buildDocsExtensions()
263264 ->prepend ("# Official Extensions \n" )
264265 ->processClassSignature (function (ReflectionClass $ r , $ text ) {
265266 $ 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) " ;
267268 })
268269 ->filterMethods (function (ReflectionMethod $ r ) {
269270 return false ;
You can’t perform that action at this time.
0 commit comments