diff --git a/composer.json b/composer.json index 02b1883..04a7419 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "phpunit/phpunit": "5.7" }, "suggest": { - "machbarmacher/gdpr-dump": "dev-master#87fc3c71d307697e0a44d19b0afc0fd2970b3dd4" + "calimanleontin/gdpr-dump": "1.0.1" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 8a1d090..3f3bb65 100644 --- a/composer.lock +++ b/composer.lock @@ -783,12 +783,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "dba19a100b4ecbe8e54a8b9819c0ef7fb0d3523e" + "reference": "bcb342fd9caa77809c7768bdf77220c0745fb30e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/dba19a100b4ecbe8e54a8b9819c0ef7fb0d3523e", - "reference": "dba19a100b4ecbe8e54a8b9819c0ef7fb0d3523e", + "url": "https://api.github.com/repos/symfony/debug/zipball/bcb342fd9caa77809c7768bdf77220c0745fb30e", + "reference": "bcb342fd9caa77809c7768bdf77220c0745fb30e", "shasum": "" }, "require": { @@ -831,7 +831,7 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2019-04-07T19:49:19+00:00" + "time": "2019-04-11T12:10:52+00:00" }, { "name": "symfony/event-dispatcher", @@ -1259,81 +1259,6 @@ } ], "packages-dev": [ - { - "name": "bomoko/mysql-cnf-parser", - "version": "0.0.2", - "source": { - "type": "git", - "url": "https://github.com/bomoko/mysql_cnf_parser.git", - "reference": "5e98657a6846ff8a3b3f3e7c1f98b03dcf1bc9ab" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/bomoko/mysql_cnf_parser/zipball/5e98657a6846ff8a3b3f3e7c1f98b03dcf1bc9ab", - "reference": "5e98657a6846ff8a3b3f3e7c1f98b03dcf1bc9ab", - "shasum": "" - }, - "require": { - "nette/finder": "^3.0@dev", - "webmozart/path-util": "^2.3@dev" - }, - "require-dev": { - "phpunit/phpunit": "^7.3@dev" - }, - "type": "library", - "autoload": { - "psr-4": { - "bomoko\\MysqlCnfParser\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "description": ".cnf parser", - "time": "2018-06-19T02:30:15+00:00" - }, - { - "name": "cweagans/composer-patches", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/cweagans/composer-patches.git", - "reference": "1d89dcc730e7f42426c434b88261fcfb3bce651e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cweagans/composer-patches/zipball/1d89dcc730e7f42426c434b88261fcfb3bce651e", - "reference": "1d89dcc730e7f42426c434b88261fcfb3bce651e", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0", - "php": ">=5.3.0" - }, - "require-dev": { - "composer/composer": "~1.0", - "phpunit/phpunit": "~4.6" - }, - "type": "composer-plugin", - "extra": { - "class": "cweagans\\Composer\\Patches" - }, - "autoload": { - "psr-4": { - "cweagans\\Composer\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Cameron Eagans", - "email": "me@cweagans.net" - } - ], - "description": "Provides a way to patch Composer packages.", - "time": "2018-10-24T15:51:16+00:00" - }, { "name": "doctrine/instantiator", "version": "dev-master", @@ -1390,111 +1315,6 @@ ], "time": "2019-03-17T17:37:11+00:00" }, - { - "name": "fzaninotto/faker", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/fzaninotto/Faker.git", - "reference": "fb218ada627f7c750c6e0e41cae486d2db48e911" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/fb218ada627f7c750c6e0e41cae486d2db48e911", - "reference": "fb218ada627f7c750c6e0e41cae486d2db48e911", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "ext-intl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7", - "squizlabs/php_codesniffer": "^1.5" - }, - "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" - ], - "time": "2019-04-16T09:48:34+00:00" - }, - { - "name": "ifsnop/mysqldump-php", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/ifsnop/mysqldump-php.git", - "reference": "aaaecaef045686e9f8d2e4925be267994a5d8a72" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ifsnop/mysqldump-php/zipball/aaaecaef045686e9f8d2e4925be267994a5d8a72", - "reference": "aaaecaef045686e9f8d2e4925be267994a5d8a72", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "require-dev": { - "phpunit/phpunit": "4.8.36", - "squizlabs/php_codesniffer": "1.*" - }, - "type": "library", - "autoload": { - "psr-4": { - "Ifsnop\\": "src/Ifsnop/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-3.0-or-later" - ], - "authors": [ - { - "name": "Diego Torres", - "homepage": "https://github.com/ifsnop", - "role": "Developer" - } - ], - "description": "PHP version of mysqldump cli that comes with MySQL", - "homepage": "https://github.com/ifsnop/mysqldump-php", - "keywords": [ - "PHP7", - "database", - "hhvm", - "mariadb", - "mysql", - "mysql-backup", - "mysqldump", - "pdo", - "php", - "php5", - "sql" - ], - "time": "2019-04-04T21:38:29+00:00" - }, { "name": "myclabs/deep-copy", "version": "1.x-dev", @@ -1543,144 +1363,6 @@ ], "time": "2019-04-07T13:18:21+00:00" }, - { - "name": "nette/finder", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/nette/finder.git", - "reference": "13240336bd80f9260cd35a3894b8c1aab9586ec2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/finder/zipball/13240336bd80f9260cd35a3894b8c1aab9586ec2", - "reference": "13240336bd80f9260cd35a3894b8c1aab9586ec2", - "shasum": "" - }, - "require": { - "nette/utils": "^2.4 || ~3.0.0", - "php": ">=7.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "^2.0", - "tracy/tracy": "^2.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "🔍 Nette Finder: find files and directories with an intuitive API.", - "homepage": "https://nette.org", - "keywords": [ - "filesystem", - "glob", - "iterator", - "nette" - ], - "time": "2019-03-22T00:58:33+00:00" - }, - { - "name": "nette/utils", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/nette/utils.git", - "reference": "9f9fadd7158cfff8784fdd802a0c6dfced2a8fd5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/9f9fadd7158cfff8784fdd802a0c6dfced2a8fd5", - "reference": "9f9fadd7158cfff8784fdd802a0c6dfced2a8fd5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "require-dev": { - "nette/tester": "~2.0", - "tracy/tracy": "^2.3" - }, - "suggest": { - "ext-gd": "to use Image", - "ext-iconv": "to use Strings::webalize() and toAscii()", - "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", - "ext-json": "to use Nette\\Utils\\Json", - "ext-mbstring": "to use Strings::lower() etc...", - "ext-xml": "to use Strings::length() etc. when mbstring is not available" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", - "homepage": "https://nette.org", - "keywords": [ - "array", - "core", - "datetime", - "images", - "json", - "nette", - "paginator", - "password", - "slugify", - "string", - "unicode", - "utf-8", - "utility", - "validation" - ], - "time": "2019-04-25T18:36:16+00:00" - }, { "name": "phpdocumentor/reflection-common", "version": "1.0.1", @@ -2850,52 +2532,6 @@ "validate" ], "time": "2018-12-25T11:19:39+00:00" - }, - { - "name": "webmozart/path-util", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/webmozart/path-util.git", - "reference": "95a8f7ad150c2a3773ff3c3d04f557a24c99cfd2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozart/path-util/zipball/95a8f7ad150c2a3773ff3c3d04f557a24c99cfd2", - "reference": "95a8f7ad150c2a3773ff3c3d04f557a24c99cfd2", - "shasum": "" - }, - "require": { - "php": "^5.3.3|^7.0", - "webmozart/assert": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\PathUtil\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", - "time": "2016-08-15T15:31:42+00:00" } ], "aliases": [], diff --git a/src/Robo/Plugin/Commands/SqlCommands.php b/src/Robo/Plugin/Commands/SqlCommands.php index 020bfd8..8893d92 100644 --- a/src/Robo/Plugin/Commands/SqlCommands.php +++ b/src/Robo/Plugin/Commands/SqlCommands.php @@ -121,7 +121,7 @@ public function sqlDump($output = NULL, $options = ['gzip' => true, 'anonymize' if ($options['anonymize']) { if (!class_exists(MysqldumpGdpr::class)) { - throw new TaskException(get_class($this), 'You cannot anonymize data without module "machbarmacher/gdpr-dump" being installed!'); + throw new TaskException(get_class($this), 'You cannot anonymize data without package "calimanleontin/gdpr-dump" being installed! Please run "composer require calimanleontin/gdpr-dump:1.0.2" !'); } $exportPath = 'export PATH=' . $this->projectDir() . '/vendor/bin:$PATH; '; $drush = $exportPath . $drush;