Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drupal-composer / drupal-scaffold / composer.json
index a242e6a391f2fc1fa625fc47f5123ca20ae77a4e..b08ff80fc86813034c4d7596018cda5bced5e1c6 100644 (file)
@@ -2,7 +2,7 @@
     "name": "drupal-composer/drupal-scaffold",
     "description": "Composer Plugin for updating the Drupal scaffold files when using drupal/core",
     "type": "composer-plugin",
-    "license": "GPL-2.0+",
+    "license": "GPL-2.0-or-later",
     "require": {
         "php": ">=5.4.5",
         "composer-plugin-api": "^1.0.0",
             "dev-master": "2.0.x-dev"
         }
     },
+    "scripts": {
+        "cs": "phpcs --standard=PSR2 -n src",
+        "cbf": "phpcbf --standard=PSR2 -n src",
+        "unit": "phpunit --colors=always",
+        "lint": [
+            "find src -name '*.php' -print0 | xargs -0 -n1 php -l"
+        ],
+        "test": [
+            "@lint",
+            "@unit"
+        ],
+        "scenario": ".scenarios.lock/install",
+        "post-update-cmd": [
+            "create-scenario phpunit4 'phpunit/phpunit:^4.8.36' --platform-php '5.5.27'"
+        ]
+    },
+    "config": {
+        "optimize-autoloader": true,
+        "sort-packages": true,
+        "platform": {
+            "php": "7.0.8"
+        }
+    },
     "require-dev": {
         "composer/composer": "dev-master",
-        "phpunit/phpunit": "^4.4.0"
+        "g1a/composer-test-scenarios": "^2.1.0",
+        "phpunit/phpunit": "^6",
+        "squizlabs/php_codesniffer": "^2.8"
     }
 }