Skip to content

Feature/pl pl license plate#62

Merged
bram-pkg merged 5 commits intoFakerPHP:mainfrom
scybulski:feature/pl-pl-license-plate
Nov 27, 2020
Merged

Feature/pl pl license plate#62
bram-pkg merged 5 commits intoFakerPHP:mainfrom
scybulski:feature/pl-pl-license-plate

Conversation

@scybulski
Copy link
Copy Markdown

This PR:

  • Adds a generator of Polish vehicle registration numbers.
    It tries to follow variety of possible registration numbers used in Poland.
    It also allows to generate numbers only for specific voivodeships or counties as well as for cars of services like Police, Tax Service or Counterintelligence Service.
  • Covered by tests

PR was originally opened here. It didn't get fully reviewed but got some positive feedback.

Comment thread src/Faker/Provider/pl_PL/LicensePlate.php Outdated
Comment thread src/Faker/Provider/pl_PL/LicensePlate.php Outdated
Comment thread src/Faker/Provider/pl_PL/LicensePlate.php Outdated
Comment thread src/Faker/Provider/pl_PL/LicensePlate.php Outdated
@scybulski
Copy link
Copy Markdown
Author

Thanks for feedback @IonBazan! All threads resolved.

@pimjansen pimjansen added the enhancement New feature or request label Nov 21, 2020
Comment thread src/Faker/Provider/pl_PL/LicensePlate.php
Comment thread src/Faker/Provider/pl_PL/LicensePlate.php Outdated
@bram-pkg
Copy link
Copy Markdown
Member

Please rebase instead of merge. That keeps the history clean.

@pimjansen
Copy link
Copy Markdown

Please rebase instead of merge. That keeps the history clean.

Agree, you can always rebase and cleanuo your history which i prefer on this but anyway we will squash if needed in all other cases

@scybulski
Copy link
Copy Markdown
Author

OK, thanks for the tip, I'm new to public PRs so appreciate all the feedback.

Copy link
Copy Markdown
Member

@bram-pkg bram-pkg left a comment

Choose a reason for hiding this comment

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

Please, can you also make a pull request to fakerphp.github.io for this Polish locale addition.

@scybulski
Copy link
Copy Markdown
Author

Please, can you also make a pull request to fakerphp.github.io for this Polish locale addition.

Sure!

@scybulski scybulski force-pushed the feature/pl-pl-license-plate branch 2 times, most recently from 0613261 to 66877cb Compare November 25, 2020 20:21
@scybulski
Copy link
Copy Markdown
Author

PR to the documentation: FakerPHP/fakerphp.github.io#13

@bram-pkg bram-pkg merged commit 538de90 into FakerPHP:main Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants