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

feat: adds null search service for testing #320

Merged
merged 4 commits into from
Nov 14, 2019
Merged

Conversation

chloelbn
Copy link
Contributor

@chloelbn chloelbn commented Nov 6, 2019

Q A
Bug fix? no
New feature? yes
BC breaks? no
Related Issue Fix #317
Need Doc update no

Describe your change

We deleted NullEngine without providing an alternate example class to mock your searchService. This fixes it.

@chloelbn chloelbn force-pushed the feat/nullsearchservice branch from cfd9de8 to 0149a06 Compare November 6, 2019 16:46
Copy link

@aseure aseure left a comment

Choose a reason for hiding this comment

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

Out of curiosity, why did you remove all those @param doc comments?

@julienbourdeau
Copy link
Contributor

@aseure I had the same tought! My guess was that it was removed for arguments that are typed because the tools can already infer whatever is interesting.

@chloelbn
Copy link
Contributor Author

chloelbn commented Nov 7, 2019

@aseure @julienbourdeau indeed now php-cs-fixer raises errors when you both type-hint parameters and add doc blocks

Copy link
Member

@Ant-hem Ant-hem left a comment

Choose a reason for hiding this comment

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

Same comment regarding the deleted @params. This solution looks like a good trade-off as we discussed yesterday 👍

@nunomaduro nunomaduro changed the title feat(NullSearchService): adds an example NullSearchService feat: adds null search service for testing Nov 7, 2019
@chloelbn chloelbn force-pushed the feat/nullsearchservice branch from 998fbad to 6faf0be Compare November 12, 2019 17:05
@chloelbn chloelbn requested a review from nunomaduro November 12, 2019 17:06
@chloelbn chloelbn force-pushed the feat/nullsearchservice branch from 6faf0be to 72a71ca Compare November 13, 2019 09:03
@chloelbn chloelbn merged commit a62cf8f into master Nov 14, 2019
@chloelbn chloelbn deleted the feat/nullsearchservice branch November 14, 2019 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bring NullEngine back
6 participants