Skip to content

Commit 8f84079

Browse files
committed
Replaced old faker lib by the new one maintained
1 parent 15dd9ff commit 8f84079

File tree

3 files changed

+30
-20
lines changed

3 files changed

+30
-20
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ edyan/neuralyzer
1010

1111
## Summary
1212
This project is a library and a command line tool that **anonymizes** a database by updating data
13-
or generating fake data (update vs insert). It uses [Faker](https://github.com/fzaninotto/Faker)
13+
or generating fake data (update vs insert). It uses [Faker](https://github.com/fakerphp/faker)
1414
to generate data from rules defined in a configuration file.
1515

1616
As it can do row per row or use batch mechanisms, you can load tables with
@@ -109,11 +109,11 @@ language: en_US
109109
110110
You have to modify the file to change its configuration. For example, if you need to remove data
111111
while anonymizing and change the language
112-
(see [Faker's doc](https://github.com/fzaninotto/Faker/tree/master/src/Faker/Provider) for available languages), do :
112+
(see [Faker's doc](https://fakerphp.github.io/) for available languages), do :
113113
114114
```yaml
115115
# be careful that some languages have only a few methods.
116-
# Example : https://github.com/fzaninotto/Faker/tree/master/src/Faker/Provider/fr_FR
116+
# Example : https://github.com/FakerPHP/Faker/tree/v1.14.1/src/Faker/Provider/fr_FR
117117
language: fr_FR
118118
```
119119
@@ -413,7 +413,7 @@ config:
413413
# Prototype
414414
-
415415

416-
# Faker method to use, see doc : https://github.com/fzaninotto/Faker
416+
# Faker method to use, see doc : https://fakerphp.github.io/
417417
method: ~ # Required
418418

419419
# Set this option to true to generate unique values for that field (see faker->unique() generator)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"php": ">=7.2.5",
1717
"ext-pdo": "*",
1818
"doctrine/dbal": "^2",
19-
"fzaninotto/faker": "^1",
19+
"fakerphp/faker": "^1",
2020
"symfony/config": "^5",
2121
"symfony/console": "^5",
2222
"symfony/dependency-injection": "^5",

composer.lock

Lines changed: 25 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)