From 55241864bcfefb1643783fdfab5feaecd71d56d8 Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Mon, 1 Feb 2021 11:27:08 +0200 Subject: [PATCH] Removed fzaninotto/faker library --- composer.json | 1 - composer.lock | 81 +++---------------- tests/_bootstrap.php | 3 - .../Grav/Console/DirectInstallCommandTest.php | 2 +- 4 files changed, 14 insertions(+), 73 deletions(-) diff --git a/composer.json b/composer.json index 501ad83d1..2d0a9cb05 100644 --- a/composer.json +++ b/composer.json @@ -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" diff --git a/composer.lock b/composer.lock index 405d0ce59..b97f10a30 100644 --- a/composer.lock +++ b/composer.lock @@ -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", diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php index 03677dd84..59be24ede 100644 --- a/tests/_bootstrap.php +++ b/tests/_bootstrap.php @@ -29,6 +29,3 @@ $grav = function () { }; Fixtures::add('grav', $grav); - -$fake = Factory::create(); -Fixtures::add('fake', $fake); diff --git a/tests/functional/Grav/Console/DirectInstallCommandTest.php b/tests/functional/Grav/Console/DirectInstallCommandTest.php index d26a29ce2..4f7199862 100644 --- a/tests/functional/Grav/Console/DirectInstallCommandTest.php +++ b/tests/functional/Grav/Console/DirectInstallCommandTest.php @@ -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();