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

Move files in typical src and tests folder #242

Merged
merged 2 commits into from
Jun 16, 2020
Merged

Move files in typical src and tests folder #242

merged 2 commits into from
Jun 16, 2020

Conversation

simonschaufi
Copy link
Contributor

No description provided.

@simonschaufi
Copy link
Contributor Author

Surprisingly psalm throws the same errors in master branch as well so I didn't break it!

@egulias
Copy link
Owner

egulias commented Jun 7, 2020

Hi @simonschaufi I think it makes sense.
It would be amazing if you fix the psalm error too ;).

@simonschaufi
Copy link
Contributor Author

To be honest, I don't understand the error message from psalm.

@simonschaufi
Copy link
Contributor Author

simonschaufi commented Jun 8, 2020

@egulias would you agree with merging this one and I'll try my best to find a solution in another PR?

@egulias
Copy link
Owner

egulias commented Jun 13, 2020

I understand the problem is here

* @var \Egulias\EmailValidator\Warning\Warning[]

The docblock says that it is an array of "Warning" type, however, the comparission is being done against an int from a constant. I think it needs a dockblock of type "array" instead.
Makes sense?

@simonschaufi
Copy link
Contributor Author

yes, this fixes it! Thank you for your help!

@egulias
Copy link
Owner

egulias commented Jun 16, 2020

Great news! All green! There we go.
Thanks @simonschaufi

@egulias egulias merged commit cfa3d44 into egulias:master Jun 16, 2020
@simonschaufi simonschaufi deleted the rename-directories branch June 16, 2020 21:52
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.

2 participants