Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / consolidation / annotated-command / composer.json
index ef3e6a214a4846133a2deca4a5a4d0c58092b959..8bce73685448b47fc35f5b275cb66c9863f3dc70 100644 (file)
     },
     "require": {
         "php": ">=5.4.0",
-        "consolidation/output-formatters": "^3.1.5",
+        "consolidation/output-formatters": "^3.1.12",
         "psr/log": "^1",
-        "symfony/console": "^2.8|~3",
-        "symfony/event-dispatcher": "^2.5|^3",
-        "symfony/finder": "^2.5|^3",
-        "phpdocumentor/reflection-docblock": "^2.0|^3.0.2"
+        "symfony/console": "^2.8|^3|^4",
+        "symfony/event-dispatcher": "^2.5|^3|^4",
+        "symfony/finder": "^2.5|^3|^4"
     },
     "require-dev": {
-        "phpunit/phpunit": "^4.8",
-        "satooshi/php-coveralls": "^1.0",
+        "phpunit/phpunit": "^6",
+        "satooshi/php-coveralls": "^2",
+        "g1a/composer-test-scenarios": "^2",
         "squizlabs/php_codesniffer": "^2.7"
     },
+    "config": {
+        "optimize-autoloader": true,
+        "sort-packages": true,
+        "platform": {
+            "php": "7.0.8"
+        }
+    },
     "scripts": {
         "cs": "phpcs --standard=PSR2 -n src",
         "cbf": "phpcbf --standard=PSR2 -n src",
         "unit": "SHELL_INTERACTIVE=true phpunit --colors=always",
+        "lint": [
+            "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
+            "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
+        ],
         "test": [
+            "@lint",
             "@unit",
             "@cs"
+        ],
+        "scenario": "scenarios/install",
+        "post-update-cmd": [
+            "create-scenario symfony4 'symfony/console:^4.0' --platform-php '7.1.3'",
+            "create-scenario symfony2 'symfony/console:^2.8' 'phpunit/phpunit:^4.8.36' --remove 'satooshi/php-coveralls' --platform-php '5.4' --no-lockfile",
+            "create-scenario phpunit4 'phpunit/phpunit:^4.8.36' --remove 'satooshi/php-coveralls' --platform-php '5.4'",
+            "dependency-licenses"
         ]
     },
     "extra": {