-
Notifications
You must be signed in to change notification settings - Fork 17
Feature: Add PhpDoc check #182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 1.x
Are you sure you want to change the base?
Feature: Add PhpDoc check #182
Conversation
1a1aba3
to
081b727
Compare
$urls = []; | ||
$files = $this->getFiles(self::DIR_AND_FILES_TO_CHECK); | ||
foreach ($files as $file) { | ||
array_push($urls, ...$this->extractUrls($file)); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
2dad9d9
to
cf0cbc2
Compare
Need help about dagger implementation