Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / vendor / drush / drush / composer.json
index 5bc1952f4f6867013a90e187ae5ced5240c08e66..9dc1c2f954d203f15046ec814d8d3023a19e41d7 100644 (file)
@@ -3,13 +3,11 @@
   "description": "Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.",
   "homepage": "http://www.drush.org",
   "license": "GPL-2.0-or-later",
-  "minimum-stability": "stable",
+  "minimum-stability": "dev",
   "prefer-stable": true,
   "authors": [
     { "name": "Moshe Weitzman", "email": "weitzman@tejasa.com" },
     { "name": "Owen Barton", "email": "drupal@owenbarton.com" },
-    { "name": "Mark Sonnabaum", "email": "marksonnabaum@gmail.com" },
-    { "name": "Antoine Beaupré", "email": "anarcat@koumbit.org" },
     { "name": "Greg Anderson", "email": "greg.1.anderson@greenknowe.org" },
     { "name": "Jonathan Araña Cruz", "email": "jonhattan@faita.net" },
     { "name": "Jonathan Hedstrom", "email": "jhedstrom@gmail.com" },
   ],
   "support": {
     "forum": "http://drupal.stackexchange.com/questions/tagged/drush",
-    "irc": "irc://irc.freenode.org/drush"
+    "irc": "irc://irc.freenode.org/drush",
+    "slack": "https://drupal.slack.com/messages/C62H9CWQM"
   },
   "bin": [
-    "drush",
-    "drush.launcher",
-    "drush.php",
-    "drush.complete.sh"
+    "drush"
   ],
-  "config": {
-    "platform": {
-      "php": "5.4.5"
+  "repositories": {
+    "drupal_org": {
+      "type": "composer",
+      "url": "https://packages.drupal.org/8"
     }
   },
   "require": {
-    "php": ">=5.4.5",
+    "php": ">=5.6.0",
+    "ext-dom": "*",
+    "chi-teck/drupal-code-generator": "^1.27.0",
+    "composer/semver": "^1.4",
+    "consolidation/annotated-command": "^2.9.1",
+    "consolidation/config": "^1.1.0",
+    "consolidation/output-formatters": "^3.1.12",
+    "consolidation/robo": "^1.1.5",
+    "consolidation/site-alias": "^1.1.5",
+    "grasmash/yaml-expander": "^1.1.1",
+    "league/container": "~2",
     "psr/log": "~1.0",
     "psy/psysh": "~0.6",
-    "consolidation/annotated-command": "^2.8.1",
-    "consolidation/output-formatters": "~3",
-    "symfony/yaml": "~2.3|^3",
-    "symfony/var-dumper": "~2.7|^3",
-    "symfony/console": "~2.7|^3",
-    "symfony/event-dispatcher": "~2.7|^3",
-    "symfony/finder": "~2.7|^3",
-    "pear/console_table": "~1.3.1",
-    "webmozart/path-util": "~2"
+    "symfony/config": "^3.4",
+    "symfony/console": "^3.4",
+    "symfony/event-dispatcher": "^3.4",
+    "symfony/finder": "^3.4",
+    "symfony/process": "^3.4",
+    "symfony/var-dumper": "^3.4",
+    "symfony/yaml": "^3.4",
+    "webflo/drupal-finder": "^1.1",
+    "webmozart/path-util": "^2.1.0"
   },
   "require-dev": {
-    "symfony/var-dumper": "~2.7",
-    "symfony/console": "~2.7",
-    "symfony/event-dispatcher": "~2.7",
-    "symfony/finder": "~2.7",
-    "symfony/yaml": "~2.3",
-    "phpunit/phpunit": "4.*",
-    "symfony/process": "2.7.*"
-  },
-  "suggest": {
-      "ext-pcntl": "*",
-      "drush/config-extra": "Provides configuration workflow commands, such as config-merge."
+    "lox/xhprof": "dev-master",
+    "g1a/composer-test-scenarios": "^2.2.0",
+    "phpunit/phpunit": "^4.8.36 || ^6.1",
+    "squizlabs/php_codesniffer": "^2.7",
+    "composer/installers": "^1.2",
+    "cweagans/composer-patches": "~1.0",
+    "webflo/drupal-core-strict": "8.6.x-dev",
+    "drupal/empty_theme": "1.0",
+    "drupal/devel": "^1.0@RC",
+    "drupal/alinks": "1.0.0",
+    "vlucas/phpdotenv": "^2.4"
   },
   "autoload": {
-    "psr-0": {
-      "Drush":        "lib/",
-      "Consolidation": "lib/"
+    "psr-4": {
+      "Drush\\":            "src/",
+      "Drush\\Internal\\":  "internal-copy/",
+      "Unish\\":            "tests/"
     }
   },
   "autoload-dev": {
-    "psr-0": {
-      "Unish":        "tests/"
+    "psr-4": {
+      "Drush\\": "isolation/src/"
+    },
+    "files": ["tests/load.environment.php"]
+  },
+  "config": {
+    "optimize-autoloader": true,
+    "preferred-install": "dist",
+    "sort-packages": true,
+    "process-timeout": 2400,
+    "platform": {
+      "php": "5.6"
     }
   },
   "scripts": {
+    "cs": "phpcs",
+    "cbf": "phpcbf",
     "lint": [
-      "find includes -name '*.inc' -print0 | xargs -0 -n1 php -l"
+      "find includes -name '*.inc' -print0 | xargs -0 -n1 php -l",
+      "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
+      "find tests -name '*.php' -print0 | xargs -0 -n1 php -l"
+    ],
+    "test": [
+      "@lint",
+      "@unit",
+      "@cs",
+      "@functional"
+    ],
+    "api": "PATH=$HOME/bin:$PATH sami.phar --ansi update sami-config.php",
+    "sami-install": "mkdir -p $HOME/bin && curl --output $HOME/bin/sami.phar http://get.sensiolabs.org/sami.phar && chmod +x $HOME/bin/sami.phar",
+    "scenario": "scenarios/install",
+    "sut": "./drush --uri=dev",
+    "sut:si": "./drush site:install testing --uri=dev --sites-subdir=dev --db-url=mysql://root:password@mariadb/unish_dev -v",
+    "unit": "phpunit --colors=always",
+    "functional": "phpunit --colors=always --configuration tests",
+    "post-update-cmd": [
+        "create-scenario isolation --autoload-dir isolation --autoload-dir internal-copy --keep '\\(psr/log\\|consolidation/config\\|site-alias\\|var-dumper\\|symfony/finder\\|drupal-finder\\|path-util\\|vlucas/phpdotenv\\|xhprof\\)' 'phpunit/phpunit:^5.5.4'",
+        "create-scenario isolation-phpunit4 --base isolation --autoload-dir isolation --autoload-dir internal-copy 'phpunit/phpunit:^4.8.36'"
     ]
   },
   "extra": {
+    "installer-paths": {
+      "sut/core": ["type:drupal-core"],
+      "sut/libraries/{$name}": ["type:drupal-library"],
+      "sut/modules/unish/{$name}": ["drupal/devel"],
+      "sut/themes/unish/{$name}": ["drupal/empty_theme"],
+      "sut/modules/contrib/{$name}": ["type:drupal-module"],
+      "sut/profiles/contrib/{$name}": ["type:drupal-profile"],
+      "sut/themes/contrib/{$name}": ["type:drupal-theme"],
+      "sut/drush/contrib/{$name}": ["type:drupal-drush"]
+    },
     "branch-alias": {
-        "dev-master": "8.0.x-dev"
+        "dev-master": "9.x-dev"
     }
   }
 }