Skip to content

Fixed spelling in exception messages #129

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

Merged
merged 1 commit into from
Oct 6, 2014
Merged

Conversation

dantleech
Copy link
Member

Can not => Cannot

}
throw new ValueFormatException('Can not convert '.var_export($value, true).' to DATE');
throw new ValueFormatException('Cannot convert "'.var_export($value, true).' to DATE');
Copy link
Member

Choose a reason for hiding this comment

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

missing closing quote. do you want to continue adding the quote below?

@dbu
Copy link
Member

dbu commented Oct 5, 2014

i remember we had this discussion before. seems cannot is good, although i thought "can not" would be better. lets do as you propose, but lets fix the rest of the quotes before merging.

@dantleech dantleech force-pushed the fixed_exception_messages branch from 1708012 to 7308576 Compare October 5, 2014 16:20
@dantleech
Copy link
Member Author

Yeah, I vaguely remember having a discussion ages ago now :) For me as a native speaker it looks wierd. I've added quotes for all the exceptions.

dbu added a commit that referenced this pull request Oct 6, 2014
Fixed spelling in exception messages
@dbu dbu merged commit 42d94f8 into master Oct 6, 2014
@dbu dbu deleted the fixed_exception_messages branch October 6, 2014 06:27
@dbu dbu deleted the fixed_exception_messages branch October 6, 2014 06:27
@dbu
Copy link
Member

dbu commented Oct 6, 2014

seems my old english teacher 20 years ago was drilling me on old style english :-D

there might be occurences of this throughout the phpcr / cmf stack...

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.

3 participants