Skip to content

Conversation

StevenRenaux
Copy link
Collaborator

Q A
Gotenberg API version ? 8.x
Bug fix ? no
New feature ? yes
BC break ? no
Issues Fix #159

Need help about dagger implementation

@StevenRenaux StevenRenaux changed the title Add PhpDoc check Feature: Add PhpDoc check Aug 21, 2025
@StevenRenaux StevenRenaux force-pushed the features/Add-phpdoc-links-check branch from 1a1aba3 to 081b727 Compare August 21, 2025 13:53
@StevenRenaux StevenRenaux added the help wanted Extra attention is needed label Sep 15, 2025
$urls = [];
$files = $this->getFiles(self::DIR_AND_FILES_TO_CHECK);
foreach ($files as $file) {
array_push($urls, ...$this->extractUrls($file));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

easier way to do this would be to leverage AppendIterator

array_push($urls, ...$this->extractUrls($file));
}

$urls = array_unique($urls);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will not work if using AppendIterator

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe let's keep as array, I prefer to not call multiple times same URL

@StevenRenaux StevenRenaux force-pushed the features/Add-phpdoc-links-check branch from 2dad9d9 to cf0cbc2 Compare September 16, 2025 14:52
@StevenRenaux StevenRenaux removed the help wanted Extra attention is needed label Sep 16, 2025
@StevenRenaux StevenRenaux added the documentation Improvements or additions to documentation label Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Make sure all links in the documentation / phpdoc are still valid

2 participants