Skip to content

Commit 4fbc008

Browse files
committed
use the official php/doc-base repository
salathe/phpdoc-base was one guy's abandoned fork from 7 years ago
1 parent a4f8976 commit 4fbc008

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/auto-regenerate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
coverage: "pcov"
2020
php-version: "8.4"
2121

22-
- name: "Check out salathe/phpdoc-base"
22+
- name: "Check out php/doc-base"
2323
uses: "actions/checkout@v6"
2424
with:
25-
path: "generator/docs/salathe/phpdoc-base"
26-
repository: "salathe/phpdoc-base"
25+
path: "generator/docs/php/doc-base"
26+
repository: "php/doc-base"
2727
fetch-depth: 0
2828

2929
- name: "Check out php/doc-en"

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
path: "generator/docs"
3131
key: php-docs-${{ steps.date.outputs.date }}
3232

33-
- name: "Check out salathe/phpdoc-base"
33+
- name: "Check out php/doc-base"
3434
uses: "actions/checkout@v6"
3535
if: steps.cache-php-docs.outputs.cache-hit != 'true'
3636
with:
37-
path: "generator/docs/salathe/phpdoc-base"
38-
repository: "salathe/phpdoc-base"
37+
path: "generator/docs/php/doc-base"
38+
repository: "php/doc-base"
3939
fetch-depth: 0
4040

4141
- name: "Check out php/doc-en"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ $ generator/safe.php download-docs
9696

9797
This will download the PHP documentation from the official repository.
9898

99-
https://github.com/salathe/phpdoc-base
99+
https://github.com/php/doc-base
100100

101101
https://github.com/php/doc-en
102102

generator/src/Commands/DownloadDocsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
4040
$this->filesystem->remove(PathHelper::docsDirectory());
4141
$this->filesystem->mkdir(PathHelper::docsDirectory());
4242

43-
$this->clone($output, 'salathe/phpdoc-base');
43+
$this->clone($output, 'php/doc-base');
4444
$this->clone($output, 'php/doc-en');
4545

4646
return self::SUCCESS;

generator/src/XmlDocParser/DocPage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public static function buildEntities(): void
187187
$file1 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-en/language-defs.ent') ?: '';
188188
$file2 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-en/language-snippets.ent') ?: '';
189189
$file3 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-en/extensions.ent') ?: '';
190-
$file4 = \file_get_contents(PathHelper::docsDirectory() . '/salathe/phpdoc-base/entities/global.ent') ?: '';
190+
$file4 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-base/entities/global.ent') ?: '';
191191

192192
$completeFile = $file1 . self::extractXmlHeader($file2) . self::extractXmlHeader($file3) . $file4;
193193

0 commit comments

Comments
 (0)