Removed fzaninotto/faker library

This commit is contained in:
Matias Griese 2021-02-01 11:27:08 +02:00
parent a8a960d10b
commit 55241864bc
4 changed files with 14 additions and 73 deletions

View File

@ -66,7 +66,6 @@
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
"phpunit/php-code-coverage": "~9.2",
"fzaninotto/faker": "^1.9",
"victorjonsson/markdowndocs": "dev-master",
"codeception/module-asserts": "^1.3",
"codeception/module-phpbrowser": "^1.0"

81
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "bf6ab0ce6a8ec055c603f347323809ef",
"content-hash": "32b6cbbe234714397aea3c6ed1eddf6b",
"packages": [
{
"name": "antoligy/dom-string-iterators",
@ -3406,16 +3406,16 @@
},
{
"name": "codeception/codeception",
"version": "4.1.16",
"version": "4.1.17",
"source": {
"type": "git",
"url": "https://github.com/Codeception/Codeception.git",
"reference": "daf4fe110b33855252009a0dcab87ce8bcf7c009"
"reference": "c153b1ab289b3e3109e685379aa8847c54ac2b68"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Codeception/Codeception/zipball/daf4fe110b33855252009a0dcab87ce8bcf7c009",
"reference": "daf4fe110b33855252009a0dcab87ce8bcf7c009",
"url": "https://api.github.com/repos/Codeception/Codeception/zipball/c153b1ab289b3e3109e685379aa8847c54ac2b68",
"reference": "c153b1ab289b3e3109e685379aa8847c54ac2b68",
"shasum": ""
},
"require": {
@ -3489,7 +3489,7 @@
],
"support": {
"issues": "https://github.com/Codeception/Codeception/issues",
"source": "https://github.com/Codeception/Codeception/tree/4.1.16"
"source": "https://github.com/Codeception/Codeception/tree/4.1.17"
},
"funding": [
{
@ -3497,7 +3497,7 @@
"type": "open_collective"
}
],
"time": "2021-01-26T07:25:32+00:00"
"time": "2021-02-01T07:30:47+00:00"
},
{
"name": "codeception/lib-asserts",
@ -3555,16 +3555,16 @@
},
{
"name": "codeception/lib-innerbrowser",
"version": "1.3.6",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/Codeception/lib-innerbrowser.git",
"reference": "41b79ba6761001bdb1f373a347400180693ad4e7"
"reference": "b7406c710684c255d9b067d7795269a5585a0406"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/41b79ba6761001bdb1f373a347400180693ad4e7",
"reference": "41b79ba6761001bdb1f373a347400180693ad4e7",
"url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/b7406c710684c255d9b067d7795269a5585a0406",
"reference": "b7406c710684c255d9b067d7795269a5585a0406",
"shasum": ""
},
"require": {
@ -3609,9 +3609,9 @@
],
"support": {
"issues": "https://github.com/Codeception/lib-innerbrowser/issues",
"source": "https://github.com/Codeception/lib-innerbrowser/tree/1.3.6"
"source": "https://github.com/Codeception/lib-innerbrowser/tree/1.4.0"
},
"time": "2021-01-17T11:21:09+00:00"
"time": "2021-01-29T18:17:25+00:00"
},
{
"name": "codeception/module-asserts",
@ -3882,61 +3882,6 @@
],
"time": "2020-11-10T18:47:58+00:00"
},
{
"name": "fzaninotto/faker",
"version": "v1.9.2",
"source": {
"type": "git",
"url": "https://github.com/fzaninotto/Faker.git",
"reference": "848d8125239d7dbf8ab25cb7f054f1a630e68c2e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fzaninotto/Faker/zipball/848d8125239d7dbf8ab25cb7f054f1a630e68c2e",
"reference": "848d8125239d7dbf8ab25cb7f054f1a630e68c2e",
"shasum": ""
},
"require": {
"php": "^5.3.3 || ^7.0"
},
"require-dev": {
"ext-intl": "*",
"phpunit/phpunit": "^4.8.35 || ^5.7",
"squizlabs/php_codesniffer": "^2.9.2"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
}
},
"autoload": {
"psr-4": {
"Faker\\": "src/Faker/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "François Zaninotto"
}
],
"description": "Faker is a PHP library that generates fake data for you.",
"keywords": [
"data",
"faker",
"fixtures"
],
"support": {
"issues": "https://github.com/fzaninotto/Faker/issues",
"source": "https://github.com/fzaninotto/Faker/tree/v1.9.2"
},
"abandoned": true,
"time": "2020-12-11T09:56:16+00:00"
},
{
"name": "guzzlehttp/guzzle",
"version": "7.2.0",

View File

@ -29,6 +29,3 @@ $grav = function () {
};
Fixtures::add('grav', $grav);
$fake = Factory::create();
Fixtures::add('fake', $fake);

View File

@ -16,7 +16,7 @@ class DirectInstallCommandTest extends \Codeception\TestCase\Test
protected $directInstall;
protected function _before()
protected function _before(): void
{
$this->grav = Fixtures::get('grav');
$this->directInstallCommand = new DirectInstallCommand();