Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/auto-regenerate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
coverage: "pcov"
php-version: "8.4"

- name: "Check out salathe/phpdoc-base"
- name: "Check out php/doc-base"
uses: "actions/checkout@v6"
with:
path: "generator/docs/salathe/phpdoc-base"
repository: "salathe/phpdoc-base"
path: "generator/docs/php/doc-base"
repository: "php/doc-base"
fetch-depth: 0

- name: "Check out php/doc-en"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
path: "generator/docs"
key: php-docs-${{ steps.date.outputs.date }}

- name: "Check out salathe/phpdoc-base"
- name: "Check out php/doc-base"
uses: "actions/checkout@v6"
if: steps.cache-php-docs.outputs.cache-hit != 'true'
with:
path: "generator/docs/salathe/phpdoc-base"
repository: "salathe/phpdoc-base"
path: "generator/docs/php/doc-base"
repository: "php/doc-base"
fetch-depth: 0

- name: "Check out php/doc-en"
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ $ generator/safe.php download-docs

This will download the PHP documentation from the official repository.

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

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

Expand Down
2 changes: 1 addition & 1 deletion generator/src/Commands/DownloadDocsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$this->filesystem->remove(PathHelper::docsDirectory());
$this->filesystem->mkdir(PathHelper::docsDirectory());

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

return self::SUCCESS;
Expand Down
2 changes: 1 addition & 1 deletion generator/src/XmlDocParser/DocPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public static function buildEntities(): void
$file1 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-en/language-defs.ent') ?: '';
$file2 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-en/language-snippets.ent') ?: '';
$file3 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-en/extensions.ent') ?: '';
$file4 = \file_get_contents(PathHelper::docsDirectory() . '/salathe/phpdoc-base/entities/global.ent') ?: '';
$file4 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-base/entities/global.ent') ?: '';

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

Expand Down