Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / consolidation / log / composer.json
index fb4aa367760ae03c912fbc572579fa1354ab6dc9..c7cfaef4085019b91124107c2402cae24236e9e1 100644 (file)
     },
     "require-dev": {
         "phpunit/phpunit": "4.*",
-        "satooshi/php-coveralls": "dev-master",
+        "g1a/composer-test-scenarios": "^1",
+        "satooshi/php-coveralls": "^2",
         "squizlabs/php_codesniffer": "2.*"
     },
     "minimum-stability": "stable",
+    "scripts": {
+        "cs": "phpcs -n --standard=PSR2 src",
+        "cbf": "phpcbf -n --standard=PSR2 src",
+        "unit": "phpunit",
+        "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'",
+            "create-scenario symfony2 'symfony/console:^2.8' --platform-php '5.5' --no-lockfile"
+        ]
+    },
     "extra": {
         "branch-alias": {
             "dev-master": "1.x-dev"