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
9 changes: 7 additions & 2 deletions .github/workflows/test-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,15 @@ jobs:
- name: "Install PHPUnit"
run: "composer install --working-dir=tools/phpunit"

- name: "Install Playwright browsers"
run: "vendor/bin/playwright-install --with-deps"
- name: "Install Playwright server"
run: "vendor/bin/playwright-install"
working-directory: "web/landing"

# Playwright advises against caching browsers on CI: https://playwright.dev/docs/ci#caching-browsers
- name: "Install Playwright Chromium headless shell"
run: "npx playwright install --with-deps --only-shell chromium"
working-directory: "web/landing/vendor/playwright-php/playwright/bin"

- name: "Test"
run: "just test-website"
env:
Expand Down
1 change: 0 additions & 1 deletion bin/docs.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ public function execute(InputInterface $input, OutputInterface $output): int
try {
$reflectionFunction = $reflector->reflectFunction($name);
} catch (IdentifierNotFound) {
// Not available in the playground PHP version.
continue;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
final readonly class ClassesExtractor
{
/**
* @param list<string> $phpExtensions PHP extensions whose built-in types are extracted next to the repository ones
* @param list<string> $phpExtensions
*/
public function __construct(
private string $repositoryRootPath,
Expand Down
Loading