diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 65cbad613b2..cccf523278b 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -29,17 +29,6 @@ jobs: coverage: "none" php-version: "8.3" - - name: "Remove existing composer file" - run: "rm composer.json" - - - name: "Require phpdocumentor/guides-cli" - run: "composer require --dev phpdocumentor/guides-cli --no-update" - - - name: "Install dependencies with Composer" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "highest" - - name: "Add orphan metadata where needed" run: | printf '%s\n\n%s\n' ":orphan:" "$(cat docs/en/sidebar.rst)" > docs/en/sidebar.rst diff --git a/composer.json b/composer.json index 76df2056e4b..4e58235e154 100644 --- a/composer.json +++ b/composer.json @@ -42,6 +42,7 @@ "doctrine/annotations": "^1.13 || ^2", "doctrine/coding-standard": "^9.0.2 || ^12.0", "phpbench/phpbench": "^0.16.10 || ^1.0", + "phpdocumentor/guides-cli": "^1.4", "phpstan/phpstan": "~1.4.10 || 1.12.0", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6", "psr/log": "^1 || ^2 || ^3",