Skip to content
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

Trim Static Analysis Baselines #121

Merged
merged 2 commits into from
Jul 5, 2021
Merged

Trim Static Analysis Baselines #121

merged 2 commits into from
Jul 5, 2021

Conversation

AlexandruGG
Copy link
Collaborator

This PR removes the Psalm baseline and the PHPStan Docs baseline, which is not in use anymore because the docs folder is ignored.

Comment on lines +82 to +85
if (null !== $this->key) {
unset($this->indexes[$this->key]);
$this->key = key($this->indexes);
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@drupol let me know if this looks right to you. If the key is null then the unset will not have any effect anyway

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice catch :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Psalm's catch 😄

@AlexandruGG AlexandruGG marked this pull request as ready for review July 5, 2021 10:11
@drupol drupol merged commit b6f4860 into master Jul 5, 2021
@drupol drupol deleted the feature/trim-baselines branch July 5, 2021 10:11
@AlexandruGG
Copy link
Collaborator Author

thanks!

@drupol
Copy link
Collaborator

drupol commented Jul 5, 2021

Thanks mate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants