fzaninotto/Faker — pull request #89 by alexsegura (2012-12-06 21:06:14+00:00)
Title: Generation of valid SIREN & SIRET codes

Hi,

For another project, I wanted to use Faker to test a SIRET validator.
I noticed it doesn't generate SIREN & SIRET codes that are verifying the Luhn check.

It took me some time to figure it out, but I implemented a random code generation that produces 100% valid SIREN & SIRET.

It stays compliant with the `$maxSequentialDigits` parameter