-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
test-related questions, understand whether you need to change the test in the testMcryptGenericMode #21
base: master
Are you sure you want to change the base?
Conversation
…vider method, which loads the listing without the invalid-module
…vider method, which loads the listing without the invalid-module
…vider method, which loads the listing without the invalid-module
…vider method, which loads the listing without the invalid-module
…vider method, which loads the listing without the invalid-module
…vider method, which loads the listing without the invalid-module
First, you should squash your commits into a single commit. Second, you shouldn't include a composer.lock file. That's more intended for projects - not libraries. https://blog.martinhujer.cz/17-tips-for-using-composer-efficiently/ elaborates. I'll make a few other comments in line. |
Well, actually, I'm not sure in-line comments are necessary. I'm not sure your README.md changes make a lot of sense. You say, in a newly added "How to Contribute" section, simply "composer install". That's doesn't really tell me how to contribute. And the new "Tests" section... idk it seems a bit redundant to me. You did identify a few areas that could benefit from coding standards cleanup. eg. changing return $mode[0] == 'N' ?
'n' . substr($mode, 1) :
$mode; ...to this: return $mode[0] == 'N' ? 'n' . substr($mode, 1) : $mode; And for the unit tests... you changed the data provider for |
Thank you very much for the comments, I will make the necessary changes, and remove those redundant ones. In the test question, I created a new method to solve a problem that I was presenting as a risk, and then I detected that I had an invalid-mode option with a false value, and then I immediately followed a validation and returned, where I decided to create a new provider with different values. Thank you very much in advance. |
Well I noticed that in the tests has a "Risky", and I went to look at the code:
And you wanted to know if it's for you this way, or do you accept that you make changes to this method?
I ran the tests on my machine, and this was the displayed log of script execution: