Skip to content

Commit bafadd9

Browse files
Update RoboFile.php: Fix links to extensions' sourcecode
Page: https://codeception.com/extensions
1 parent 4cb98c8 commit bafadd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

RoboFile.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy