Skip to content

Commit

Permalink
replaced fzaninotto/Faker with FakerPHP/Faker
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmannmartin committed Mar 8, 2022
1 parent 49d2cab commit 4051818
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 171 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -89,11 +89,11 @@
"doctrine/persistence": "^1.3.7",
"elasticsearch/elasticsearch": "^7.6.1",
"enlightn/security-checker": "^1.3",
"fakerphp/faker": "^1.19.0",
"fp/jsformvalidator-bundle": "^1.6.1",
"friendsofphp/php-cs-fixer": "^2.14.0",
"friendsofsymfony/ckeditor-bundle": "^2.1",
"friendsofsymfony/rest-bundle": "^2.7.1",
"fzaninotto/faker": "^1.7.1",
"gedmo/doctrine-extensions": "^2.4.34",
"google/cloud-storage": "^1.10",
"guzzlehttp/guzzle": "^6.3",
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbook/adding-new-attribute-to-an-entity.md
Expand Up @@ -282,7 +282,7 @@ You can modify data fixtures in `src/DataFixtures/` of your project
### Random `extId`

If you want to add unique random `extId` for products from data fixtures you can add it in `createProduct` method of [`ProductDataFixture.php`](https://github.com/shopsys/shopsys/blob/master/project-base/src/DataFixtures/Demo/ProductDataFixture.php).
You can use [`Faker`](https://github.com/fzaninotto/Faker) to generate random numbers like this:
You can use [`Faker`](https://github.com/FakerPHP/Faker/) to generate random numbers like this:

```diff
+ use Faker\Generator as Faker;
Expand Down
2 changes: 1 addition & 1 deletion packages/framework/composer.json
Expand Up @@ -53,9 +53,9 @@
"doctrine/doctrine-fixtures-bundle": "^3.0.2",
"doctrine/persistence": "^1.3.7",
"elasticsearch/elasticsearch": "^7.6.1",
"fakerphp/faker": "^1.19.0",
"fp/jsformvalidator-bundle": "^1.6.1",
"friendsofsymfony/ckeditor-bundle": "^2.1",
"fzaninotto/faker": "^1.7.1",
"gedmo/doctrine-extensions": "^2.4.34",
"guzzlehttp/guzzle": "^6.3",
"helios-ag/fm-elfinder-bundle": "^10.0.4",
Expand Down
2 changes: 1 addition & 1 deletion project-base/composer.json
Expand Up @@ -45,9 +45,9 @@
"doctrine/doctrine-migrations-bundle": "^1.3.0",
"doctrine/persistence": "^1.3.7",
"enlightn/security-checker": "^1.3",
"fakerphp/faker": "^1.19.0",
"fp/jsformvalidator-bundle": "^1.6.1",
"friendsofsymfony/ckeditor-bundle": "^2.1",
"fzaninotto/faker": "^1.7.1",
"helios-ag/fm-elfinder-bundle": "^10.0.4",
"heureka/overeno-zakazniky": "^2.0.6",
"intervention/image": "^2.3.14",
Expand Down
134 changes: 7 additions & 127 deletions project-base/symfony.lock
Expand Up @@ -11,12 +11,6 @@
"behat/transliterator": {
"version": "v1.2.0"
},
"bmatzner/jquery-bundle": {
"version": "2.2.2"
},
"bmatzner/jquery-ui-bundle": {
"version": "1.10.3"
},
"codeception/codeception": {
"version": "2.3",
"recipe": {
Expand Down Expand Up @@ -62,15 +56,6 @@
"commerceguys/intl": {
"version": "v1.0.5"
},
"components/elfinder": {
"version": "3.1.3"
},
"components/jquery": {
"version": "3.4.1"
},
"components/jqueryui": {
"version": "1.12.1"
},
"composer/ca-bundle": {
"version": "1.2.4"
},
Expand Down Expand Up @@ -189,9 +174,6 @@
"doctrine/reflection": {
"version": "v1.0.0"
},
"egeloen/ordered-form": {
"version": "3.0.0"
},
"egulias/email-validator": {
"version": "2.1.11"
},
Expand All @@ -207,11 +189,8 @@
"ezimuel/ringphp": {
"version": "1.1.2"
},
"facebook/webdriver": {
"version": "1.7.1"
},
"fig/link-util": {
"version": "1.0.0"
"fakerphp/faker": {
"version": "v1.19.0"
},
"firebase/php-jwt": {
"version": "v5.0.0"
Expand Down Expand Up @@ -246,9 +225,6 @@
"config/packages/fos_ckeditor.yaml"
]
},
"fzaninotto/faker": {
"version": "v1.8.0"
},
"gedmo/doctrine-extensions": {
"version": "v2.4.37"
},
Expand All @@ -273,12 +249,6 @@
"guzzlehttp/psr7": {
"version": "1.6.1"
},
"guzzlehttp/ringphp": {
"version": "1.1.1"
},
"guzzlehttp/streams": {
"version": "3.0.0"
},
"helios-ag/fm-elfinder-bundle": {
"version": "7.0",
"recipe": {
Expand All @@ -295,18 +265,9 @@
"heureka/overeno-zakazniky": {
"version": "v2.0.6"
},
"illuminate/contracts": {
"version": "v5.8.35"
},
"illuminate/support": {
"version": "v5.8.35"
},
"intervention/image": {
"version": "2.5.1"
},
"jakub-onderka/php-parallel-lint": {
"version": "v0.9.2"
},
"jdorn/sql-formatter": {
"version": "v1.2.17"
},
Expand Down Expand Up @@ -351,18 +312,9 @@
"knplabs/knp-menu-bundle": {
"version": "v2.3.0"
},
"kriswallsmith/assetic": {
"version": "v1.4.0"
},
"laminas/laminas-code": {
"version": "3.4.1"
},
"laminas/laminas-eventmanager": {
"version": "3.3.0"
},
"laminas/laminas-zendframework-bridge": {
"version": "1.1.1"
},
"lcobucci/jwt": {
"version": "3.3.2"
},
Expand All @@ -384,39 +336,12 @@
"myclabs/deep-copy": {
"version": "1.9.3"
},
"nesbot/carbon": {
"version": "2.26.0"
},
"nette/application": {
"version": "v3.0.4"
},
"nette/bootstrap": {
"version": "v2.4.6"
},
"nette/component-model": {
"version": "v3.0.0"
},
"nette/di": {
"version": "v2.4.15"
},
"nette/finder": {
"version": "v2.5.1"
},
"nette/http": {
"version": "v3.0.3"
},
"nette/neon": {
"version": "v3.0.0"
},
"nette/php-generator": {
"version": "v3.2.3"
},
"nette/robot-loader": {
"version": "v3.1.1"
},
"nette/routing": {
"version": "v3.0.0"
},
"nette/utils": {
"version": "v2.5.3"
},
Expand All @@ -426,8 +351,8 @@
"object-calisthenics/phpcs-calisthenics-rules": {
"version": "v3.4.0"
},
"ocramius/proxy-manager": {
"version": "2.11.1"
"ocramius/package-versions": {
"version": "1.9.0"
},
"overblog/graphiql-bundle": {
"version": "0.1",
Expand Down Expand Up @@ -467,12 +392,12 @@
"phing/phing": {
"version": "2.16.1"
},
"php": {
"version": "7.4.1"
},
"php-cs-fixer/diff": {
"version": "v1.3.0"
},
"php-parallel-lint/php-parallel-lint": {
"version": "v1.3.2"
},
"php-webdriver/webdriver": {
"version": "1.8.2"
},
Expand Down Expand Up @@ -587,9 +512,6 @@
"roave/signature": {
"version": "1.0.0"
},
"robloach/component-installer": {
"version": "0.2.3"
},
"sebastian/code-unit-reverse-lookup": {
"version": "1.0.1"
},
Expand Down Expand Up @@ -635,9 +557,6 @@
"sensio/framework-extra-bundle": {
"version": "v3.0.29"
},
"sensio/generator-bundle": {
"version": "v3.1.7"
},
"shopsys/coding-standards": {
"version": "dev-mg-weird-flex-but-ok"
},
Expand All @@ -659,9 +578,6 @@
"shopsys/http-smoke-testing": {
"version": "dev-mg-weird-flex-but-ok"
},
"shopsys/jparser": {
"version": "0.1"
},
"shopsys/migrations": {
"version": "dev-mg-weird-flex-but-ok"
},
Expand Down Expand Up @@ -692,9 +608,6 @@
"sinergi/browser-detector": {
"version": "6.1.3"
},
"slam/php-cs-fixer-extensions": {
"version": "v1.19.1"
},
"slevomat/coding-standard": {
"version": "4.8.7"
},
Expand Down Expand Up @@ -764,9 +677,6 @@
"symfony/cache-contracts": {
"version": "v1.1.7"
},
"symfony/class-loader": {
"version": "v3.4.33"
},
"symfony/config": {
"version": "v3.4.33"
},
Expand Down Expand Up @@ -903,18 +813,12 @@
"symfony/options-resolver": {
"version": "v3.4.33"
},
"symfony/polyfill-apcu": {
"version": "v1.12.0"
},
"symfony/polyfill-ctype": {
"version": "v1.12.0"
},
"symfony/polyfill-iconv": {
"version": "v1.12.0"
},
"symfony/polyfill-intl-grapheme": {
"version": "v1.24.0"
},
"symfony/polyfill-intl-icu": {
"version": "v1.12.0"
},
Expand All @@ -927,9 +831,6 @@
"symfony/polyfill-mbstring": {
"version": "v1.12.0"
},
"symfony/polyfill-php56": {
"version": "v1.12.0"
},
"symfony/polyfill-php70": {
"version": "v1.12.0"
},
Expand All @@ -945,9 +846,6 @@
"symfony/polyfill-php81": {
"version": "v1.23.0"
},
"symfony/polyfill-util": {
"version": "v1.12.0"
},
"symfony/process": {
"version": "v3.4.33"
},
Expand Down Expand Up @@ -994,9 +892,6 @@
"symfony/stopwatch": {
"version": "v3.4.33"
},
"symfony/string": {
"version": "v5.4.3"
},
"symfony/swiftmailer-bundle": {
"version": "2.5",
"recipe": {
Expand Down Expand Up @@ -1113,9 +1008,6 @@
"symplify/autowire-array-parameter": {
"version": "v7.2.2"
},
"symplify/better-phpdoc-parser": {
"version": "v5.4.16"
},
"symplify/coding-standard": {
"version": "v5.4.16"
},
Expand All @@ -1140,9 +1032,6 @@
"symplify/smart-file-system": {
"version": "v7.2.3"
},
"symplify/token-runner": {
"version": "v5.4.13"
},
"theseer/tokenizer": {
"version": "1.1.3"
},
Expand All @@ -1164,9 +1053,6 @@
"twig/twig": {
"version": "v2.12.1"
},
"webimpress/safe-writer": {
"version": "2.2.0"
},
"webmozart/assert": {
"version": "1.5.0"
},
Expand All @@ -1178,11 +1064,5 @@
},
"zalas/phpunit-injector": {
"version": "v1.2.7"
},
"zendframework/zend-code": {
"version": "3.4.0"
},
"zendframework/zend-eventmanager": {
"version": "3.2.1"
}
}

0 comments on commit 4051818

Please sign in to comment.