-
Notifications
You must be signed in to change notification settings - Fork 29
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
IOPS-1870 Allow Van as surname when only surname #1
Conversation
@estringana, thanks for your PR! By analyzing the history of the files in this pull request, we identified @wyrfel to be a potential reviewer. |
f3fc3bf
to
df4233a
Compare
src/Part/Lastname.php
Outdated
return static::$prefixes[self::getKey($value)]; | ||
} | ||
|
||
return $this->camelcase($this->getValue()); | ||
} | ||
|
||
public function setAsNotPrefix() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disableCheckForPrefixes() ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setIsPrefix() 😄
It was detected that Van was always detected as prefix of surname. However, it did not make sense to have a prefix without a surname. This PR fixes that, it checks if it is the only surname and if it is, it get the only surname as surname without paying attention to the prefixes.
df4233a
to
1124002
Compare
It was detected that Van was always detected as prefix of surname.
However, it did not make sense to have a prefix without a surname.
This PR fixes that, it checks if it is the only surname and if it
is, it get the only surname as surname without paying attention
to the prefixes.