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

v3 proposal #17

Closed
weierophinney opened this issue Dec 31, 2019 · 5 comments
Closed

v3 proposal #17

weierophinney opened this issue Dec 31, 2019 · 5 comments
Assignees

Comments

@weierophinney
Copy link
Member

It extends #24 and add php 7.1 support

ping @weierophinney @Maks3w @bakura10


Originally posted by @snapshotpl at zendframework/zend-validator#177

@weierophinney
Copy link
Member Author

@snapshotpl
I see some problems, because you've mixed different problems in one commit:

  • this breaks the version control system
  • no way for a cherry-pick
  • reading the commit history is a mess
  • a review is very difficult

Each individual change should be one commit. Please create separate commits for each problem. Thank you in advance!


Originally posted by @froschdesign at zendframework/zend-validator#177 (comment)

@weierophinney
Copy link
Member Author

@snapshotpl Totally missed this when I submitted #181 earlier.

@froschdesign For large refactors, we simply cannot do one change at a time. In such cases, I would recommend posting a WIP with some of the ideas codified, and then creating an RFC in the contributors section of the forums. I'll be posting one related to #181 tomorrow, as I've done some significant work trying to address forwards and backwards compatibility at this point.


Originally posted by @weierophinney at zendframework/zend-validator#177 (comment)

@weierophinney
Copy link
Member Author

@weierophinney

For large refactors, we simply cannot do one change at a time.

You can, because a problem can change more than one line or one file!


Originally posted by @froschdesign at zendframework/zend-validator#177 (comment)

@weierophinney
Copy link
Member Author

I suppose it all depends on what a "change" is.

In this PR, there's a single commit that does two different things:

  • Updates travis.yml and composer.json to PHP 7.1
  • Adds Result.php, Message.php and the changes ValidatorInterface.php.

It seems to me that these should be two separate PRs. I agree with Matthew that more explanation on the reasons behind a significant change would be useful.


Originally posted by @akrabat at zendframework/zend-validator#177 (comment)

@weierophinney
Copy link
Member Author

@akrabat

I suppose it all depends on what a "change" is.

Replace the word "change" with "problem".

In this PR, there's a single commit that does two different things

Right!

I agree with Matthew that more explanation on the reasons behind a significant change would be useful.

I agree also.


I wanted to point out the problem with the "all-in-one-commits". No more.
We should add a new paragraph to the contributors guide to respect the principles of a version control system.


Originally posted by @froschdesign at zendframework/zend-validator#177 (comment)

@gsteel gsteel self-assigned this Jul 16, 2024
@gsteel gsteel closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
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

No branches or pull requests

2 participants