-
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
Enhancement for company names, titles and lastname extensions #40
base: master
Are you sure you want to change the base?
Conversation
…ed names and their separators, where the keys are representing vCard properties according to RFC6350
Okay, I used three commits to achieve the desired goal. But now I'm happy with the result. It's too bad that the automatic test routines have such narrow limits. |
Nice! Will work on I see you're also adding a PHPStan config in this PR. It would be good to add that in a separate PR, and run it via Github Actions. You can check php-translation/symfony-storage#38 as example 👍 |
@rvanlaak Thank you for your fast reaction. |
@blacksenator I will add PHPStan in a separate PR 👍 Would be best to remove as many unrelated files from this PR, so more tests pass. I'm also affraid that it would be best to split this PR in two. One for the titles / lastname extensions. And one for the company names. And, to get code coverage it probably is enough to add a test case in |
see #41 |
@wyrfel Do you agree with rvanlaak to split up this PR into two or maybe three PR´s? It is of course possible to split up the changes, but I would like to avoid the effort if it is not necessary. |
Hey @blacksenator . Like i said on the issue, i think some of this functionality is out of scope. I also feel this PR is implementing some things that are already there. I'll review and get back to you, though. In the meantime, yes, i agree that splitting into separate PRs for the different aspects would be good, e.g. one for PHPStan, one for extending the german language file etc. . That way we can more easily discuss the different aspects. |
@blacksenator I would like to integrate a lot of these changes into a next major release. For that to happen we will need you to remove the author, copyright and licence annotations in the code, please. We will credit you in the release notes and github provides transparency over the authorship, as well. |
done |
The additional methods on |
Is that a question for me? If so, then I have to admit that I did not understand what your idea for a workaround should look like |
@rvanlaak I'm planning to integrate this into a new major release that will have the LanguageInterface renamed to DefinitionInterface, anyway (see #46). It will also have multibyte-safe string operations. I'm afraid you will have to make the necessary adjustments when upgrading to that newer version, once ready. Do you anticipate major problems from this? |
What about releasing a minor version that adds If you would keep both This will give you time to release |
Fix #38
Differentiation between companies and personal names, more detailed mappings for prefixes (multiple words/components), titles (mainly academic with multiple words/components) and lastname extensions (nobilit predicates)