Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drush / drush / tests / unish.inc
diff --git a/vendor/drush/drush/tests/unish.inc b/vendor/drush/drush/tests/unish.inc
deleted file mode 100644 (file)
index c3537b7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-/**
- * Discover key directories for the System-Under-Test. Used by Unish launcher
- * scripts and by \Unish\UnishTestCase::__construct.
- *
- * @return array
- *   A list of paths.
- */
-function unishGetPaths()
-{
-    $unish_tmp = getenv('UNISH_TMP') ?: sys_get_temp_dir();
-    @mkdir($unish_tmp);
-    $unish_tmp = realpath($unish_tmp);
-    $unish_sandbox = $unish_tmp . DIRECTORY_SEPARATOR . 'drush-sandbox';
-    $unish_drush_dir = dirname($unish_sandbox) . '/drush-sut/vendor/drush/drush';
-    return [$unish_tmp, $unish_sandbox, $unish_drush_dir];
-}
-
-function unishIsVerbose()
-{
-    $verbose = false;
-    foreach (['-v','-vv','-vvv','--verbose', '--debug', '-d', '-dv'] as $needle) {
-        if (in_array($needle, $_SERVER['argv'])) {
-            $verbose = $needle;
-        }
-    }
-    return $verbose;
-}