From 37a523757e7b897068425d66b05681de849ffe12 Mon Sep 17 00:00:00 2001
From: Oliver Davies
- * An offset to check for.
- * The return value will be casted to boolean if non-boolean was returned.
- * The offset to retrieve.
- *
- * The offset to assign the value to.
- *
- * The value to set.
- *
- * The offset to unset.
- *
- * An offset to check for.
- *
- * Whether a offset exists
- *
- * @link http://php.net/manual/en/arrayaccess.offsetexists.php
- *
- * @param mixed $offset
- * Offset to retrieve
- * @link http://php.net/manual/en/arrayaccess.offsetget.php
- * @param mixed $offset
- * Offset to set
- * @link http://php.net/manual/en/arrayaccess.offsetset.php
- * @param mixed $offset
- * Offset to unset
- * @link http://php.net/manual/en/arrayaccess.offsetunset.php
- * @param mixed $offset
- * Whether a offset exists
- *
- * @link http://php.net/manual/en/arrayaccess.offsetexists.php
- *
- * @param mixed $offset
- * The return value will be casted to boolean if non-boolean was returned.
- */
- public function offsetExists($offset)
- {
- return isset($this->teleporters[$offset]);
- }
-
- /**
- * (PHP 5 >= 5.0.0)
- * Offset to retrieve
- * @link http://php.net/manual/en/arrayaccess.offsetget.php
- * @param mixed $offset
- * The offset to retrieve. - *
- * @return mixed Can return all value types. - */ - public function offsetGet($offset) - { - return $this->getTeleporter($offset); - } - - /** - * (PHP 5 >= 5.0.0)- * The offset to assign the value to. - *
- * @param mixed $value- * The value to set. - *
- * @return void - */ - public function offsetSet($offset, $value) - { - throw new \BadMethodCallException(); - } - - /** - * (PHP 5 >= 5.0.0)- * The offset to unset. - *
- * @return void - */ - public function offsetUnset($offset) - { - throw new \BadMethodCallException(); - } - - public function count() - { - return count($this->teleporters); - } -} diff --git a/vendor/alchemy/zippy/src/Resource/Writer/FilesystemWriter.php b/vendor/alchemy/zippy/src/Resource/Writer/FilesystemWriter.php deleted file mode 100644 index 2bba475df..000000000 --- a/vendor/alchemy/zippy/src/Resource/Writer/FilesystemWriter.php +++ /dev/null @@ -1,23 +0,0 @@ -getContentsAsStream()); - } -} diff --git a/vendor/alchemy/zippy/src/Resource/Writer/StreamWriter.php b/vendor/alchemy/zippy/src/Resource/Writer/StreamWriter.php deleted file mode 100644 index d5780c92c..000000000 --- a/vendor/alchemy/zippy/src/Resource/Writer/StreamWriter.php +++ /dev/null @@ -1,27 +0,0 @@ -getContentsAsStream(); - - stream_copy_to_stream($sourceResource, $targetResource); - fclose($targetResource); - } -} diff --git a/vendor/alchemy/zippy/src/Zippy.php b/vendor/alchemy/zippy/src/Zippy.php deleted file mode 100644 index 70defe997..000000000 --- a/vendor/alchemy/zippy/src/Zippy.php +++ /dev/null @@ -1,220 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Alchemy\Zippy; - -use Alchemy\Zippy\Adapter\AdapterContainer; -use Alchemy\Zippy\Adapter\AdapterInterface; -use Alchemy\Zippy\Archive\ArchiveInterface; -use Alchemy\Zippy\Exception\ExceptionInterface; -use Alchemy\Zippy\Exception\FormatNotSupportedException; -use Alchemy\Zippy\Exception\NoAdapterOnPlatformException; -use Alchemy\Zippy\Exception\RuntimeException; -use Alchemy\Zippy\FileStrategy\FileStrategyInterface; -use Alchemy\Zippy\FileStrategy\TarBz2FileStrategy; -use Alchemy\Zippy\FileStrategy\TarFileStrategy; -use Alchemy\Zippy\FileStrategy\TarGzFileStrategy; -use Alchemy\Zippy\FileStrategy\TB2FileStrategy; -use Alchemy\Zippy\FileStrategy\TBz2FileStrategy; -use Alchemy\Zippy\FileStrategy\TGzFileStrategy; -use Alchemy\Zippy\FileStrategy\ZipFileStrategy; - -class Zippy -{ - /** - * @var AdapterContainer - */ - public $adapters; - - /** - * @var FileStrategyInterface[][] - */ - private $strategies = array(); - - public function __construct(AdapterContainer $adapters) - { - $this->adapters = $adapters; - } - - /** - * Creates an archive - * - * @param string $path - * @param string|array|\Traversable|null $files - * @param bool $recursive - * @param string|null $type - * - * @return ArchiveInterface - * - * @throws RuntimeException In case of failure - */ - public function create($path, $files = null, $recursive = true, $type = null) - { - if (null === $type) { - $type = $this->guessAdapterExtension($path); - } - - try { - return $this - ->getAdapterFor($this->sanitizeExtension($type)) - ->create($path, $files, $recursive); - } catch (ExceptionInterface $e) { - throw new RuntimeException('Unable to create archive', $e->getCode(), $e); - } - } - - /** - * Opens an archive. - * - * @param string $path - * - * @return ArchiveInterface - * - * @throws RuntimeException In case of failure - */ - public function open($path) - { - $type = $this->guessAdapterExtension($path); - - try { - return $this - ->getAdapterFor($this->sanitizeExtension($type)) - ->open($path); - } catch (ExceptionInterface $e) { - throw new RuntimeException('Unable to open archive', $e->getCode(), $e); - } - } - - /** - * Adds a strategy. - * - * The last strategy added is preferred over the other ones. - * You can add a strategy twice ; when doing this, the first one is removed - * when inserting the second one. - * - * @param FileStrategyInterface $strategy - * - * @return Zippy - */ - public function addStrategy(FileStrategyInterface $strategy) - { - $extension = $this->sanitizeExtension($strategy->getFileExtension()); - - if (!isset($this->strategies[$extension])) { - $this->strategies[$extension] = array(); - } - - if (false !== $key = array_search($strategy, $this->strategies[$extension], true)) { - unset($this->strategies[$extension][$key]); - } - - array_unshift($this->strategies[$extension], $strategy); - - return $this; - } - - /** - * Returns the strategies as they are stored - * - * @return array - */ - public function getStrategies() - { - return $this->strategies; - } - - /** - * Returns an adapter for a file extension - * - * @param string $extension The extension - * - * @return AdapterInterface - * - * @throws FormatNotSupportedException When no strategy is defined for this extension - * @throws NoAdapterOnPlatformException When no adapter is supported for this extension on this platform - */ - public function getAdapterFor($extension) - { - $extension = $this->sanitizeExtension($extension); - - if (!$extension || !isset($this->strategies[$extension])) { - throw new FormatNotSupportedException(sprintf('No strategy for %s extension', $extension)); - } - - foreach ($this->strategies[$extension] as $strategy) { - foreach ($strategy->getAdapters() as $adapter) { - if ($adapter->isSupported()) { - return $adapter; - } - } - } - - throw new NoAdapterOnPlatformException(sprintf('No adapter available for %s on this platform', $extension)); - } - - /** - * Creates Zippy and loads default strategies - * - * @return Zippy - */ - public static function load() - { - $adapters = AdapterContainer::load(); - $factory = new static($adapters); - - $factory->addStrategy(new ZipFileStrategy($adapters)); - $factory->addStrategy(new TarFileStrategy($adapters)); - $factory->addStrategy(new TarGzFileStrategy($adapters)); - $factory->addStrategy(new TarBz2FileStrategy($adapters)); - $factory->addStrategy(new TB2FileStrategy($adapters)); - $factory->addStrategy(new TBz2FileStrategy($adapters)); - $factory->addStrategy(new TGzFileStrategy($adapters)); - - return $factory; - } - - /** - * Sanitize an extension. - * - * Strips dot from the beginning, converts to lowercase and remove trailing - * whitespaces - * - * @param string $extension - * - * @return string - */ - private function sanitizeExtension($extension) - { - return ltrim(trim(mb_strtolower($extension)), '.'); - } - - /** - * Finds an extension that has strategy registered given a file path - * - * Returns null if no matching strategy found. - * - * @param string $path - * - * @return string|null - */ - private function guessAdapterExtension($path) - { - $path = strtolower(trim($path)); - - foreach ($this->strategies as $extension => $strategy) { - if ($extension === substr($path, (strlen($extension) * -1))) { - return $extension; - } - } - - return null; - } -} diff --git a/vendor/asm89/stack-cors/LICENSE b/vendor/asm89/stack-cors/LICENSE deleted file mode 100644 index d9f2067d6..000000000 --- a/vendor/asm89/stack-cors/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2013-2017 Alexander -
-
- ',
- 'filter_html_help' => 1,
- 'filter_html_nofollow' => 0,
- ),
- 'tips callback' => '_filter_html_tips',
- );
- $filters['filter_autop'] = array(
- 'title' => t('Convert line breaks'),
- 'description' => t('Converts line breaks into HTML (i.e. <br> and <p>) tags.'),
- 'process callback' => '_filter_autop',
- 'tips callback' => '_filter_autop_tips',
- );
- return $filters;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/filter_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/filter_info_alter.twig
deleted file mode 100644
index 008b37531..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/filter_info_alter.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_filter_info_alter().
- */
-function {{ machine_name }}_filter_info_alter(&$info) {
- // Replace the PHP evaluator process callback with an improved
- // PHP evaluator provided by a module.
- $info['php_code']['process callback'] = 'my_module_php_evaluator';
-
- // Alter the default settings of the URL filter provided by core.
- $info['filter_url']['default settings'] = array(
- 'filter_url_length' => 100,
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/flush_caches.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/flush_caches.twig
deleted file mode 100644
index 080b0fed8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/flush_caches.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_flush_caches().
- */
-function {{ machine_name }}_flush_caches() {
- return array('cache_example');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form.twig
deleted file mode 100644
index 9173771c2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form.twig
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Implements hook_form().
- */
-function {{ machine_name }}_form($node, &$form_state) {
- $type = node_type_get_type($node);
-
- $form['title'] = array(
- '#type' => 'textfield',
- '#title' => check_plain($type->title_label),
- '#default_value' => !empty($node->title) ? $node->title : '',
- '#required' => TRUE, '#weight' => -5
- );
-
- $form['field1'] = array(
- '#type' => 'textfield',
- '#title' => t('Custom field'),
- '#default_value' => $node->field1,
- '#maxlength' => 127,
- );
- $form['selectbox'] = array(
- '#type' => 'select',
- '#title' => t('Select box'),
- '#default_value' => $node->selectbox,
- '#options' => array(
- 1 => 'Option A',
- 2 => 'Option B',
- 3 => 'Option C',
- ),
- '#description' => t('Choose an option.'),
- );
-
- return $form;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_BASE_FORM_ID_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_BASE_FORM_ID_alter.twig
deleted file mode 100644
index 75d51c4e7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_BASE_FORM_ID_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_form_BASE_FORM_ID_alter().
- */
-function {{ machine_name }}_form_BASE_FORM_ID_alter(&$form, &$form_state, $form_id) {
- // Modification for the form with the given BASE_FORM_ID goes here. For
- // example, if BASE_FORM_ID is "node_form", this code would run on every
- // node form, regardless of node type.
-
- // Add a checkbox to the node form about agreeing to terms of use.
- $form['terms_of_use'] = array(
- '#type' => 'checkbox',
- '#title' => t("I agree with the website's terms and conditions."),
- '#required' => TRUE,
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_FORM_ID_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_FORM_ID_alter.twig
deleted file mode 100644
index 25de86904..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_FORM_ID_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_form_FORM_ID_alter().
- */
-function {{ machine_name }}_form_FORM_ID_alter(&$form, &$form_state, $form_id) {
- // Modification for the form with the given form ID goes here. For example, if
- // FORM_ID is "user_register_form" this code would run only on the user
- // registration form.
-
- // Add a checkbox to registration form about agreeing to terms of use.
- $form['terms_of_use'] = array(
- '#type' => 'checkbox',
- '#title' => t("I agree with the website's terms and conditions."),
- '#required' => TRUE,
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_alter.twig
deleted file mode 100644
index 2eca12a64..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_alter.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_form_alter().
- */
-function {{ machine_name }}_form_alter(&$form, &$form_state, $form_id) {
- if (isset($form['type']) && $form['type']['#value'] . '_node_settings' == $form_id) {
- $form['workflow']['upload_' . $form['type']['#value']] = array(
- '#type' => 'radios',
- '#title' => t('Attachments'),
- '#default_value' => variable_get('upload_' . $form['type']['#value'], 1),
- '#options' => array(t('Disabled'), t('Enabled')),
- );
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_system_theme_settings_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_system_theme_settings_alter.twig
deleted file mode 100644
index bc011c3dc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/form_system_theme_settings_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_form_system_theme_settings_alter().
- */
-function {{ machine_name }}_form_system_theme_settings_alter(&$form, &$form_state) {
- // Add a checkbox to toggle the breadcrumb trail.
- $form['toggle_breadcrumb'] = array(
- '#type' => 'checkbox',
- '#title' => t('Display the breadcrumb'),
- '#default_value' => theme_get_setting('toggle_breadcrumb'),
- '#description' => t('Show a trail of links from the homepage to the current page.'),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/forms.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/forms.twig
deleted file mode 100644
index d26a23af1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/forms.twig
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Implements hook_forms().
- */
-function {{ machine_name }}_forms($form_id, $args) {
- // Simply reroute the (non-existing) $form_id 'mymodule_first_form' to
- // 'mymodule_main_form'.
- $forms['mymodule_first_form'] = array(
- 'callback' => 'mymodule_main_form',
- );
-
- // Reroute the $form_id and prepend an additional argument that gets passed to
- // the 'mymodule_main_form' form builder function.
- $forms['mymodule_second_form'] = array(
- 'callback' => 'mymodule_main_form',
- 'callback arguments' => array('some parameter'),
- );
-
- // Reroute the $form_id, but invoke the form builder function
- // 'mymodule_main_form_wrapper' first, so we can prepopulate the $form array
- // that is passed to the actual form builder 'mymodule_main_form'.
- $forms['mymodule_wrapped_form'] = array(
- 'callback' => 'mymodule_main_form',
- 'wrapper_callback' => 'mymodule_main_form_wrapper',
- );
-
- // Build a form with a static class callback.
- $forms['mymodule_class_generated_form'] = array(
- // This will call: MyClass::generateMainForm().
- 'callback' => array('MyClass', 'generateMainForm'),
- // The base_form_id is required when the callback is a static function in
- // a class. This can also be used to keep newer code backwards compatible.
- 'base_form_id' => 'mymodule_main_form',
- );
-
- return $forms;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/help.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/help.twig
deleted file mode 100644
index 48d1c4f13..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/help.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_help().
- */
-function {{ machine_name }}_help($path, $arg) {
- switch ($path) {
- // Main module help for the block module
- case 'admin/help#block':
- return '
' . t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Bartik, for example, implements the regions "Sidebar first", "Sidebar second", "Featured", "Content", "Header", "Footer", etc., and a block may appear in any one of these areas. The blocks administration page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', array('@blocks' => url('admin/structure/block'))) . '
';
-
- // Help for another path in the block module
- case 'admin/structure/block':
- return '' . t('This page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions. Since not all themes implement the same regions, or display regions in the same way, blocks are positioned on a per-theme basis. Remember that your changes will not be saved until you click the Save blocks button at the bottom of the page.') . '
';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/hook_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/hook_info.twig
deleted file mode 100644
index 00136a6f8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/hook_info.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_hook_info().
- */
-function {{ machine_name }}_hook_info() {
- $hooks['token_info'] = array(
- 'group' => 'tokens',
- );
- $hooks['tokens'] = array(
- 'group' => 'tokens',
- );
- return $hooks;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/hook_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/hook_info_alter.twig
deleted file mode 100644
index 997cb9cba..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/hook_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_hook_info_alter().
- */
-function {{ machine_name }}_hook_info_alter(&$hooks) {
- // Our module wants to completely override the core tokens, so make
- // sure the core token hooks are not found.
- $hooks['token_info']['group'] = 'mytokens';
- $hooks['tokens']['group'] = 'mytokens';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/html_head_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/html_head_alter.twig
deleted file mode 100644
index b931d6e79..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/html_head_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_html_head_alter().
- */
-function {{ machine_name }}_html_head_alter(&$head_elements) {
- foreach ($head_elements as $key => $element) {
- if (isset($element['#attributes']['rel']) && $element['#attributes']['rel'] == 'canonical') {
- // I want a custom canonical URL.
- $head_elements[$key]['#attributes']['href'] = mymodule_canonical_url();
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_default_styles.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_default_styles.twig
deleted file mode 100644
index 8c447241b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_default_styles.twig
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Implements hook_image_default_styles().
- */
-function {{ machine_name }}_image_default_styles() {
- $styles = array();
-
- $styles['mymodule_preview'] = array(
- 'label' => 'My module preview',
- 'effects' => array(
- array(
- 'name' => 'image_scale',
- 'data' => array('width' => 400, 'height' => 400, 'upscale' => 1),
- 'weight' => 0,
- ),
- array(
- 'name' => 'image_desaturate',
- 'data' => array(),
- 'weight' => 1,
- ),
- ),
- );
-
- return $styles;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_effect_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_effect_info.twig
deleted file mode 100644
index cb8e9b636..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_effect_info.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_image_effect_info().
- */
-function {{ machine_name }}_image_effect_info() {
- $effects = array();
-
- $effects['mymodule_resize'] = array(
- 'label' => t('Resize'),
- 'help' => t('Resize an image to an exact set of dimensions, ignoring aspect ratio.'),
- 'effect callback' => 'mymodule_resize_effect',
- 'dimensions callback' => 'mymodule_resize_dimensions',
- 'form callback' => 'mymodule_resize_form',
- 'summary theme' => 'mymodule_resize_summary',
- );
-
- return $effects;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_effect_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_effect_info_alter.twig
deleted file mode 100644
index 80dc5ade0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_effect_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_image_effect_info_alter().
- */
-function {{ machine_name }}_image_effect_info_alter(&$effects) {
- // Override the Image module's crop effect with more options.
- $effects['image_crop']['effect callback'] = 'mymodule_crop_effect';
- $effects['image_crop']['dimensions callback'] = 'mymodule_crop_dimensions';
- $effects['image_crop']['form callback'] = 'mymodule_crop_form';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_style_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_style_delete.twig
deleted file mode 100644
index 541fb18a4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_style_delete.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_image_style_delete().
- */
-function {{ machine_name }}_image_style_delete($style) {
- // Administrators can choose an optional replacement style when deleting.
- // Update the modules style variable accordingly.
- if (isset($style['old_name']) && $style['old_name'] == variable_get('mymodule_image_style', '')) {
- variable_set('mymodule_image_style', $style['name']);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_style_flush.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_style_flush.twig
deleted file mode 100644
index e561bb681..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_style_flush.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_image_style_flush().
- */
-function {{ machine_name }}_image_style_flush($style) {
- // Empty cached data that contains information about the style.
- cache_clear_all('*', 'cache_mymodule', TRUE);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_style_save.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_style_save.twig
deleted file mode 100644
index b489997b3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_style_save.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_image_style_save().
- */
-function {{ machine_name }}_image_style_save($style) {
- // If a module defines an image style and that style is renamed by the user
- // the module should update any references to that style.
- if (isset($style['old_name']) && $style['old_name'] == variable_get('mymodule_image_style', '')) {
- variable_set('mymodule_image_style', $style['name']);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_styles_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_styles_alter.twig
deleted file mode 100644
index 0ee5ecda5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_styles_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_image_styles_alter().
- */
-function {{ machine_name }}_image_styles_alter(&$styles) {
- // Check that we only affect a default style.
- if ($styles['thumbnail']['storage'] == IMAGE_STORAGE_DEFAULT) {
- // Add an additional effect to the thumbnail style.
- $styles['thumbnail']['effects'][] = array(
- 'name' => 'image_desaturate',
- 'data' => array(),
- 'weight' => 1,
- 'effect callback' => 'image_desaturate_effect',
- );
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_toolkits.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_toolkits.twig
deleted file mode 100644
index 47aa8630e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/image_toolkits.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_image_toolkits().
- */
-function {{ machine_name }}_image_toolkits() {
- return array(
- 'working' => array(
- 'title' => t('A toolkit that works.'),
- 'available' => TRUE,
- ),
- 'broken' => array(
- 'title' => t('A toolkit that is "broken" and will not be listed.'),
- 'available' => FALSE,
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/info_alter.twig
deleted file mode 100644
index 997cb9cba..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_hook_info_alter().
- */
-function {{ machine_name }}_hook_info_alter(&$hooks) {
- // Our module wants to completely override the core tokens, so make
- // sure the core token hooks are not found.
- $hooks['token_info']['group'] = 'mytokens';
- $hooks['tokens']['group'] = 'mytokens';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/init.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/init.twig
deleted file mode 100644
index 98cbebc4d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/init.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_init().
- */
-function {{ machine_name }}_init() {
- // Since this file should only be loaded on the front page, it cannot be
- // declared in the info file.
- if (drupal_is_front_page()) {
- drupal_add_css(drupal_get_path('module', 'foo') . '/foo.css');
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/insert.twig
deleted file mode 100644
index 70fb0fb4c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/insert.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_insert().
- */
-function {{ machine_name }}_insert($node) {
- db_insert('mytable')
- ->fields(array(
- 'nid' => $node->nid,
- 'extra' => $node->extra,
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/install.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/install.twig
deleted file mode 100644
index ba2007b1d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/install.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_install().
- */
-function {{ machine_name }}_install() {
- // Populate the default {node_access} record.
- db_insert('node_access')
- ->fields(array(
- 'nid' => 0,
- 'gid' => 0,
- 'realm' => 'all',
- 'grant_view' => 1,
- 'grant_update' => 0,
- 'grant_delete' => 0,
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/install_tasks.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/install_tasks.twig
deleted file mode 100644
index d25595727..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/install_tasks.twig
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * Implements hook_install_tasks().
- */
-function {{ machine_name }}_install_tasks(&$install_state) {
- // Here, we define a variable to allow tasks to indicate that a particular,
- // processor-intensive batch process needs to be triggered later on in the
- // installation.
- $myprofile_needs_batch_processing = variable_get('myprofile_needs_batch_processing', FALSE);
- $tasks = array(
- // This is an example of a task that defines a form which the user who is
- // installing the site will be asked to fill out. To implement this task,
- // your profile would define a function named myprofile_data_import_form()
- // as a normal form API callback function, with associated validation and
- // submit handlers. In the submit handler, in addition to saving whatever
- // other data you have collected from the user, you might also call
- // variable_set('myprofile_needs_batch_processing', TRUE) if the user has
- // entered data which requires that batch processing will need to occur
- // later on.
- 'myprofile_data_import_form' => array(
- 'display_name' => st('Data import options'),
- 'type' => 'form',
- ),
- // Similarly, to implement this task, your profile would define a function
- // named myprofile_settings_form() with associated validation and submit
- // handlers. This form might be used to collect and save additional
- // information from the user that your profile needs. There are no extra
- // steps required for your profile to act as an "installation wizard"; you
- // can simply define as many tasks of type 'form' as you wish to execute,
- // and the forms will be presented to the user, one after another.
- 'myprofile_settings_form' => array(
- 'display_name' => st('Additional options'),
- 'type' => 'form',
- ),
- // This is an example of a task that performs batch operations. To
- // implement this task, your profile would define a function named
- // myprofile_batch_processing() which returns a batch API array definition
- // that the installer will use to execute your batch operations. Due to the
- // 'myprofile_needs_batch_processing' variable used here, this task will be
- // hidden and skipped unless your profile set it to TRUE in one of the
- // previous tasks.
- 'myprofile_batch_processing' => array(
- 'display_name' => st('Import additional data'),
- 'display' => $myprofile_needs_batch_processing,
- 'type' => 'batch',
- 'run' => $myprofile_needs_batch_processing ? INSTALL_TASK_RUN_IF_NOT_COMPLETED : INSTALL_TASK_SKIP,
- ),
- // This is an example of a task that will not be displayed in the list that
- // the user sees. To implement this task, your profile would define a
- // function named myprofile_final_site_setup(), in which additional,
- // automated site setup operations would be performed. Since this is the
- // last task defined by your profile, you should also use this function to
- // call variable_del('myprofile_needs_batch_processing') and clean up the
- // variable that was used above. If you want the user to pass to the final
- // Drupal installation tasks uninterrupted, return no output from this
- // function. Otherwise, return themed output that the user will see (for
- // example, a confirmation page explaining that your profile's tasks are
- // complete, with a link to reload the current page and therefore pass on
- // to the final Drupal installation tasks when the user is ready to do so).
- 'myprofile_final_site_setup' => array(
- ),
- );
- return $tasks;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/install_tasks_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/install_tasks_alter.twig
deleted file mode 100644
index ee6dec7b1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/install_tasks_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_install_tasks_alter().
- */
-function {{ machine_name }}_install_tasks_alter(&$tasks, $install_state) {
- // Replace the "Choose language" installation task provided by Drupal core
- // with a custom callback function defined by this installation profile.
- $tasks['install_select_locale']['function'] = 'myprofile_locale_selection';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/js_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/js_alter.twig
deleted file mode 100644
index 77dcde889..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/js_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_js_alter().
- */
-function {{ machine_name }}_js_alter(&$javascript) {
- // Swap out jQuery to use an updated version of the library.
- $javascript['misc/jquery.js']['data'] = drupal_get_path('module', 'jquery_update') . '/jquery.js';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_fallback_candidates_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_fallback_candidates_alter.twig
deleted file mode 100644
index c9ddee135..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_fallback_candidates_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_language_fallback_candidates_alter().
- */
-function {{ machine_name }}_language_fallback_candidates_alter(array &$fallback_candidates) {
- $fallback_candidates = array_reverse($fallback_candidates);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_init.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_init.twig
deleted file mode 100644
index 6f416d387..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_init.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_language_init().
- */
-function {{ machine_name }}_language_init() {
- global $language, $conf;
-
- switch ($language->language) {
- case 'it':
- $conf['site_name'] = 'Il mio sito Drupal';
- break;
-
- case 'fr':
- $conf['site_name'] = 'Mon site Drupal';
- break;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_negotiation_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_negotiation_info.twig
deleted file mode 100644
index 3e346bd13..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_negotiation_info.twig
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Implements hook_language_negotiation_info().
- */
-function {{ machine_name }}_language_negotiation_info() {
- return array(
- 'custom_language_provider' => array(
- 'callbacks' => array(
- 'language' => 'custom_language_provider_callback',
- 'switcher' => 'custom_language_switcher_callback',
- 'url_rewrite' => 'custom_language_url_rewrite_callback',
- ),
- 'file' => drupal_get_path('module', 'custom') . '/custom.module',
- 'weight' => -4,
- 'types' => array('custom_language_type'),
- 'name' => t('Custom language negotiation provider'),
- 'description' => t('This is a custom language negotiation provider.'),
- 'cache' => 0,
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_negotiation_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_negotiation_info_alter.twig
deleted file mode 100644
index 6b1c412d7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_negotiation_info_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_language_negotiation_info_alter().
- */
-function {{ machine_name }}_language_negotiation_info_alter(array &$language_providers) {
- if (isset($language_providers['custom_language_provider'])) {
- $language_providers['custom_language_provider']['config'] = 'admin/config/regional/language/configure/custom-language-provider';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_switch_links_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_switch_links_alter.twig
deleted file mode 100644
index 66d7a3e42..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_switch_links_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_language_switch_links_alter().
- */
-function {{ machine_name }}_language_switch_links_alter(array &$links, $type, $path) {
- global $language;
-
- if ($type == LANGUAGE_TYPE_CONTENT && isset($links[$language->language])) {
- foreach ($links[$language->language] as $link) {
- $link['attributes']['class'][] = 'active-language';
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_types_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_types_info.twig
deleted file mode 100644
index b69538b10..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_types_info.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_language_types_info().
- */
-function {{ machine_name }}_language_types_info() {
- return array(
- 'custom_language_type' => array(
- 'name' => t('Custom language'),
- 'description' => t('A custom language type.'),
- ),
- 'fixed_custom_language_type' => array(
- 'fixed' => array('custom_language_provider'),
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_types_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_types_info_alter.twig
deleted file mode 100644
index 06e599f90..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/language_types_info_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_language_types_info_alter().
- */
-function {{ machine_name }}_language_types_info_alter(array &$language_types) {
- if (isset($language_types['custom_language_type'])) {
- $language_types['custom_language_type_custom']['description'] = t('A far better description.');
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/library.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/library.twig
deleted file mode 100644
index 508c0b951..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/library.twig
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Implements hook_library().
- */
-function {{ machine_name }}_library() {
- // Library One.
- $libraries['library-1'] = array(
- 'title' => 'Library One',
- 'website' => 'http://example.com/library-1',
- 'version' => '1.2',
- 'js' => array(
- drupal_get_path('module', 'my_module') . '/library-1.js' => array(),
- ),
- 'css' => array(
- drupal_get_path('module', 'my_module') . '/library-2.css' => array(
- 'type' => 'file',
- 'media' => 'screen',
- ),
- ),
- );
- // Library Two.
- $libraries['library-2'] = array(
- 'title' => 'Library Two',
- 'website' => 'http://example.com/library-2',
- 'version' => '3.1-beta1',
- 'js' => array(
- // JavaScript settings may use the 'data' key.
- array(
- 'type' => 'setting',
- 'data' => array('library2' => TRUE),
- ),
- ),
- 'dependencies' => array(
- // Require jQuery UI core by System module.
- array('system', 'ui'),
- // Require our other library.
- array('my_module', 'library-1'),
- // Require another library.
- array('other_module', 'library-3'),
- ),
- );
- return $libraries;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/library_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/library_alter.twig
deleted file mode 100644
index 492ffb645..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/library_alter.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_library_alter().
- */
-function {{ machine_name }}_library_alter(&$libraries, $module) {
- // Update Farbtastic to version 2.0.
- if ($module == 'system' && isset($libraries['farbtastic'])) {
- // Verify existing version is older than the one we are updating to.
- if (version_compare($libraries['farbtastic']['version'], '2.0', '<')) {
- // Update the existing Farbtastic to version 2.0.
- $libraries['farbtastic']['version'] = '2.0';
- $libraries['farbtastic']['js'] = array(
- drupal_get_path('module', 'farbtastic_update') . '/farbtastic-2.0.js' => array(),
- );
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/load.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/load.twig
deleted file mode 100644
index 2e6febbae..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/load.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_load().
- */
-function {{ machine_name }}_load($nodes) {
- $result = db_query('SELECT nid, foo FROM {mytable} WHERE nid IN (:nids)', array(':nids' => array_keys($nodes)));
- foreach ($result as $record) {
- $nodes[$record->nid]->foo = $record->foo;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/locale.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/locale.twig
deleted file mode 100644
index 9ad9bc19c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/locale.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_locale().
- */
-function {{ machine_name }}_locale($op = 'groups') {
- switch ($op) {
- case 'groups':
- return array('custom' => t('Custom'));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/mail.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/mail.twig
deleted file mode 100644
index 84b056691..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/mail.twig
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Implements hook_mail().
- */
-function {{ machine_name }}_mail($key, &$message, $params) {
- $account = $params['account'];
- $context = $params['context'];
- $variables = array(
- '%site_name' => variable_get('site_name', 'Drupal'),
- '%username' => format_username($account),
- );
- if ($context['hook'] == 'taxonomy') {
- $entity = $params['entity'];
- $vocabulary = taxonomy_vocabulary_load($entity->vid);
- $variables += array(
- '%term_name' => $entity->name,
- '%term_description' => $entity->description,
- '%term_id' => $entity->tid,
- '%vocabulary_name' => $vocabulary->name,
- '%vocabulary_description' => $vocabulary->description,
- '%vocabulary_id' => $vocabulary->vid,
- );
- }
-
- // Node-based variable translation is only available if we have a node.
- if (isset($params['node'])) {
- $node = $params['node'];
- $variables += array(
- '%uid' => $node->uid,
- '%node_url' => url('node/' . $node->nid, array('absolute' => TRUE)),
- '%node_type' => node_type_get_name($node),
- '%title' => $node->title,
- '%teaser' => $node->teaser,
- '%body' => $node->body,
- );
- }
- $subject = strtr($context['subject'], $variables);
- $body = strtr($context['message'], $variables);
- $message['subject'] .= str_replace(array("\r", "\n"), '', $subject);
- $message['body'][] = drupal_html_to_text($body);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/mail_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/mail_alter.twig
deleted file mode 100644
index e476e64c4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/mail_alter.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_mail_alter().
- */
-function {{ machine_name }}_mail_alter(&$message) {
- if ($message['id'] == 'modulename_messagekey') {
- if (!example_notifications_optin($message['to'], $message['id'])) {
- // If the recipient has opted to not receive such messages, cancel
- // sending.
- $message['send'] = FALSE;
- return;
- }
- $message['body'][] = "--\nMail sent out from " . variable_get('site_name', t('Drupal'));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu.twig
deleted file mode 100644
index 871bcfb31..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Implements hook_menu().
- */
-function {{ machine_name }}_menu() {
- $items['example'] = array(
- 'title' => 'Example Page',
- 'page callback' => 'example_page',
- 'access arguments' => array('access content'),
- 'type' => MENU_SUGGESTED_ITEM,
- );
- $items['example/feed'] = array(
- 'title' => 'Example RSS feed',
- 'page callback' => 'example_feed',
- 'access arguments' => array('access content'),
- 'type' => MENU_CALLBACK,
- );
-
- return $items;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_alter.twig
deleted file mode 100644
index 9ea6b2c86..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_menu_alter().
- */
-function {{ machine_name }}_menu_alter(&$items) {
- // Example - disable the page at node/add
- $items['node/add']['access callback'] = FALSE;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_breadcrumb_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_breadcrumb_alter.twig
deleted file mode 100644
index bef85eb22..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_breadcrumb_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_menu_breadcrumb_alter().
- */
-function {{ machine_name }}_menu_breadcrumb_alter(&$active_trail, $item) {
- // Always display a link to the current page by duplicating the last link in
- // the active trail. This means that menu_get_active_breadcrumb() will remove
- // the last link (for the current page), but since it is added once more here,
- // it will appear.
- if (!drupal_is_front_page()) {
- $end = end($active_trail);
- if ($item['href'] == $end['href']) {
- $active_trail[] = $end;
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_contextual_links_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_contextual_links_alter.twig
deleted file mode 100644
index 21c365e30..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_contextual_links_alter.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_menu_contextual_links_alter().
- */
-function {{ machine_name }}_menu_contextual_links_alter(&$links, $router_item, $root_path) {
- // Add a link to all contextual links for nodes.
- if ($root_path == 'node/%') {
- $links['foo'] = array(
- 'title' => t('Do fu'),
- 'href' => 'foo/do',
- 'localized_options' => array(
- 'query' => array(
- 'foo' => 'bar',
- ),
- ),
- );
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_delete.twig
deleted file mode 100644
index b59b77c2e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_delete.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_menu_delete().
- */
-function {{ machine_name }}_menu_delete($menu) {
- // Delete the record from our variable.
- $my_menus = variable_get('my_module_menus', array());
- unset($my_menus[$menu['menu_name']]);
- variable_set('my_module_menus', $my_menus);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_get_item_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_get_item_alter.twig
deleted file mode 100644
index d2c4925d9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_get_item_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_menu_get_item_alter().
- */
-function {{ machine_name }}_menu_get_item_alter(&$router_item, $path, $original_map) {
- // When retrieving the router item for the current path...
- if ($path == $_GET['q']) {
- // ...call a function that prepares something for this request.
- mymodule_prepare_something();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_insert.twig
deleted file mode 100644
index 658e177c5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_insert.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_menu_insert().
- */
-function {{ machine_name }}_menu_insert($menu) {
- // For example, we track available menus in a variable.
- $my_menus = variable_get('my_module_menus', array());
- $my_menus[$menu['menu_name']] = $menu['menu_name'];
- variable_set('my_module_menus', $my_menus);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_alter.twig
deleted file mode 100644
index f3e95805c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_alter.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Implements hook_menu_link_alter().
- */
-function {{ machine_name }}_menu_link_alter(&$item) {
- // Make all new admin links hidden (a.k.a disabled).
- if (strpos($item['link_path'], 'admin') === 0 && empty($item['mlid'])) {
- $item['hidden'] = 1;
- }
- // Flag a link to be altered by hook_translated_menu_link_alter().
- if ($item['link_path'] == 'devel/cache/clear') {
- $item['options']['alter'] = TRUE;
- }
- // Flag a link to be altered by hook_translated_menu_link_alter(), but only
- // if it is derived from a menu router item; i.e., do not alter a custom
- // menu link pointing to the same path that has been created by a user.
- if ($item['link_path'] == 'user' && $item['module'] == 'system') {
- $item['options']['alter'] = TRUE;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_delete.twig
deleted file mode 100644
index 5e1ff92f1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_delete.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_menu_link_delete().
- */
-function {{ machine_name }}_menu_link_delete($link) {
- // Delete the record from our table.
- db_delete('menu_example')
- ->condition('mlid', $link['mlid'])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_insert.twig
deleted file mode 100644
index 97764ea92..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_insert.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_menu_link_insert().
- */
-function {{ machine_name }}_menu_link_insert($link) {
- // In our sample case, we track menu items as editing sections
- // of the site. These are stored in our table as 'disabled' items.
- $record['mlid'] = $link['mlid'];
- $record['menu_name'] = $link['menu_name'];
- $record['status'] = 0;
- drupal_write_record('menu_example', $record);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_update.twig
deleted file mode 100644
index 765056aa9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_link_update.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_menu_link_update().
- */
-function {{ machine_name }}_menu_link_update($link) {
- // If the parent menu has changed, update our record.
- $menu_name = db_query("SELECT menu_name FROM {menu_example} WHERE mlid = :mlid", array(':mlid' => $link['mlid']))->fetchField();
- if ($menu_name != $link['menu_name']) {
- db_update('menu_example')
- ->fields(array('menu_name' => $link['menu_name']))
- ->condition('mlid', $link['mlid'])
- ->execute();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_local_tasks_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_local_tasks_alter.twig
deleted file mode 100644
index 9abb21901..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_local_tasks_alter.twig
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Implements hook_menu_local_tasks_alter().
- */
-function {{ machine_name }}_menu_local_tasks_alter(&$data, $router_item, $root_path) {
- // Add an action linking to node/add to all pages.
- $data['actions']['output'][] = array(
- '#theme' => 'menu_local_task',
- '#link' => array(
- 'title' => t('Add new content'),
- 'href' => 'node/add',
- 'localized_options' => array(
- 'attributes' => array(
- 'title' => t('Add new content'),
- ),
- ),
- ),
- );
-
- // Add a tab linking to node/add to all pages.
- $data['tabs'][0]['output'][] = array(
- '#theme' => 'menu_local_task',
- '#link' => array(
- 'title' => t('Example tab'),
- 'href' => 'node/add',
- 'localized_options' => array(
- 'attributes' => array(
- 'title' => t('Add new content'),
- ),
- ),
- ),
- // Define whether this link is active. This can be omitted for
- // implementations that add links to pages outside of the current page
- // context.
- '#active' => ($router_item['path'] == $root_path),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_site_status_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_site_status_alter.twig
deleted file mode 100644
index 01656d3d2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_site_status_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_menu_site_status_alter().
- */
-function {{ machine_name }}_menu_site_status_alter(&$menu_site_status, $path) {
- // Allow access to my_module/authentication even if site is in offline mode.
- if ($menu_site_status == MENU_SITE_OFFLINE && user_is_anonymous() && $path == 'my_module/authentication') {
- $menu_site_status = MENU_SITE_ONLINE;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_update.twig
deleted file mode 100644
index ed04a30d2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu_update.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_menu_update().
- */
-function {{ machine_name }}_menu_update($menu) {
- // For example, we track available menus in a variable.
- $my_menus = variable_get('my_module_menus', array());
- $my_menus[$menu['menu_name']] = $menu['menu_name'];
- variable_set('my_module_menus', $my_menus);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/module_implements_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/module_implements_alter.twig
deleted file mode 100644
index 7fbe12576..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/module_implements_alter.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_module_implements_alter().
- */
-function {{ machine_name }}_module_implements_alter(&$implementations, $hook) {
- if ($hook == 'rdf_mapping') {
- // Move my_module_rdf_mapping() to the end of the list. module_implements()
- // iterates through $implementations with a foreach loop which PHP iterates
- // in the order that the items were added, so to move an item to the end of
- // the array, we remove it and then add it.
- $group = $implementations['my_module'];
- unset($implementations['my_module']);
- $implementations['my_module'] = $group;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_disabled.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_disabled.twig
deleted file mode 100644
index 8b28f496e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_disabled.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_modules_disabled().
- */
-function {{ machine_name }}_modules_disabled($modules) {
- if (in_array('lousy_module', $modules)) {
- mymodule_enable_functionality();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_enabled.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_enabled.twig
deleted file mode 100644
index 51dbf2b99..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_enabled.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_modules_enabled().
- */
-function {{ machine_name }}_modules_enabled($modules) {
- if (in_array('lousy_module', $modules)) {
- drupal_set_message(t('mymodule is not compatible with lousy_module'), 'error');
- mymodule_disable_functionality();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_installed.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_installed.twig
deleted file mode 100644
index 592cbf88b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_installed.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_modules_installed().
- */
-function {{ machine_name }}_modules_installed($modules) {
- if (in_array('lousy_module', $modules)) {
- variable_set('lousy_module_conflicting_variable', FALSE);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_uninstalled.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_uninstalled.twig
deleted file mode 100644
index efc2dceae..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_uninstalled.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_modules_uninstalled().
- */
-function {{ machine_name }}_modules_uninstalled($modules) {
- foreach ($modules as $module) {
- db_delete('mymodule_table')
- ->condition('module', $module)
- ->execute();
- }
- mymodule_cache_rebuild();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/multilingual_settings_changed.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/multilingual_settings_changed.twig
deleted file mode 100644
index 0d2782eb0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/multilingual_settings_changed.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_multilingual_settings_changed().
- */
-function {{ machine_name }}_multilingual_settings_changed() {
- field_info_cache_clear();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_access.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_access.twig
deleted file mode 100644
index 1c290c4dd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_access.twig
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Implements hook_node_access().
- */
-function {{ machine_name }}_node_access($node, $op, $account) {
- $type = is_string($node) ? $node : $node->type;
-
- if (in_array($type, node_permissions_get_configured_types())) {
- if ($op == 'create' && user_access('create ' . $type . ' content', $account)) {
- return NODE_ACCESS_ALLOW;
- }
-
- if ($op == 'update') {
- if (user_access('edit any ' . $type . ' content', $account) || (user_access('edit own ' . $type . ' content', $account) && ($account->uid == $node->uid))) {
- return NODE_ACCESS_ALLOW;
- }
- }
-
- if ($op == 'delete') {
- if (user_access('delete any ' . $type . ' content', $account) || (user_access('delete own ' . $type . ' content', $account) && ($account->uid == $node->uid))) {
- return NODE_ACCESS_ALLOW;
- }
- }
- }
-
- // Returning nothing from this function would have the same effect.
- return NODE_ACCESS_IGNORE;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_access_records.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_access_records.twig
deleted file mode 100644
index 24afad910..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_access_records.twig
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Implements hook_node_access_records().
- */
-function {{ machine_name }}_node_access_records($node) {
- // We only care about the node if it has been marked private. If not, it is
- // treated just like any other node and we completely ignore it.
- if ($node->private) {
- $grants = array();
- // Only published nodes should be viewable to all users. If we allow access
- // blindly here, then all users could view an unpublished node.
- if ($node->status) {
- $grants[] = array(
- 'realm' => 'example',
- 'gid' => 1,
- 'grant_view' => 1,
- 'grant_update' => 0,
- 'grant_delete' => 0,
- 'priority' => 0,
- );
- }
- // For the example_author array, the GID is equivalent to a UID, which
- // means there are many groups of just 1 user.
- // Note that an author can always view his or her nodes, even if they
- // have status unpublished.
- $grants[] = array(
- 'realm' => 'example_author',
- 'gid' => $node->uid,
- 'grant_view' => 1,
- 'grant_update' => 1,
- 'grant_delete' => 1,
- 'priority' => 0,
- );
-
- return $grants;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_access_records_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_access_records_alter.twig
deleted file mode 100644
index 320883882..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_access_records_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_node_access_records_alter().
- */
-function {{ machine_name }}_node_access_records_alter(&$grants, $node) {
- // Our module allows editors to mark specific articles with the 'is_preview'
- // field. If the node being saved has a TRUE value for that field, then only
- // our grants are retained, and other grants are removed. Doing so ensures
- // that our rules are enforced no matter what priority other grants are given.
- if ($node->is_preview) {
- // Our module grants are set in $grants['example'].
- $temp = $grants['example'];
- // Now remove all module grants but our own.
- $grants = array('example' => $temp);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_delete.twig
deleted file mode 100644
index 460f17df9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_delete.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_node_delete().
- */
-function {{ machine_name }}_node_delete($node) {
- db_delete('mytable')
- ->condition('nid', $node->nid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_grants.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_grants.twig
deleted file mode 100644
index 340edc3a6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_grants.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_node_grants().
- */
-function {{ machine_name }}_node_grants($account, $op) {
- if (user_access('access private content', $account)) {
- $grants['example'] = array(1);
- }
- $grants['example_author'] = array($account->uid);
- return $grants;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_grants_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_grants_alter.twig
deleted file mode 100644
index b7663901f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_grants_alter.twig
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * Implements hook_node_grants_alter().
- */
-function {{ machine_name }}_node_grants_alter(&$grants, $account, $op) {
- // Our sample module never allows certain roles to edit or delete
- // content. Since some other node access modules might allow this
- // permission, we expressly remove it by returning an empty $grants
- // array for roles specified in our variable setting.
-
- // Get our list of banned roles.
- $restricted = variable_get('example_restricted_roles', array());
-
- if ($op != 'view' && !empty($restricted)) {
- // Now check the roles for this account against the restrictions.
- foreach ($restricted as $role_id) {
- if (isset($account->roles[$role_id])) {
- $grants = array();
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_info.twig
deleted file mode 100644
index eee1448d0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_info.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_node_info().
- */
-function {{ machine_name }}_node_info() {
- return array(
- 'blog' => array(
- 'name' => t('Blog entry'),
- 'base' => 'blog',
- 'description' => t('Use for multi-user blogs. Every user gets a personal blog.'),
- )
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_insert.twig
deleted file mode 100644
index e8cd55b82..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_insert.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_node_insert().
- */
-function {{ machine_name }}_node_insert($node) {
- db_insert('mytable')
- ->fields(array(
- 'nid' => $node->nid,
- 'extra' => $node->extra,
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_load.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_load.twig
deleted file mode 100644
index 2eba93e33..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_load.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_node_load().
- */
-function {{ machine_name }}_node_load($nodes, $types) {
- // Decide whether any of $types are relevant to our purposes.
- if (count(array_intersect($types_we_want_to_process, $types))) {
- // Gather our extra data for each of these nodes.
- $result = db_query('SELECT nid, foo FROM {mytable} WHERE nid IN(:nids)', array(':nids' => array_keys($nodes)));
- // Add our extra data to the node objects.
- foreach ($result as $record) {
- $nodes[$record->nid]->foo = $record->foo;
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_operations.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_operations.twig
deleted file mode 100644
index d0f2b7a6f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_operations.twig
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Implements hook_node_operations().
- */
-function {{ machine_name }}_node_operations() {
- $operations = array(
- 'publish' => array(
- 'label' => t('Publish selected content'),
- 'callback' => 'node_mass_update',
- 'callback arguments' => array('updates' => array('status' => NODE_PUBLISHED)),
- ),
- 'unpublish' => array(
- 'label' => t('Unpublish selected content'),
- 'callback' => 'node_mass_update',
- 'callback arguments' => array('updates' => array('status' => NODE_NOT_PUBLISHED)),
- ),
- 'promote' => array(
- 'label' => t('Promote selected content to front page'),
- 'callback' => 'node_mass_update',
- 'callback arguments' => array('updates' => array('status' => NODE_PUBLISHED, 'promote' => NODE_PROMOTED)),
- ),
- 'demote' => array(
- 'label' => t('Demote selected content from front page'),
- 'callback' => 'node_mass_update',
- 'callback arguments' => array('updates' => array('promote' => NODE_NOT_PROMOTED)),
- ),
- 'sticky' => array(
- 'label' => t('Make selected content sticky'),
- 'callback' => 'node_mass_update',
- 'callback arguments' => array('updates' => array('status' => NODE_PUBLISHED, 'sticky' => NODE_STICKY)),
- ),
- 'unsticky' => array(
- 'label' => t('Make selected content not sticky'),
- 'callback' => 'node_mass_update',
- 'callback arguments' => array('updates' => array('sticky' => NODE_NOT_STICKY)),
- ),
- 'delete' => array(
- 'label' => t('Delete selected content'),
- 'callback' => NULL,
- ),
- );
- return $operations;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_prepare.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_prepare.twig
deleted file mode 100644
index 488136482..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_prepare.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_node_prepare().
- */
-function {{ machine_name }}_node_prepare($node) {
- if (!isset($node->comment)) {
- $node->comment = variable_get("comment_$node->type", COMMENT_NODE_OPEN);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_presave.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_presave.twig
deleted file mode 100644
index 2f0f75a07..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_presave.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_node_presave().
- */
-function {{ machine_name }}_node_presave($node) {
- if ($node->nid && $node->moderate) {
- // Reset votes when node is updated:
- $node->score = 0;
- $node->users = '';
- $node->votes = 0;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_revision_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_revision_delete.twig
deleted file mode 100644
index ba98567eb..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_revision_delete.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_node_revision_delete().
- */
-function {{ machine_name }}_node_revision_delete($node) {
- db_delete('mytable')
- ->condition('vid', $node->vid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_search_result.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_search_result.twig
deleted file mode 100644
index 9372dc179..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_search_result.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_node_search_result().
- */
-function {{ machine_name }}_node_search_result($node) {
- $comments = db_query('SELECT comment_count FROM {node_comment_statistics} WHERE nid = :nid', array('nid' => $node->nid))->fetchField();
- return array('comment' => format_plural($comments, '1 comment', '@count comments'));
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_submit.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_submit.twig
deleted file mode 100644
index b04ec0cfd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_submit.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_node_submit().
- */
-function {{ machine_name }}_node_submit($node, $form, &$form_state) {
- // Decompose the selected menu parent option into 'menu_name' and 'plid', if
- // the form used the default parent selection widget.
- if (!empty($form_state['values']['menu']['parent'])) {
- list($node->menu['menu_name'], $node->menu['plid']) = explode(':', $form_state['values']['menu']['parent']);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_type_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_type_delete.twig
deleted file mode 100644
index c4afe57ce..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_type_delete.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_node_type_delete().
- */
-function {{ machine_name }}_node_type_delete($info) {
- variable_del('comment_' . $info->type);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_type_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_type_insert.twig
deleted file mode 100644
index 35490cbba..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_type_insert.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_node_type_insert().
- */
-function {{ machine_name }}_node_type_insert($info) {
- drupal_set_message(t('You have just created a content type with a machine name %type.', array('%type' => $info->type)));
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_type_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_type_update.twig
deleted file mode 100644
index 28ea1743d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_type_update.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_node_type_update().
- */
-function {{ machine_name }}_node_type_update($info) {
- if (!empty($info->old_type) && $info->old_type != $info->type) {
- $setting = variable_get('comment_' . $info->old_type, COMMENT_NODE_OPEN);
- variable_del('comment_' . $info->old_type);
- variable_set('comment_' . $info->type, $setting);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_update.twig
deleted file mode 100644
index 7d92d9de0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_update.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_node_update().
- */
-function {{ machine_name }}_node_update($node) {
- db_update('mytable')
- ->fields(array('extra' => $node->extra))
- ->condition('nid', $node->nid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_update_index.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_update_index.twig
deleted file mode 100644
index 42e533fb3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_update_index.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_node_update_index().
- */
-function {{ machine_name }}_node_update_index($node) {
- $text = '';
- $comments = db_query('SELECT subject, comment, format FROM {comment} WHERE nid = :nid AND status = :status', array(':nid' => $node->nid, ':status' => COMMENT_PUBLISHED));
- foreach ($comments as $comment) {
- $text .= '' . check_plain($comment->subject) . '
' . check_markup($comment->comment, $comment->format, '', TRUE);
- }
- return $text;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_validate.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_validate.twig
deleted file mode 100644
index ac37efce7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_validate.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_node_validate().
- */
-function {{ machine_name }}_node_validate($node, $form, &$form_state) {
- if (isset($node->end) && isset($node->start)) {
- if ($node->start > $node->end) {
- form_set_error('time', t('An event may not end before it starts.'));
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_view.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_view.twig
deleted file mode 100644
index 86019fccd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_view.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_node_view().
- */
-function {{ machine_name }}_node_view($node, $view_mode, $langcode) {
- $node->content['my_additional_field'] = array(
- '#markup' => $additional_field,
- '#weight' => 10,
- '#theme' => 'mymodule_my_additional_field',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_view_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_view_alter.twig
deleted file mode 100644
index 331630085..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/node_view_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_node_view_alter().
- */
-function {{ machine_name }}_node_view_alter(&$build) {
- if ($build['#view_mode'] == 'full' && isset($build['an_additional_field'])) {
- // Change its weight.
- $build['an_additional_field']['#weight'] = -10;
- }
-
- // Add a #post_render callback to act on the rendered HTML of the node.
- $build['#post_render'][] = 'my_module_node_post_render';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid.twig
deleted file mode 100644
index 8e0e9f38e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_openid().
- */
-function {{ machine_name }}_openid($op, $request) {
- if ($op == 'request') {
- $request['openid.identity'] = 'http://myname.myopenid.com/';
- }
- return $request;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_discovery_method_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_discovery_method_info.twig
deleted file mode 100644
index 5f212fe2b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_discovery_method_info.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_openid_discovery_method_info().
- */
-function {{ machine_name }}_openid_discovery_method_info() {
- return array(
- 'new_discovery_idea' => '_my_discovery_method',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_discovery_method_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_discovery_method_info_alter.twig
deleted file mode 100644
index 374d67c9f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_discovery_method_info_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_openid_discovery_method_info_alter().
- */
-function {{ machine_name }}_openid_discovery_method_info_alter(&$methods) {
- // Remove XRI discovery scheme.
- unset($methods['xri']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_normalization_method_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_normalization_method_info.twig
deleted file mode 100644
index 95e630133..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_normalization_method_info.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_openid_normalization_method_info().
- */
-function {{ machine_name }}_openid_normalization_method_info() {
- return array(
- 'new_normalization_idea' => '_my_normalization_method',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_normalization_method_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_normalization_method_info_alter.twig
deleted file mode 100644
index 405817021..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_normalization_method_info_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_openid_normalization_method_info_alter().
- */
-function {{ machine_name }}_openid_normalization_method_info_alter(&$methods) {
- // Remove Google IDP normalization.
- unset($methods['google_idp']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_response.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_response.twig
deleted file mode 100644
index 476b66c1e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/openid_response.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_openid_response().
- */
-function {{ machine_name }}_openid_response($response, $account) {
- if (isset($response['openid.ns.ax'])) {
- _mymodule_store_ax_fields($response, $account);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/options_list.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/options_list.twig
deleted file mode 100644
index 0934dc8d9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/options_list.twig
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Implements hook_options_list().
- */
-function {{ machine_name }}_options_list($field, $instance, $entity_type, $entity) {
- // Sample structure.
- $options = array(
- 0 => t('Zero'),
- 1 => t('One'),
- 2 => t('Two'),
- 3 => t('Three'),
- );
-
- // Sample structure with groups. Only one level of nesting is allowed. This
- // is only supported by the 'options_select' widget. Other widgets will
- // flatten the array.
- $options = array(
- t('First group') => array(
- 0 => t('Zero'),
- ),
- t('Second group') => array(
- 1 => t('One'),
- 2 => t('Two'),
- ),
- 3 => t('Three'),
- );
-
- // In actual implementations, the array of options will most probably depend
- // on properties of the field. Example from taxonomy.module:
- $options = array();
- foreach ($field['settings']['allowed_values'] as $tree) {
- $terms = taxonomy_get_tree($tree['vid'], $tree['parent']);
- if ($terms) {
- foreach ($terms as $term) {
- $options[$term->tid] = str_repeat('-', $term->depth) . $term->name;
- }
- }
- }
-
- return $options;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/overlay_child_initialize.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/overlay_child_initialize.twig
deleted file mode 100644
index 1c26aa89e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/overlay_child_initialize.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_overlay_child_initialize().
- */
-function {{ machine_name }}_overlay_child_initialize() {
- // Add our custom JavaScript.
- drupal_add_js(drupal_get_path('module', 'hook') . '/hook-overlay-child.js');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/overlay_parent_initialize.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/overlay_parent_initialize.twig
deleted file mode 100644
index 18dc7c287..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/overlay_parent_initialize.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_overlay_parent_initialize().
- */
-function {{ machine_name }}_overlay_parent_initialize() {
- // Add our custom JavaScript.
- drupal_add_js(drupal_get_path('module', 'hook') . '/hook-overlay.js');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/page_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/page_alter.twig
deleted file mode 100644
index d29b114f6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/page_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_page_alter().
- */
-function {{ machine_name }}_page_alter(&$page) {
- // Add help text to the user login block.
- $page['sidebar_first']['user_login']['help'] = array(
- '#weight' => -10,
- '#markup' => t('To post comments or add new content, you first have to log in.'),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/page_build.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/page_build.twig
deleted file mode 100644
index 3f660889f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/page_build.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_page_build().
- */
-function {{ machine_name }}_page_build(&$page) {
- if (menu_get_object('node', 1)) {
- // We are on a node detail page. Append a standard disclaimer to the
- // content region.
- $page['content']['disclaimer'] = array(
- '#markup' => t('Acme, Inc. is not responsible for the contents of this sample code.'),
- '#weight' => 25,
- );
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/page_delivery_callback_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/page_delivery_callback_alter.twig
deleted file mode 100644
index 3c1ae81d2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/page_delivery_callback_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_page_delivery_callback_alter().
- */
-function {{ machine_name }}_page_delivery_callback_alter(&$callback) {
- // jQuery sets a HTTP_X_REQUESTED_WITH header of 'XMLHttpRequest'.
- // If a page would normally be delivered as an html page, and it is called
- // from jQuery, deliver it instead as an Ajax response.
- if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' && $callback == 'drupal_deliver_html_page') {
- $callback = 'ajax_deliver';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/path_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/path_delete.twig
deleted file mode 100644
index a6b38c378..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/path_delete.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_path_delete().
- */
-function {{ machine_name }}_path_delete($path) {
- db_delete('mytable')
- ->condition('pid', $path['pid'])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/path_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/path_insert.twig
deleted file mode 100644
index 7a43127ff..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/path_insert.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_path_insert().
- */
-function {{ machine_name }}_path_insert($path) {
- db_insert('mytable')
- ->fields(array(
- 'alias' => $path['alias'],
- 'pid' => $path['pid'],
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/path_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/path_update.twig
deleted file mode 100644
index 19b706726..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/path_update.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_path_update().
- */
-function {{ machine_name }}_path_update($path) {
- db_update('mytable')
- ->fields(array('alias' => $path['alias']))
- ->condition('pid', $path['pid'])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/permission.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/permission.twig
deleted file mode 100644
index 3a4510196..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/permission.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_permission().
- */
-function {{ machine_name }}_permission() {
- return array(
- 'administer my module' => array(
- 'title' => t('Administer my module'),
- 'description' => t('Perform administration tasks for my module.'),
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/prepare.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/prepare.twig
deleted file mode 100644
index b663f5458..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/prepare.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_prepare().
- */
-function {{ machine_name }}_prepare($node) {
- if (!isset($node->mymodule_value)) {
- $node->mymodule_value = 'foo';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/preprocess.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/preprocess.twig
deleted file mode 100644
index fa36102d3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/preprocess.twig
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Implements hook_preprocess().
- */
-function {{ machine_name }}_preprocess(&$variables, $hook) {
- static $hooks;
-
- // Add contextual links to the variables, if the user has permission.
-
- if (!user_access('access contextual links')) {
- return;
- }
-
- if (!isset($hooks)) {
- $hooks = theme_get_registry();
- }
-
- // Determine the primary theme function argument.
- if (isset($hooks[$hook]['variables'])) {
- $keys = array_keys($hooks[$hook]['variables']);
- $key = $keys[0];
- }
- else {
- $key = $hooks[$hook]['render element'];
- }
-
- if (isset($variables[$key])) {
- $element = $variables[$key];
- }
-
- if (isset($element) && is_array($element) && !empty($element['#contextual_links'])) {
- $variables['title_suffix']['contextual_links'] = contextual_links_view($element);
- if (!empty($variables['title_suffix']['contextual_links'])) {
- $variables['classes_array'][] = 'contextual-links-region';
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/preprocess_HOOK.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/preprocess_HOOK.twig
deleted file mode 100644
index 8f7f47044..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/preprocess_HOOK.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_preprocess_HOOK().
- */
-function {{ machine_name }}_preprocess_HOOK(&$variables) {
- // This example is from rdf_preprocess_image(). It adds an RDF attribute
- // to the image hook's variables.
- $variables['attributes']['typeof'] = array('foaf:Image');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/process.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/process.twig
deleted file mode 100644
index cd42c89c2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/process.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_process().
- */
-function {{ machine_name }}_process(&$variables, $hook) {
- // Wraps variables in RDF wrappers.
- if (!empty($variables['rdf_template_variable_attributes_array'])) {
- foreach ($variables['rdf_template_variable_attributes_array'] as $variable_name => $attributes) {
- $context = array(
- 'hook' => $hook,
- 'variable_name' => $variable_name,
- 'variables' => $variables,
- );
- $variables[$variable_name] = theme('rdf_template_variable_wrapper', array('content' => $variables[$variable_name], 'attributes' => $attributes, 'context' => $context));
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/process_HOOK.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/process_HOOK.twig
deleted file mode 100644
index 8f170394a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/process_HOOK.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_process_HOOK().
- */
-function {{ machine_name }}_process_HOOK(&$variables) {
- // @todo There are no use-cases in Drupal core for this hook. Find one from a
- // contributed module, or come up with a good example. Coming up with a good
- // example might be tough, since the intent is for nearly everything to be
- // achievable via preprocess functions, and for process functions to only be
- // used when requiring the later execution time.
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/query_TAG_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/query_TAG_alter.twig
deleted file mode 100644
index 60974e3e4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/query_TAG_alter.twig
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * Implements hook_query_TAG_alter().
- */
-function {{ machine_name }}_query_TAG_alter(QueryAlterableInterface $query) {
- // Skip the extra expensive alterations if site has no node access control modules.
- if (!node_access_view_all_nodes()) {
- // Prevent duplicates records.
- $query->distinct();
- // The recognized operations are 'view', 'update', 'delete'.
- if (!$op = $query->getMetaData('op')) {
- $op = 'view';
- }
- // Skip the extra joins and conditions for node admins.
- if (!user_access('bypass node access')) {
- // The node_access table has the access grants for any given node.
- $access_alias = $query->join('node_access', 'na', '%alias.nid = n.nid');
- $or = db_or();
- // If any grant exists for the specified user, then user has access to the node for the specified operation.
- foreach (node_access_grants($op, $query->getMetaData('account')) as $realm => $gids) {
- foreach ($gids as $gid) {
- $or->condition(db_and()
- ->condition($access_alias . '.gid', $gid)
- ->condition($access_alias . '.realm', $realm)
- );
- }
- }
-
- if (count($or->conditions())) {
- $query->condition($or);
- }
-
- $query->condition($access_alias . 'grant_' . $op, 1, '>=');
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/query_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/query_alter.twig
deleted file mode 100644
index 1238cae1d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/query_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_query_alter().
- */
-function {{ machine_name }}_query_alter(QueryAlterableInterface $query) {
- if ($query->hasTag('micro_limit')) {
- $query->range(0, 2);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/ranking.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/ranking.twig
deleted file mode 100644
index 2d6ae32c8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/ranking.twig
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Implements hook_ranking().
- */
-function {{ machine_name }}_ranking() {
- // If voting is disabled, we can avoid returning the array, no hard feelings.
- if (variable_get('vote_node_enabled', TRUE)) {
- return array(
- 'vote_average' => array(
- 'title' => t('Average vote'),
- // Note that we use i.sid, the search index's search item id, rather than
- // n.nid.
- 'join' => array(
- 'type' => 'LEFT',
- 'table' => 'vote_node_data',
- 'alias' => 'vote_node_data',
- 'on' => 'vote_node_data.nid = i.sid',
- ),
- // The highest possible score should be 1, and the lowest possible score,
- // always 0, should be 0.
- 'score' => 'vote_node_data.average / CAST(%f AS DECIMAL)',
- // Pass in the highest possible voting score as a decimal argument.
- 'arguments' => array(variable_get('vote_score_max', 5)),
- ),
- );
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/rdf_mapping.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/rdf_mapping.twig
deleted file mode 100644
index 3b5344ca5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/rdf_mapping.twig
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Implements hook_rdf_mapping().
- */
-function {{ machine_name }}_rdf_mapping() {
- return array(
- array(
- 'type' => 'node',
- 'bundle' => 'blog',
- 'mapping' => array(
- 'rdftype' => array('sioct:Weblog'),
- 'title' => array(
- 'predicates' => array('dc:title'),
- ),
- 'created' => array(
- 'predicates' => array('dc:date', 'dc:created'),
- 'datatype' => 'xsd:dateTime',
- 'callback' => 'date_iso8601',
- ),
- 'body' => array(
- 'predicates' => array('content:encoded'),
- ),
- 'uid' => array(
- 'predicates' => array('sioc:has_creator'),
- 'type' => 'rel',
- ),
- 'name' => array(
- 'predicates' => array('foaf:name'),
- ),
- ),
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/rdf_namespaces.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/rdf_namespaces.twig
deleted file mode 100644
index 997ac5421..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/rdf_namespaces.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_rdf_namespaces().
- */
-function {{ machine_name }}_rdf_namespaces() {
- return array(
- 'content' => 'http://purl.org/rss/1.0/modules/content/',
- 'dc' => 'http://purl.org/dc/terms/',
- 'foaf' => 'http://xmlns.com/foaf/0.1/',
- 'og' => 'http://ogp.me/ns#',
- 'rdfs' => 'http://www.w3.org/2000/01/rdf-schema#',
- 'sioc' => 'http://rdfs.org/sioc/ns#',
- 'sioct' => 'http://rdfs.org/sioc/types#',
- 'skos' => 'http://www.w3.org/2004/02/skos/core#',
- 'xsd' => 'http://www.w3.org/2001/XMLSchema#',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/registry_files_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/registry_files_alter.twig
deleted file mode 100644
index fc4dc58de..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/registry_files_alter.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_registry_files_alter().
- */
-function {{ machine_name }}_registry_files_alter(&$files, $modules) {
- foreach ($modules as $module) {
- // Only add test files for disabled modules, as enabled modules should
- // already include any test files they provide.
- if (!$module->status) {
- $dir = $module->dir;
- foreach ($module->info['files'] as $file) {
- if (substr($file, -5) == '.test') {
- $files["$dir/$file"] = array('module' => $module->name, 'weight' => $module->weight);
- }
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/requirements.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/requirements.twig
deleted file mode 100644
index 10d58fca3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/requirements.twig
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Implements hook_requirements().
- */
-function {{ machine_name }}_requirements($phase) {
- $requirements = array();
- // Ensure translations don't break during installation.
- $t = get_t();
-
- // Report Drupal version
- if ($phase == 'runtime') {
- $requirements['drupal'] = array(
- 'title' => $t('Drupal'),
- 'value' => VERSION,
- 'severity' => REQUIREMENT_INFO
- );
- }
-
- // Test PHP version
- $requirements['php'] = array(
- 'title' => $t('PHP'),
- 'value' => ($phase == 'runtime') ? l(phpversion(), 'admin/reports/status/php') : phpversion(),
- );
- if (version_compare(phpversion(), DRUPAL_MINIMUM_PHP) < 0) {
- $requirements['php']['description'] = $t('Your PHP installation is too old. Drupal requires at least PHP %version.', array('%version' => DRUPAL_MINIMUM_PHP));
- $requirements['php']['severity'] = REQUIREMENT_ERROR;
- }
-
- // Report cron status
- if ($phase == 'runtime') {
- $cron_last = variable_get('cron_last');
-
- if (is_numeric($cron_last)) {
- $requirements['cron']['value'] = $t('Last run !time ago', array('!time' => format_interval(REQUEST_TIME - $cron_last)));
- }
- else {
- $requirements['cron'] = array(
- 'description' => $t('Cron has not run. It appears cron jobs have not been setup on your system. Check the help pages for configuring cron jobs.', array('@url' => 'http://drupal.org/cron')),
- 'severity' => REQUIREMENT_ERROR,
- 'value' => $t('Never run'),
- );
- }
-
- $requirements['cron']['description'] .= ' ' . $t('You can run cron manually.', array('@cron' => url('admin/reports/status/run-cron')));
-
- $requirements['cron']['title'] = $t('Cron maintenance tasks');
- }
-
- return $requirements;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/schema.twig
deleted file mode 100644
index 3294edfc4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/schema.twig
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * Implements hook_schema().
- */
-function {{ machine_name }}_schema() {
- $schema['node'] = array(
- // Example (partial) specification for table "node".
- 'description' => 'The base table for nodes.',
- 'fields' => array(
- 'nid' => array(
- 'description' => 'The primary identifier for a node.',
- 'type' => 'serial',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- ),
- 'vid' => array(
- 'description' => 'The current {node_revision}.vid version identifier.',
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'type' => array(
- 'description' => 'The {node_type} of this node.',
- 'type' => 'varchar',
- 'length' => 32,
- 'not null' => TRUE,
- 'default' => '',
- ),
- 'title' => array(
- 'description' => 'The title of this node, always treated as non-markup plain text.',
- 'type' => 'varchar',
- 'length' => 255,
- 'not null' => TRUE,
- 'default' => '',
- ),
- ),
- 'indexes' => array(
- 'node_changed' => array('changed'),
- 'node_created' => array('created'),
- ),
- 'unique keys' => array(
- 'nid_vid' => array('nid', 'vid'),
- 'vid' => array('vid'),
- ),
- // For documentation purposes only; foreign keys are not created in the
- // database.
- 'foreign keys' => array(
- 'node_revision' => array(
- 'table' => 'node_revision',
- 'columns' => array('vid' => 'vid'),
- ),
- 'node_author' => array(
- 'table' => 'users',
- 'columns' => array('uid' => 'uid'),
- ),
- ),
- 'primary key' => array('nid'),
- );
- return $schema;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/schema_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/schema_alter.twig
deleted file mode 100644
index 4a7ae8f02..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/schema_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_schema_alter().
- */
-function {{ machine_name }}_schema_alter(&$schema) {
- // Add field to existing schema.
- $schema['users']['fields']['timezone_id'] = array(
- 'type' => 'int',
- 'not null' => TRUE,
- 'default' => 0,
- 'description' => 'Per-user timezone configuration.',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_access.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_access.twig
deleted file mode 100644
index 2ba37aacd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_access.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_search_access().
- */
-function {{ machine_name }}_search_access() {
- return user_access('access content');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_admin.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_admin.twig
deleted file mode 100644
index 7459bf9ee..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_admin.twig
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Implements hook_search_admin().
- */
-function {{ machine_name }}_search_admin() {
- // Output form for defining rank factor weights.
- $form['content_ranking'] = array(
- '#type' => 'fieldset',
- '#title' => t('Content ranking'),
- );
- $form['content_ranking']['#theme'] = 'node_search_admin';
- $form['content_ranking']['info'] = array(
- '#value' => '' . t('The following numbers control which properties the content search should favor when ordering the results. Higher numbers mean more influence, zero means the property is ignored. Changing these numbers does not require the search index to be rebuilt. Changes take effect immediately.') . ''
- );
-
- // Note: reversed to reflect that higher number = higher ranking.
- $options = drupal_map_assoc(range(0, 10));
- foreach (module_invoke_all('ranking') as $var => $values) {
- $form['content_ranking']['factors']['node_rank_' . $var] = array(
- '#title' => $values['title'],
- '#type' => 'select',
- '#options' => $options,
- '#default_value' => variable_get('node_rank_' . $var, 0),
- );
- }
- return $form;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_execute.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_execute.twig
deleted file mode 100644
index 49ecbb5ac..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_execute.twig
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * Implements hook_search_execute().
- */
-function {{ machine_name }}_search_execute($keys = NULL, $conditions = NULL) {
- // Build matching conditions
- $query = db_select('search_index', 'i', array('target' => 'slave'))->extend('SearchQuery')->extend('PagerDefault');
- $query->join('node', 'n', 'n.nid = i.sid');
- $query
- ->condition('n.status', 1)
- ->addTag('node_access')
- ->searchExpression($keys, 'node');
-
- // Insert special keywords.
- $query->setOption('type', 'n.type');
- $query->setOption('language', 'n.language');
- if ($query->setOption('term', 'ti.tid')) {
- $query->join('taxonomy_index', 'ti', 'n.nid = ti.nid');
- }
- // Only continue if the first pass query matches.
- if (!$query->executeFirstPass()) {
- return array();
- }
-
- // Add the ranking expressions.
- _node_rankings($query);
-
- // Load results.
- $find = $query
- ->limit(10)
- ->execute();
- $results = array();
- foreach ($find as $item) {
- // Build the node body.
- $node = node_load($item->sid);
- node_build_content($node, 'search_result');
- $node->body = drupal_render($node->content);
-
- // Fetch comments for snippet.
- $node->rendered .= ' ' . module_invoke('comment', 'node_update_index', $node);
- // Fetch terms for snippet.
- $node->rendered .= ' ' . module_invoke('taxonomy', 'node_update_index', $node);
-
- $extra = module_invoke_all('node_search_result', $node);
-
- $results[] = array(
- 'link' => url('node/' . $item->sid, array('absolute' => TRUE)),
- 'type' => check_plain(node_type_get_name($node)),
- 'title' => $node->title,
- 'user' => theme('username', array('account' => $node)),
- 'date' => $node->changed,
- 'node' => $node,
- 'extra' => $extra,
- 'score' => $item->calculated_score,
- 'snippet' => search_excerpt($keys, $node->body),
- );
- }
- return $results;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_info.twig
deleted file mode 100644
index e4e0c3c73..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_info.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_search_info().
- */
-function {{ machine_name }}_search_info() {
- // Make the title translatable.
- t('Content');
-
- return array(
- 'title' => 'Content',
- 'path' => 'node',
- 'conditions_callback' => 'callback_search_conditions',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_page.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_page.twig
deleted file mode 100644
index 0aff6594f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_page.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_search_page().
- */
-function {{ machine_name }}_search_page($results) {
- $output['prefix']['#markup'] = '';
-
- foreach ($results as $entry) {
- $output[] = array(
- '#theme' => 'search_result',
- '#result' => $entry,
- '#module' => 'my_module_name',
- );
- }
- $output['suffix']['#markup'] = '
' . theme('pager');
-
- return $output;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_preprocess.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_preprocess.twig
deleted file mode 100644
index a38c6158d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_preprocess.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_search_preprocess().
- */
-function {{ machine_name }}_search_preprocess($text) {
- // Do processing on $text
- return $text;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_reset.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_reset.twig
deleted file mode 100644
index b44388e8d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_reset.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_search_reset().
- */
-function {{ machine_name }}_search_reset() {
- db_update('search_dataset')
- ->fields(array('reindex' => REQUEST_TIME))
- ->condition('type', 'node')
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_status.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_status.twig
deleted file mode 100644
index 56814d3af..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/search_status.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_search_status().
- */
-function {{ machine_name }}_search_status() {
- $total = db_query('SELECT COUNT(*) FROM {node} WHERE status = 1')->fetchField();
- $remaining = db_query("SELECT COUNT(*) FROM {node} n LEFT JOIN {search_dataset} d ON d.type = 'node' AND d.sid = n.nid WHERE n.status = 1 AND d.sid IS NULL OR d.reindex <> 0")->fetchField();
- return array('remaining' => $remaining, 'total' => $total);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/shortcut_default_set.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/shortcut_default_set.twig
deleted file mode 100644
index 0eb440590..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/shortcut_default_set.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_shortcut_default_set().
- */
-function {{ machine_name }}_shortcut_default_set($account) {
- // Use a special set of default shortcuts for administrators only.
- if (in_array(variable_get('user_admin_role', 0), $account->roles)) {
- return variable_get('mymodule_shortcut_admin_default_set');
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/simpletest_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/simpletest_alter.twig
deleted file mode 100644
index 98cc76eff..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/simpletest_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_simpletest_alter().
- */
-function {{ machine_name }}_simpletest_alter(&$groups) {
- // An alternative session handler module would not want to run the original
- // Session HTTPS handling test because it checks the sessions table in the
- // database.
- unset($groups['Session']['testHttpsSession']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/stream_wrappers.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/stream_wrappers.twig
deleted file mode 100644
index b69560888..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/stream_wrappers.twig
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Implements hook_stream_wrappers().
- */
-function {{ machine_name }}_stream_wrappers() {
- return array(
- 'public' => array(
- 'name' => t('Public files'),
- 'class' => 'DrupalPublicStreamWrapper',
- 'description' => t('Public local files served by the webserver.'),
- 'type' => STREAM_WRAPPERS_LOCAL_NORMAL,
- ),
- 'private' => array(
- 'name' => t('Private files'),
- 'class' => 'DrupalPrivateStreamWrapper',
- 'description' => t('Private local files served by Drupal.'),
- 'type' => STREAM_WRAPPERS_LOCAL_NORMAL,
- ),
- 'temp' => array(
- 'name' => t('Temporary files'),
- 'class' => 'DrupalTempStreamWrapper',
- 'description' => t('Temporary local files for upload and previews.'),
- 'type' => STREAM_WRAPPERS_LOCAL_HIDDEN,
- ),
- 'cdn' => array(
- 'name' => t('Content delivery network files'),
- 'class' => 'MyModuleCDNStreamWrapper',
- 'description' => t('Files served by a content delivery network.'),
- // 'type' can be omitted to use the default of STREAM_WRAPPERS_NORMAL
- ),
- 'youtube' => array(
- 'name' => t('YouTube video'),
- 'class' => 'MyModuleYouTubeStreamWrapper',
- 'description' => t('Video streamed from YouTube.'),
- // A module implementing YouTube integration may decide to support using
- // the YouTube API for uploading video, but here, we assume that this
- // particular module only supports playing YouTube video.
- 'type' => STREAM_WRAPPERS_READ_VISIBLE,
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/stream_wrappers_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/stream_wrappers_alter.twig
deleted file mode 100644
index 39b58a0ee..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/stream_wrappers_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_stream_wrappers_alter().
- */
-function {{ machine_name }}_stream_wrappers_alter(&$wrappers) {
- // Change the name of private files to reflect the performance.
- $wrappers['private']['name'] = t('Slow files');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_info_alter.twig
deleted file mode 100644
index 6b07505bd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_system_info_alter().
- */
-function {{ machine_name }}_system_info_alter(&$info, $file, $type) {
- // Only fill this in if the .info file does not define a 'datestamp'.
- if (empty($info['datestamp'])) {
- $info['datestamp'] = filemtime($file->filename);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_theme_engine_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_theme_engine_info.twig
deleted file mode 100644
index 70d508b10..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_theme_engine_info.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_system_theme_engine_info().
- */
-function {{ machine_name }}_system_theme_engine_info() {
- $theme_engines['izumi'] = drupal_get_path('module', 'mymodule') . '/izumi/izumi.engine';
- return $theme_engines;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_theme_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_theme_info.twig
deleted file mode 100644
index de5095c3c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_theme_info.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_system_theme_info().
- */
-function {{ machine_name }}_system_theme_info() {
- $themes['mymodule_test_theme'] = drupal_get_path('module', 'mymodule') . '/mymodule_test_theme/mymodule_test_theme.info';
- return $themes;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_themes_page_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_themes_page_alter.twig
deleted file mode 100644
index 722792be4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/system_themes_page_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_system_themes_page_alter().
- */
-function {{ machine_name }}_system_themes_page_alter(&$theme_groups) {
- foreach ($theme_groups as $state => &$group) {
- foreach ($theme_groups[$state] as &$theme) {
- // Add a foo link to each list of theme operations.
- $theme->operations[] = array(
- 'title' => t('Foo'),
- 'href' => 'admin/appearance/foo',
- 'query' => array('theme' => $theme->name)
- );
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_delete.twig
deleted file mode 100644
index 277ad4bc9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_delete.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_taxonomy_term_delete().
- */
-function {{ machine_name }}_taxonomy_term_delete($term) {
- db_delete('mytable')
- ->condition('tid', $term->tid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_insert.twig
deleted file mode 100644
index ee7706096..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_insert.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_taxonomy_term_insert().
- */
-function {{ machine_name }}_taxonomy_term_insert($term) {
- db_insert('mytable')
- ->fields(array(
- 'tid' => $term->tid,
- 'foo' => $term->foo,
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_load.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_load.twig
deleted file mode 100644
index a8b08a741..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_load.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_taxonomy_term_load().
- */
-function {{ machine_name }}_taxonomy_term_load($terms) {
- $result = db_select('mytable', 'm')
- ->fields('m', array('tid', 'foo'))
- ->condition('m.tid', array_keys($terms), 'IN')
- ->execute();
- foreach ($result as $record) {
- $terms[$record->tid]->foo = $record->foo;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_presave.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_presave.twig
deleted file mode 100644
index b54fd0197..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_presave.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_taxonomy_term_presave().
- */
-function {{ machine_name }}_taxonomy_term_presave($term) {
- $term->foo = 'bar';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_update.twig
deleted file mode 100644
index f46b83b4d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_update.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_taxonomy_term_update().
- */
-function {{ machine_name }}_taxonomy_term_update($term) {
- db_update('mytable')
- ->fields(array('foo' => $term->foo))
- ->condition('tid', $term->tid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_view.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_view.twig
deleted file mode 100644
index 189ef8c01..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_view.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_taxonomy_term_view().
- */
-function {{ machine_name }}_taxonomy_term_view($term, $view_mode, $langcode) {
- $term->content['my_additional_field'] = array(
- '#markup' => $additional_field,
- '#weight' => 10,
- '#theme' => 'mymodule_my_additional_field',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_view_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_view_alter.twig
deleted file mode 100644
index 0a6cca38e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_term_view_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_taxonomy_term_view_alter().
- */
-function {{ machine_name }}_taxonomy_term_view_alter(&$build) {
- if ($build['#view_mode'] == 'full' && isset($build['an_additional_field'])) {
- // Change its weight.
- $build['an_additional_field']['#weight'] = -10;
- }
-
- // Add a #post_render callback to act on the rendered HTML of the term.
- $build['#post_render'][] = 'my_module_node_post_render';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_delete.twig
deleted file mode 100644
index 749768e75..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_delete.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_taxonomy_vocabulary_delete().
- */
-function {{ machine_name }}_taxonomy_vocabulary_delete($vocabulary) {
- db_delete('mytable')
- ->condition('vid', $vocabulary->vid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_insert.twig
deleted file mode 100644
index 4f04b98a5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_insert.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_taxonomy_vocabulary_insert().
- */
-function {{ machine_name }}_taxonomy_vocabulary_insert($vocabulary) {
- if ($vocabulary->machine_name == 'my_vocabulary') {
- $vocabulary->weight = 100;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_load.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_load.twig
deleted file mode 100644
index 097851086..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_load.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_taxonomy_vocabulary_load().
- */
-function {{ machine_name }}_taxonomy_vocabulary_load($vocabularies) {
- $result = db_select('mytable', 'm')
- ->fields('m', array('vid', 'foo'))
- ->condition('m.vid', array_keys($vocabularies), 'IN')
- ->execute();
- foreach ($result as $record) {
- $vocabularies[$record->vid]->foo = $record->foo;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_presave.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_presave.twig
deleted file mode 100644
index ef15a044a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_presave.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_taxonomy_vocabulary_presave().
- */
-function {{ machine_name }}_taxonomy_vocabulary_presave($vocabulary) {
- $vocabulary->foo = 'bar';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_update.twig
deleted file mode 100644
index 97c2c5190..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/taxonomy_vocabulary_update.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_taxonomy_vocabulary_update().
- */
-function {{ machine_name }}_taxonomy_vocabulary_update($vocabulary) {
- db_update('mytable')
- ->fields(array('foo' => $vocabulary->foo))
- ->condition('vid', $vocabulary->vid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/test_finished.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/test_finished.twig
deleted file mode 100644
index dff6f4af6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/test_finished.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Implements hook_test_finished().
- */
-function {{ machine_name }}_test_finished($results) {
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/test_group_finished.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/test_group_finished.twig
deleted file mode 100644
index b2e850ef3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/test_group_finished.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Implements hook_test_group_finished().
- */
-function {{ machine_name }}_test_group_finished() {
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/test_group_started.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/test_group_started.twig
deleted file mode 100644
index fe1c85848..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/test_group_started.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Implements hook_test_group_started().
- */
-function {{ machine_name }}_test_group_started() {
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/theme.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/theme.twig
deleted file mode 100644
index 7c05a465d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/theme.twig
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Implements hook_theme().
- */
-function {{ machine_name }}_theme($existing, $type, $theme, $path) {
- return array(
- 'forum_display' => array(
- 'variables' => array('forums' => NULL, 'topics' => NULL, 'parents' => NULL, 'tid' => NULL, 'sortby' => NULL, 'forum_per_page' => NULL),
- ),
- 'forum_list' => array(
- 'variables' => array('forums' => NULL, 'parents' => NULL, 'tid' => NULL),
- ),
- 'forum_topic_list' => array(
- 'variables' => array('tid' => NULL, 'topics' => NULL, 'sortby' => NULL, 'forum_per_page' => NULL),
- ),
- 'forum_icon' => array(
- 'variables' => array('new_posts' => NULL, 'num_posts' => 0, 'comment_mode' => 0, 'sticky' => 0),
- ),
- 'status_report' => array(
- 'render element' => 'requirements',
- 'file' => 'system.admin.inc',
- ),
- 'system_date_time_settings' => array(
- 'render element' => 'form',
- 'file' => 'system.admin.inc',
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/theme_registry_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/theme_registry_alter.twig
deleted file mode 100644
index cdbb17e9f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/theme_registry_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_theme_registry_alter().
- */
-function {{ machine_name }}_theme_registry_alter(&$theme_registry) {
- // Kill the next/previous forum topic navigation links.
- foreach ($theme_registry['forum_topic_navigation']['preprocess functions'] as $key => $value) {
- if ($value == 'template_preprocess_forum_topic_navigation') {
- unset($theme_registry['forum_topic_navigation']['preprocess functions'][$key]);
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_disabled.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_disabled.twig
deleted file mode 100644
index e24cf46b8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_disabled.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_themes_disabled().
- */
-function {{ machine_name }}_themes_disabled($theme_list) {
- // Clear all update module caches.
- _update_cache_clear();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_enabled.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_enabled.twig
deleted file mode 100644
index e7205725b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_enabled.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_themes_enabled().
- */
-function {{ machine_name }}_themes_enabled($theme_list) {
- foreach ($theme_list as $theme) {
- block_theme_initialize($theme);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/token_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/token_info.twig
deleted file mode 100644
index 6850c7cb6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/token_info.twig
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Implements hook_token_info().
- */
-function {{ machine_name }}_token_info() {
- $type = array(
- 'name' => t('Nodes'),
- 'description' => t('Tokens related to individual nodes.'),
- 'needs-data' => 'node',
- );
-
- // Core tokens for nodes.
- $node['nid'] = array(
- 'name' => t("Node ID"),
- 'description' => t("The unique ID of the node."),
- );
- $node['title'] = array(
- 'name' => t("Title"),
- 'description' => t("The title of the node."),
- );
- $node['edit-url'] = array(
- 'name' => t("Edit URL"),
- 'description' => t("The URL of the node's edit page."),
- );
-
- // Chained tokens for nodes.
- $node['created'] = array(
- 'name' => t("Date created"),
- 'description' => t("The date the node was posted."),
- 'type' => 'date',
- );
- $node['author'] = array(
- 'name' => t("Author"),
- 'description' => t("The author of the node."),
- 'type' => 'user',
- );
-
- return array(
- 'types' => array('node' => $type),
- 'tokens' => array('node' => $node),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/token_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/token_info_alter.twig
deleted file mode 100644
index 911b98bb4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/token_info_alter.twig
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * Implements hook_token_info_alter().
- */
-function {{ machine_name }}_token_info_alter(&$data) {
- // Modify description of node tokens for our site.
- $data['tokens']['node']['nid'] = array(
- 'name' => t("Node ID"),
- 'description' => t("The unique ID of the article."),
- );
- $data['tokens']['node']['title'] = array(
- 'name' => t("Title"),
- 'description' => t("The title of the article."),
- );
-
- // Chained tokens for nodes.
- $data['tokens']['node']['created'] = array(
- 'name' => t("Date created"),
- 'description' => t("The date the article was posted."),
- 'type' => 'date',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/tokens.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/tokens.twig
deleted file mode 100644
index 8e3f911e2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/tokens.twig
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * Implements hook_tokens().
- */
-function {{ machine_name }}_tokens($type, $tokens, array $data = array(), array $options = array()) {
- $url_options = array('absolute' => TRUE);
- if (isset($options['language'])) {
- $url_options['language'] = $options['language'];
- $language_code = $options['language']->language;
- }
- else {
- $language_code = NULL;
- }
- $sanitize = !empty($options['sanitize']);
-
- $replacements = array();
-
- if ($type == 'node' && !empty($data['node'])) {
- $node = $data['node'];
-
- foreach ($tokens as $name => $original) {
- switch ($name) {
- // Simple key values on the node.
- case 'nid':
- $replacements[$original] = $node->nid;
- break;
-
- case 'title':
- $replacements[$original] = $sanitize ? check_plain($node->title) : $node->title;
- break;
-
- case 'edit-url':
- $replacements[$original] = url('node/' . $node->nid . '/edit', $url_options);
- break;
-
- // Default values for the chained tokens handled below.
- case 'author':
- $name = ($node->uid == 0) ? variable_get('anonymous', t('Anonymous')) : $node->name;
- $replacements[$original] = $sanitize ? filter_xss($name) : $name;
- break;
-
- case 'created':
- $replacements[$original] = format_date($node->created, 'medium', '', NULL, $language_code);
- break;
- }
- }
-
- if ($author_tokens = token_find_with_prefix($tokens, 'author')) {
- $author = user_load($node->uid);
- $replacements += token_generate('user', $author_tokens, array('user' => $author), $options);
- }
-
- if ($created_tokens = token_find_with_prefix($tokens, 'created')) {
- $replacements += token_generate('date', $created_tokens, array('date' => $node->created), $options);
- }
- }
-
- return $replacements;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/tokens_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/tokens_alter.twig
deleted file mode 100644
index b6014496c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/tokens_alter.twig
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Implements hook_tokens_alter().
- */
-function {{ machine_name }}_tokens_alter(array &$replacements, array $context) {
- $options = $context['options'];
-
- if (isset($options['language'])) {
- $url_options['language'] = $options['language'];
- $language_code = $options['language']->language;
- }
- else {
- $language_code = NULL;
- }
- $sanitize = !empty($options['sanitize']);
-
- if ($context['type'] == 'node' && !empty($context['data']['node'])) {
- $node = $context['data']['node'];
-
- // Alter the [node:title] token, and replace it with the rendered content
- // of a field (field_title).
- if (isset($context['tokens']['title'])) {
- $title = field_view_field('node', $node, 'field_title', 'default', $language_code);
- $replacements[$context['tokens']['title']] = drupal_render($title);
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/translated_menu_link_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/translated_menu_link_alter.twig
deleted file mode 100644
index 30945514c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/translated_menu_link_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_translated_menu_link_alter().
- */
-function {{ machine_name }}_translated_menu_link_alter(&$item, $map) {
- if ($item['href'] == 'devel/cache/clear') {
- $item['localized_options']['query'] = drupal_get_destination();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/trigger_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/trigger_info.twig
deleted file mode 100644
index 3972bd2dc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/trigger_info.twig
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Implements hook_trigger_info().
- */
-function {{ machine_name }}_trigger_info() {
- return array(
- 'node' => array(
- 'node_presave' => array(
- 'label' => t('When either saving new content or updating existing content'),
- ),
- 'node_insert' => array(
- 'label' => t('After saving new content'),
- ),
- 'node_update' => array(
- 'label' => t('After saving updated content'),
- ),
- 'node_delete' => array(
- 'label' => t('After deleting content'),
- ),
- 'node_view' => array(
- 'label' => t('When content is viewed by an authenticated user'),
- ),
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/trigger_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/trigger_info_alter.twig
deleted file mode 100644
index fd51f8daa..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/trigger_info_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_trigger_info_alter().
- */
-function {{ machine_name }}_trigger_info_alter(&$triggers) {
- $triggers['node']['node_insert']['label'] = t('When content is saved');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/uninstall.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/uninstall.twig
deleted file mode 100644
index 32017d32a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/uninstall.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_uninstall().
- */
-function {{ machine_name }}_uninstall() {
- variable_del('upload_file_types');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update.twig
deleted file mode 100644
index 9798ba838..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_update().
- */
-function {{ machine_name }}_update($node) {
- db_update('mytable')
- ->fields(array('extra' => $node->extra))
- ->condition('nid', $node->nid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_N.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_N.twig
deleted file mode 100644
index af5a8e0d5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_N.twig
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Implements hook_update_N().
- */
-function {{ machine_name }}_update_N(&$sandbox) {
- // For non-multipass updates, the signature can simply be;
- // function {{ machine_name }}_update_N() {
-
- // For most updates, the following is sufficient.
- db_add_field('mytable1', 'newcol', array('type' => 'int', 'not null' => TRUE, 'description' => 'My new integer column.'));
-
- // However, for more complex operations that may take a long time,
- // you may hook into Batch API as in the following example.
-
- // Update 3 users at a time to have an exclamation point after their names.
- // (They're really happy that we can do batch API in this hook!)
- if (!isset($sandbox['progress'])) {
- $sandbox['progress'] = 0;
- $sandbox['current_uid'] = 0;
- // We'll -1 to disregard the uid 0...
- $sandbox['max'] = db_query('SELECT COUNT(DISTINCT uid) FROM {users}')->fetchField() - 1;
- }
-
- $users = db_select('users', 'u')
- ->fields('u', array('uid', 'name'))
- ->condition('uid', $sandbox['current_uid'], '>')
- ->range(0, 3)
- ->orderBy('uid', 'ASC')
- ->execute();
-
- foreach ($users as $user) {
- $user->name .= '!';
- db_update('users')
- ->fields(array('name' => $user->name))
- ->condition('uid', $user->uid)
- ->execute();
-
- $sandbox['progress']++;
- $sandbox['current_uid'] = $user->uid;
- }
-
- $sandbox['#finished'] = empty($sandbox['max']) ? 1 : ($sandbox['progress'] / $sandbox['max']);
-
- // To display a message to the user when the update is completed, return it.
- // If you do not want to display a completion message, simply return nothing.
- return t('The update did what it was supposed to do.');
-
- // In case of an error, simply throw an exception with an error message.
- throw new DrupalUpdateException('Something went wrong; here is what you should do.');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_dependencies.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_dependencies.twig
deleted file mode 100644
index 009d4b277..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_dependencies.twig
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Implements hook_update_dependencies().
- */
-function {{ machine_name }}_update_dependencies() {
- // Indicate that the mymodule_update_7000() function provided by this module
- // must run after the another_module_update_7002() function provided by the
- // 'another_module' module.
- $dependencies['mymodule'][7000] = array(
- 'another_module' => 7002,
- );
- // Indicate that the mymodule_update_7001() function provided by this module
- // must run before the yet_another_module_update_7004() function provided by
- // the 'yet_another_module' module. (Note that declaring dependencies in this
- // direction should be done only in rare situations, since it can lead to the
- // following problem: If a site has already run the yet_another_module
- // module's database updates before it updates its codebase to pick up the
- // newest mymodule code, then the dependency declared here will be ignored.)
- $dependencies['yet_another_module'][7004] = array(
- 'mymodule' => 7001,
- );
- return $dependencies;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_index.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_index.twig
deleted file mode 100644
index 1052df6cd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_index.twig
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Implements hook_update_index().
- */
-function {{ machine_name }}_update_index() {
- $limit = (int)variable_get('search_cron_limit', 100);
-
- $result = db_query_range("SELECT n.nid FROM {node} n LEFT JOIN {search_dataset} d ON d.type = 'node' AND d.sid = n.nid WHERE d.sid IS NULL OR d.reindex <> 0 ORDER BY d.reindex ASC, n.nid ASC", 0, $limit);
-
- foreach ($result as $node) {
- $node = node_load($node->nid);
-
- // Save the changed time of the most recent indexed node, for the search
- // results half-life calculation.
- variable_set('node_cron_last', $node->changed);
-
- // Render the node.
- node_build_content($node, 'search_index');
- $node->rendered = drupal_render($node->content);
-
- $text = '' . check_plain($node->title) . '
' . $node->rendered;
-
- // Fetch extra data normally not visible
- $extra = module_invoke_all('node_update_index', $node);
- foreach ($extra as $t) {
- $text .= $t;
- }
-
- // Update index
- search_index($node->nid, 'node', $text);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_last_removed.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_last_removed.twig
deleted file mode 100644
index bc17f6f28..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_last_removed.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_update_last_removed().
- */
-function {{ machine_name }}_update_last_removed() {
- // We've removed the 5.x-1.x version of mymodule, including database updates.
- // The next update function is mymodule_update_5200().
- return 5103;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_projects_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_projects_alter.twig
deleted file mode 100644
index b2bd0d3e4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_projects_alter.twig
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Implements hook_update_projects_alter().
- */
-function {{ machine_name }}_update_projects_alter(&$projects) {
- // Hide a site-specific module from the list.
- unset($projects['site_specific_module']);
-
- // Add a disabled module to the list.
- // The key for the array should be the machine-readable project "short name".
- $projects['disabled_project_name'] = array(
- // Machine-readable project short name (same as the array key above).
- 'name' => 'disabled_project_name',
- // Array of values from the main .info file for this project.
- 'info' => array(
- 'name' => 'Some disabled module',
- 'description' => 'A module not enabled on the site that you want to see in the available updates report.',
- 'version' => '7.x-1.0',
- 'core' => '7.x',
- // The maximum file change time (the "ctime" returned by the filectime()
- // PHP method) for all of the .info files included in this project.
- '_info_file_ctime' => 1243888165,
- ),
- // The date stamp when the project was released, if known. If the disabled
- // project was an officially packaged release from drupal.org, this will
- // be included in the .info file as the 'datestamp' field. This only
- // really matters for development snapshot releases that are regenerated,
- // so it can be left undefined or set to 0 in most cases.
- 'datestamp' => 1243888185,
- // Any modules (or themes) included in this project. Keyed by machine-
- // readable "short name", value is the human-readable project name printed
- // in the UI.
- 'includes' => array(
- 'disabled_project' => 'Disabled module',
- 'disabled_project_helper' => 'Disabled module helper module',
- 'disabled_project_foo' => 'Disabled module foo add-on module',
- ),
- // Does this project contain a 'module', 'theme', 'disabled-module', or
- // 'disabled-theme'?
- 'project_type' => 'disabled-module',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_status_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_status_alter.twig
deleted file mode 100644
index bc7ab68bd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/update_status_alter.twig
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Implements hook_update_status_alter().
- */
-function {{ machine_name }}_update_status_alter(&$projects) {
- $settings = variable_get('update_advanced_project_settings', array());
- foreach ($projects as $project => $project_info) {
- if (isset($settings[$project]) && isset($settings[$project]['check']) &&
- ($settings[$project]['check'] == 'never' ||
- (isset($project_info['recommended']) &&
- $settings[$project]['check'] === $project_info['recommended']))) {
- $projects[$project]['status'] = UPDATE_NOT_CHECKED;
- $projects[$project]['reason'] = t('Ignored from settings');
- if (!empty($settings[$project]['notes'])) {
- $projects[$project]['extra'][] = array(
- 'class' => array('admin-note'),
- 'label' => t('Administrator note'),
- 'data' => $settings[$project]['notes'],
- );
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/updater_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/updater_info.twig
deleted file mode 100644
index dc6e6cc98..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/updater_info.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_updater_info().
- */
-function {{ machine_name }}_updater_info() {
- return array(
- 'module' => array(
- 'class' => 'ModuleUpdater',
- 'name' => t('Update modules'),
- 'weight' => 0,
- ),
- 'theme' => array(
- 'class' => 'ThemeUpdater',
- 'name' => t('Update themes'),
- 'weight' => 0,
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/updater_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/updater_info_alter.twig
deleted file mode 100644
index c82213042..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/updater_info_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_updater_info_alter().
- */
-function {{ machine_name }}_updater_info_alter(&$updaters) {
- // Adjust weight so that the theme Updater gets a chance to handle a given
- // update task before module updaters.
- $updaters['theme']['weight'] = -1;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/url_inbound_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/url_inbound_alter.twig
deleted file mode 100644
index f62e7b4db..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/url_inbound_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_url_inbound_alter().
- */
-function {{ machine_name }}_url_inbound_alter(&$path, $original_path, $path_language) {
- // Create the path user/me/edit, which allows a user to edit their account.
- if (preg_match('|^user/me/edit(/.*)?|', $path, $matches)) {
- global $user;
- $path = 'user/' . $user->uid . '/edit' . $matches[1];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/url_outbound_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/url_outbound_alter.twig
deleted file mode 100644
index 903a608bb..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/url_outbound_alter.twig
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Implements hook_url_outbound_alter().
- */
-function {{ machine_name }}_url_outbound_alter(&$path, &$options, $original_path) {
- // Use an external RSS feed rather than the Drupal one.
- if ($path == 'rss.xml') {
- $path = 'http://example.com/rss.xml';
- $options['external'] = TRUE;
- }
-
- // Instead of pointing to user/[uid]/edit, point to user/me/edit.
- if (preg_match('|^user/([0-9]*)/edit(/.*)?|', $path, $matches)) {
- global $user;
- if ($user->uid == $matches[1]) {
- $path = 'user/me/edit' . $matches[2];
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_cancel.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_cancel.twig
deleted file mode 100644
index e1d45bb42..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_cancel.twig
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Implements hook_user_cancel().
- */
-function {{ machine_name }}_user_cancel($edit, $account, $method) {
- switch ($method) {
- case 'user_cancel_block_unpublish':
- // Unpublish nodes (current revisions).
- module_load_include('inc', 'node', 'node.admin');
- $nodes = db_select('node', 'n')
- ->fields('n', array('nid'))
- ->condition('uid', $account->uid)
- ->execute()
- ->fetchCol();
- node_mass_update($nodes, array('status' => 0));
- break;
-
- case 'user_cancel_reassign':
- // Anonymize nodes (current revisions).
- module_load_include('inc', 'node', 'node.admin');
- $nodes = db_select('node', 'n')
- ->fields('n', array('nid'))
- ->condition('uid', $account->uid)
- ->execute()
- ->fetchCol();
- node_mass_update($nodes, array('uid' => 0));
- // Anonymize old revisions.
- db_update('node_revision')
- ->fields(array('uid' => 0))
- ->condition('uid', $account->uid)
- ->execute();
- // Clean history.
- db_delete('history')
- ->condition('uid', $account->uid)
- ->execute();
- break;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_cancel_methods_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_cancel_methods_alter.twig
deleted file mode 100644
index ca5d1d75b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_cancel_methods_alter.twig
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Implements hook_user_cancel_methods_alter().
- */
-function {{ machine_name }}_user_cancel_methods_alter(&$methods) {
- // Limit access to disable account and unpublish content method.
- $methods['user_cancel_block_unpublish']['access'] = user_access('administer site configuration');
-
- // Remove the content re-assigning method.
- unset($methods['user_cancel_reassign']);
-
- // Add a custom zero-out method.
- $methods['mymodule_zero_out'] = array(
- 'title' => t('Delete the account and remove all content.'),
- 'description' => t('All your content will be replaced by empty strings.'),
- // access should be used for administrative methods only.
- 'access' => user_access('access zero-out account cancellation method'),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_categories.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_categories.twig
deleted file mode 100644
index 7b597e0e7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_categories.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_user_categories().
- */
-function {{ machine_name }}_user_categories() {
- return array(array(
- 'name' => 'account',
- 'title' => t('Account settings'),
- 'weight' => 1,
- ));
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_delete.twig
deleted file mode 100644
index e5379de4f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_delete.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_user_delete().
- */
-function {{ machine_name }}_user_delete($account) {
- db_delete('mytable')
- ->condition('uid', $account->uid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_insert.twig
deleted file mode 100644
index 66dd593fb..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_insert.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_user_insert().
- */
-function {{ machine_name }}_user_insert(&$edit, $account, $category) {
- db_insert('mytable')
- ->fields(array(
- 'myfield' => $edit['myfield'],
- 'uid' => $account->uid,
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_load.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_load.twig
deleted file mode 100644
index adb193ea6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_load.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_user_load().
- */
-function {{ machine_name }}_user_load($users) {
- $result = db_query('SELECT uid, foo FROM {my_table} WHERE uid IN (:uids)', array(':uids' => array_keys($users)));
- foreach ($result as $record) {
- $users[$record->uid]->foo = $record->foo;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_login.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_login.twig
deleted file mode 100644
index c4879e91c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_login.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_user_login().
- */
-function {{ machine_name }}_user_login(&$edit, $account) {
- // If the user has a NULL time zone, notify them to set a time zone.
- if (!$account->timezone && variable_get('configurable_timezones', 1) && variable_get('empty_timezone_message', 0)) {
- drupal_set_message(t('Configure your account time zone setting.', array('@user-edit' => url("user/$account->uid/edit", array('query' => drupal_get_destination(), 'fragment' => 'edit-timezone')))));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_logout.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_logout.twig
deleted file mode 100644
index cab41eebc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_logout.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_user_logout().
- */
-function {{ machine_name }}_user_logout($account) {
- db_insert('logouts')
- ->fields(array(
- 'uid' => $account->uid,
- 'time' => time(),
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_operations.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_operations.twig
deleted file mode 100644
index 27b9eec90..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_operations.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Implements hook_user_operations().
- */
-function {{ machine_name }}_user_operations() {
- $operations = array(
- 'unblock' => array(
- 'label' => t('Unblock the selected users'),
- 'callback' => 'user_user_operations_unblock',
- ),
- 'block' => array(
- 'label' => t('Block the selected users'),
- 'callback' => 'user_user_operations_block',
- ),
- 'cancel' => array(
- 'label' => t('Cancel the selected user accounts'),
- ),
- );
- return $operations;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_presave.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_presave.twig
deleted file mode 100644
index dcedbc4af..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_presave.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_user_presave().
- */
-function {{ machine_name }}_user_presave(&$edit, $account, $category) {
- // Make sure that our form value 'mymodule_foo' is stored as
- // 'mymodule_bar' in the 'data' (serialized) column.
- if (isset($edit['mymodule_foo'])) {
- $edit['data']['mymodule_bar'] = $edit['mymodule_foo'];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_delete.twig
deleted file mode 100644
index bfc140ac0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_delete.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_user_role_delete().
- */
-function {{ machine_name }}_user_role_delete($role) {
- // Delete existing instances of the deleted role.
- db_delete('my_module_table')
- ->condition('rid', $role->rid)
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_insert.twig
deleted file mode 100644
index 857cd9a93..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_insert.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_user_role_insert().
- */
-function {{ machine_name }}_user_role_insert($role) {
- // Save extra fields provided by the module to user roles.
- db_insert('my_module_table')
- ->fields(array(
- 'rid' => $role->rid,
- 'role_description' => $role->description,
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_presave.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_presave.twig
deleted file mode 100644
index 4f41ef5c1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_presave.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_user_role_presave().
- */
-function {{ machine_name }}_user_role_presave($role) {
- // Set a UUID for the user role if it doesn't already exist
- if (empty($role->uuid)) {
- $role->uuid = uuid_uuid();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_update.twig
deleted file mode 100644
index 9f8fbbad9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_role_update.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_user_role_update().
- */
-function {{ machine_name }}_user_role_update($role) {
- // Save extra fields provided by the module to user roles.
- db_merge('my_module_table')
- ->key(array('rid' => $role->rid))
- ->fields(array(
- 'role_description' => $role->description
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_update.twig
deleted file mode 100644
index 26b09dcf1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_update.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_user_update().
- */
-function {{ machine_name }}_user_update(&$edit, $account, $category) {
- db_insert('user_changes')
- ->fields(array(
- 'uid' => $account->uid,
- 'changed' => time(),
- ))
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_view.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_view.twig
deleted file mode 100644
index 7c427d765..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_view.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_user_view().
- */
-function {{ machine_name }}_user_view($account, $view_mode, $langcode) {
- if (user_access('create blog content', $account)) {
- $account->content['summary']['blog'] = array(
- '#type' => 'user_profile_item',
- '#title' => t('Blog'),
- '#markup' => l(t('View recent blog entries'), "blog/$account->uid", array('attributes' => array('title' => t("Read !username's latest blog entries.", array('!username' => format_username($account)))))),
- '#attributes' => array('class' => array('blog')),
- );
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_view_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_view_alter.twig
deleted file mode 100644
index b85027085..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/user_view_alter.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_user_view_alter().
- */
-function {{ machine_name }}_user_view_alter(&$build) {
- // Check for the existence of a field added by another module.
- if (isset($build['an_additional_field'])) {
- // Change its weight.
- $build['an_additional_field']['#weight'] = -10;
- }
-
- // Add a #post_render callback to act on the rendered HTML of the user.
- $build['#post_render'][] = 'my_module_user_post_render';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/username_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/username_alter.twig
deleted file mode 100644
index 5892dc55a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/username_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_username_alter().
- */
-function {{ machine_name }}_username_alter(&$name, $account) {
- // Display the user's uid instead of name.
- if (isset($account->uid)) {
- $name = t('User !uid', array('!uid' => $account->uid));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/validate.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/validate.twig
deleted file mode 100644
index 136abb12a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/validate.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_validate().
- */
-function {{ machine_name }}_validate($node, $form, &$form_state) {
- if (isset($node->end) && isset($node->start)) {
- if ($node->start > $node->end) {
- form_set_error('time', t('An event may not end before it starts.'));
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/verify_update_archive.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/verify_update_archive.twig
deleted file mode 100644
index ffd96e909..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/verify_update_archive.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_verify_update_archive().
- */
-function {{ machine_name }}_verify_update_archive($project, $archive_file, $directory) {
- $errors = array();
- if (!file_exists($directory)) {
- $errors[] = t('The %directory does not exist.', array('%directory' => $directory));
- }
- // Add other checks on the archive integrity here.
- return $errors;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/view.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/view.twig
deleted file mode 100644
index 650db6f2e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/view.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Implements hook_view().
- */
-function {{ machine_name }}_view($node, $view_mode, $langcode = NULL) {
- if ($view_mode == 'full' && node_is_page($node)) {
- $breadcrumb = array();
- $breadcrumb[] = l(t('Home'), NULL);
- $breadcrumb[] = l(t('Example'), 'example');
- $breadcrumb[] = l($node->field1, 'example/' . $node->field1);
- drupal_set_breadcrumb($breadcrumb);
- }
-
- $node->content['myfield'] = array(
- '#markup' => theme('mymodule_myfield', $node->myfield),
- '#weight' => 1,
- );
-
- return $node;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/watchdog.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/watchdog.twig
deleted file mode 100644
index 8e6a77b5e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/watchdog.twig
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Implements hook_watchdog().
- */
-function {{ machine_name }}_watchdog(array $log_entry) {
- global $base_url, $language;
-
- $severity_list = array(
- WATCHDOG_EMERGENCY => t('Emergency'),
- WATCHDOG_ALERT => t('Alert'),
- WATCHDOG_CRITICAL => t('Critical'),
- WATCHDOG_ERROR => t('Error'),
- WATCHDOG_WARNING => t('Warning'),
- WATCHDOG_NOTICE => t('Notice'),
- WATCHDOG_INFO => t('Info'),
- WATCHDOG_DEBUG => t('Debug'),
- );
-
- $to = 'someone@example.com';
- $params = array();
- $params['subject'] = t('[@site_name] @severity_desc: Alert from your web site', array(
- '@site_name' => variable_get('site_name', 'Drupal'),
- '@severity_desc' => $severity_list[$log_entry['severity']],
- ));
-
- $params['message'] = "\nSite: @base_url";
- $params['message'] .= "\nSeverity: (@severity) @severity_desc";
- $params['message'] .= "\nTimestamp: @timestamp";
- $params['message'] .= "\nType: @type";
- $params['message'] .= "\nIP Address: @ip";
- $params['message'] .= "\nRequest URI: @request_uri";
- $params['message'] .= "\nReferrer URI: @referer_uri";
- $params['message'] .= "\nUser: (@uid) @name";
- $params['message'] .= "\nLink: @link";
- $params['message'] .= "\nMessage: \n\n@message";
-
- $params['message'] = t($params['message'], array(
- '@base_url' => $base_url,
- '@severity' => $log_entry['severity'],
- '@severity_desc' => $severity_list[$log_entry['severity']],
- '@timestamp' => format_date($log_entry['timestamp']),
- '@type' => $log_entry['type'],
- '@ip' => $log_entry['ip'],
- '@request_uri' => $log_entry['request_uri'],
- '@referer_uri' => $log_entry['referer'],
- '@uid' => $log_entry['uid'],
- '@name' => $log_entry['user']->name,
- '@link' => strip_tags($log_entry['link']),
- '@message' => strip_tags($log_entry['message']),
- ));
-
- drupal_mail('emaillog', 'entry', $to, $language, $params);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/xmlrpc.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/xmlrpc.twig
deleted file mode 100644
index e69279d55..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/xmlrpc.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_xmlrpc().
- */
-function {{ machine_name }}_xmlrpc() {
- return array(
- 'drupal.login' => 'drupal_login',
- array(
- 'drupal.site.ping',
- 'drupal_directory_ping',
- array('boolean', 'string', 'string', 'string', 'string', 'string'),
- t('Handling ping request'))
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/xmlrpc_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/xmlrpc_alter.twig
deleted file mode 100644
index 8896c13c6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/xmlrpc_alter.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Implements hook_xmlrpc_alter().
- */
-function {{ machine_name }}_xmlrpc_alter(&$methods) {
- // Directly change a simple method.
- $methods['drupal.login'] = 'mymodule_login';
-
- // Alter complex definitions.
- foreach ($methods as $key => &$method) {
- // Skip simple method definitions.
- if (!is_int($key)) {
- continue;
- }
- // Perform the wanted manipulation.
- if ($method[0] == 'drupal.site.ping') {
- $method[1] = 'mymodule_directory_ping';
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/install.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/install.twig
deleted file mode 100644
index cadbcf329..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/install.twig
+++ /dev/null
@@ -1,44 +0,0 @@
- 'Table description',
- 'fields' => array(
- 'id' => array(
- 'type' => 'serial',
- 'not null' => TRUE,
- 'description' => 'Primary Key: Unique ID.',
- ),
- 'title' => array(
- 'type' => 'varchar',
- 'length' => 64,
- 'not null' => TRUE,
- 'default' => '',
- 'description' => 'Column description',
- ),
- 'weight' => array(
- 'type' => 'int',
- 'not null' => TRUE,
- 'default' => 0,
- 'description' => 'Column description',
- ),
- ),
- 'primary key' => array('id'),
- 'unique keys' => array(
- 'title' => array('title'),
- ),
- 'indexes' => array(
- 'weight' => array('weight'),
- ),
- );
-
- return $schema;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/javascript.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/javascript.twig
deleted file mode 100644
index 23beb5bfc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/javascript.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * {{ name }} behaviors.
- */
-(function ($) {
-
- /**
- * Behavior description.
- */
- Drupal.behaviors.{{ machine_name|camelize(false) }} = {
- attach: function (context, settings) {
-
- console.log('It works!');
-
- }
- }
-
-}(jQuery));
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/module-info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/module-info.twig
deleted file mode 100644
index 17ae0affc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/module-info.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-name = {{ name }}
-description = {{ description }}
-package = {{ package }}
-core = 7.x
-
-;configure = admin/config/system/{{ machine_name }}
-;dependencies[] = system (>7.34)
-;files[] = tests/{{ machine_name }}.test
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/module.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/module.twig
deleted file mode 100644
index 3a3b40835..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/module.twig
+++ /dev/null
@@ -1,57 +0,0 @@
- '{{ machine_name }}',
- 'description' => '{{ machine_name }} main page.',
- 'page callback' => '{{ machine_name }}_main_page',
- 'page arguments' => array('{{ machine_name }}_settings_form'),
- 'access arguments' => array('view {{ machine_name }} page'),
- 'file' => '{{ machine_name }}.pages.inc',
- 'type' => MENU_CALLBACK,
- );
-
- $items['admin/config/system/{{ machine_name }}'] = array(
- 'title' => '{{ name }}',
- 'description' => '{{ name }} settings.',
- 'page callback' => 'drupal_get_form',
- 'page arguments' => array('{{ machine_name }}_settings_form'),
- 'access arguments' => array('administer {{ machine_name }} configuration'),
- 'file' => '{{ machine_name }}.admin.inc',
- );
-
- return $items;
-}
-
-/**
- * Implements hook_permission().
- */
-function {{ machine_name }}_permission() {
- return array(
- 'view {{ machine_name }} page' => array(
- 'title' => t('View {{ machine_name }} page'),
- 'description' => t('View {{ machine_name }} page.'),
- ),
- 'administer {{ machine_name }} configuration' => array(
- 'title' => t('Administer {{ machine_name }} configuration'),
- 'description' => t('Administer {{ machine_name }} configuration.'),
- 'restrict access' => TRUE,
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/pages.inc.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/pages.inc.twig
deleted file mode 100644
index 157dcab4c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/pages.inc.twig
+++ /dev/null
@@ -1,17 +0,0 @@
- 'mysql',
- * 'database' => 'databasename',
- * 'username' => 'username',
- * 'password' => 'password',
- * 'host' => 'localhost',
- * 'port' => 3306,
- * 'prefix' => 'myprefix_',
- * 'collation' => 'utf8_general_ci',
- * );
- * @endcode
- *
- * The "driver" property indicates what Drupal database driver the
- * connection should use. This is usually the same as the name of the
- * database type, such as mysql or sqlite, but not always. The other
- * properties will vary depending on the driver. For SQLite, you must
- * specify a database file name in a directory that is writable by the
- * webserver. For most other drivers, you must specify a
- * username, password, host, and database name.
- *
- * Transaction support is enabled by default for all drivers that support it,
- * including MySQL. To explicitly disable it, set the 'transactions' key to
- * FALSE.
- * Note that some configurations of MySQL, such as the MyISAM engine, don't
- * support it and will proceed silently even if enabled. If you experience
- * transaction related crashes with such configuration, set the 'transactions'
- * key to FALSE.
- *
- * For each database, you may optionally specify multiple "target" databases.
- * A target database allows Drupal to try to send certain queries to a
- * different database if it can but fall back to the default connection if not.
- * That is useful for master/slave replication, as Drupal may try to connect
- * to a slave server when appropriate and if one is not available will simply
- * fall back to the single master server.
- *
- * The general format for the $databases array is as follows:
- * @code
- * $databases['default']['default'] = $info_array;
- * $databases['default']['slave'][] = $info_array;
- * $databases['default']['slave'][] = $info_array;
- * $databases['extra']['default'] = $info_array;
- * @endcode
- *
- * In the above example, $info_array is an array of settings described above.
- * The first line sets a "default" database that has one master database
- * (the second level default). The second and third lines create an array
- * of potential slave databases. Drupal will select one at random for a given
- * request as needed. The fourth line creates a new database with a name of
- * "extra".
- *
- * For a single database configuration, the following is sufficient:
- * @code
- * $databases['default']['default'] = array(
- * 'driver' => 'mysql',
- * 'database' => 'databasename',
- * 'username' => 'username',
- * 'password' => 'password',
- * 'host' => 'localhost',
- * 'prefix' => 'main_',
- * 'collation' => 'utf8_general_ci',
- * );
- * @endcode
- *
- * For handling full UTF-8 in MySQL, including multi-byte characters such as
- * emojis, Asian symbols, and mathematical symbols, you may set the collation
- * and charset to "utf8mb4" prior to running install.php:
- * @code
- * $databases['default']['default'] = array(
- * 'driver' => 'mysql',
- * 'database' => 'databasename',
- * 'username' => 'username',
- * 'password' => 'password',
- * 'host' => 'localhost',
- * 'charset' => 'utf8mb4',
- * 'collation' => 'utf8mb4_general_ci',
- * );
- * @endcode
- * When using this setting on an existing installation, ensure that all existing
- * tables have been converted to the utf8mb4 charset, for example by using the
- * utf8mb4_convert contributed project available at
- * https://www.drupal.org/project/utf8mb4_convert, so as to prevent mixing data
- * with different charsets.
- * Note this should only be used when all of the following conditions are met:
- * - In order to allow for large indexes, MySQL must be set up with the
- * following my.cnf settings:
- * [mysqld]
- * innodb_large_prefix=true
- * innodb_file_format=barracuda
- * innodb_file_per_table=true
- * These settings are available as of MySQL 5.5.14, and are defaults in
- * MySQL 5.7.7 and up.
- * - The PHP MySQL driver must support the utf8mb4 charset (libmysqlclient
- * 5.5.3 and up, as well as mysqlnd 5.0.9 and up).
- * - The MySQL server must support the utf8mb4 charset (5.5.3 and up).
- *
- * You can optionally set prefixes for some or all database table names
- * by using the 'prefix' setting. If a prefix is specified, the table
- * name will be prepended with its value. Be sure to use valid database
- * characters only, usually alphanumeric and underscore. If no prefixes
- * are desired, leave it as an empty string ''.
- *
- * To have all database names prefixed, set 'prefix' as a string:
- * @code
- * 'prefix' => 'main_',
- * @endcode
- * To provide prefixes for specific tables, set 'prefix' as an array.
- * The array's keys are the table names and the values are the prefixes.
- * The 'default' element is mandatory and holds the prefix for any tables
- * not specified elsewhere in the array. Example:
- * @code
- * 'prefix' => array(
- * 'default' => 'main_',
- * 'users' => 'shared_',
- * 'sessions' => 'shared_',
- * 'role' => 'shared_',
- * 'authmap' => 'shared_',
- * ),
- * @endcode
- * You can also use a reference to a schema/database as a prefix. This may be
- * useful if your Drupal installation exists in a schema that is not the default
- * or you want to access several databases from the same code base at the same
- * time.
- * Example:
- * @code
- * 'prefix' => array(
- * 'default' => 'main.',
- * 'users' => 'shared.',
- * 'sessions' => 'shared.',
- * 'role' => 'shared.',
- * 'authmap' => 'shared.',
- * );
- * @endcode
- * NOTE: MySQL and SQLite's definition of a schema is a database.
- *
- * Advanced users can add or override initial commands to execute when
- * connecting to the database server, as well as PDO connection settings. For
- * example, to enable MySQL SELECT queries to exceed the max_join_size system
- * variable, and to reduce the database connection timeout to 5 seconds:
- *
- * @code
- * $databases['default']['default'] = array(
- * 'init_commands' => array(
- * 'big_selects' => 'SET SQL_BIG_SELECTS=1',
- * ),
- * 'pdo' => array(
- * PDO::ATTR_TIMEOUT => 5,
- * ),
- * );
- * @endcode
- *
- * WARNING: These defaults are designed for database portability. Changing them
- * may cause unexpected behavior, including potential data loss.
- *
- * @see DatabaseConnection_mysql::__construct
- * @see DatabaseConnection_pgsql::__construct
- * @see DatabaseConnection_sqlite::__construct
- *
- * Database configuration format:
- * @code
- * $databases['default']['default'] = array(
- * 'driver' => 'mysql',
- * 'database' => 'databasename',
- * 'username' => 'username',
- * 'password' => 'password',
- * 'host' => 'localhost',
- * 'prefix' => '',
- * );
- * $databases['default']['default'] = array(
- * 'driver' => 'pgsql',
- * 'database' => 'databasename',
- * 'username' => 'username',
- * 'password' => 'password',
- * 'host' => 'localhost',
- * 'prefix' => '',
- * );
- * $databases['default']['default'] = array(
- * 'driver' => 'sqlite',
- * 'database' => '/path/to/databasefilename',
- * );
- * @endcode
- */
-$databases = array (
- 'default' =>
- array (
- 'default' =>
- array (
- 'database' => '{{ db_name }}',
- 'username' => '{{ db_user }}',
- 'password' => '{{ db_password }}',
- 'host' => 'localhost',
- 'port' => '',
- 'driver' => '{{ db_driver }}',
- 'prefix' => '',
- ),
- ),
-);
-
-/**
- * Access control for update.php script.
- *
- * If you are updating your Drupal installation using the update.php script but
- * are not logged in using either an account with the "Administer software
- * updates" permission or the site maintenance account (the account that was
- * created during installation), you will need to modify the access check
- * statement below. Change the FALSE to a TRUE to disable the access check.
- * After finishing the upgrade, be sure to open this file again and change the
- * TRUE back to a FALSE!
- */
-$update_free_access = FALSE;
-
-/**
- * Salt for one-time login links and cancel links, form tokens, etc.
- *
- * This variable will be set to a random value by the installer. All one-time
- * login links will be invalidated if the value is changed. Note that if your
- * site is deployed on a cluster of web servers, you must ensure that this
- * variable has the same value on each server. If this variable is empty, a hash
- * of the serialized database credentials will be used as a fallback salt.
- *
- * For enhanced security, you may set this variable to a value using the
- * contents of a file outside your docroot that is never saved together
- * with any backups of your Drupal files and database.
- *
- * Example:
- * $drupal_hash_salt = file_get_contents('/home/example/salt.txt');
- *
- */
-$drupal_hash_salt = '{{ hash_salt }}';
-
-/**
- * Base URL (optional).
- *
- * If Drupal is generating incorrect URLs on your site, which could
- * be in HTML headers (links to CSS and JS files) or visible links on pages
- * (such as in menus), uncomment the Base URL statement below (remove the
- * leading hash sign) and fill in the absolute URL to your Drupal installation.
- *
- * You might also want to force users to use a given domain.
- * See the .htaccess file for more information.
- *
- * Examples:
- * $base_url = 'http://www.example.com';
- * $base_url = 'http://www.example.com:8888';
- * $base_url = 'http://www.example.com/drupal';
- * $base_url = 'https://www.example.com:8888/drupal';
- *
- * It is not allowed to have a trailing slash; Drupal will add it
- * for you.
- */
-# $base_url = 'http://www.example.com'; // NO trailing slash!
-
-/**
- * PHP settings:
- *
- * To see what PHP settings are possible, including whether they can be set at
- * runtime (by using ini_set()), read the PHP documentation:
- * http://www.php.net/manual/ini.list.php
- * See drupal_environment_initialize() in includes/bootstrap.inc for required
- * runtime settings and the .htaccess file for non-runtime settings. Settings
- * defined there should not be duplicated here so as to avoid conflict issues.
- */
-
-/**
- * Some distributions of Linux (most notably Debian) ship their PHP
- * installations with garbage collection (gc) disabled. Since Drupal depends on
- * PHP's garbage collection for clearing sessions, ensure that garbage
- * collection occurs by using the most common settings.
- */
-ini_set('session.gc_probability', 1);
-ini_set('session.gc_divisor', 100);
-
-/**
- * Set session lifetime (in seconds), i.e. the time from the user's last visit
- * to the active session may be deleted by the session garbage collector. When
- * a session is deleted, authenticated users are logged out, and the contents
- * of the user's $_SESSION variable is discarded.
- */
-ini_set('session.gc_maxlifetime', 200000);
-
-/**
- * Set session cookie lifetime (in seconds), i.e. the time from the session is
- * created to the cookie expires, i.e. when the browser is expected to discard
- * the cookie. The value 0 means "until the browser is closed".
- */
-ini_set('session.cookie_lifetime', 2000000);
-
-/**
- * If you encounter a situation where users post a large amount of text, and
- * the result is stripped out upon viewing but can still be edited, Drupal's
- * output filter may not have sufficient memory to process it. If you
- * experience this issue, you may wish to uncomment the following two lines
- * and increase the limits of these variables. For more information, see
- * http://php.net/manual/pcre.configuration.php.
- */
-# ini_set('pcre.backtrack_limit', 200000);
-# ini_set('pcre.recursion_limit', 200000);
-
-/**
- * Drupal automatically generates a unique session cookie name for each site
- * based on its full domain name. If you have multiple domains pointing at the
- * same Drupal site, you can either redirect them all to a single domain (see
- * comment in .htaccess), or uncomment the line below and specify their shared
- * base domain. Doing so assures that users remain logged in as they cross
- * between your various domains. Make sure to always start the $cookie_domain
- * with a leading dot, as per RFC 2109.
- */
-# $cookie_domain = '.example.com';
-
-/**
- * Variable overrides:
- *
- * To override specific entries in the 'variable' table for this site,
- * set them here. You usually don't need to use this feature. This is
- * useful in a configuration file for a vhost or directory, rather than
- * the default settings.php. Any configuration setting from the 'variable'
- * table can be given a new value. Note that any values you provide in
- * these variable overrides will not be modifiable from the Drupal
- * administration interface.
- *
- * The following overrides are examples:
- * - site_name: Defines the site's name.
- * - theme_default: Defines the default theme for this site.
- * - anonymous: Defines the human-readable name of anonymous users.
- * Remove the leading hash signs to enable.
- */
-# $conf['site_name'] = 'My Drupal site';
-# $conf['theme_default'] = 'garland';
-# $conf['anonymous'] = 'Visitor';
-
-/**
- * A custom theme can be set for the offline page. This applies when the site
- * is explicitly set to maintenance mode through the administration page or when
- * the database is inactive due to an error. It can be set through the
- * 'maintenance_theme' key. The template file should also be copied into the
- * theme. It is located inside 'modules/system/maintenance-page.tpl.php'.
- * Note: This setting does not apply to installation and update pages.
- */
-# $conf['maintenance_theme'] = 'bartik';
-
-/**
- * Reverse Proxy Configuration:
- *
- * Reverse proxy servers are often used to enhance the performance
- * of heavily visited sites and may also provide other site caching,
- * security, or encryption benefits. In an environment where Drupal
- * is behind a reverse proxy, the real IP address of the client should
- * be determined such that the correct client IP address is available
- * to Drupal's logging, statistics, and access management systems. In
- * the most simple scenario, the proxy server will add an
- * X-Forwarded-For header to the request that contains the client IP
- * address. However, HTTP headers are vulnerable to spoofing, where a
- * malicious client could bypass restrictions by setting the
- * X-Forwarded-For header directly. Therefore, Drupal's proxy
- * configuration requires the IP addresses of all remote proxies to be
- * specified in $conf['reverse_proxy_addresses'] to work correctly.
- *
- * Enable this setting to get Drupal to determine the client IP from
- * the X-Forwarded-For header (or $conf['reverse_proxy_header'] if set).
- * If you are unsure about this setting, do not have a reverse proxy,
- * or Drupal operates in a shared hosting environment, this setting
- * should remain commented out.
- *
- * In order for this setting to be used you must specify every possible
- * reverse proxy IP address in $conf['reverse_proxy_addresses'].
- * If a complete list of reverse proxies is not available in your
- * environment (for example, if you use a CDN) you may set the
- * $_SERVER['REMOTE_ADDR'] variable directly in settings.php.
- * Be aware, however, that it is likely that this would allow IP
- * address spoofing unless more advanced precautions are taken.
- */
-# $conf['reverse_proxy'] = TRUE;
-
-/**
- * Specify every reverse proxy IP address in your environment.
- * This setting is required if $conf['reverse_proxy'] is TRUE.
- */
-# $conf['reverse_proxy_addresses'] = array('a.b.c.d', ...);
-
-/**
- * Set this value if your proxy server sends the client IP in a header
- * other than X-Forwarded-For.
- */
-# $conf['reverse_proxy_header'] = 'HTTP_X_CLUSTER_CLIENT_IP';
-
-/**
- * Page caching:
- *
- * By default, Drupal sends a "Vary: Cookie" HTTP header for anonymous page
- * views. This tells a HTTP proxy that it may return a page from its local
- * cache without contacting the web server, if the user sends the same Cookie
- * header as the user who originally requested the cached page. Without "Vary:
- * Cookie", authenticated users would also be served the anonymous page from
- * the cache. If the site has mostly anonymous users except a few known
- * editors/administrators, the Vary header can be omitted. This allows for
- * better caching in HTTP proxies (including reverse proxies), i.e. even if
- * clients send different cookies, they still get content served from the cache.
- * However, authenticated users should access the site directly (i.e. not use an
- * HTTP proxy, and bypass the reverse proxy if one is used) in order to avoid
- * getting cached pages from the proxy.
- */
-# $conf['omit_vary_cookie'] = TRUE;
-
-/**
- * CSS/JS aggregated file gzip compression:
- *
- * By default, when CSS or JS aggregation and clean URLs are enabled Drupal will
- * store a gzip compressed (.gz) copy of the aggregated files. If this file is
- * available then rewrite rules in the default .htaccess file will serve these
- * files to browsers that accept gzip encoded content. This allows pages to load
- * faster for these users and has minimal impact on server load. If you are
- * using a webserver other than Apache httpd, or a caching reverse proxy that is
- * configured to cache and compress these files itself you may want to uncomment
- * one or both of the below lines, which will prevent gzip files being stored.
- */
-# $conf['css_gzip_compression'] = FALSE;
-# $conf['js_gzip_compression'] = FALSE;
-
-/**
- * Block caching:
- *
- * Block caching may not be compatible with node access modules depending on
- * how the original block cache policy is defined by the module that provides
- * the block. By default, Drupal therefore disables block caching when one or
- * more modules implement hook_node_grants(). If you consider block caching to
- * be safe on your site and want to bypass this restriction, uncomment the line
- * below.
- */
-# $conf['block_cache_bypass_node_grants'] = TRUE;
-
-/**
- * String overrides:
- *
- * To override specific strings on your site with or without enabling the Locale
- * module, add an entry to this list. This functionality allows you to change
- * a small number of your site's default English language interface strings.
- *
- * Remove the leading hash signs to enable.
- */
-# $conf['locale_custom_strings_en'][''] = array(
-# 'forum' => 'Discussion board',
-# '@count min' => '@count minutes',
-# );
-
-/**
- *
- * IP blocking:
- *
- * To bypass database queries for denied IP addresses, use this setting.
- * Drupal queries the {blocked_ips} table by default on every page request
- * for both authenticated and anonymous users. This allows the system to
- * block IP addresses from within the administrative interface and before any
- * modules are loaded. However on high traffic websites you may want to avoid
- * this query, allowing you to bypass database access altogether for anonymous
- * users under certain caching configurations.
- *
- * If using this setting, you will need to add back any IP addresses which
- * you may have blocked via the administrative interface. Each element of this
- * array represents a blocked IP address. Uncommenting the array and leaving it
- * empty will have the effect of disabling IP blocking on your site.
- *
- * Remove the leading hash signs to enable.
- */
-# $conf['blocked_ips'] = array(
-# 'a.b.c.d',
-# );
-
-/**
- * Fast 404 pages:
- *
- * Drupal can generate fully themed 404 pages. However, some of these responses
- * are for images or other resource files that are not displayed to the user.
- * This can waste bandwidth, and also generate server load.
- *
- * The options below return a simple, fast 404 page for URLs matching a
- * specific pattern:
- * - 404_fast_paths_exclude: A regular expression to match paths to exclude,
- * such as images generated by image styles, or dynamically-resized images.
- * The default pattern provided below also excludes the private file system.
- * If you need to add more paths, you can add '|path' to the expression.
- * - 404_fast_paths: A regular expression to match paths that should return a
- * simple 404 page, rather than the fully themed 404 page. If you don't have
- * any aliases ending in htm or html you can add '|s?html?' to the expression.
- * - 404_fast_html: The html to return for simple 404 pages.
- *
- * Add leading hash signs if you would like to disable this functionality.
- */
-$conf['404_fast_paths_exclude'] = '/\/(?:styles)|(?:system\/files)\//';
-$conf['404_fast_paths'] = '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i';
-$conf['404_fast_html'] = '404 Not Found Not Found
The requested URL "@path" was not found on this server.
';
-
-/**
- * By default the page request process will return a fast 404 page for missing
- * files if they match the regular expression set in '404_fast_paths' and not
- * '404_fast_paths_exclude' above. 404 errors will simultaneously be logged in
- * the Drupal system log.
- *
- * You can choose to return a fast 404 page earlier for missing pages (as soon
- * as settings.php is loaded) by uncommenting the line below. This speeds up
- * server response time when loading 404 error pages and prevents the 404 error
- * from being logged in the Drupal system log. In order to prevent valid pages
- * such as image styles and other generated content that may match the
- * '404_fast_paths' regular expression from returning 404 errors, it is
- * necessary to add them to the '404_fast_paths_exclude' regular expression
- * above. Make sure that you understand the effects of this feature before
- * uncommenting the line below.
- */
-# drupal_fast_404();
-
-/**
- * External access proxy settings:
- *
- * If your site must access the Internet via a web proxy then you can enter
- * the proxy settings here. Currently only basic authentication is supported
- * by using the username and password variables. The proxy_user_agent variable
- * can be set to NULL for proxies that require no User-Agent header or to a
- * non-empty string for proxies that limit requests to a specific agent. The
- * proxy_exceptions variable is an array of host names to be accessed directly,
- * not via proxy.
- */
-# $conf['proxy_server'] = '';
-# $conf['proxy_port'] = 8080;
-# $conf['proxy_username'] = '';
-# $conf['proxy_password'] = '';
-# $conf['proxy_user_agent'] = '';
-# $conf['proxy_exceptions'] = array('127.0.0.1', 'localhost');
-
-/**
- * Authorized file system operations:
- *
- * The Update manager module included with Drupal provides a mechanism for
- * site administrators to securely install missing updates for the site
- * directly through the web user interface. On securely-configured servers,
- * the Update manager will require the administrator to provide SSH or FTP
- * credentials before allowing the installation to proceed; this allows the
- * site to update the new files as the user who owns all the Drupal files,
- * instead of as the user the webserver is running as. On servers where the
- * webserver user is itself the owner of the Drupal files, the administrator
- * will not be prompted for SSH or FTP credentials (note that these server
- * setups are common on shared hosting, but are inherently insecure).
- *
- * Some sites might wish to disable the above functionality, and only update
- * the code directly via SSH or FTP themselves. This setting completely
- * disables all functionality related to these authorized file operations.
- *
- * @see http://drupal.org/node/244924
- *
- * Remove the leading hash signs to disable.
- */
-# $conf['allow_authorize_operations'] = FALSE;
-
-/**
- * Theme debugging:
- *
- * When debugging is enabled:
- * - The markup of each template is surrounded by HTML comments that contain
- * theming information, such as template file name suggestions.
- * - Note that this debugging markup will cause automated tests that directly
- * check rendered HTML to fail.
- *
- * For more information about debugging theme templates, see
- * https://www.drupal.org/node/223440#theme-debug.
- *
- * Not recommended in production environments.
- *
- * Remove the leading hash sign to enable.
- */
-# $conf['theme_debug'] = TRUE;
-
-/**
- * CSS identifier double underscores allowance:
- *
- * To allow CSS identifiers to contain double underscores (.example__selector)
- * for Drupal's BEM-style naming standards, uncomment the line below.
- * Note that if you change this value in existing sites, existing page styles
- * may be broken.
- *
- * @see drupal_clean_css_identifier()
- */
-# $conf['allow_css_double_underscores'] = TRUE;
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/template.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/template.php.twig
deleted file mode 100644
index 6776ca6c0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/template.php.twig
+++ /dev/null
@@ -1,27 +0,0 @@
- '{{ name }}',
- 'description' => 'Test description',
- 'group' => '{{ machine_name }}',
- );
- }
-
- function setUp() {
- parent::setUp(array('{{ machine_name }}'));
-
- // Create admin account.
- $this->admin_user = $this->drupalCreateUser(array('administer {{ machine_name }} configuration'));
-
- $this->drupalLogin($this->admin_user);
- }
-
- /**
- * Tests configuration form.
- */
- function testAdminForm() {
- $fields = array(
- '{{ machine_name }}_setting_1' => 'test',
- '{{ machine_name }}_setting_2' => 1,
- '{{ machine_name }}_setting_3' => 1,
- );
- $this->drupalPost('admin/config/system/{{ machine_name }}', $fields, t('Save configuration'));
-
- $this->assertFieldByName('{{ machine_name }}_setting_1', 'test');
- $this->assertFieldByName('{{ machine_name }}_setting_2', 1);
- $this->assertFieldByName('{{ machine_name }}_setting_3', 1);
- $this->assertRaw(t('The configuration options have been saved.'));
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/theme-css.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/theme-css.twig
deleted file mode 100644
index 14676d58e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/theme-css.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-
-/**
- * @file
- * Example styles.
- */
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/theme-info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/theme-info.twig
deleted file mode 100644
index e71cf39a0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/theme-info.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-name = {{ name }}
-description = {{ description }}
-{% if base_theme %}
-base theme = {{ base_theme }}
-{% endif %}
-core = 7.x
-
-stylesheets[all][] = css/{{ machine_name }}.css
-scripts[] = js/{{ machine_name }}.js
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default-views.inc.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default-views.inc.twig
deleted file mode 100644
index c4f1b05c4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default-views.inc.twig
+++ /dev/null
@@ -1,21 +0,0 @@
- '{{ machine_name }}',
- 'argument default' => array(
- '{{ plugin_machine_name }}' => array(
- 'title' => t('{{ plugin_name }}'),
- 'handler' => 'views_plugin_argument_{{ plugin_machine_name }}',
- ),
- ),
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default.module.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default.module.twig
deleted file mode 100644
index 76f4c1e02..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default.module.twig
+++ /dev/null
@@ -1,16 +0,0 @@
- '3.0',
- 'path' => drupal_get_path('module', '{{ machine_name }}') . '/views',
- );
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default.twig
deleted file mode 100644
index fcdb3d666..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default.twig
+++ /dev/null
@@ -1,67 +0,0 @@
- 15);
- return $options;
- }
-
- /**
- * {@inheritdoc}
- */
- public function options_form(&$form, &$form_state) {
- $form['example_option'] = array(
- '#type' => 'textfield',
- '#title' => t('Some example option.'),
- '#default_value' => $this->options['example_option'],
- );
- }
-
- /**
- * {@inheritdoc}
- */
- public function options_validate(&$form, &$form_state) {
- if ($form_state['values']['options']['argument_default']['{{ plugin_machine_name }}']['example_option'] == 10) {
- form_error($form['example_option'], t('The value is not correct.'));
- }
- }
-
- /**
- * {@inheritdoc}
- */
- public function options_submit(&$form, &$form_state, &$options) {
- $options['example_option'] = $form_state['values']['options']['argument_default']['{{ plugin_machine_name }}']['example_option'];
- }
-
- /**
- * {@inheritdoc}
- */
- public function get_argument() {
-
- // @DCG
- // Here is the place where you should create a default argument for the
- // contextual filter. The source of this argument depends on your needs.
- // For example, you can extract the value from the URL or fetch it from
- // some fields of the current viewed entity.
- // For now lets use example option as an argument.
- $argument = $this->options['example_option'];
-
- return $argument;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/default-formatter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_field/default-formatter.twig
deleted file mode 100644
index 515bcbad4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/default-formatter.twig
+++ /dev/null
@@ -1,148 +0,0 @@
- 'bar'] + parent::defaultSettings();
- }
-
- /**
- * {@inheritdoc}
- */
- public function settingsForm(array $form, FormStateInterface $form_state) {
- $settings = $this->getSettings();
- $element['foo'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Foo'),
- '#default_value' => $settings['foo'],
- ];
- return $element;
- }
-
- /**
- * {@inheritdoc}
- */
- public function settingsSummary() {
- $settings = $this->getSettings();
- $summary[] = $this->t('Foo: @foo', ['@foo' => $settings['foo']]);
- return $summary;
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public function viewElements(FieldItemListInterface $items, $langcode) {
- $element = [];
-
- foreach ($items as $delta => $item) {
-
-{% for subfield in subfields %}
- {% if subfield.type == 'boolean' %}
- $element[$delta]['{{ subfield.machine_name }}'] = [
- '#type' => 'item',
- '#title' => $this->t('{{ subfield.name }}'),
- '#markup' => $item->{{ subfield.machine_name }} ? $this->t('Yes') : $this->t('No'),
- ];
-
- {% else %}
- if ($item->{{ subfield.machine_name }}) {
- {% if subfield.list %}
- $allowed_values = {{ type_class }}::{{ subfield.allowed_values_method }}();
- {% endif %}
- {% set item_value %}
- {% if subfield.list %}$allowed_values[$item->{{ subfield.machine_name }}]{% else %}$item->{{ subfield.machine_name }}{% endif %}
- {% endset %}
- {% if subfield.type == 'datetime' %}
- $date = DrupalDateTime::createFromFormat('{{ subfield.date_storage_format }}', $item->{{ subfield.machine_name }});
- // @DCG: Consider injecting the date formatter service.
- // @codingStandardsIgnoreStart
- $date_formatter = \Drupal::service('date.formatter');
- // @codingStandardsIgnoreStart
- $timestamp = $date->getTimestamp();
- {% if subfield.list %}
- $formatted_date = {{ item_value }};
- {% else %}
- $formatted_date = $date_formatter->format($timestamp, 'long');
- {% endif %}
- $iso_date = $date_formatter->format($timestamp, 'custom', 'Y-m-d\TH:i:s') . 'Z';
- $element[$delta]['{{ subfield.machine_name }}'] = [
- '#type' => 'item',
- '#title' => $this->t('{{ subfield.name }}'),
- 'content' => [
- '#theme' => 'time',
- '#text' => $formatted_date,
- '#html' => FALSE,
- '#attributes' => [
- 'datetime' => $iso_date,
- ],
- '#cache' => [
- 'contexts' => [
- 'timezone',
- ],
- ],
- ],
- ];
- {% else %}
- $element[$delta]['{{ subfield.machine_name }}'] = [
- '#type' => 'item',
- '#title' => $this->t('{{ subfield.name }}'),
- {% if subfield.link %}
- 'content' => [
- '#type' => 'link',
- '#title' => {{ item_value }},
- {% if subfield.type == 'email' %}
- '#url' => Url::fromUri('mailto:' . $item->{{ subfield.machine_name }}),
- {% elseif subfield.type == 'telephone' %}
- '#url' => Url::fromUri('tel:' . rawurlencode(preg_replace('/\s+/', '', $item->{{ subfield.machine_name }}))),
- {% elseif subfield.type == 'uri' %}
- '#url' => Url::fromUri($item->{{ subfield.machine_name }}),
- {% endif %}
- ],
- {% else %}
- '#markup' => {{ item_value }},
- {% endif %}
- ];
- {% endif %}
- }
-
- {% endif %}
-{% endfor %}
- }
-
- return $element;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/key-value-formatter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_field/key-value-formatter.twig
deleted file mode 100644
index 2f854ffb5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/key-value-formatter.twig
+++ /dev/null
@@ -1,105 +0,0 @@
- $item) {
-
- $table = [
- '#type' => 'table',
- ];
-
-{% for subfield in subfields %}
- // {{ subfield.name }}.
- if ($item->{{ subfield.machine_name }}) {
- {% if subfield.type == 'datetime' %}
- $date = DrupalDateTime::createFromFormat('{{ subfield.date_storage_format }}', $item->{{ subfield.machine_name }});
- $date_formatter = \Drupal::service('date.formatter');
- $timestamp = $date->getTimestamp();
- {% if subfield.list %}
- $allowed_values = {{ type_class }}::{{ subfield.allowed_values_method }}();
- $formatted_date = $allowed_values[$item->{{ subfield.machine_name }}];
- {% else %}
- $formatted_date = $date_formatter->format($timestamp, 'long');
- {% endif %}
- $iso_date = $date_formatter->format($timestamp, 'custom', 'Y-m-d\TH:i:s') . 'Z';
-
- {% elseif subfield.list %}
- $allowed_values = {{ type_class }}::{{ subfield.allowed_values_method }}();
-
- {% endif %}
- $table['#rows'][] = [
- 'data' => [
- [
- 'header' => TRUE,
- 'data' => [
- '#markup' => $this->t('{{ subfield.name }}'),
- ],
- ],
- [
- 'data' => [
- {% if subfield.type == 'boolean' %}
- '#markup' => $item->{{ subfield.machine_name }} ? $this->t('Yes') : $this->t('No'),
- {% elseif subfield.type == 'datetime' %}
- '#theme' => 'time',
- '#text' => $formatted_date,
- '#html' => FALSE,
- '#attributes' => [
- 'datetime' => $iso_date,
- ],
- '#cache' => [
- 'contexts' => [
- 'timezone',
- ],
- ],
- {% else %}
- {% if subfield.list %}
- '#markup' => $allowed_values[$item->{{ subfield.machine_name }}],
- {% else %}
- '#markup' => $item->{{ subfield.machine_name }},
- {% endif %}
- {% endif %}
- ],
- ],
- ],
- 'no_striping' => TRUE,
- ];
- }
-
-{% endfor %}
- $element[$delta] = $table;
-
- }
-
- return $element;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/libraries.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_field/libraries.twig
deleted file mode 100644
index d61ad18de..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/libraries.twig
+++ /dev/null
@@ -1,4 +0,0 @@
-{{ field_id }}:
- css:
- component:
- css/{{ field_id|u2h }}-widget.css: {}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_field/schema.twig
deleted file mode 100644
index e3612e613..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/schema.twig
+++ /dev/null
@@ -1,50 +0,0 @@
-{% if storage_settings %}
-# Field storage.
-field.storage_settings.{{ field_id }}:
- type: mapping
- label: Example storage settings
- mapping:
- foo:
- type: string
- label: Foo
-{% endif %}
-{% if instance_settings %}
-# Field instance.
-field.field_settings.{{ field_id }}:
- type: mapping
- label: Example field settings
- mapping:
- bar:
- type: string
- label: Bar
-{% endif %}
-# Default value.
-field.value.{{ field_id }}:
- type: mapping
- label: Default value
- mapping:
-{% for subfield in subfields %}
- {{ subfield.machine_name }}:
- type: {{ subfield.type }}
- label: {{ subfield.name }}
-{% endfor %}
-{% if widget_settings %}
-# Field widget.
-field.widget.settings.{{ field_id }}:
- type: mapping
- label: Example widget settings
- mapping:
- foo:
- type: string
- label: Foo
-{% endif %}
-{% if formatter_settings %}
-# Field formatter.
-field.formatter.settings.{{ field_id }}_default:
- type: mapping
- label: Example formatter settings
- mapping:
- foo:
- type: string
- label: Foo
-{% endif %}
\ No newline at end of file
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/table-formatter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_field/table-formatter.twig
deleted file mode 100644
index 6351643c7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/table-formatter.twig
+++ /dev/null
@@ -1,102 +0,0 @@
-t('{{ subfield.name }}');
-{% endfor %}
-
- $table = [
- '#type' => 'table',
- '#header' => $header,
- ];
-
- foreach ($items as $delta => $item) {
- $row = [];
-
- $row[]['#markup'] = $delta + 1;
-
-{% for subfield in subfields %}
- {% if subfield.type == 'boolean' %}
- $row[]['#markup'] = $item->{{ subfield.machine_name }} ? $this->t('Yes') : $this->t('No');
-
- {% elseif subfield.type == 'datetime' %}
- if ($item->{{ subfield.machine_name }}) {
- $date = DrupalDateTime::createFromFormat('{{ subfield.date_storage_format }}', $item->{{ subfield.machine_name }});
- $date_formatter = \Drupal::service('date.formatter');
- $timestamp = $date->getTimestamp();
- {% if subfield.list %}
- $allowed_values = {{ type_class }}::{{ subfield.allowed_values_method }}();
- $formatted_date = $allowed_values[$item->{{ subfield.machine_name }}];
- {% else %}
- $formatted_date = $date_formatter->format($timestamp, 'long');
- {% endif %}
- $iso_date = $date_formatter->format($timestamp, 'custom', 'Y-m-d\TH:i:s') . 'Z';
- $row[] = [
- '#theme' => 'time',
- '#text' => $formatted_date,
- '#html' => FALSE,
- '#attributes' => [
- 'datetime' => $iso_date,
- ],
- '#cache' => [
- 'contexts' => [
- 'timezone',
- ],
- ],
- ];
- }
- else {
- $row[]['#markup'] = '';
- }
-
- {% else %}
- {% if subfield.list %}
- if ($item->{{ subfield.machine_name }}) {
- $allowed_values = {{ type_class }}::{{ subfield.allowed_values_method }}();
- $row[]['#markup'] = $allowed_values[$item->{{ subfield.machine_name }}];
- }
- else {
- $row[]['#markup'] = '';
- }
- {% else %}
- $row[]['#markup'] = $item->{{ subfield.machine_name }};
- {% endif %}
-
- {% endif %}
-{% endfor %}
- $table[$delta] = $row;
- }
-
- return [$table];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/type.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_field/type.twig
deleted file mode 100644
index dee8d020d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/type.twig
+++ /dev/null
@@ -1,316 +0,0 @@
- 'example'];
- return $settings + parent::defaultStorageSettings();
- }
-
- /**
- * {@inheritdoc}
- */
- public function storageSettingsForm(array &$form, FormStateInterface $form_state, $has_data) {
- $settings = $this->getSettings();
-
- $element['foo'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Foo'),
- '#default_value' => $settings['foo'],
- '#disabled' => $has_data,
- ];
-
- return $element;
- }
-
-{% endif %}
-{% if instance_settings %}
- /**
- * {@inheritdoc}
- */
- public static function defaultFieldSettings() {
- $settings = ['bar' => 'example'];
- return $settings + parent::defaultFieldSettings();
- }
-
- /**
- * {@inheritdoc}
- */
- public function fieldSettingsForm(array $form, FormStateInterface $form_state) {
- $settings = $this->getSettings();
-
- $element['bar'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Foo'),
- '#default_value' => $settings['bar'],
- ];
-
- return $element;
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public function isEmpty() {
-{% for subfield in subfields %}
- {% set condition %}
- {% if subfield.type == 'boolean' %}$this->{{ subfield.machine_name }} == 1{% else %}$this->{{ subfield.machine_name }} !== NULL{% endif %}
- {% endset %}
- {% if loop.index == 1 %}
- if ({{ condition }}) {
- {% else %}
- elseif ({{ condition }}) {
- {% endif %}
- return FALSE;
- }
-{% endfor %}
- return TRUE;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition) {
-
-{% for subfield in subfields %}
- $properties['{{ subfield.machine_name }}'] = DataDefinition::create('{{ subfield.data_type }}')
- ->setLabel(t('{{ subfield.name }}'));
-{% endfor %}
-
- return $properties;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getConstraints() {
- $constraints = parent::getConstraints();
-
-{% for subfield in subfields %}
- {% if subfield.list %}
- $options['{{ subfield.machine_name }}']['AllowedValues'] = array_keys({{ type_class }}::{{ subfield.allowed_values_method }}());
-
- {% endif %}
- {% if subfield.required %}
- {% if subfield.type == 'boolean' %}
- // NotBlank validator is not suitable for booleans because it does not
- // recognize '0' as an empty value.
- $options['{{ subfield.machine_name }}']['AllowedValues']['choices'] = [1];
- $options['{{ subfield.machine_name }}']['AllowedValues']['message'] = $this->t('This value should not be blank.');
-
- {% else %}
- $options['{{ subfield.machine_name }}']['NotBlank'] = [];
-
- {% if subfield.type == 'email' %}
- $options['{{ subfield.machine_name }}']['Length']['max'] = Email::EMAIL_MAX_LENGTH;
-
- {% endif %}
- {% endif %}
- {% endif %}
-{% endfor %}
-{% if list or required %}
- $constraint_manager = \Drupal::typedDataManager()->getValidationConstraintManager();
- $constraints[] = $constraint_manager->create('ComplexData', $options);
-{% endif %}
- // @todo Add more constrains here.
- return $constraints;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function schema(FieldStorageDefinitionInterface $field_definition) {
-
- $columns = [
-{% for subfield in subfields %}
- '{{ subfield.machine_name }}' => [
- {% if subfield.type == 'boolean' %}
- 'type' => 'int',
- 'size' => 'tiny',
- {% elseif subfield.type == 'string' %}
- 'type' => 'varchar',
- 'length' => 255,
- {% elseif subfield.type == 'text' %}
- 'type' => 'text',
- 'size' => 'big',
- {% elseif subfield.type == 'integer' %}
- 'type' => 'int',
- 'size' => 'normal',
- {% elseif subfield.type == 'float' %}
- 'type' => 'float',
- 'size' => 'normal',
- {% elseif subfield.type == 'numeric' %}
- 'type' => 'numeric',
- 'precision' => 10,
- 'scale' => 2,
- {% elseif subfield.type == 'email' %}
- 'type' => 'varchar',
- 'length' => Email::EMAIL_MAX_LENGTH,
- {% elseif subfield.type == 'telephone' %}
- 'type' => 'varchar',
- 'length' => 255,
- {% elseif subfield.type == 'uri' %}
- 'type' => 'varchar',
- 'length' => 2048,
- {% elseif subfield.type == 'datetime' %}
- 'type' => 'varchar',
- 'length' => 20,
- {% endif %}
- ],
-{% endfor %}
- ];
-
- $schema = [
- 'columns' => $columns,
- // @DCG Add indexes here if necessary.
- ];
-
- return $schema;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function generateSampleValue(FieldDefinitionInterface $field_definition) {
-
-{% if random %}
- $random = new Random();
-
-{% endif %}
-{% for subfield in subfields %}
- {% if subfield.list %}
- $values['{{ subfield.machine_name }}'] = array_rand(self::{{ subfield.allowed_values_method }}());
-
- {% elseif subfield.type == 'boolean' %}
- $values['{{ subfield.machine_name }}'] = (bool) mt_rand(0, 1);
-
- {% elseif subfield.type == 'string' %}
- $values['{{ subfield.machine_name }}'] = $random->word(mt_rand(1, 255));
-
- {% elseif subfield.type == 'text' %}
- $values['{{ subfield.machine_name }}'] = $random->paragraphs(5);
-
- {% elseif subfield.type == 'integer' %}
- $values['{{ subfield.machine_name }}'] = mt_rand(-1000, 1000);
-
- {% elseif subfield.type == 'float' %}
- $scale = rand(1, 5);
- $random_decimal = mt_rand() / mt_getrandmax() * (1000 - 0);
- $values['{{ subfield.machine_name }}'] = floor($random_decimal * pow(10, $scale)) / pow(10, $scale);
-
- {% elseif subfield.type == 'numeric' %}
- $scale = rand(10, 2);
- $random_decimal = -1000 + mt_rand() / mt_getrandmax() * (-1000 - 1000);
- $values['{{ subfield.machine_name }}'] = floor($random_decimal * pow(10, $scale)) / pow(10, $scale);
-
- {% elseif subfield.type == 'email' %}
- $values['{{ subfield.machine_name }}'] = strtolower($random->name()) . '@example.com';
-
- {% elseif subfield.type == 'telephone' %}
- $values['{{ subfield.machine_name }}'] = mt_rand(pow(10, 8), pow(10, 9) - 1);
-
- {% elseif subfield.type == 'uri' %}
- $tlds = ['com', 'net', 'gov', 'org', 'edu', 'biz', 'info'];
- $domain_length = mt_rand(7, 15);
- $protocol = mt_rand(0, 1) ? 'https' : 'http';
- $www = mt_rand(0, 1) ? 'www' : '';
- $domain = $random->word($domain_length);
- $tld = $tlds[mt_rand(0, (count($tlds) - 1))];
- $values['{{ subfield.machine_name }}'] = "$protocol://$www.$domain.$tld";
-
- {% elseif subfield.type == 'datetime' %}
- $timestamp = \Drupal::time()->getRequestTime() - mt_rand(0, 86400 * 365);
- $values['{{ subfield.machine_name }}'] = gmdate('{{ subfield.date_storage_format }}', $timestamp);
-
- {% endif %}
-{% endfor %}
- return $values;
- }
-
-{% for subfield in subfields %}
- {% if subfield.list %}
- /**
- * Returns allowed values for '{{ subfield.machine_name }}' sub-field.
- *
- * @return array
- * The list of allowed values.
- */
- public static function {{ subfield.allowed_values_method }}() {
- return [
- {% if subfield.type == 'string' %}
- 'alpha' => t('Alpha'),
- 'beta' => t('Beta'),
- 'gamma' => t('Gamma'),
- {% elseif subfield.type == 'integer' %}
- 123 => 123,
- 456 => 456,
- 789 => 789,
- {% elseif subfield.type == 'float' %}
- '12.3' => '12.3',
- '4.56' => '4.56',
- '0.789' => '0.789',
- {% elseif subfield.type == 'numeric' %}
- '12.35' => '12.35',
- '45.65' => '45.65',
- '78.95' => '78.95',
- {% elseif subfield.type == 'email' %}
- 'alpha@example.com' => 'alpha@example.com',
- 'beta@example.com' => 'beta@example.com',
- 'gamma@example.com' => 'gamma@example.com',
- {% elseif subfield.type == 'telephone' %}
- '71234567001' => '+7(123)45-67-001',
- '71234567002' => '+7(123)45-67-002',
- '71234567003' => '+7(123)45-67-003',
- {% elseif subfield.type == 'uri' %}
- 'https://example.com' => 'https://example.com',
- 'http://www.php.net' => 'http://www.php.net',
- 'https://www.drupal.org' => 'https://www.drupal.org',
- {% elseif subfield.type == 'datetime' %}
- {% if subfield.date_type == 'date' %}
- '2018-01-01' => '1 January 2018',
- '2018-02-01' => '1 February 2018',
- '2018-03-01' => '1 March 2018',
- {% else %}
- '2018-01-01T00:10:10' => '1 January 2018, 00:10:10',
- '2018-02-01T00:20:20' => '1 February 2018, 00:20:20',
- '2018-03-01T00:30:30' => '1 March 2018, 00:30:30',
- {% endif %}
- {% endif %}
- ];
- }
-
- {% endif %}
-{% endfor %}
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/widget-css.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_field/widget-css.twig
deleted file mode 100644
index 558dd111d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/widget-css.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-{% set class = field_id|u2h ~ '-elements' %}
-{% if inline %}
-.container-inline.{{ class }} .form-item {
- margin: 0 3px;
-}
-.container-inline.{{ class }} label {
- display: block;
-}
-{% else %}
-tr.odd .{{ class }} .form-item {
- margin-bottom: 8px;
-}
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/widget.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_field/widget.twig
deleted file mode 100644
index e7ea8b836..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/widget.twig
+++ /dev/null
@@ -1,202 +0,0 @@
- 'bar'] + parent::defaultSettings();
- }
-
- /**
- * {@inheritdoc}
- */
- public function settingsForm(array $form, FormStateInterface $form_state) {
- $settings = $this->getSettings();
- $element['foo'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Foo'),
- '#default_value' => $settings['foo'],
- ];
- return $element;
- }
-
- /**
- * {@inheritdoc}
- */
- public function settingsSummary() {
- $settings = $this->getSettings();
- $summary[] = $this->t('Foo: @foo', ['@foo' => $settings['foo']]);
- return $summary;
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public function formElement(FieldItemListInterface $items, $delta, array $element, array &$form, FormStateInterface $form_state) {
-
-{% for subfield in subfields %}
- {% set title %}'#title' => $this->t('{{ subfield.name }}'),{% endset %}
- {% set default_value %}'#default_value' => isset($items[$delta]->{{ subfield.machine_name }}) ? $items[$delta]->{{ subfield.machine_name }} : NULL,{% endset %}
- {% set size %}'#size' => 20,{% endset %}
- {% if subfield.list %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'select',
- {{ title }}
- '#options' => ['' => $this->t('- {{ subfield.required ? 'Select a value' : 'None' }} -')] + {{ type_class }}::{{ subfield.allowed_values_method }}(),
- {{ default_value }}
- ];
- {% else %}
- {% if subfield.type == 'boolean' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'checkbox',
- {{ title }}
- {{ default_value }}
- ];
- {% elseif subfield.type == 'string' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'textfield',
- {{ title }}
- {{ default_value }}
- {% if inline %}
- {{ size }}
- {% endif %}
- ];
- {% elseif subfield.type == 'text' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'textarea',
- {{ title }}
- {{ default_value }}
- ];
- {% elseif subfield.type == 'integer' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'number',
- {{ title }}
- {{ default_value }}
- ];
- {% elseif subfield.type == 'float' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'number',
- {{ title }}
- {{ default_value }}
- '#step' => 0.001,
- ];
- {% elseif subfield.type == 'numeric' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'number',
- {{ title }}
- {{ default_value }}
- '#step' => 0.01,
- ];
- {% elseif subfield.type == 'email' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'email',
- {{ title }}
- {{ default_value }}
- {% if inline %}
- {{ size }}
- {% endif %}
- ];
- {% elseif subfield.type == 'telephone' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'tel',
- {{ title }}
- {{ default_value }}
- {% if inline %}
- {{ size }}
- {% endif %}
- ];
- {% elseif subfield.type == 'uri' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'url',
- {{ title }}
- {{ default_value }}
- {% if inline %}
- {{ size }}
- {% endif %}
- ];
- {% elseif subfield.type == 'datetime' %}
- $element['{{ subfield.machine_name }}'] = [
- '#type' => 'datetime',
- {{ title }}
- '#default_value' => NULL,
- {% if subfield.date_type == 'date' %}
- '#date_time_element' => 'none',
- '#date_time_format' => '',
- {% endif %}
- ];
- if (isset($items[$delta]->{{ subfield.machine_name }})) {
- $element['{{ subfield.machine_name }}']['#default_value'] = DrupalDateTime::createFromFormat(
- '{{ subfield.date_storage_format }}',
- $items[$delta]->{{ subfield.machine_name }},
- 'UTC'
- );
- }
- {% endif %}
- {% endif %}
-
-{% endfor %}
- $element['#theme_wrappers'] = ['container', 'form_element'];
-{% if inline %}
- $element['#attributes']['class'][] = 'container-inline';
-{% endif %}
- $element['#attributes']['class'][] = '{{ field_id|u2h }}-elements';
- $element['#attached']['library'][] = '{{ machine_name }}/{{ field_id }}';
-
- return $element;
- }
-
- /**
- * {@inheritdoc}
- */
- public function errorElement(array $element, ConstraintViolationInterface $violation, array $form, FormStateInterface $form_state) {
- return isset($violation->arrayPropertyPath[0]) ? $element[$violation->arrayPropertyPath[0]] : $element;
- }
-
- /**
- * {@inheritdoc}
- */
- public function massageFormValues(array $values, array $form, FormStateInterface $form_state) {
- foreach ($values as $delta => $value) {
-{% for subfield in subfields %}
- if ($value['{{ subfield.machine_name }}'] === '') {
- $values[$delta]['{{ subfield.machine_name }}'] = NULL;
- }
- {% if subfield.type == 'datetime' %}
- if ($value['{{ subfield.machine_name }}'] instanceof DrupalDateTime) {
- $values[$delta]['{{ subfield.machine_name }}'] = $value['{{ subfield.machine_name }}']->format('{{ subfield.date_storage_format }}');
- }
- {% endif %}
-{% endfor %}
- }
- return $values;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/javascript.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/javascript.twig
deleted file mode 100644
index e4ae4dcc9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/javascript.twig
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * @file
- * Custom behaviors for {{ layout_name|lower }} layout.
- */
-
-(function (Drupal) {
-
- 'use strict';
-
- Drupal.behaviors.{{ layout_machine_name|camelize(false) }} = {
- attach: function (context, settings) {
-
- console.log('It works!');
-
- }
- };
-
-} (Drupal));
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/layouts.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/layouts.twig
deleted file mode 100644
index 32b789035..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/layouts.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-{{ machine_name }}_{{ layout_machine_name }}:
- label: '{{ layout_name }}'
- category: '{{ category }}'
- path: layouts/{{ layout_machine_name }}
- template: {{ layout_machine_name|u2h }}
-{% if js or css %}
- library: {{ machine_name }}/{{ layout_machine_name }}
-{% endif %}
- regions:
- main:
- label: Main content
- sidebar:
- label: Sidebar
- default_region: main
- icon_map:
- - [main, main, sidebar]
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/libraries.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/libraries.twig
deleted file mode 100644
index 8519d50bd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/libraries.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-{{ layout_machine_name }}:
-{% if js %}
- js:
- layouts/{{ layout_machine_name }}/{{ layout_machine_name|u2h }}.js: {}
-{% endif %}
-{% if css %}
- css:
- component:
- layouts/{{ layout_machine_name }}/{{ layout_machine_name|u2h }}.css: {}
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/styles.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/styles.twig
deleted file mode 100644
index 9b969d256..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/styles.twig
+++ /dev/null
@@ -1,28 +0,0 @@
-.layout--{{ layout_machine_name|u2h }} {
- outline: solid 1px orange;
- display: flex;
- padding: 10px;
-}
-
-.layout--{{ layout_machine_name|u2h }} > .layout__region {
- outline: solid 1px orange;
- margin: 10px;
- padding: 20px;
-}
-
-.layout--{{ layout_machine_name|u2h }} .layout__region--main {
- width: 66%;
-}
-
-.layout--{{ layout_machine_name|u2h }} .layout__region--sidebar {
- width: 33%;
-}
-
-@media all and (max-width: 850px) {
- .layout--{{ layout_machine_name|u2h }} {
- flex-direction: column;
- }
- .layout--{{ layout_machine_name|u2h }} > .layout__region {
- width: auto;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/template.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/template.twig
deleted file mode 100644
index a14b73ab1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/_layout/template.twig
+++ /dev/null
@@ -1,37 +0,0 @@
-{{ '{' }}#
-/**
- * @file
- * Default theme implementation to display {{ layout_name|lower }} layout.
- *
- * Available variables:
- * - content: The content for this layout.
- * - attributes: HTML attributes for the layout wrapper.
- *
- * @ingroup themeable
- */
-#{{ '}' }}
-{{ '{' }}%
- set classes = [
- 'layout',
- 'layout--{{ layout_machine_name|u2h }}',
- ]
-%{{ '}' }}
-{% verbatim %}
-{% if content %}
-
-
- {% if content.main %}
-
- {{ content.main }}
-
- {% endif %}
-
- {% if content.sidebar %}
-
- {{ content.sidebar }}
-
- {% endif %}
-
-
-{% endif %}
-{% endverbatim %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/composer.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/composer.twig
deleted file mode 100644
index f9a7ffd78..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/composer.twig
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "name": "drupal/{{ machine_name }}",
- "type": "{{ type }}",
- "description": "{{ description }}",
- "keywords": ["Drupal"]{{ drupal_org ? ',' }}
-{% if (drupal_org) %}
- "license": "GPL-2.0+",
- "homepage": "https://www.drupal.org/project/{{ machine_name }}",
- "authors": [
- {
- "name": "Your name here",
- "homepage": "https://www.drupal.org/u/your_name_here",
- "role": "Maintainer"
- },
- {
- "name": "Contributors",
- "homepage": "https://www.drupal.org/node/NID/committers",
- "role": "Contributors"
- }
- ],
- "support": {
- "issues": "https://www.drupal.org/project/issues/{{ machine_name }}",
- "source": "http://cgit.drupalcode.org/{{ machine_name }}"
- }
-{% endif %}
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/controller-route.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/controller-route.twig
deleted file mode 100644
index bb4548d85..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/controller-route.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-{{ route_name }}:
- path: '{{ route_path }}'
- defaults:
- _title: '{{ route_title }}'
- _controller: '\Drupal\{{ machine_name }}\Controller\{{ class }}::build'
- requirements:
- _permission: '{{ route_permission }}'
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/controller.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/controller.twig
deleted file mode 100644
index 159f93af7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/controller.twig
+++ /dev/null
@@ -1,54 +0,0 @@
-{% import 'lib/di.twig' as di %}
- 'item',
- '#markup' => $this->t('It works!'),
- ];
-
- return $build;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/file-docs/install.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/file-docs/install.twig
deleted file mode 100644
index d75b805d8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/file-docs/install.twig
+++ /dev/null
@@ -1,6 +0,0 @@
- 'textfield',
- '#title' => $this->t('Example'),
- '#default_value' => $this->config('{{ machine_name }}.settings')->get('example'),
- ];
- return parent::buildForm($form, $form_state);
- }
-
- /**
- * {@inheritdoc}
- */
- public function validateForm(array &$form, FormStateInterface $form_state) {
- if ($form_state->getValue('example') != 'example') {
- $form_state->setErrorByName('example', $this->t('The value is not correct.'));
- }
- parent::validateForm($form, $form_state);
- }
-
- /**
- * {@inheritdoc}
- */
- public function submitForm(array &$form, FormStateInterface $form_state) {
- $this->config('{{ machine_name }}.settings')
- ->set('example', $form_state->getValue('example'))
- ->save();
- parent::submitForm($form, $form_state);
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/form/confirm.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/form/confirm.twig
deleted file mode 100644
index 903bb1e13..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/form/confirm.twig
+++ /dev/null
@@ -1,44 +0,0 @@
-t('Are you sure you want to do this?');
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCancelUrl() {
- return new Url('system.admin_config');
- }
-
- /**
- * {@inheritdoc}
- */
- public function submitForm(array &$form, FormStateInterface $form_state) {
- // @DCG Place your code here.
- $this->messenger()->addStatus($this->t('Done!'));
- $form_state->setRedirectUrl($this->getCancelUrl());
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/form/route.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/form/route.twig
deleted file mode 100644
index 00533570e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/form/route.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-{{ route_name }}:
- path: '{{ route_path }}'
- defaults:
- _title: '{{ route_title }}'
- _form: 'Drupal\{{ machine_name }}\Form\{{ class }}'
- requirements:
- _permission: '{{ route_permission }}'
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/form/simple.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/form/simple.twig
deleted file mode 100644
index 396b3e260..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/form/simple.twig
+++ /dev/null
@@ -1,59 +0,0 @@
- 'textarea',
- '#title' => $this->t('Message'),
- '#required' => TRUE,
- ];
-
- $form['actions'] = [
- '#type' => 'actions',
- ];
- $form['actions']['submit'] = [
- '#type' => 'submit',
- '#value' => $this->t('Send'),
- ];
-
- return $form;
- }
-
- /**
- * {@inheritdoc}
- */
- public function validateForm(array &$form, FormStateInterface $form_state) {
- if (mb_strlen($form_state->getValue('message')) < 10) {
- $form_state->setErrorByName('name', $this->t('Message should be at least 10 characters.'));
- }
- }
-
- /**
- * {@inheritdoc}
- */
- public function submitForm(array &$form, FormStateInterface $form_state) {
- $this->messenger()->addStatus($this->t('The message has been sent.'));
- $form_state->setRedirect('');
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_access.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_access.twig
deleted file mode 100644
index a939b5431..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_access.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_access().
- */
-function {{ machine_name }}_ENTITY_TYPE_access(\Drupal\Core\Entity\EntityInterface $entity, $operation, \Drupal\Core\Session\AccountInterface $account) {
- // No opinion.
- return AccessResult::neutral();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_build_defaults_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_build_defaults_alter.twig
deleted file mode 100644
index ff9841f6a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_build_defaults_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_build_defaults_alter().
- */
-function {{ machine_name }}_ENTITY_TYPE_build_defaults_alter(array &$build, \Drupal\Core\Entity\EntityInterface $entity, $view_mode) {
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_create.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_create.twig
deleted file mode 100644
index 812b30b7a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_create.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_create().
- */
-function {{ machine_name }}_ENTITY_TYPE_create(\Drupal\Core\Entity\EntityInterface $entity) {
- \Drupal::logger('example')->info('ENTITY_TYPE created: @label', ['@label' => $entity->label()]);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_create_access.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_create_access.twig
deleted file mode 100644
index 941b7c5c4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_create_access.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_create_access().
- */
-function {{ machine_name }}_ENTITY_TYPE_create_access(\Drupal\Core\Session\AccountInterface $account, array $context, $entity_bundle) {
- // No opinion.
- return AccessResult::neutral();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_delete.twig
deleted file mode 100644
index 3e8e6b9c4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_delete.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_delete().
- */
-function {{ machine_name }}_ENTITY_TYPE_delete(Drupal\Core\Entity\EntityInterface $entity) {
- // Delete the entity's entry from a fictional table of all entities.
- \Drupal::database()->delete('example_entity')
- ->condition('type', $entity->getEntityTypeId())
- ->condition('id', $entity->id())
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_field_values_init.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_field_values_init.twig
deleted file mode 100644
index ac7ec12be..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_field_values_init.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_field_values_init().
- */
-function {{ machine_name }}_ENTITY_TYPE_field_values_init(\Drupal\Core\Entity\FieldableEntityInterface $entity) {
- if (!$entity->foo->value) {
- $entity->foo->value = 'some_initial_value';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_insert.twig
deleted file mode 100644
index 744ad4893..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_insert.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_insert().
- */
-function {{ machine_name }}_ENTITY_TYPE_insert(Drupal\Core\Entity\EntityInterface $entity) {
- // Insert the new entity into a fictional table of this type of entity.
- \Drupal::database()->insert('example_entity')
- ->fields([
- 'id' => $entity->id(),
- 'created' => REQUEST_TIME,
- 'updated' => REQUEST_TIME,
- ])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_load.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_load.twig
deleted file mode 100644
index 6eeaf817b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_load.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_load().
- */
-function {{ machine_name }}_ENTITY_TYPE_load($entities) {
- foreach ($entities as $entity) {
- $entity->foo = mymodule_add_something($entity);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_predelete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_predelete.twig
deleted file mode 100644
index d4572f5d0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_predelete.twig
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_predelete().
- */
-function {{ machine_name }}_ENTITY_TYPE_predelete(Drupal\Core\Entity\EntityInterface $entity) {
- $connection = \Drupal::database();
- // Count references to this entity in a custom table before they are removed
- // upon entity deletion.
- $id = $entity->id();
- $type = $entity->getEntityTypeId();
- $count = \Drupal::database()->select('example_entity_data')
- ->condition('type', $type)
- ->condition('id', $id)
- ->countQuery()
- ->execute()
- ->fetchField();
-
- // Log the count in a table that records this statistic for deleted entities.
- $connection->merge('example_deleted_entity_statistics')
- ->key(['type' => $type, 'id' => $id])
- ->fields(['count' => $count])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_prepare_form.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_prepare_form.twig
deleted file mode 100644
index baeba52c5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_prepare_form.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_prepare_form().
- */
-function {{ machine_name }}_ENTITY_TYPE_prepare_form(\Drupal\Core\Entity\EntityInterface $entity, $operation, \Drupal\Core\Form\FormStateInterface $form_state) {
- if ($operation == 'edit') {
- $entity->label->value = 'Altered label';
- $form_state->set('label_altered', TRUE);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_presave.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_presave.twig
deleted file mode 100644
index 2e3c0967c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_presave.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_presave().
- */
-function {{ machine_name }}_ENTITY_TYPE_presave(Drupal\Core\Entity\EntityInterface $entity) {
- if ($entity->isTranslatable()) {
- $route_match = \Drupal::routeMatch();
- \Drupal::service('content_translation.synchronizer')->synchronizeFields($entity, $entity->language()->getId(), $route_match->getParameter('source_langcode'));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_revision_create.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_revision_create.twig
deleted file mode 100644
index ed6a01185..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_revision_create.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_revision_create().
- */
-function {{ machine_name }}_ENTITY_TYPE_revision_create(Drupal\Core\Entity\EntityInterface $new_revision, Drupal\Core\Entity\EntityInterface $entity, $keep_untranslatable_fields) {
- // Retain the value from an untranslatable field, which are by default
- // synchronized from the default revision.
- $new_revision->set('untranslatable_field', $entity->get('untranslatable_field'));
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_revision_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_revision_delete.twig
deleted file mode 100644
index 59e4f6385..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_revision_delete.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_revision_delete().
- */
-function {{ machine_name }}_ENTITY_TYPE_revision_delete(Drupal\Core\Entity\EntityInterface $entity) {
- $referenced_files_by_field = _editor_get_file_uuids_by_field($entity);
- foreach ($referenced_files_by_field as $field => $uuids) {
- _editor_delete_file_usage($uuids, $entity, 1);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_storage_load.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_storage_load.twig
deleted file mode 100644
index 8318cc444..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_storage_load.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_storage_load().
- */
-function {{ machine_name }}_ENTITY_TYPE_storage_load(array $entities) {
- foreach ($entities as $entity) {
- $entity->foo = mymodule_add_something_uncached($entity);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_translation_create.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_translation_create.twig
deleted file mode 100644
index 1ff6d5d83..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_translation_create.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_translation_create().
- */
-function {{ machine_name }}_ENTITY_TYPE_translation_create(\Drupal\Core\Entity\EntityInterface $translation) {
- \Drupal::logger('example')->info('ENTITY_TYPE translation created: @label', ['@label' => $translation->label()]);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_translation_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_translation_delete.twig
deleted file mode 100644
index b583fde94..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_translation_delete.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_translation_delete().
- */
-function {{ machine_name }}_ENTITY_TYPE_translation_delete(\Drupal\Core\Entity\EntityInterface $translation) {
- $variables = [
- '@language' => $translation->language()->getName(),
- '@label' => $translation->label(),
- ];
- \Drupal::logger('example')->notice('The @language translation of @label has just been deleted.', $variables);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_translation_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_translation_insert.twig
deleted file mode 100644
index 604470a8b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_translation_insert.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_translation_insert().
- */
-function {{ machine_name }}_ENTITY_TYPE_translation_insert(\Drupal\Core\Entity\EntityInterface $translation) {
- $variables = [
- '@language' => $translation->language()->getName(),
- '@label' => $translation->getUntranslated()->label(),
- ];
- \Drupal::logger('example')->notice('The @language translation of @label has just been stored.', $variables);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_update.twig
deleted file mode 100644
index ad79d58bc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_update.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_update().
- */
-function {{ machine_name }}_ENTITY_TYPE_update(Drupal\Core\Entity\EntityInterface $entity) {
- // Update the entity's entry in a fictional table of this type of entity.
- \Drupal::database()->update('example_entity')
- ->fields([
- 'updated' => REQUEST_TIME,
- ])
- ->condition('id', $entity->id())
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_view.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_view.twig
deleted file mode 100644
index dd53624ce..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_view.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_view().
- */
-function {{ machine_name }}_ENTITY_TYPE_view(array &$build, \Drupal\Core\Entity\EntityInterface $entity, \Drupal\Core\Entity\Display\EntityViewDisplayInterface $display, $view_mode) {
- // Only do the extra work if the component is configured to be displayed.
- // This assumes a 'mymodule_addition' extra field has been defined for the
- // entity bundle in hook_entity_extra_field_info().
- if ($display->getComponent('mymodule_addition')) {
- $build['mymodule_addition'] = [
- '#markup' => mymodule_addition($entity),
- '#theme' => 'mymodule_my_additional_field',
- ];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_view_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_view_alter.twig
deleted file mode 100644
index 3c814b2f2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ENTITY_TYPE_view_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_ENTITY_TYPE_view_alter().
- */
-function {{ machine_name }}_ENTITY_TYPE_view_alter(array &$build, Drupal\Core\Entity\EntityInterface $entity, \Drupal\Core\Entity\Display\EntityViewDisplayInterface $display) {
- if ($build['#view_mode'] == 'full' && isset($build['an_additional_field'])) {
- // Change its weight.
- $build['an_additional_field']['#weight'] = -10;
-
- // Add a #post_render callback to act on the rendered HTML of the entity.
- $build['#post_render'][] = 'my_module_node_post_render';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/aggregator_fetcher_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/aggregator_fetcher_info_alter.twig
deleted file mode 100644
index 4388910b3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/aggregator_fetcher_info_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_aggregator_fetcher_info_alter().
- */
-function {{ machine_name }}_aggregator_fetcher_info_alter(array &$info) {
- if (empty($info['foo_fetcher'])) {
- return;
- }
-
- $info['foo_fetcher']['class'] = Drupal\foo\Plugin\aggregator\fetcher\FooDefaultFetcher::class;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/aggregator_parser_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/aggregator_parser_info_alter.twig
deleted file mode 100644
index 1d1c074c7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/aggregator_parser_info_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_aggregator_parser_info_alter().
- */
-function {{ machine_name }}_aggregator_parser_info_alter(array &$info) {
- if (empty($info['foo_parser'])) {
- return;
- }
-
- $info['foo_parser']['class'] = Drupal\foo\Plugin\aggregator\parser\FooDefaultParser::class;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/aggregator_processor_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/aggregator_processor_info_alter.twig
deleted file mode 100644
index b74888128..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/aggregator_processor_info_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_aggregator_processor_info_alter().
- */
-function {{ machine_name }}_aggregator_processor_info_alter(array &$info) {
- if (empty($info['foo_processor'])) {
- return;
- }
-
- $info['foo_processor']['class'] = Drupal\foo\Plugin\aggregator\processor\FooDefaultProcessor::class;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ajax_render_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ajax_render_alter.twig
deleted file mode 100644
index 02a1bcfc8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ajax_render_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_ajax_render_alter().
- */
-function {{ machine_name }}_ajax_render_alter(array &$data) {
- // Inject any new status messages into the content area.
- $status_messages = ['#type' => 'status_messages'];
- $command = new \Drupal\Core\Ajax\PrependCommand('#block-system-main .content', \Drupal::service('renderer')->renderRoot($status_messages));
- $data[] = $command->render();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/archiver_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/archiver_info_alter.twig
deleted file mode 100644
index 6fc231918..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/archiver_info_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_archiver_info_alter().
- */
-function {{ machine_name }}_archiver_info_alter(&$info) {
- $info['tar']['extensions'][] = 'tgz';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/batch_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/batch_alter.twig
deleted file mode 100644
index 50a73045c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/batch_alter.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Implements hook_batch_alter().
- */
-function {{ machine_name }}_batch_alter(&$batch) {
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_access.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_access.twig
deleted file mode 100644
index 970128e1a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_access.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_block_access().
- */
-function {{ machine_name }}_block_access(\Drupal\block\Entity\Block $block, $operation, \Drupal\Core\Session\AccountInterface $account) {
- // Example code that would prevent displaying the 'Powered by Drupal' block in
- // a region different than the footer.
- if ($operation == 'view' && $block->getPluginId() == 'system_powered_by_block') {
- return AccessResult::forbiddenIf($block->getRegion() != 'footer')->addCacheableDependency($block);
- }
-
- // No opinion.
- return AccessResult::neutral();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_build_BASE_BLOCK_ID_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_build_BASE_BLOCK_ID_alter.twig
deleted file mode 100644
index 335b51bb4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_build_BASE_BLOCK_ID_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_block_build_BASE_BLOCK_ID_alter().
- */
-function {{ machine_name }}_block_build_BASE_BLOCK_ID_alter(array &$build, \Drupal\Core\Block\BlockPluginInterface $block) {
- // Explicitly enable placeholdering of the specific block.
- $build['#create_placeholder'] = TRUE;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_build_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_build_alter.twig
deleted file mode 100644
index 9c5bf293d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_build_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_block_build_alter().
- */
-function {{ machine_name }}_block_build_alter(array &$build, \Drupal\Core\Block\BlockPluginInterface $block) {
- // Add the 'user' cache context to some blocks.
- if ($block->label() === 'some condition') {
- $build['#cache']['contexts'][] = 'user';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_view_BASE_BLOCK_ID_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_view_BASE_BLOCK_ID_alter.twig
deleted file mode 100644
index 35bfe638b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_view_BASE_BLOCK_ID_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_block_view_BASE_BLOCK_ID_alter().
- */
-function {{ machine_name }}_block_view_BASE_BLOCK_ID_alter(array &$build, \Drupal\Core\Block\BlockPluginInterface $block) {
- // Change the title of the specific block.
- $build['#title'] = t('New title of the block');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_view_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_view_alter.twig
deleted file mode 100644
index 6a112f443..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/block_view_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_block_view_alter().
- */
-function {{ machine_name }}_block_view_alter(array &$build, \Drupal\Core\Block\BlockPluginInterface $block) {
- // Remove the contextual links on all blocks that provide them.
- if (isset($build['#contextual_links'])) {
- unset($build['#contextual_links']);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/cache_flush.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/cache_flush.twig
deleted file mode 100644
index 9bacaf71f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/cache_flush.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_cache_flush().
- */
-function {{ machine_name }}_cache_flush() {
- if (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'update') {
- _update_cache_clear();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ckeditor_css_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ckeditor_css_alter.twig
deleted file mode 100644
index 90ed85e62..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ckeditor_css_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_ckeditor_css_alter().
- */
-function {{ machine_name }}_ckeditor_css_alter(array &$css, Editor $editor) {
- $css[] = drupal_get_path('module', 'mymodule') . '/css/mymodule-ckeditor.css';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ckeditor_plugin_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ckeditor_plugin_info_alter.twig
deleted file mode 100644
index 929e37213..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ckeditor_plugin_info_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_ckeditor_plugin_info_alter().
- */
-function {{ machine_name }}_ckeditor_plugin_info_alter(array &$plugins) {
- $plugins['someplugin']['label'] = t('Better name');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/comment_links_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/comment_links_alter.twig
deleted file mode 100644
index 196d99cf4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/comment_links_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_comment_links_alter().
- */
-function {{ machine_name }}_comment_links_alter(array &$links, CommentInterface $entity, array &$context) {
- $links['mymodule'] = [
- '#theme' => 'links__comment__mymodule',
- '#attributes' => ['class' => ['links', 'inline']],
- '#links' => [
- 'comment-report' => [
- 'title' => t('Report'),
- 'url' => Url::fromRoute('comment_test.report', ['comment' => $entity->id()], ['query' => ['token' => \Drupal::getContainer()->get('csrf_token')->get("comment/{$entity->id()}/report")]]),
- ],
- ],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_import_steps_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_import_steps_alter.twig
deleted file mode 100644
index 6c4fc9cbb..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_import_steps_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_config_import_steps_alter().
- */
-function {{ machine_name }}_config_import_steps_alter(&$sync_steps, \Drupal\Core\Config\ConfigImporter $config_importer) {
- $deletes = $config_importer->getUnprocessedConfiguration('delete');
- if (isset($deletes['field.storage.node.body'])) {
- $sync_steps[] = '_additional_configuration_step';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_schema_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_schema_info_alter.twig
deleted file mode 100644
index c6821c9ca..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_schema_info_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_config_schema_info_alter().
- */
-function {{ machine_name }}_config_schema_info_alter(&$definitions) {
- // Enhance the text and date type definitions with classes to generate proper
- // form elements in ConfigTranslationFormBase. Other translatable types will
- // appear as a one line textfield.
- $definitions['text']['form_element_class'] = '\Drupal\config_translation\FormElement\Textarea';
- $definitions['date_format']['form_element_class'] = '\Drupal\config_translation\FormElement\DateFormat';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_translation_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_translation_info.twig
deleted file mode 100644
index 73af8dbcc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_translation_info.twig
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Implements hook_config_translation_info().
- */
-function {{ machine_name }}_config_translation_info(&$info) {
- $entity_manager = \Drupal::entityManager();
- $route_provider = \Drupal::service('router.route_provider');
-
- // If field UI is not enabled, the base routes of the type
- // "entity.field_config.{$entity_type}_field_edit_form" are not defined.
- if (\Drupal::moduleHandler()->moduleExists('field_ui')) {
- // Add fields entity mappers to all fieldable entity types defined.
- foreach ($entity_manager->getDefinitions() as $entity_type_id => $entity_type) {
- $base_route = NULL;
- try {
- $base_route = $route_provider->getRouteByName('entity.field_config.' . $entity_type_id . '_field_edit_form');
- }
- catch (RouteNotFoundException $e) {
- // Ignore non-existent routes.
- }
-
- // Make sure entity type has field UI enabled and has a base route.
- if ($entity_type->get('field_ui_base_route') && !empty($base_route)) {
- $info[$entity_type_id . '_fields'] = [
- 'base_route_name' => 'entity.field_config.' . $entity_type_id . '_field_edit_form',
- 'entity_type' => 'field_config',
- 'title' => t('Title'),
- 'class' => '\Drupal\config_translation\ConfigFieldMapper',
- 'base_entity_type' => $entity_type_id,
- 'weight' => 10,
- ];
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_translation_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_translation_info_alter.twig
deleted file mode 100644
index b0ed1ed96..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/config_translation_info_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_config_translation_info_alter().
- */
-function {{ machine_name }}_config_translation_info_alter(&$info) {
- // Add additional site settings to the site information screen, so it shows
- // up on the translation screen. (Form alter in the elements whose values are
- // stored in this config file using regular form altering on the original
- // configuration form.)
- $info['system.site_information_settings']['names'][] = 'example.site.setting';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/contextual_links_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/contextual_links_alter.twig
deleted file mode 100644
index 9278ebd83..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/contextual_links_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_contextual_links_alter().
- */
-function {{ machine_name }}_contextual_links_alter(array &$links, $group, array $route_parameters) {
- if ($group == 'menu') {
- // Dynamically use the menu name for the title of the menu_edit contextual
- // link.
- $menu = \Drupal::entityManager()->getStorage('menu')->load($route_parameters['menu']);
- $links['menu_edit']['title'] = t('Edit menu: @label', ['@label' => $menu->label()]);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/contextual_links_plugins_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/contextual_links_plugins_alter.twig
deleted file mode 100644
index f4ca37b2c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/contextual_links_plugins_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_contextual_links_plugins_alter().
- */
-function {{ machine_name }}_contextual_links_plugins_alter(array &$contextual_links) {
- $contextual_links['menu_edit']['title'] = 'Edit the menu';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/contextual_links_view_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/contextual_links_view_alter.twig
deleted file mode 100644
index 68bacd9e9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/contextual_links_view_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_contextual_links_view_alter().
- */
-function {{ machine_name }}_contextual_links_view_alter(&$element, $items) {
- // Add another class to all contextual link lists to facilitate custom
- // styling.
- $element['#attributes']['class'][] = 'custom-class';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/countries_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/countries_alter.twig
deleted file mode 100644
index bff6dfa06..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/countries_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_countries_alter().
- */
-function {{ machine_name }}_countries_alter(&$countries) {
- // Elbonia is now independent, so add it to the country list.
- $countries['EB'] = 'Elbonia';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/cron.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/cron.twig
deleted file mode 100644
index 9dc85f3f7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/cron.twig
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Implements hook_cron().
- */
-function {{ machine_name }}_cron() {
- // Short-running operation example, not using a queue:
- // Delete all expired records since the last cron run.
- $expires = \Drupal::state()->get('mymodule.last_check', 0);
- \Drupal::database()->delete('mymodule_table')
- ->condition('expires', $expires, '>=')
- ->execute();
- \Drupal::state()->set('mymodule.last_check', REQUEST_TIME);
-
- // Long-running operation example, leveraging a queue:
- // Queue news feeds for updates once their refresh interval has elapsed.
- $queue = \Drupal::queue('aggregator_feeds');
- $ids = \Drupal::entityManager()->getStorage('aggregator_feed')->getFeedIdsToRefresh();
- foreach (Feed::loadMultiple($ids) as $feed) {
- if ($queue->createItem($feed)) {
- // Add timestamp to avoid queueing item more than once.
- $feed->setQueuedTime(REQUEST_TIME);
- $feed->save();
- }
- }
- $ids = \Drupal::entityQuery('aggregator_feed')
- ->condition('queued', REQUEST_TIME - (3600 * 6), '<')
- ->execute();
- if ($ids) {
- $feeds = Feed::loadMultiple($ids);
- foreach ($feeds as $feed) {
- $feed->setQueuedTime(0);
- $feed->save();
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/css_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/css_alter.twig
deleted file mode 100644
index 5c5d8f0ae..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/css_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_css_alter().
- */
-function {{ machine_name }}_css_alter(&$css, \Drupal\Core\Asset\AttachedAssetsInterface $assets) {
- // Remove defaults.css file.
- unset($css[drupal_get_path('module', 'system') . '/defaults.css']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/data_type_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/data_type_info_alter.twig
deleted file mode 100644
index f040b0a9f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/data_type_info_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_data_type_info_alter().
- */
-function {{ machine_name }}_data_type_info_alter(&$data_types) {
- $data_types['email']['class'] = '\Drupal\mymodule\Type\Email';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/display_variant_plugin_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/display_variant_plugin_alter.twig
deleted file mode 100644
index 536eda54f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/display_variant_plugin_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_display_variant_plugin_alter().
- */
-function {{ machine_name }}_display_variant_plugin_alter(array &$definitions) {
- $definitions['full_page']['admin_label'] = t('Block layout');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/editor_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/editor_info_alter.twig
deleted file mode 100644
index ba06f09e4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/editor_info_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_editor_info_alter().
- */
-function {{ machine_name }}_editor_info_alter(array &$editors) {
- $editors['some_other_editor']['label'] = t('A different name');
- $editors['some_other_editor']['library']['module'] = 'myeditoroverride';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/editor_js_settings_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/editor_js_settings_alter.twig
deleted file mode 100644
index 71270711e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/editor_js_settings_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_editor_js_settings_alter().
- */
-function {{ machine_name }}_editor_js_settings_alter(array &$settings) {
- if (isset($settings['editor']['formats']['basic_html'])) {
- $settings['editor']['formats']['basic_html']['editor'] = 'MyDifferentEditor';
- $settings['editor']['formats']['basic_html']['editorSettings']['buttons'] = ['strong', 'italic', 'underline'];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/editor_xss_filter_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/editor_xss_filter_alter.twig
deleted file mode 100644
index b6d3b5bd3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/editor_xss_filter_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_editor_xss_filter_alter().
- */
-function {{ machine_name }}_editor_xss_filter_alter(&$editor_xss_filter_class, FilterFormatInterface $format, FilterFormatInterface $original_format = NULL) {
- $filters = $format->filters()->getAll();
- if (isset($filters['filter_wysiwyg']) && $filters['filter_wysiwyg']->status) {
- $editor_xss_filter_class = '\Drupal\filter_wysiwyg\EditorXssFilter\WysiwygFilter';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/element_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/element_info_alter.twig
deleted file mode 100644
index b0eee5285..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/element_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_element_info_alter().
- */
-function {{ machine_name }}_element_info_alter(array &$info) {
- // Decrease the default size of textfields.
- if (isset($info['textfield']['#size'])) {
- $info['textfield']['#size'] = 40;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_access.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_access.twig
deleted file mode 100644
index c22b583d1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_access.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_entity_access().
- */
-function {{ machine_name }}_entity_access(\Drupal\Core\Entity\EntityInterface $entity, $operation, \Drupal\Core\Session\AccountInterface $account) {
- // No opinion.
- return AccessResult::neutral();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_base_field_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_base_field_info.twig
deleted file mode 100644
index 8f4e1ac16..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_base_field_info.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_entity_base_field_info().
- */
-function {{ machine_name }}_entity_base_field_info(\Drupal\Core\Entity\EntityTypeInterface $entity_type) {
- if ($entity_type->id() == 'node') {
- $fields = [];
- $fields['mymodule_text'] = BaseFieldDefinition::create('string')
- ->setLabel(t('The text'))
- ->setDescription(t('A text property added by mymodule.'))
- ->setComputed(TRUE)
- ->setClass('\Drupal\mymodule\EntityComputedText');
-
- return $fields;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_base_field_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_base_field_info_alter.twig
deleted file mode 100644
index 594d2aa59..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_base_field_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_base_field_info_alter().
- */
-function {{ machine_name }}_entity_base_field_info_alter(&$fields, \Drupal\Core\Entity\EntityTypeInterface $entity_type) {
- // Alter the mymodule_text field to use a custom class.
- if ($entity_type->id() == 'node' && !empty($fields['mymodule_text'])) {
- $fields['mymodule_text']->setClass('\Drupal\anothermodule\EntityComputedText');
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_build_defaults_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_build_defaults_alter.twig
deleted file mode 100644
index 1e6ab7aba..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_build_defaults_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_entity_build_defaults_alter().
- */
-function {{ machine_name }}_entity_build_defaults_alter(array &$build, \Drupal\Core\Entity\EntityInterface $entity, $view_mode) {
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_create.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_create.twig
deleted file mode 100644
index dc83623cf..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_create.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_entity_bundle_create().
- */
-function {{ machine_name }}_entity_bundle_create($entity_type_id, $bundle) {
- // When a new bundle is created, the menu needs to be rebuilt to add the
- // Field UI menu item tabs.
- \Drupal::service('router.builder')->setRebuildNeeded();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_delete.twig
deleted file mode 100644
index 3dc879a9e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_delete.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_entity_bundle_delete().
- */
-function {{ machine_name }}_entity_bundle_delete($entity_type_id, $bundle) {
- // Remove the settings associated with the bundle in my_module.settings.
- $config = \Drupal::config('my_module.settings');
- $bundle_settings = $config->get('bundle_settings');
- if (isset($bundle_settings[$entity_type_id][$bundle])) {
- unset($bundle_settings[$entity_type_id][$bundle]);
- $config->set('bundle_settings', $bundle_settings);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_field_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_field_info.twig
deleted file mode 100644
index 001f0d86b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_field_info.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_entity_bundle_field_info().
- */
-function {{ machine_name }}_entity_bundle_field_info(\Drupal\Core\Entity\EntityTypeInterface $entity_type, $bundle, array $base_field_definitions) {
- // Add a property only to nodes of the 'article' bundle.
- if ($entity_type->id() == 'node' && $bundle == 'article') {
- $fields = [];
- $fields['mymodule_text_more'] = BaseFieldDefinition::create('string')
- ->setLabel(t('More text'))
- ->setComputed(TRUE)
- ->setClass('\Drupal\mymodule\EntityComputedMoreText');
- return $fields;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_field_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_field_info_alter.twig
deleted file mode 100644
index 21217921b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_field_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_bundle_field_info_alter().
- */
-function {{ machine_name }}_entity_bundle_field_info_alter(&$fields, \Drupal\Core\Entity\EntityTypeInterface $entity_type, $bundle) {
- if ($entity_type->id() == 'node' && $bundle == 'article' && !empty($fields['mymodule_text'])) {
- // Alter the mymodule_text field to use a custom class.
- $fields['mymodule_text']->setClass('\Drupal\anothermodule\EntityComputedText');
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_info.twig
deleted file mode 100644
index 74035b0ae..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_info.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_entity_bundle_info().
- */
-function {{ machine_name }}_entity_bundle_info() {
- $bundles['user']['user']['label'] = t('User');
- return $bundles;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_info_alter.twig
deleted file mode 100644
index 752be0394..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_bundle_info_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_entity_bundle_info_alter().
- */
-function {{ machine_name }}_entity_bundle_info_alter(&$bundles) {
- $bundles['user']['user']['label'] = t('Full account');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_create.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_create.twig
deleted file mode 100644
index 9fa38f8e8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_create.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_entity_create().
- */
-function {{ machine_name }}_entity_create(\Drupal\Core\Entity\EntityInterface $entity) {
- \Drupal::logger('example')->info('Entity created: @label', ['@label' => $entity->label()]);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_create_access.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_create_access.twig
deleted file mode 100644
index af7593376..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_create_access.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_entity_create_access().
- */
-function {{ machine_name }}_entity_create_access(\Drupal\Core\Session\AccountInterface $account, array $context, $entity_bundle) {
- // No opinion.
- return AccessResult::neutral();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_delete.twig
deleted file mode 100644
index f893f3d85..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_delete.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_entity_delete().
- */
-function {{ machine_name }}_entity_delete(Drupal\Core\Entity\EntityInterface $entity) {
- // Delete the entity's entry from a fictional table of all entities.
- \Drupal::database()->delete('example_entity')
- ->condition('type', $entity->getEntityTypeId())
- ->condition('id', $entity->id())
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_display_build_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_display_build_alter.twig
deleted file mode 100644
index 330be3dbe..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_display_build_alter.twig
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Implements hook_entity_display_build_alter().
- */
-function {{ machine_name }}_entity_display_build_alter(&$build, $context) {
- // Append RDF term mappings on displayed taxonomy links.
- foreach (Element::children($build) as $field_name) {
- $element = &$build[$field_name];
- if ($element['#field_type'] == 'entity_reference' && $element['#formatter'] == 'entity_reference_label') {
- foreach ($element['#items'] as $delta => $item) {
- $term = $item->entity;
- if (!empty($term->rdf_mapping['rdftype'])) {
- $element[$delta]['#options']['attributes']['typeof'] = $term->rdf_mapping['rdftype'];
- }
- if (!empty($term->rdf_mapping['name']['predicates'])) {
- $element[$delta]['#options']['attributes']['property'] = $term->rdf_mapping['name']['predicates'];
- }
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_extra_field_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_extra_field_info.twig
deleted file mode 100644
index 9badf0a9f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_extra_field_info.twig
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Implements hook_entity_extra_field_info().
- */
-function {{ machine_name }}_entity_extra_field_info() {
- $extra = [];
- $module_language_enabled = \Drupal::moduleHandler()->moduleExists('language');
- $description = t('Node module element');
-
- foreach (NodeType::loadMultiple() as $bundle) {
-
- // Add also the 'language' select if Language module is enabled and the
- // bundle has multilingual support.
- // Visibility of the ordering of the language selector is the same as on the
- // node/add form.
- if ($module_language_enabled) {
- $configuration = ContentLanguageSettings::loadByEntityTypeBundle('node', $bundle->id());
- if ($configuration->isLanguageAlterable()) {
- $extra['node'][$bundle->id()]['form']['language'] = [
- 'label' => t('Language'),
- 'description' => $description,
- 'weight' => 0,
- ];
- }
- }
- $extra['node'][$bundle->id()]['display']['language'] = [
- 'label' => t('Language'),
- 'description' => $description,
- 'weight' => 0,
- 'visible' => FALSE,
- ];
- }
-
- return $extra;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_extra_field_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_extra_field_info_alter.twig
deleted file mode 100644
index 06d8e80c7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_extra_field_info_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_entity_extra_field_info_alter().
- */
-function {{ machine_name }}_entity_extra_field_info_alter(&$info) {
- // Force node title to always be at the top of the list by default.
- foreach (NodeType::loadMultiple() as $bundle) {
- if (isset($info['node'][$bundle->id()]['form']['title'])) {
- $info['node'][$bundle->id()]['form']['title']['weight'] = -20;
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_access.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_access.twig
deleted file mode 100644
index 6ea8d4a65..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_access.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_field_access().
- */
-function {{ machine_name }}_entity_field_access($operation, \Drupal\Core\Field\FieldDefinitionInterface $field_definition, \Drupal\Core\Session\AccountInterface $account, \Drupal\Core\Field\FieldItemListInterface $items = NULL) {
- if ($field_definition->getName() == 'field_of_interest' && $operation == 'edit') {
- return AccessResult::allowedIfHasPermission($account, 'update field of interest');
- }
- return AccessResult::neutral();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_access_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_access_alter.twig
deleted file mode 100644
index 7982a8241..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_access_alter.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_entity_field_access_alter().
- */
-function {{ machine_name }}_entity_field_access_alter(array &$grants, array $context) {
- /** @var \Drupal\Core\Field\FieldDefinitionInterface $field_definition */
- $field_definition = $context['field_definition'];
- if ($field_definition->getName() == 'field_of_interest' && $grants['node']->isForbidden()) {
- // Override node module's restriction to no opinion (neither allowed nor
- // forbidden). We don't want to provide our own access hook, we only want to
- // take out node module's part in the access handling of this field. We also
- // don't want to switch node module's grant to
- // AccessResultInterface::isAllowed() , because the grants of other modules
- // should still decide on their own if this field is accessible or not
- $grants['node'] = AccessResult::neutral()->inheritCacheability($grants['node']);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_storage_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_storage_info.twig
deleted file mode 100644
index 132654974..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_storage_info.twig
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Implements hook_entity_field_storage_info().
- */
-function {{ machine_name }}_entity_field_storage_info(\Drupal\Core\Entity\EntityTypeInterface $entity_type) {
- if (\Drupal::entityManager()->getStorage($entity_type->id()) instanceof DynamicallyFieldableEntityStorageInterface) {
- // Query by filtering on the ID as this is more efficient than filtering
- // on the entity_type property directly.
- $ids = \Drupal::entityQuery('field_storage_config')
- ->condition('id', $entity_type->id() . '.', 'STARTS_WITH')
- ->execute();
- // Fetch all fields and key them by field name.
- $field_storages = FieldStorageConfig::loadMultiple($ids);
- $result = [];
- foreach ($field_storages as $field_storage) {
- $result[$field_storage->getName()] = $field_storage;
- }
-
- return $result;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_storage_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_storage_info_alter.twig
deleted file mode 100644
index ea6413133..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_storage_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_field_storage_info_alter().
- */
-function {{ machine_name }}_entity_field_storage_info_alter(&$fields, \Drupal\Core\Entity\EntityTypeInterface $entity_type) {
- // Alter the max_length setting.
- if ($entity_type->id() == 'node' && !empty($fields['mymodule_text'])) {
- $fields['mymodule_text']->setSetting('max_length', 128);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_values_init.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_values_init.twig
deleted file mode 100644
index 1d15bc362..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_field_values_init.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_entity_field_values_init().
- */
-function {{ machine_name }}_entity_field_values_init(\Drupal\Core\Entity\FieldableEntityInterface $entity) {
- if ($entity instanceof \Drupal\Core\Entity\ContentEntityInterface && !$entity->foo->value) {
- $entity->foo->value = 'some_initial_value';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_form_display_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_form_display_alter.twig
deleted file mode 100644
index 5dad932a6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_form_display_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_entity_form_display_alter().
- */
-function {{ machine_name }}_entity_form_display_alter(\Drupal\Core\Entity\Display\EntityFormDisplayInterface $form_display, array $context) {
- // Hide the 'user_picture' field from the register form.
- if ($context['entity_type'] == 'user' && $context['form_mode'] == 'register') {
- $form_display->setComponent('user_picture', [
- 'region' => 'hidden',
- ]);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_insert.twig
deleted file mode 100644
index 5fa1b9a94..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_insert.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_entity_insert().
- */
-function {{ machine_name }}_entity_insert(Drupal\Core\Entity\EntityInterface $entity) {
- // Insert the new entity into a fictional table of all entities.
- \Drupal::database()->insert('example_entity')
- ->fields([
- 'type' => $entity->getEntityTypeId(),
- 'id' => $entity->id(),
- 'created' => REQUEST_TIME,
- 'updated' => REQUEST_TIME,
- ])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_load.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_load.twig
deleted file mode 100644
index 1d6d48df7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_load.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_entity_load().
- */
-function {{ machine_name }}_entity_load(array $entities, $entity_type_id) {
- foreach ($entities as $entity) {
- $entity->foo = mymodule_add_something($entity);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_operation.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_operation.twig
deleted file mode 100644
index e86fe35db..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_operation.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_entity_operation().
- */
-function {{ machine_name }}_entity_operation(\Drupal\Core\Entity\EntityInterface $entity) {
- $operations = [];
- $operations['translate'] = [
- 'title' => t('Translate'),
- 'url' => \Drupal\Core\Url::fromRoute('foo_module.entity.translate'),
- 'weight' => 50,
- ];
-
- return $operations;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_operation_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_operation_alter.twig
deleted file mode 100644
index a16f03156..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_operation_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_entity_operation_alter().
- */
-function {{ machine_name }}_entity_operation_alter(array &$operations, \Drupal\Core\Entity\EntityInterface $entity) {
- // Alter the title and weight.
- $operations['translate']['title'] = t('Translate @entity_type', [
- '@entity_type' => $entity->getEntityTypeId(),
- ]);
- $operations['translate']['weight'] = 99;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_predelete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_predelete.twig
deleted file mode 100644
index 7f7fb6bdf..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_predelete.twig
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Implements hook_entity_predelete().
- */
-function {{ machine_name }}_entity_predelete(Drupal\Core\Entity\EntityInterface $entity) {
- $connection = \Drupal::database();
- // Count references to this entity in a custom table before they are removed
- // upon entity deletion.
- $id = $entity->id();
- $type = $entity->getEntityTypeId();
- $count = \Drupal::database()->select('example_entity_data')
- ->condition('type', $type)
- ->condition('id', $id)
- ->countQuery()
- ->execute()
- ->fetchField();
-
- // Log the count in a table that records this statistic for deleted entities.
- $connection->merge('example_deleted_entity_statistics')
- ->key(['type' => $type, 'id' => $id])
- ->fields(['count' => $count])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_prepare_form.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_prepare_form.twig
deleted file mode 100644
index aa20155c9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_prepare_form.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_prepare_form().
- */
-function {{ machine_name }}_entity_prepare_form(\Drupal\Core\Entity\EntityInterface $entity, $operation, \Drupal\Core\Form\FormStateInterface $form_state) {
- if ($operation == 'edit') {
- $entity->label->value = 'Altered label';
- $form_state->set('label_altered', TRUE);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_prepare_view.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_prepare_view.twig
deleted file mode 100644
index efe2cff4b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_prepare_view.twig
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * Implements hook_entity_prepare_view().
- */
-function {{ machine_name }}_entity_prepare_view($entity_type_id, array $entities, array $displays, $view_mode) {
- // Load a specific node into the user object for later theming.
- if (!empty($entities) && $entity_type_id == 'user') {
- // Only do the extra work if the component is configured to be
- // displayed. This assumes a 'mymodule_addition' extra field has been
- // defined for the entity bundle in hook_entity_extra_field_info().
- $ids = [];
- foreach ($entities as $id => $entity) {
- if ($displays[$entity->bundle()]->getComponent('mymodule_addition')) {
- $ids[] = $id;
- }
- }
- if ($ids) {
- $nodes = mymodule_get_user_nodes($ids);
- foreach ($ids as $id) {
- $entities[$id]->user_node = $nodes[$id];
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_presave.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_presave.twig
deleted file mode 100644
index 1708dcb9f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_presave.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_presave().
- */
-function {{ machine_name }}_entity_presave(Drupal\Core\Entity\EntityInterface $entity) {
- if ($entity instanceof ContentEntityInterface && $entity->isTranslatable()) {
- $route_match = \Drupal::routeMatch();
- \Drupal::service('content_translation.synchronizer')->synchronizeFields($entity, $entity->language()->getId(), $route_match->getParameter('source_langcode'));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_revision_create.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_revision_create.twig
deleted file mode 100644
index 95e354904..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_revision_create.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_entity_revision_create().
- */
-function {{ machine_name }}_entity_revision_create(Drupal\Core\Entity\EntityInterface $new_revision, Drupal\Core\Entity\EntityInterface $entity, $keep_untranslatable_fields) {
- // Retain the value from an untranslatable field, which are by default
- // synchronized from the default revision.
- $new_revision->set('untranslatable_field', $entity->get('untranslatable_field'));
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_revision_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_revision_delete.twig
deleted file mode 100644
index c0c8978a4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_revision_delete.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_revision_delete().
- */
-function {{ machine_name }}_entity_revision_delete(Drupal\Core\Entity\EntityInterface $entity) {
- $referenced_files_by_field = _editor_get_file_uuids_by_field($entity);
- foreach ($referenced_files_by_field as $field => $uuids) {
- _editor_delete_file_usage($uuids, $entity, 1);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_storage_load.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_storage_load.twig
deleted file mode 100644
index 6d2fc2ec1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_storage_load.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_entity_storage_load().
- */
-function {{ machine_name }}_entity_storage_load(array $entities, $entity_type) {
- foreach ($entities as $entity) {
- $entity->foo = mymodule_add_something_uncached($entity);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_translation_create.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_translation_create.twig
deleted file mode 100644
index c3e4a481a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_translation_create.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_entity_translation_create().
- */
-function {{ machine_name }}_entity_translation_create(\Drupal\Core\Entity\EntityInterface $translation) {
- \Drupal::logger('example')->info('Entity translation created: @label', ['@label' => $translation->label()]);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_translation_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_translation_delete.twig
deleted file mode 100644
index ffbf2d918..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_translation_delete.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_entity_translation_delete().
- */
-function {{ machine_name }}_entity_translation_delete(\Drupal\Core\Entity\EntityInterface $translation) {
- $variables = [
- '@language' => $translation->language()->getName(),
- '@label' => $translation->label(),
- ];
- \Drupal::logger('example')->notice('The @language translation of @label has just been deleted.', $variables);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_translation_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_translation_insert.twig
deleted file mode 100644
index f07564802..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_translation_insert.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_entity_translation_insert().
- */
-function {{ machine_name }}_entity_translation_insert(\Drupal\Core\Entity\EntityInterface $translation) {
- $variables = [
- '@language' => $translation->language()->getName(),
- '@label' => $translation->getUntranslated()->label(),
- ];
- \Drupal::logger('example')->notice('The @language translation of @label has just been stored.', $variables);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_type_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_type_alter.twig
deleted file mode 100644
index ef3f9945f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_type_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_type_alter().
- */
-function {{ machine_name }}_entity_type_alter(array &$entity_types) {
- /** @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */
- // Set the controller class for nodes to an alternate implementation of the
- // Drupal\Core\Entity\EntityStorageInterface interface.
- $entity_types['node']->setStorageClass('Drupal\mymodule\MyCustomNodeStorage');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_type_build.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_type_build.twig
deleted file mode 100644
index e6a32b933..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_type_build.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_type_build().
- */
-function {{ machine_name }}_entity_type_build(array &$entity_types) {
- /** @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */
- // Add a form for a custom node form without overriding the default
- // node form. To override the default node form, use hook_entity_type_alter().
- $entity_types['node']->setFormClass('mymodule_foo', 'Drupal\mymodule\NodeFooForm');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_update.twig
deleted file mode 100644
index 9cc8636e3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_update.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_entity_update().
- */
-function {{ machine_name }}_entity_update(Drupal\Core\Entity\EntityInterface $entity) {
- // Update the entity's entry in a fictional table of all entities.
- \Drupal::database()->update('example_entity')
- ->fields([
- 'updated' => REQUEST_TIME,
- ])
- ->condition('type', $entity->getEntityTypeId())
- ->condition('id', $entity->id())
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view.twig
deleted file mode 100644
index 57b5f9b8e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_entity_view().
- */
-function {{ machine_name }}_entity_view(array &$build, \Drupal\Core\Entity\EntityInterface $entity, \Drupal\Core\Entity\Display\EntityViewDisplayInterface $display, $view_mode) {
- // Only do the extra work if the component is configured to be displayed.
- // This assumes a 'mymodule_addition' extra field has been defined for the
- // entity bundle in hook_entity_extra_field_info().
- if ($display->getComponent('mymodule_addition')) {
- $build['mymodule_addition'] = [
- '#markup' => mymodule_addition($entity),
- '#theme' => 'mymodule_my_additional_field',
- ];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_alter.twig
deleted file mode 100644
index 39b3900ff..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_entity_view_alter().
- */
-function {{ machine_name }}_entity_view_alter(array &$build, Drupal\Core\Entity\EntityInterface $entity, \Drupal\Core\Entity\Display\EntityViewDisplayInterface $display) {
- if ($build['#view_mode'] == 'full' && isset($build['an_additional_field'])) {
- // Change its weight.
- $build['an_additional_field']['#weight'] = -10;
-
- // Add a #post_render callback to act on the rendered HTML of the entity.
- $build['#post_render'][] = 'my_module_node_post_render';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_display_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_display_alter.twig
deleted file mode 100644
index df17a7860..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_display_alter.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_entity_view_display_alter().
- */
-function {{ machine_name }}_entity_view_display_alter(\Drupal\Core\Entity\Display\EntityViewDisplayInterface $display, array $context) {
- // Leave field labels out of the search index.
- if ($context['entity_type'] == 'node' && $context['view_mode'] == 'search_index') {
- foreach ($display->getComponents() as $name => $options) {
- if (isset($options['label'])) {
- $options['label'] = 'hidden';
- $display->setComponent($name, $options);
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_mode_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_mode_alter.twig
deleted file mode 100644
index 92d87fed6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_mode_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_entity_view_mode_alter().
- */
-function {{ machine_name }}_entity_view_mode_alter(&$view_mode, Drupal\Core\Entity\EntityInterface $entity, $context) {
- // For nodes, change the view mode when it is teaser.
- if ($entity->getEntityTypeId() == 'node' && $view_mode == 'teaser') {
- $view_mode = 'my_custom_view_mode';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_mode_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_mode_info_alter.twig
deleted file mode 100644
index 92c5fa5da..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/entity_view_mode_info_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_entity_view_mode_info_alter().
- */
-function {{ machine_name }}_entity_view_mode_info_alter(&$view_modes) {
- $view_modes['user']['full']['status'] = TRUE;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/extension.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/extension.twig
deleted file mode 100644
index 8a4f98773..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/extension.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_extension().
- */
-function {{ machine_name }}_extension() {
- // Extension for template base names in Twig.
- return '.html.twig';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_formatter_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_formatter_info_alter.twig
deleted file mode 100644
index 6ae86a43e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_formatter_info_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_field_formatter_info_alter().
- */
-function {{ machine_name }}_field_formatter_info_alter(array &$info) {
- // Let a new field type re-use an existing formatter.
- $info['text_default']['field_types'][] = 'my_field_type';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_formatter_settings_summary_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_formatter_settings_summary_alter.twig
deleted file mode 100644
index ee5a531e2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_formatter_settings_summary_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_field_formatter_settings_summary_alter().
- */
-function {{ machine_name }}_field_formatter_settings_summary_alter(&$summary, $context) {
- // Append a message to the summary when an instance of foo_formatter has
- // mysetting set to TRUE for the current view mode.
- if ($context['formatter']->getPluginId() == 'foo_formatter') {
- if ($context['formatter']->getThirdPartySetting('my_module', 'my_setting')) {
- $summary[] = t('My setting enabled.');
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_formatter_third_party_settings_form.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_formatter_third_party_settings_form.twig
deleted file mode 100644
index ac7288890..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_formatter_third_party_settings_form.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_field_formatter_third_party_settings_form().
- */
-function {{ machine_name }}_field_formatter_third_party_settings_form(\Drupal\Core\Field\FormatterInterface $plugin, \Drupal\Core\Field\FieldDefinitionInterface $field_definition, $view_mode, $form, \Drupal\Core\Form\FormStateInterface $form_state) {
- $element = [];
- // Add a 'my_setting' checkbox to the settings form for 'foo_formatter' field
- // formatters.
- if ($plugin->getPluginId() == 'foo_formatter') {
- $element['my_setting'] = [
- '#type' => 'checkbox',
- '#title' => t('My setting'),
- '#default_value' => $plugin->getThirdPartySetting('my_module', 'my_setting'),
- ];
- }
- return $element;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_info_alter.twig
deleted file mode 100644
index aba90abf7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_field_info_alter().
- */
-function {{ machine_name }}_field_info_alter(&$info) {
- // Change the default widget for fields of type 'foo'.
- if (isset($info['foo'])) {
- $info['foo']['default widget'] = 'mymodule_widget';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_info_max_weight.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_info_max_weight.twig
deleted file mode 100644
index bae8630ff..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_info_max_weight.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_field_info_max_weight().
- */
-function {{ machine_name }}_field_info_max_weight($entity_type, $bundle, $context, $context_mode) {
- $weights = [];
-
- foreach (my_module_entity_additions($entity_type, $bundle, $context, $context_mode) as $addition) {
- $weights[] = $addition['weight'];
- }
-
- return $weights ? max($weights) : NULL;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_purge_field.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_purge_field.twig
deleted file mode 100644
index 212963a04..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_purge_field.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_field_purge_field().
- */
-function {{ machine_name }}_field_purge_field(\Drupal\field\Entity\FieldConfig $field) {
- \Drupal::database()->delete('my_module_field_info')
- ->condition('id', $field->id())
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_purge_field_storage.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_purge_field_storage.twig
deleted file mode 100644
index fff21f02f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_purge_field_storage.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_field_purge_field_storage().
- */
-function {{ machine_name }}_field_purge_field_storage(\Drupal\field\Entity\FieldStorageConfig $field_storage) {
- \Drupal::database()->delete('my_module_field_storage_info')
- ->condition('uuid', $field_storage->uuid())
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_storage_config_update_forbid.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_storage_config_update_forbid.twig
deleted file mode 100644
index 77fd3c1ee..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_storage_config_update_forbid.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_field_storage_config_update_forbid().
- */
-function {{ machine_name }}_field_storage_config_update_forbid(\Drupal\field\FieldStorageConfigInterface $field_storage, \Drupal\field\FieldStorageConfigInterface $prior_field_storage) {
- if ($field_storage->module == 'options' && $field_storage->hasData()) {
- // Forbid any update that removes allowed values with actual data.
- $allowed_values = $field_storage->getSetting('allowed_values');
- $prior_allowed_values = $prior_field_storage->getSetting('allowed_values');
- $lost_keys = array_keys(array_diff_key($prior_allowed_values, $allowed_values));
- if (_options_values_in_use($field_storage->getTargetEntityTypeId(), $field_storage->getName(), $lost_keys)) {
- throw new \Drupal\Core\Entity\Exception\FieldStorageDefinitionUpdateForbiddenException(t('A list field (@field_name) with existing data cannot have its keys changed.', ['@field_name' => $field_storage->getName()]));
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_ui_preconfigured_options_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_ui_preconfigured_options_alter.twig
deleted file mode 100644
index e86d816d8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_ui_preconfigured_options_alter.twig
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Implements hook_field_ui_preconfigured_options_alter().
- */
-function {{ machine_name }}_field_ui_preconfigured_options_alter(array &$options, $field_type) {
- // If the field is not an "entity_reference"-based field, bail out.
- /** @var \Drupal\Core\Field\FieldTypePluginManager $field_type_manager */
- $field_type_manager = \Drupal::service('plugin.manager.field.field_type');
- $class = $field_type_manager->getPluginClass($field_type);
- if (!is_a($class, 'Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem', TRUE)) {
- return;
- }
-
- // Set the default formatter for media in entity reference fields to be the
- // "Rendered entity" formatter.
- if (!empty($options['media'])) {
- $options['media']['entity_view_display']['type'] = 'entity_reference_entity_view';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_views_data.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_views_data.twig
deleted file mode 100644
index 101eb7a79..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_views_data.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_field_views_data().
- */
-function {{ machine_name }}_field_views_data(\Drupal\field\FieldStorageConfigInterface $field_storage) {
- $data = views_field_default_views_data($field_storage);
- foreach ($data as $table_name => $table_data) {
- // Add the relationship only on the target_id field.
- $data[$table_name][$field_storage->getName() . '_target_id']['relationship'] = [
- 'id' => 'standard',
- 'base' => 'file_managed',
- 'base field' => 'target_id',
- 'label' => t('image from @field_name', ['@field_name' => $field_storage->getName()]),
- ];
- }
-
- return $data;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_views_data_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_views_data_alter.twig
deleted file mode 100644
index 388b97ad8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_views_data_alter.twig
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Implements hook_field_views_data_alter().
- */
-function {{ machine_name }}_field_views_data_alter(array &$data, \Drupal\field\FieldStorageConfigInterface $field_storage) {
- $entity_type_id = $field_storage->getTargetEntityTypeId();
- $field_name = $field_storage->getName();
- $entity_type = \Drupal::entityManager()->getDefinition($entity_type_id);
- $pseudo_field_name = 'reverse_' . $field_name . '_' . $entity_type_id;
- $table_mapping = \Drupal::entityManager()->getStorage($entity_type_id)->getTableMapping();
-
- list($label) = views_entity_field_label($entity_type_id, $field_name);
-
- $data['file_managed'][$pseudo_field_name]['relationship'] = [
- 'title' => t('@entity using @field', ['@entity' => $entity_type->getLabel(), '@field' => $label]),
- 'help' => t('Relate each @entity with a @field set to the image.', ['@entity' => $entity_type->getLabel(), '@field' => $label]),
- 'id' => 'entity_reverse',
- 'field_name' => $field_name,
- 'entity_type' => $entity_type_id,
- 'field table' => $table_mapping->getDedicatedDataTableName($field_storage),
- 'field field' => $field_name . '_target_id',
- 'base' => $entity_type->getBaseTable(),
- 'base field' => $entity_type->getKey('id'),
- 'label' => $field_name,
- 'join_extra' => [
- 0 => [
- 'field' => 'deleted',
- 'value' => 0,
- 'numeric' => TRUE,
- ],
- ],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_views_data_views_data_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_views_data_views_data_alter.twig
deleted file mode 100644
index 96eb9d7d3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_views_data_views_data_alter.twig
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Implements hook_field_views_data_views_data_alter().
- */
-function {{ machine_name }}_field_views_data_views_data_alter(array &$data, \Drupal\field\FieldStorageConfigInterface $field) {
- $field_name = $field->getName();
- $data_key = 'field_data_' . $field_name;
- $entity_type_id = $field->entity_type;
- $entity_type = \Drupal::entityManager()->getDefinition($entity_type_id);
- $pseudo_field_name = 'reverse_' . $field_name . '_' . $entity_type_id;
- list($label) = views_entity_field_label($entity_type_id, $field_name);
- $table_mapping = \Drupal::entityManager()->getStorage($entity_type_id)->getTableMapping();
-
- // Views data for this field is in $data[$data_key].
- $data[$data_key][$pseudo_field_name]['relationship'] = [
- 'title' => t('@entity using @field', ['@entity' => $entity_type->getLabel(), '@field' => $label]),
- 'help' => t('Relate each @entity with a @field set to the term.', ['@entity' => $entity_type->getLabel(), '@field' => $label]),
- 'id' => 'entity_reverse',
- 'field_name' => $field_name,
- 'entity_type' => $entity_type_id,
- 'field table' => $table_mapping->getDedicatedDataTableName($field),
- 'field field' => $field_name . '_target_id',
- 'base' => $entity_type->getBaseTable(),
- 'base field' => $entity_type->getKey('id'),
- 'label' => $field_name,
- 'join_extra' => [
- 0 => [
- 'field' => 'deleted',
- 'value' => 0,
- 'numeric' => TRUE,
- ],
- ],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_WIDGET_TYPE_form_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_WIDGET_TYPE_form_alter.twig
deleted file mode 100644
index b3b19c8b0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_WIDGET_TYPE_form_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_field_widget_WIDGET_TYPE_form_alter().
- */
-function {{ machine_name }}_field_widget_WIDGET_TYPE_form_alter(&$element, \Drupal\Core\Form\FormStateInterface $form_state, $context) {
- // Code here will only act on widgets of type WIDGET_TYPE. For example,
- // hook_field_widget_mymodule_autocomplete_form_alter() will only act on
- // widgets of type 'mymodule_autocomplete'.
- $element['#autocomplete_route_name'] = 'mymodule.autocomplete_route';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_form_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_form_alter.twig
deleted file mode 100644
index a1ad97a6f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_form_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_field_widget_form_alter().
- */
-function {{ machine_name }}_field_widget_form_alter(&$element, \Drupal\Core\Form\FormStateInterface $form_state, $context) {
- // Add a css class to widget form elements for all fields of type mytype.
- $field_definition = $context['items']->getFieldDefinition();
- if ($field_definition->getType() == 'mytype') {
- // Be sure not to overwrite existing attributes.
- $element['#attributes']['class'][] = 'myclass';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_info_alter.twig
deleted file mode 100644
index 57808d2c0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_info_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_field_widget_info_alter().
- */
-function {{ machine_name }}_field_widget_info_alter(array &$info) {
- // Let a new field type re-use an existing widget.
- $info['options_select']['field_types'][] = 'my_field_type';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_multivalue_WIDGET_TYPE_form_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_multivalue_WIDGET_TYPE_form_alter.twig
deleted file mode 100644
index 21ded3343..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_multivalue_WIDGET_TYPE_form_alter.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_field_widget_multivalue_WIDGET_TYPE_form_alter().
- */
-function {{ machine_name }}_field_widget_multivalue_WIDGET_TYPE_form_alter(array &$elements, \Drupal\Core\Form\FormStateInterface $form_state, array $context) {
- // Code here will only act on widgets of type WIDGET_TYPE. For example,
- // hook_field_widget_multivalue_mymodule_autocomplete_form_alter() will only
- // act on widgets of type 'mymodule_autocomplete'.
- // Change the autocomplete route for each autocomplete element within the
- // multivalue widget.
- foreach (Element::children($elements) as $delta => $element) {
- $elements[$delta]['#autocomplete_route_name'] = 'mymodule.autocomplete_route';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_multivalue_form_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_multivalue_form_alter.twig
deleted file mode 100644
index f0432c387..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_multivalue_form_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_field_widget_multivalue_form_alter().
- */
-function {{ machine_name }}_field_widget_multivalue_form_alter(array &$elements, \Drupal\Core\Form\FormStateInterface $form_state, array $context) {
- // Add a css class to widget form elements for all fields of type mytype.
- $field_definition = $context['items']->getFieldDefinition();
- if ($field_definition->getType() == 'mytype') {
- // Be sure not to overwrite existing attributes.
- $elements['#attributes']['class'][] = 'myclass';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_settings_summary_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_settings_summary_alter.twig
deleted file mode 100644
index c46fde129..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_settings_summary_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_field_widget_settings_summary_alter().
- */
-function {{ machine_name }}_field_widget_settings_summary_alter(&$summary, $context) {
- // Append a message to the summary when an instance of foo_widget has
- // mysetting set to TRUE for the current view mode.
- if ($context['widget']->getPluginId() == 'foo_widget') {
- if ($context['widget']->getThirdPartySetting('my_module', 'my_setting')) {
- $summary[] = t('My setting enabled.');
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_third_party_settings_form.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_third_party_settings_form.twig
deleted file mode 100644
index 6219d39c6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/field_widget_third_party_settings_form.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_field_widget_third_party_settings_form().
- */
-function {{ machine_name }}_field_widget_third_party_settings_form(\Drupal\Core\Field\WidgetInterface $plugin, \Drupal\Core\Field\FieldDefinitionInterface $field_definition, $form_mode, $form, \Drupal\Core\Form\FormStateInterface $form_state) {
- $element = [];
- // Add a 'my_setting' checkbox to the settings form for 'foo_widget' field
- // widgets.
- if ($plugin->getPluginId() == 'foo_widget') {
- $element['my_setting'] = [
- '#type' => 'checkbox',
- '#title' => t('My setting'),
- '#default_value' => $plugin->getThirdPartySetting('my_module', 'my_setting'),
- ];
- }
- return $element;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_copy.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_copy.twig
deleted file mode 100644
index 1fa6532b1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_copy.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_file_copy().
- */
-function {{ machine_name }}_file_copy(Drupal\file\FileInterface $file, Drupal\file\FileInterface $source) {
- // Make sure that the file name starts with the owner's user name.
- if (strpos($file->getFilename(), $file->getOwner()->name) !== 0) {
- $file->setFilename($file->getOwner()->name . '_' . $file->getFilename());
- $file->save();
-
- \Drupal::logger('file')->notice('Copied file %source has been renamed to %destination', ['%source' => $source->filename, '%destination' => $file->getFilename()]);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_download.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_download.twig
deleted file mode 100644
index 8dd1bfb57..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_download.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Implements hook_file_download().
- */
-function {{ machine_name }}_file_download($uri) {
- // Check to see if this is a config download.
- $scheme = file_uri_scheme($uri);
- $target = file_uri_target($uri);
- if ($scheme == 'temporary' && $target == 'config.tar.gz') {
- return [
- 'Content-disposition' => 'attachment; filename="config.tar.gz"',
- ];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_mimetype_mapping_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_mimetype_mapping_alter.twig
deleted file mode 100644
index 0cf9e0954..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_mimetype_mapping_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_file_mimetype_mapping_alter().
- */
-function {{ machine_name }}_file_mimetype_mapping_alter(&$mapping) {
- // Add new MIME type 'drupal/info'.
- $mapping['mimetypes']['example_info'] = 'drupal/info';
- // Add new extension '.info.yml' and map it to the 'drupal/info' MIME type.
- $mapping['extensions']['info'] = 'example_info';
- // Override existing extension mapping for '.ogg' files.
- $mapping['extensions']['ogg'] = 189;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_move.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_move.twig
deleted file mode 100644
index 51138b590..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_move.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_file_move().
- */
-function {{ machine_name }}_file_move(Drupal\file\FileInterface $file, Drupal\file\FileInterface $source) {
- // Make sure that the file name starts with the owner's user name.
- if (strpos($file->getFilename(), $file->getOwner()->name) !== 0) {
- $file->setFilename($file->getOwner()->name . '_' . $file->getFilename());
- $file->save();
-
- \Drupal::logger('file')->notice('Moved file %source has been renamed to %destination', ['%source' => $source->filename, '%destination' => $file->getFilename()]);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_url_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_url_alter.twig
deleted file mode 100644
index 4cc901a9e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_url_alter.twig
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * Implements hook_file_url_alter().
- */
-function {{ machine_name }}_file_url_alter(&$uri) {
- $user = \Drupal::currentUser();
-
- // User 1 will always see the local file in this example.
- if ($user->id() == 1) {
- return;
- }
-
- $cdn1 = 'http://cdn1.example.com';
- $cdn2 = 'http://cdn2.example.com';
- $cdn_extensions = ['css', 'js', 'gif', 'jpg', 'jpeg', 'png'];
-
- // Most CDNs don't support private file transfers without a lot of hassle,
- // so don't support this in the common case.
- $schemes = ['public'];
-
- $scheme = file_uri_scheme($uri);
-
- // Only serve shipped files and public created files from the CDN.
- if (!$scheme || in_array($scheme, $schemes)) {
- // Shipped files.
- if (!$scheme) {
- $path = $uri;
- }
- // Public created files.
- else {
- $wrapper = \Drupal::service('stream_wrapper_manager')->getViaScheme($scheme);
- $path = $wrapper->getDirectoryPath() . '/' . file_uri_target($uri);
- }
-
- // Clean up Windows paths.
- $path = str_replace('\\', '/', $path);
-
- // Serve files with one of the CDN extensions from CDN 1, all others from
- // CDN 2.
- $pathinfo = pathinfo($path);
- if (isset($pathinfo['extension']) && in_array($pathinfo['extension'], $cdn_extensions)) {
- $uri = $cdn1 . '/' . $path;
- }
- else {
- $uri = $cdn2 . '/' . $path;
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_validate.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_validate.twig
deleted file mode 100644
index 0080a6aec..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/file_validate.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_file_validate().
- */
-function {{ machine_name }}_file_validate(Drupal\file\FileInterface $file) {
- $errors = [];
-
- if (!$file->getFilename()) {
- $errors[] = t("The file's name is empty. Please give a name to the file.");
- }
- if (strlen($file->getFilename()) > 255) {
- $errors[] = t("The file's name exceeds the 255 characters limit. Please rename the file and try again.");
- }
-
- return $errors;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filetransfer_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filetransfer_info.twig
deleted file mode 100644
index ce2828a5b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filetransfer_info.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_filetransfer_info().
- */
-function {{ machine_name }}_filetransfer_info() {
- $info['sftp'] = [
- 'title' => t('SFTP (Secure FTP)'),
- 'class' => 'Drupal\Core\FileTransfer\SFTP',
- 'weight' => 10,
- ];
- return $info;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filetransfer_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filetransfer_info_alter.twig
deleted file mode 100644
index ca8816c87..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filetransfer_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_filetransfer_info_alter().
- */
-function {{ machine_name }}_filetransfer_info_alter(&$filetransfer_info) {
- // Remove the FTP option entirely.
- unset($filetransfer_info['ftp']);
- // Make sure the SSH option is listed first.
- $filetransfer_info['ssh']['weight'] = -10;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filter_format_disable.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filter_format_disable.twig
deleted file mode 100644
index 94ad1e918..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filter_format_disable.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_filter_format_disable().
- */
-function {{ machine_name }}_filter_format_disable($format) {
- mymodule_cache_rebuild();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filter_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filter_info_alter.twig
deleted file mode 100644
index 84aa521bb..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filter_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_filter_info_alter().
- */
-function {{ machine_name }}_filter_info_alter(&$info) {
- // Alter the default settings of the URL filter provided by core.
- $info['filter_url']['default_settings'] = [
- 'filter_url_length' => 100,
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filter_secure_image_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filter_secure_image_alter.twig
deleted file mode 100644
index 103acf914..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/filter_secure_image_alter.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_filter_secure_image_alter().
- */
-function {{ machine_name }}_filter_secure_image_alter(&$image) {
- // Turn an invalid image into an error indicator.
- $image->setAttribute('src', base_path() . 'core/misc/icons/e32700/error.svg');
- $image->setAttribute('alt', t('Image removed.'));
- $image->setAttribute('title', t('This image has been removed. For security reasons, only images from the local domain are allowed.'));
-
- // Add a CSS class to aid in styling.
- $class = ($image->getAttribute('class') ? trim($image->getAttribute('class')) . ' ' : '');
- $class .= 'filter-image-invalid';
- $image->setAttribute('class', $class);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_BASE_FORM_ID_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_BASE_FORM_ID_alter.twig
deleted file mode 100644
index d3d58563d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_BASE_FORM_ID_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_form_BASE_FORM_ID_alter().
- */
-function {{ machine_name }}_form_BASE_FORM_ID_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) {
- // Modification for the form with the given BASE_FORM_ID goes here. For
- // example, if BASE_FORM_ID is "node_form", this code would run on every
- // node form, regardless of node type.
-
- // Add a checkbox to the node form about agreeing to terms of use.
- $form['terms_of_use'] = [
- '#type' => 'checkbox',
- '#title' => t("I agree with the website's terms and conditions."),
- '#required' => TRUE,
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_FORM_ID_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_FORM_ID_alter.twig
deleted file mode 100644
index 473f3db62..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_FORM_ID_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_form_FORM_ID_alter().
- */
-function {{ machine_name }}_form_FORM_ID_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) {
- // Modification for the form with the given form ID goes here. For example, if
- // FORM_ID is "user_register_form" this code would run only on the user
- // registration form.
-
- // Add a checkbox to registration form about agreeing to terms of use.
- $form['terms_of_use'] = [
- '#type' => 'checkbox',
- '#title' => t("I agree with the website's terms and conditions."),
- '#required' => TRUE,
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_alter.twig
deleted file mode 100644
index 4adff844d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_alter.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_form_alter().
- */
-function {{ machine_name }}_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) {
- if (isset($form['type']) && $form['type']['#value'] . '_node_settings' == $form_id) {
- $upload_enabled_types = \Drupal::config('mymodule.settings')->get('upload_enabled_types');
- $form['workflow']['upload_' . $form['type']['#value']] = [
- '#type' => 'radios',
- '#title' => t('Attachments'),
- '#default_value' => in_array($form['type']['#value'], $upload_enabled_types) ? 1 : 0,
- '#options' => [t('Disabled'), t('Enabled')],
- ];
- // Add a custom submit handler to save the array of types back to the config file.
- $form['actions']['submit']['#submit'][] = 'mymodule_upload_enabled_types_submit';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_system_theme_settings_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_system_theme_settings_alter.twig
deleted file mode 100644
index 983a8a6bb..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/form_system_theme_settings_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_form_system_theme_settings_alter().
- */
-function {{ machine_name }}_form_system_theme_settings_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state) {
- // Add a checkbox to toggle the breadcrumb trail.
- $form['toggle_breadcrumb'] = [
- '#type' => 'checkbox',
- '#title' => t('Display the breadcrumb'),
- '#default_value' => theme_get_setting('features.breadcrumb'),
- '#description' => t('Show a trail of links from the homepage to the current page.'),
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/hal_relation_uri_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/hal_relation_uri_alter.twig
deleted file mode 100644
index c1d831237..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/hal_relation_uri_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_hal_relation_uri_alter().
- */
-function {{ machine_name }}_hal_relation_uri_alter(&$uri, $context = []) {
- if ($context['mymodule'] == TRUE) {
- $base = \Drupal::config('hal.settings')->get('link_domain');
- $uri = str_replace($base, 'http://mymodule.domain', $uri);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/hal_type_uri_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/hal_type_uri_alter.twig
deleted file mode 100644
index 504a2e791..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/hal_type_uri_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_hal_type_uri_alter().
- */
-function {{ machine_name }}_hal_type_uri_alter(&$uri, $context = []) {
- if ($context['mymodule'] == TRUE) {
- $base = \Drupal::config('hal.settings')->get('link_domain');
- $uri = str_replace($base, 'http://mymodule.domain', $uri);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/help.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/help.twig
deleted file mode 100644
index 55ff2a1b9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/help.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_help().
- */
-function {{ machine_name }}_help($route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match) {
- switch ($route_name) {
- // Main module help for the block module.
- case 'help.page.block':
- return '' . t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Bartik, for example, implements the regions "Sidebar first", "Sidebar second", "Featured", "Content", "Header", "Footer", etc., and a block may appear in any one of these areas. The blocks administration page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', [':blocks' => \Drupal::url('block.admin_display')]) . '
';
-
- // Help for another path in the block module.
- case 'block.admin_display':
- return '' . t('This page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions. Since not all themes implement the same regions, or display regions in the same way, blocks are positioned on a per-theme basis. Remember that your changes will not be saved until you click the Save blocks button at the bottom of the page.') . '
';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/help_section_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/help_section_info_alter.twig
deleted file mode 100644
index 30777b7c6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/help_section_info_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_help_section_info_alter().
- */
-function {{ machine_name }}_help_section_info_alter(&$info) {
- // Alter the header for the module overviews section.
- $info['hook_help']['header'] = t('Overviews of modules');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/hook_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/hook_info.twig
deleted file mode 100644
index 83d061aef..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/hook_info.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_hook_info().
- */
-function {{ machine_name }}_hook_info() {
- $hooks['token_info'] = [
- 'group' => 'tokens',
- ];
- $hooks['tokens'] = [
- 'group' => 'tokens',
- ];
- return $hooks;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/image_effect_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/image_effect_info_alter.twig
deleted file mode 100644
index 3743cf51c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/image_effect_info_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_image_effect_info_alter().
- */
-function {{ machine_name }}_image_effect_info_alter(&$effects) {
- // Override the Image module's 'Scale and Crop' effect label.
- $effects['image_scale_and_crop']['label'] = t('Bangers and Mash');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/image_style_flush.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/image_style_flush.twig
deleted file mode 100644
index 3edacc3c5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/image_style_flush.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_image_style_flush().
- */
-function {{ machine_name }}_image_style_flush($style) {
- // Empty cached data that contains information about the style.
- \Drupal::cache('mymodule')->deleteAll();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/install.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/install.twig
deleted file mode 100644
index ffe23bdcc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/install.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_install().
- */
-function {{ machine_name }}_install() {
- // Create the styles directory and ensure it's writable.
- $directory = file_default_scheme() . '://styles';
- file_prepare_directory($directory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/install_tasks.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/install_tasks.twig
deleted file mode 100644
index 6e5258193..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/install_tasks.twig
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * Implements hook_install_tasks().
- */
-function {{ machine_name }}_install_tasks(&$install_state) {
- // Here, we define a variable to allow tasks to indicate that a particular,
- // processor-intensive batch process needs to be triggered later on in the
- // installation.
- $myprofile_needs_batch_processing = \Drupal::state()->get('myprofile.needs_batch_processing', FALSE);
- $tasks = [
- // This is an example of a task that defines a form which the user who is
- // installing the site will be asked to fill out. To implement this task,
- // your profile would define a function named myprofile_data_import_form()
- // as a normal form API callback function, with associated validation and
- // submit handlers. In the submit handler, in addition to saving whatever
- // other data you have collected from the user, you might also call
- // \Drupal::state()->set('myprofile.needs_batch_processing', TRUE) if the
- // user has entered data which requires that batch processing will need to
- // occur later on.
- 'myprofile_data_import_form' => [
- 'display_name' => t('Data import options'),
- 'type' => 'form',
- ],
- // Similarly, to implement this task, your profile would define a function
- // named myprofile_settings_form() with associated validation and submit
- // handlers. This form might be used to collect and save additional
- // information from the user that your profile needs. There are no extra
- // steps required for your profile to act as an "installation wizard"; you
- // can simply define as many tasks of type 'form' as you wish to execute,
- // and the forms will be presented to the user, one after another.
- 'myprofile_settings_form' => [
- 'display_name' => t('Additional options'),
- 'type' => 'form',
- ],
- // This is an example of a task that performs batch operations. To
- // implement this task, your profile would define a function named
- // myprofile_batch_processing() which returns a batch API array definition
- // that the installer will use to execute your batch operations. Due to the
- // 'myprofile.needs_batch_processing' variable used here, this task will be
- // hidden and skipped unless your profile set it to TRUE in one of the
- // previous tasks.
- 'myprofile_batch_processing' => [
- 'display_name' => t('Import additional data'),
- 'display' => $myprofile_needs_batch_processing,
- 'type' => 'batch',
- 'run' => $myprofile_needs_batch_processing ? INSTALL_TASK_RUN_IF_NOT_COMPLETED : INSTALL_TASK_SKIP,
- ],
- // This is an example of a task that will not be displayed in the list that
- // the user sees. To implement this task, your profile would define a
- // function named myprofile_final_site_setup(), in which additional,
- // automated site setup operations would be performed. Since this is the
- // last task defined by your profile, you should also use this function to
- // call \Drupal::state()->delete('myprofile.needs_batch_processing') and
- // clean up the state that was used above. If you want the user to pass
- // to the final Drupal installation tasks uninterrupted, return no output
- // from this function. Otherwise, return themed output that the user will
- // see (for example, a confirmation page explaining that your profile's
- // tasks are complete, with a link to reload the current page and therefore
- // pass on to the final Drupal installation tasks when the user is ready to
- // do so).
- 'myprofile_final_site_setup' => [],
- ];
- return $tasks;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/install_tasks_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/install_tasks_alter.twig
deleted file mode 100644
index 09cd37fd2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/install_tasks_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_install_tasks_alter().
- */
-function {{ machine_name }}_install_tasks_alter(&$tasks, $install_state) {
- // Replace the entire site configuration form provided by Drupal core
- // with a custom callback function defined by this installation profile.
- $tasks['install_configure_form']['function'] = 'myprofile_install_configure_form';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/js_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/js_alter.twig
deleted file mode 100644
index b530f2f3a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/js_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_js_alter().
- */
-function {{ machine_name }}_js_alter(&$javascript, \Drupal\Core\Asset\AttachedAssetsInterface $assets) {
- // Swap out jQuery to use an updated version of the library.
- $javascript['core/assets/vendor/jquery/jquery.min.js']['data'] = drupal_get_path('module', 'jquery_update') . '/jquery.js';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/js_settings_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/js_settings_alter.twig
deleted file mode 100644
index 7bda68616..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/js_settings_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_js_settings_alter().
- */
-function {{ machine_name }}_js_settings_alter(array &$settings, \Drupal\Core\Asset\AttachedAssetsInterface $assets) {
- // Add settings.
- $settings['user']['uid'] = \Drupal::currentUser();
-
- // Manipulate settings.
- if (isset($settings['dialog'])) {
- $settings['dialog']['autoResize'] = FALSE;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/js_settings_build.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/js_settings_build.twig
deleted file mode 100644
index 9b709bd2f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/js_settings_build.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_js_settings_build().
- */
-function {{ machine_name }}_js_settings_build(array &$settings, \Drupal\Core\Asset\AttachedAssetsInterface $assets) {
- // Manipulate settings.
- if (isset($settings['dialog'])) {
- $settings['dialog']['autoResize'] = FALSE;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_fallback_candidates_OPERATION_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_fallback_candidates_OPERATION_alter.twig
deleted file mode 100644
index b79e3749e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_fallback_candidates_OPERATION_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_language_fallback_candidates_OPERATION_alter().
- */
-function {{ machine_name }}_language_fallback_candidates_OPERATION_alter(array &$candidates, array $context) {
- // We know that the current OPERATION deals with entities so no need to check
- // here.
- if ($context['data']->getEntityTypeId() == 'node') {
- $candidates = array_reverse($candidates);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_fallback_candidates_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_fallback_candidates_alter.twig
deleted file mode 100644
index 607c9ef2e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_fallback_candidates_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_language_fallback_candidates_alter().
- */
-function {{ machine_name }}_language_fallback_candidates_alter(array &$candidates, array $context) {
- $candidates = array_reverse($candidates);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_negotiation_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_negotiation_info_alter.twig
deleted file mode 100644
index 99294b6e7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_negotiation_info_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_language_negotiation_info_alter().
- */
-function {{ machine_name }}_language_negotiation_info_alter(array &$negotiation_info) {
- if (isset($negotiation_info['custom_language_method'])) {
- $negotiation_info['custom_language_method']['config'] = 'admin/config/regional/language/detection/custom-language-method';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_switch_links_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_switch_links_alter.twig
deleted file mode 100644
index 5d57b69a6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_switch_links_alter.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_language_switch_links_alter().
- */
-function {{ machine_name }}_language_switch_links_alter(array &$links, $type, \Drupal\Core\Url $url) {
- $language_interface = \Drupal::languageManager()->getCurrentLanguage();
-
- if ($type == LanguageInterface::TYPE_CONTENT && isset($links[$language_interface->getId()])) {
- foreach ($links[$language_interface->getId()] as $link) {
- $link['attributes']['class'][] = 'active-language';
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_types_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_types_info.twig
deleted file mode 100644
index 65a5e5a0f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_types_info.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_language_types_info().
- */
-function {{ machine_name }}_language_types_info() {
- return [
- 'custom_language_type' => [
- 'name' => t('Custom language'),
- 'description' => t('A custom language type.'),
- 'locked' => FALSE,
- ],
- 'fixed_custom_language_type' => [
- 'locked' => TRUE,
- 'fixed' => ['custom_language_negotiation_method'],
- ],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_types_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_types_info_alter.twig
deleted file mode 100644
index 06e599f90..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/language_types_info_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_language_types_info_alter().
- */
-function {{ machine_name }}_language_types_info_alter(array &$language_types) {
- if (isset($language_types['custom_language_type'])) {
- $language_types['custom_language_type_custom']['description'] = t('A far better description.');
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/layout_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/layout_alter.twig
deleted file mode 100644
index e3319a276..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/layout_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_layout_alter().
- */
-function {{ machine_name }}_layout_alter(&$definitions) {
- // Remove a layout.
- unset($definitions['twocol']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/library_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/library_info_alter.twig
deleted file mode 100644
index 9b08a70d5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/library_info_alter.twig
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Implements hook_library_info_alter().
- */
-function {{ machine_name }}_library_info_alter(&$libraries, $extension) {
- // Update Farbtastic to version 2.0.
- if ($extension == 'core' && isset($libraries['jquery.farbtastic'])) {
- // Verify existing version is older than the one we are updating to.
- if (version_compare($libraries['jquery.farbtastic']['version'], '2.0', '<')) {
- // Update the existing Farbtastic to version 2.0.
- $libraries['jquery.farbtastic']['version'] = '2.0';
- // To accurately replace library files, the order of files and the options
- // of each file have to be retained; e.g., like this:
- $old_path = 'assets/vendor/farbtastic';
- // Since the replaced library files are no longer located in a directory
- // relative to the original extension, specify an absolute path (relative
- // to DRUPAL_ROOT / base_path()) to the new location.
- $new_path = '/' . drupal_get_path('module', 'farbtastic_update') . '/js';
- $new_js = [];
- $replacements = [
- $old_path . '/farbtastic.js' => $new_path . '/farbtastic-2.0.js',
- ];
- foreach ($libraries['jquery.farbtastic']['js'] as $source => $options) {
- if (isset($replacements[$source])) {
- $new_js[$replacements[$source]] = $options;
- }
- else {
- $new_js[$source] = $options;
- }
- }
- $libraries['jquery.farbtastic']['js'] = $new_js;
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/library_info_build.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/library_info_build.twig
deleted file mode 100644
index a833bc4d7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/library_info_build.twig
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * Implements hook_library_info_build().
- */
-function {{ machine_name }}_library_info_build() {
- $libraries = [];
- // Add a library whose information changes depending on certain conditions.
- $libraries['mymodule.zombie'] = [
- 'dependencies' => [
- 'core/backbone',
- ],
- ];
- if (Drupal::moduleHandler()->moduleExists('minifyzombies')) {
- $libraries['mymodule.zombie'] += [
- 'js' => [
- 'mymodule.zombie.min.js' => [],
- ],
- 'css' => [
- 'base' => [
- 'mymodule.zombie.min.css' => [],
- ],
- ],
- ];
- }
- else {
- $libraries['mymodule.zombie'] += [
- 'js' => [
- 'mymodule.zombie.js' => [],
- ],
- 'css' => [
- 'base' => [
- 'mymodule.zombie.css' => [],
- ],
- ],
- ];
- }
-
- // Add a library only if a certain condition is met. If code wants to
- // integrate with this library it is safe to (try to) load it unconditionally
- // without reproducing this check. If the library definition does not exist
- // the library (of course) not be loaded but no notices or errors will be
- // triggered.
- if (Drupal::moduleHandler()->moduleExists('vampirize')) {
- $libraries['mymodule.vampire'] = [
- 'js' => [
- 'js/vampire.js' => [],
- ],
- 'css' => [
- 'base' => [
- 'css/vampire.css',
- ],
- ],
- 'dependencies' => [
- 'core/jquery',
- ],
- ];
- }
- return $libraries;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/link_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/link_alter.twig
deleted file mode 100644
index f088b9cb4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/link_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_link_alter().
- */
-function {{ machine_name }}_link_alter(&$variables) {
- // Add a warning to the end of route links to the admin section.
- if (isset($variables['route_name']) && strpos($variables['route_name'], 'admin') !== FALSE) {
- $variables['text'] = t('@text (Warning!)', ['@text' => $variables['text']]);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/local_tasks_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/local_tasks_alter.twig
deleted file mode 100644
index de992e274..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/local_tasks_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_local_tasks_alter().
- */
-function {{ machine_name }}_local_tasks_alter(&$local_tasks) {
- // Remove a specified local task plugin.
- unset($local_tasks['example_plugin_id']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/locale_translation_projects_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/locale_translation_projects_alter.twig
deleted file mode 100644
index dc3d3ccfe..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/locale_translation_projects_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_locale_translation_projects_alter().
- */
-function {{ machine_name }}_locale_translation_projects_alter(&$projects) {
- // The translations are located at a custom translation sever.
- $projects['existing_project'] = [
- 'info' => [
- 'interface translation server pattern' => 'http://example.com/files/translations/%core/%project/%project-%version.%language.po',
- ],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/mail.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/mail.twig
deleted file mode 100644
index a06336693..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/mail.twig
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Implements hook_mail().
- */
-function {{ machine_name }}_mail($key, &$message, $params) {
- $account = $params['account'];
- $context = $params['context'];
- $variables = [
- '%site_name' => \Drupal::config('system.site')->get('name'),
- '%username' => $account->getDisplayName(),
- ];
- if ($context['hook'] == 'taxonomy') {
- $entity = $params['entity'];
- $vocabulary = Vocabulary::load($entity->id());
- $variables += [
- '%term_name' => $entity->name,
- '%term_description' => $entity->description,
- '%term_id' => $entity->id(),
- '%vocabulary_name' => $vocabulary->label(),
- '%vocabulary_description' => $vocabulary->getDescription(),
- '%vocabulary_id' => $vocabulary->id(),
- ];
- }
-
- // Node-based variable translation is only available if we have a node.
- if (isset($params['node'])) {
- /** @var \Drupal\node\NodeInterface $node */
- $node = $params['node'];
- $variables += [
- '%uid' => $node->getOwnerId(),
- '%url' => $node->url('canonical', ['absolute' => TRUE]),
- '%node_type' => node_get_type_label($node),
- '%title' => $node->getTitle(),
- '%teaser' => $node->teaser,
- '%body' => $node->body,
- ];
- }
- $subject = strtr($context['subject'], $variables);
- $body = strtr($context['message'], $variables);
- $message['subject'] .= str_replace(["\r", "\n"], '', $subject);
- $message['body'][] = MailFormatHelper::htmlToText($body);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/mail_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/mail_alter.twig
deleted file mode 100644
index 51b6cc0e5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/mail_alter.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_mail_alter().
- */
-function {{ machine_name }}_mail_alter(&$message) {
- if ($message['id'] == 'modulename_messagekey') {
- if (!example_notifications_optin($message['to'], $message['id'])) {
- // If the recipient has opted to not receive such messages, cancel
- // sending.
- $message['send'] = FALSE;
- return;
- }
- $message['body'][] = "--\nMail sent out from " . \Drupal::config('system.site')->get('name');
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/mail_backend_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/mail_backend_info_alter.twig
deleted file mode 100644
index 1684c403b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/mail_backend_info_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_mail_backend_info_alter().
- */
-function {{ machine_name }}_mail_backend_info_alter(&$info) {
- unset($info['test_mail_collector']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/media_source_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/media_source_info_alter.twig
deleted file mode 100644
index f83048352..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/media_source_info_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_media_source_info_alter().
- */
-function {{ machine_name }}_media_source_info_alter(array &$sources) {
- $sources['youtube']['label'] = t('Youtube rocks!');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/menu_links_discovered_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/menu_links_discovered_alter.twig
deleted file mode 100644
index 3c06cd1a1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/menu_links_discovered_alter.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_menu_links_discovered_alter().
- */
-function {{ machine_name }}_menu_links_discovered_alter(&$links) {
- // Change the weight and title of the user.logout link.
- $links['user.logout']['weight'] = -10;
- $links['user.logout']['title'] = new \Drupal\Core\StringTranslation\TranslatableMarkup('Logout');
- // Conditionally add an additional link with a title that's not translated.
- if (\Drupal::moduleHandler()->moduleExists('search')) {
- $links['menu.api.search'] = [
- 'title' => \Drupal::config('system.site')->get('name'),
- 'route_name' => 'menu.api.search',
- 'description' => new \Drupal\Core\StringTranslation\TranslatableMarkup('View popular search phrases for this site.'),
- 'parent' => 'system.admin_reports',
- ];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/menu_local_actions_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/menu_local_actions_alter.twig
deleted file mode 100644
index b23362af4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/menu_local_actions_alter.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Implements hook_menu_local_actions_alter().
- */
-function {{ machine_name }}_menu_local_actions_alter(&$local_actions) {
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/menu_local_tasks_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/menu_local_tasks_alter.twig
deleted file mode 100644
index aebe42210..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/menu_local_tasks_alter.twig
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * Implements hook_menu_local_tasks_alter().
- */
-function {{ machine_name }}_menu_local_tasks_alter(&$data, $route_name, \Drupal\Core\Cache\RefinableCacheableDependencyInterface &$cacheability) {
-
- // Add a tab linking to node/add to all pages.
- $data['tabs'][0]['node.add_page'] = [
- '#theme' => 'menu_local_task',
- '#link' => [
- 'title' => t('Example tab'),
- 'url' => Url::fromRoute('node.add_page'),
- 'localized_options' => [
- 'attributes' => [
- 'title' => t('Add content'),
- ],
- ],
- ],
- ];
- // The tab we're adding is dependent on a user's access to add content.
- $cacheability->addCacheTags(['user.permissions']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/migrate_MIGRATION_ID_prepare_row.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/migrate_MIGRATION_ID_prepare_row.twig
deleted file mode 100644
index 69aee2302..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/migrate_MIGRATION_ID_prepare_row.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_migrate_MIGRATION_ID_prepare_row().
- */
-function {{ machine_name }}_migrate_MIGRATION_ID_prepare_row(Row $row, MigrateSourceInterface $source, MigrationInterface $migration) {
- $value = $source->getDatabase()->query('SELECT value FROM {variable} WHERE name = :name', [':name' => 'mymodule_filter_foo_' . $row->getSourceProperty('format')])->fetchField();
- if ($value) {
- $row->setSourceProperty('settings:mymodule:foo', unserialize($value));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/migrate_prepare_row.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/migrate_prepare_row.twig
deleted file mode 100644
index f8d9a88a7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/migrate_prepare_row.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_migrate_prepare_row().
- */
-function {{ machine_name }}_migrate_prepare_row(Row $row, MigrateSourceInterface $source, MigrationInterface $migration) {
- if ($migration->id() == 'd6_filter_formats') {
- $value = $source->getDatabase()->query('SELECT value FROM {variable} WHERE name = :name', [':name' => 'mymodule_filter_foo_' . $row->getSourceProperty('format')])->fetchField();
- if ($value) {
- $row->setSourceProperty('settings:mymodule:foo', unserialize($value));
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/migration_plugins_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/migration_plugins_alter.twig
deleted file mode 100644
index 7ff11ea65..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/migration_plugins_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_migration_plugins_alter().
- */
-function {{ machine_name }}_migration_plugins_alter(array &$migrations) {
- $migrations = array_filter($migrations, function (array $migration) {
- $tags = isset($migration['migration_tags']) ? (array) $migration['migration_tags'] : [];
- return !in_array('Drupal 6', $tags);
- });
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/module_implements_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/module_implements_alter.twig
deleted file mode 100644
index 7b8785253..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/module_implements_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_module_implements_alter().
- */
-function {{ machine_name }}_module_implements_alter(&$implementations, $hook) {
- if ($hook == 'form_alter') {
- // Move my_module_form_alter() to the end of the list.
- // \Drupal::moduleHandler()->getImplementations()
- // iterates through $implementations with a foreach loop which PHP iterates
- // in the order that the items were added, so to move an item to the end of
- // the array, we remove it and then add it.
- $group = $implementations['my_module'];
- unset($implementations['my_module']);
- $implementations['my_module'] = $group;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/module_preinstall.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/module_preinstall.twig
deleted file mode 100644
index 4717a7784..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/module_preinstall.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_module_preinstall().
- */
-function {{ machine_name }}_module_preinstall($module) {
- mymodule_cache_clear();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/module_preuninstall.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/module_preuninstall.twig
deleted file mode 100644
index 0d5e2dd46..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/module_preuninstall.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_module_preuninstall().
- */
-function {{ machine_name }}_module_preuninstall($module) {
- mymodule_cache_clear();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/modules_installed.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/modules_installed.twig
deleted file mode 100644
index 1fd277d8a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/modules_installed.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_modules_installed().
- */
-function {{ machine_name }}_modules_installed($modules) {
- if (in_array('lousy_module', $modules)) {
- \Drupal::state()->set('mymodule.lousy_module_compatibility', TRUE);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/modules_uninstalled.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/modules_uninstalled.twig
deleted file mode 100644
index 5fd9366b1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/modules_uninstalled.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_modules_uninstalled().
- */
-function {{ machine_name }}_modules_uninstalled($modules) {
- if (in_array('lousy_module', $modules)) {
- \Drupal::state()->delete('mymodule.lousy_module_compatibility');
- }
- mymodule_cache_rebuild();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_access.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_access.twig
deleted file mode 100644
index 10af844c5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_access.twig
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Implements hook_node_access().
- */
-function {{ machine_name }}_node_access(\Drupal\node\NodeInterface $node, $op, \Drupal\Core\Session\AccountInterface $account) {
- $type = $node->bundle();
-
- switch ($op) {
- case 'create':
- return AccessResult::allowedIfHasPermission($account, 'create ' . $type . ' content');
-
- case 'update':
- if ($account->hasPermission('edit any ' . $type . ' content', $account)) {
- return AccessResult::allowed()->cachePerPermissions();
- }
- else {
- return AccessResult::allowedIf($account->hasPermission('edit own ' . $type . ' content', $account) && ($account->id() == $node->getOwnerId()))->cachePerPermissions()->cachePerUser()->addCacheableDependency($node);
- }
-
- case 'delete':
- if ($account->hasPermission('delete any ' . $type . ' content', $account)) {
- return AccessResult::allowed()->cachePerPermissions();
- }
- else {
- return AccessResult::allowedIf($account->hasPermission('delete own ' . $type . ' content', $account) && ($account->id() == $node->getOwnerId()))->cachePerPermissions()->cachePerUser()->addCacheableDependency($node);
- }
-
- default:
- // No opinion.
- return AccessResult::neutral();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_access_records.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_access_records.twig
deleted file mode 100644
index 599cf06af..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_access_records.twig
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Implements hook_node_access_records().
- */
-function {{ machine_name }}_node_access_records(\Drupal\node\NodeInterface $node) {
- // We only care about the node if it has been marked private. If not, it is
- // treated just like any other node and we completely ignore it.
- if ($node->private->value) {
- $grants = [];
- // Only published Catalan translations of private nodes should be viewable
- // to all users. If we fail to check $node->isPublished(), all users would be able
- // to view an unpublished node.
- if ($node->isPublished()) {
- $grants[] = [
- 'realm' => 'example',
- 'gid' => 1,
- 'grant_view' => 1,
- 'grant_update' => 0,
- 'grant_delete' => 0,
- 'langcode' => 'ca',
- ];
- }
- // For the example_author array, the GID is equivalent to a UID, which
- // means there are many groups of just 1 user.
- // Note that an author can always view his or her nodes, even if they
- // have status unpublished.
- if ($node->getOwnerId()) {
- $grants[] = [
- 'realm' => 'example_author',
- 'gid' => $node->getOwnerId(),
- 'grant_view' => 1,
- 'grant_update' => 1,
- 'grant_delete' => 1,
- 'langcode' => 'ca',
- ];
- }
-
- return $grants;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_access_records_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_access_records_alter.twig
deleted file mode 100644
index 0004dc5bd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_access_records_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_node_access_records_alter().
- */
-function {{ machine_name }}_node_access_records_alter(&$grants, Drupal\node\NodeInterface $node) {
- // Our module allows editors to mark specific articles with the 'is_preview'
- // field. If the node being saved has a TRUE value for that field, then only
- // our grants are retained, and other grants are removed. Doing so ensures
- // that our rules are enforced no matter what priority other grants are given.
- if ($node->is_preview) {
- // Our module grants are set in $grants['example'].
- $temp = $grants['example'];
- // Now remove all module grants but our own.
- $grants = ['example' => $temp];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_grants.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_grants.twig
deleted file mode 100644
index fc6829341..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_grants.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_node_grants().
- */
-function {{ machine_name }}_node_grants(\Drupal\Core\Session\AccountInterface $account, $op) {
- if ($account->hasPermission('access private content')) {
- $grants['example'] = [1];
- }
- if ($account->id()) {
- $grants['example_author'] = [$account->id()];
- }
- return $grants;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_grants_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_grants_alter.twig
deleted file mode 100644
index d41ab6df7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_grants_alter.twig
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * Implements hook_node_grants_alter().
- */
-function {{ machine_name }}_node_grants_alter(&$grants, \Drupal\Core\Session\AccountInterface $account, $op) {
- // Our sample module never allows certain roles to edit or delete
- // content. Since some other node access modules might allow this
- // permission, we expressly remove it by returning an empty $grants
- // array for roles specified in our variable setting.
-
- // Get our list of banned roles.
- $restricted = \Drupal::config('example.settings')->get('restricted_roles');
-
- if ($op != 'view' && !empty($restricted)) {
- // Now check the roles for this account against the restrictions.
- foreach ($account->getRoles() as $rid) {
- if (in_array($rid, $restricted)) {
- $grants = [];
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_links_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_links_alter.twig
deleted file mode 100644
index 57641f9f6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_links_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_node_links_alter().
- */
-function {{ machine_name }}_node_links_alter(array &$links, NodeInterface $entity, array &$context) {
- $links['mymodule'] = [
- '#theme' => 'links__node__mymodule',
- '#attributes' => ['class' => ['links', 'inline']],
- '#links' => [
- 'node-report' => [
- 'title' => t('Report'),
- 'url' => Url::fromRoute('node_test.report', ['node' => $entity->id()], ['query' => ['token' => \Drupal::getContainer()->get('csrf_token')->get("node/{$entity->id()}/report")]]),
- ],
- ],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_search_result.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_search_result.twig
deleted file mode 100644
index 362e21f3f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_search_result.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_node_search_result().
- */
-function {{ machine_name }}_node_search_result(\Drupal\node\NodeInterface $node) {
- $rating = db_query('SELECT SUM(points) FROM {my_rating} WHERE nid = :nid', ['nid' => $node->id()])->fetchField();
- return ['rating' => \Drupal::translation()->formatPlural($rating, '1 point', '@count points')];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_update_index.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_update_index.twig
deleted file mode 100644
index 467744857..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/node_update_index.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_node_update_index().
- */
-function {{ machine_name }}_node_update_index(\Drupal\node\NodeInterface $node) {
- $text = '';
- $ratings = db_query('SELECT title, description FROM {my_ratings} WHERE nid = :nid', [':nid' => $node->id()]);
- foreach ($ratings as $rating) {
- $text .= '' . Html::escape($rating->title) . '
' . Xss::filter($rating->description);
- }
- return $text;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/oembed_resource_url_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/oembed_resource_url_alter.twig
deleted file mode 100644
index 330b95620..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/oembed_resource_url_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_oembed_resource_url_alter().
- */
-function {{ machine_name }}_oembed_resource_url_alter(array &$parsed_url, \Drupal\media\OEmbed\Provider $provider) {
- // Always serve YouTube videos from youtube-nocookie.com.
- if ($provider->getName() === 'YouTube') {
- $parsed_url['path'] = str_replace('://youtube.com/', '://youtube-nocookie.com/', $parsed_url['path']);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/options_list_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/options_list_alter.twig
deleted file mode 100644
index ae6864512..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/options_list_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_options_list_alter().
- */
-function {{ machine_name }}_options_list_alter(array &$options, array $context) {
- // Check if this is the field we want to change.
- if ($context['fieldDefinition']->id() == 'field_option') {
- // Change the label of the empty option.
- $options['_none'] = t('== Empty ==');
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_attachments.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_attachments.twig
deleted file mode 100644
index 3468151ab..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_attachments.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_page_attachments().
- */
-function {{ machine_name }}_page_attachments(array &$attachments) {
- // Unconditionally attach an asset to the page.
- $attachments['#attached']['library'][] = 'core/domready';
-
- // Conditionally attach an asset to the page.
- if (!\Drupal::currentUser()->hasPermission('may pet kittens')) {
- $attachments['#attached']['library'][] = 'core/jquery';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_attachments_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_attachments_alter.twig
deleted file mode 100644
index 5ef312655..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_attachments_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_page_attachments_alter().
- */
-function {{ machine_name }}_page_attachments_alter(array &$attachments) {
- // Conditionally remove an asset.
- if (in_array('core/jquery', $attachments['#attached']['library'])) {
- $index = array_search('core/jquery', $attachments['#attached']['library']);
- unset($attachments['#attached']['library'][$index]);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_bottom.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_bottom.twig
deleted file mode 100644
index 851d2ce2f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_bottom.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_page_bottom().
- */
-function {{ machine_name }}_page_bottom(array &$page_bottom) {
- $page_bottom['mymodule'] = ['#markup' => 'This is the bottom.'];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_top.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_top.twig
deleted file mode 100644
index 4e32a98c8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/page_top.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_page_top().
- */
-function {{ machine_name }}_page_top(array &$page_top) {
- $page_top['mymodule'] = ['#markup' => 'This is the top.'];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/path_delete.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/path_delete.twig
deleted file mode 100644
index 0e8a7df3e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/path_delete.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_path_delete().
- */
-function {{ machine_name }}_path_delete($path) {
- \Drupal::database()->delete('mytable')
- ->condition('pid', $path['pid'])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/path_insert.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/path_insert.twig
deleted file mode 100644
index 5d6f27c8a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/path_insert.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_path_insert().
- */
-function {{ machine_name }}_path_insert($path) {
- \Drupal::database()->insert('mytable')
- ->fields([
- 'alias' => $path['alias'],
- 'pid' => $path['pid'],
- ])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/path_update.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/path_update.twig
deleted file mode 100644
index 99b3fdb6e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/path_update.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_path_update().
- */
-function {{ machine_name }}_path_update($path) {
- if ($path['alias'] != $path['original']['alias']) {
- \Drupal::database()->update('mytable')
- ->fields(['alias' => $path['alias']])
- ->condition('pid', $path['pid'])
- ->execute();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/plugin_filter_TYPE__CONSUMER_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/plugin_filter_TYPE__CONSUMER_alter.twig
deleted file mode 100644
index d843ea6a0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/plugin_filter_TYPE__CONSUMER_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_plugin_filter_TYPE__CONSUMER_alter().
- */
-function {{ machine_name }}_plugin_filter_TYPE__CONSUMER_alter(array &$definitions, array $extra) {
- // Explicitly remove the "Help" block for this consumer.
- unset($definitions['help_block']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/plugin_filter_TYPE_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/plugin_filter_TYPE_alter.twig
deleted file mode 100644
index 4f4ae358b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/plugin_filter_TYPE_alter.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_plugin_filter_TYPE_alter().
- */
-function {{ machine_name }}_plugin_filter_TYPE_alter(array &$definitions, array $extra, $consumer) {
- // Remove the "Help" block from the Block UI list.
- if ($consumer == 'block_ui') {
- unset($definitions['help_block']);
- }
-
- // If the theme is specified, remove the branding block from the Bartik theme.
- if (isset($extra['theme']) && $extra['theme'] === 'bartik') {
- unset($definitions['system_branding_block']);
- }
-
- // Remove the "Main page content" block from everywhere.
- unset($definitions['system_main_block']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/post_update_NAME.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/post_update_NAME.twig
deleted file mode 100644
index 3d6124f57..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/post_update_NAME.twig
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Implements hook_post_update_NAME().
- */
-function {{ machine_name }}_post_update_NAME(&$sandbox) {
- // Example of updating some content.
- $node = \Drupal\node\Entity\Node::load(123);
- $node->setTitle('foo');
- $node->save();
-
- $result = t('Node %nid saved', ['%nid' => $node->id()]);
-
- // Example of disabling blocks with missing condition contexts. Note: The
- // block itself is in a state which is valid at that point.
- // @see block_update_8001()
- // @see block_post_update_disable_blocks_with_missing_contexts()
- $block_update_8001 = \Drupal::keyValue('update_backup')->get('block_update_8001', []);
-
- $block_ids = array_keys($block_update_8001);
- $block_storage = \Drupal::entityManager()->getStorage('block');
- $blocks = $block_storage->loadMultiple($block_ids);
- /** @var $blocks \Drupal\block\BlockInterface[] */
- foreach ($blocks as $block) {
- // This block has had conditions removed due to an inability to resolve
- // contexts in block_update_8001() so disable it.
-
- // Disable currently enabled blocks.
- if ($block_update_8001[$block->id()]['status']) {
- $block->setStatus(FALSE);
- $block->save();
- }
- }
-
- return $result;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/preprocess.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/preprocess.twig
deleted file mode 100644
index 8e35e7b9c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/preprocess.twig
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Implements hook_preprocess().
- */
-function {{ machine_name }}_preprocess(&$variables, $hook) {
- static $hooks;
-
- // Add contextual links to the variables, if the user has permission.
-
- if (!\Drupal::currentUser()->hasPermission('access contextual links')) {
- return;
- }
-
- if (!isset($hooks)) {
- $hooks = theme_get_registry();
- }
-
- // Determine the primary theme function argument.
- if (isset($hooks[$hook]['variables'])) {
- $keys = array_keys($hooks[$hook]['variables']);
- $key = $keys[0];
- }
- else {
- $key = $hooks[$hook]['render element'];
- }
-
- if (isset($variables[$key])) {
- $element = $variables[$key];
- }
-
- if (isset($element) && is_array($element) && !empty($element['#contextual_links'])) {
- $variables['title_suffix']['contextual_links'] = contextual_links_view($element);
- if (!empty($variables['title_suffix']['contextual_links'])) {
- $variables['attributes']['class'][] = 'contextual-links-region';
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/preprocess_HOOK.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/preprocess_HOOK.twig
deleted file mode 100644
index e082e34ed..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/preprocess_HOOK.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_preprocess_HOOK().
- */
-function {{ machine_name }}_preprocess_HOOK(&$variables) {
- // This example is from rdf_preprocess_image(). It adds an RDF attribute
- // to the image hook's variables.
- $variables['attributes']['typeof'] = ['foaf:Image'];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/query_TAG_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/query_TAG_alter.twig
deleted file mode 100644
index 15cc658d2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/query_TAG_alter.twig
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * Implements hook_query_TAG_alter().
- */
-function {{ machine_name }}_query_TAG_alter(Drupal\Core\Database\Query\AlterableInterface $query) {
- // Skip the extra expensive alterations if site has no node access control modules.
- if (!node_access_view_all_nodes()) {
- // Prevent duplicates records.
- $query->distinct();
- // The recognized operations are 'view', 'update', 'delete'.
- if (!$op = $query->getMetaData('op')) {
- $op = 'view';
- }
- // Skip the extra joins and conditions for node admins.
- if (!\Drupal::currentUser()->hasPermission('bypass node access')) {
- // The node_access table has the access grants for any given node.
- $access_alias = $query->join('node_access', 'na', '%alias.nid = n.nid');
- $or = new Condition('OR');
- // If any grant exists for the specified user, then user has access to the node for the specified operation.
- foreach (node_access_grants($op, $query->getMetaData('account')) as $realm => $gids) {
- foreach ($gids as $gid) {
- $or->condition((new Condition('AND'))
- ->condition($access_alias . '.gid', $gid)
- ->condition($access_alias . '.realm', $realm)
- );
- }
- }
-
- if (count($or->conditions())) {
- $query->condition($or);
- }
-
- $query->condition($access_alias . 'grant_' . $op, 1, '>=');
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/query_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/query_alter.twig
deleted file mode 100644
index 37a0f4d27..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/query_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_query_alter().
- */
-function {{ machine_name }}_query_alter(Drupal\Core\Database\Query\AlterableInterface $query) {
- if ($query->hasTag('micro_limit')) {
- $query->range(0, 2);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/queue_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/queue_info_alter.twig
deleted file mode 100644
index f014875d7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/queue_info_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_queue_info_alter().
- */
-function {{ machine_name }}_queue_info_alter(&$queues) {
- // This site has many feeds so let's spend 90 seconds on each cron run
- // updating feeds instead of the default 60.
- $queues['aggregator_feeds']['cron']['time'] = 90;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/quickedit_editor_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/quickedit_editor_alter.twig
deleted file mode 100644
index 20fcdf273..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/quickedit_editor_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_quickedit_editor_alter().
- */
-function {{ machine_name }}_quickedit_editor_alter(&$editors) {
- // Cleanly override editor.module's in-place editor plugin.
- $editors['editor']['class'] = 'Drupal\advanced_editor\Plugin\quickedit\editor\AdvancedEditor';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/quickedit_render_field.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/quickedit_render_field.twig
deleted file mode 100644
index ce90eee73..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/quickedit_render_field.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_quickedit_render_field().
- */
-function {{ machine_name }}_quickedit_render_field(Drupal\Core\Entity\EntityInterface $entity, $field_name, $view_mode_id, $langcode) {
- return [
- '#prefix' => '',
- 'field' => $entity->getTranslation($langcode)->get($field_name)->view($view_mode_id),
- '#suffix' => '',
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ranking.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ranking.twig
deleted file mode 100644
index 71942cd29..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/ranking.twig
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Implements hook_ranking().
- */
-function {{ machine_name }}_ranking() {
- // If voting is disabled, we can avoid returning the array, no hard feelings.
- if (\Drupal::config('vote.settings')->get('node_enabled')) {
- return [
- 'vote_average' => [
- 'title' => t('Average vote'),
- // Note that we use i.sid, the search index's search item id, rather than
- // n.nid.
- 'join' => [
- 'type' => 'LEFT',
- 'table' => 'vote_node_data',
- 'alias' => 'vote_node_data',
- 'on' => 'vote_node_data.nid = i.sid',
- ],
- // The highest possible score should be 1, and the lowest possible score,
- // always 0, should be 0.
- 'score' => 'vote_node_data.average / CAST(%f AS DECIMAL)',
- // Pass in the highest possible voting score as a decimal argument.
- 'arguments' => [\Drupal::config('vote.settings')->get('score_max')],
- ],
- ];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rdf_namespaces.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rdf_namespaces.twig
deleted file mode 100644
index 4caef0d76..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rdf_namespaces.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_rdf_namespaces().
- */
-function {{ machine_name }}_rdf_namespaces() {
- return [
- 'content' => 'http://purl.org/rss/1.0/modules/content/',
- 'dc' => 'http://purl.org/dc/terms/',
- 'foaf' => 'http://xmlns.com/foaf/0.1/',
- 'og' => 'http://ogp.me/ns#',
- 'rdfs' => 'http://www.w3.org/2000/01/rdf-schema#',
- 'sioc' => 'http://rdfs.org/sioc/ns#',
- 'sioct' => 'http://rdfs.org/sioc/types#',
- 'skos' => 'http://www.w3.org/2004/02/skos/core#',
- 'xsd' => 'http://www.w3.org/2001/XMLSchema#',
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rebuild.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rebuild.twig
deleted file mode 100644
index fa61bab38..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rebuild.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_rebuild().
- */
-function {{ machine_name }}_rebuild() {
- $themes = \Drupal::service('theme_handler')->listInfo();
- foreach ($themes as $theme) {
- _block_rehash($theme->getName());
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/render_template.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/render_template.twig
deleted file mode 100644
index 49c6a4dc5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/render_template.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_render_template().
- */
-function {{ machine_name }}_render_template($template_file, $variables) {
- $twig_service = \Drupal::service('twig');
-
- return $twig_service->loadTemplate($template_file)->render($variables);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/requirements.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/requirements.twig
deleted file mode 100644
index a3f4ad160..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/requirements.twig
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * Implements hook_requirements().
- */
-function {{ machine_name }}_requirements($phase) {
- $requirements = [];
-
- // Report Drupal version
- if ($phase == 'runtime') {
- $requirements['drupal'] = [
- 'title' => t('Drupal'),
- 'value' => \Drupal::VERSION,
- 'severity' => REQUIREMENT_INFO,
- ];
- }
-
- // Test PHP version
- $requirements['php'] = [
- 'title' => t('PHP'),
- 'value' => ($phase == 'runtime') ? \Drupal::l(phpversion(), new Url('system.php')) : phpversion(),
- ];
- if (version_compare(phpversion(), DRUPAL_MINIMUM_PHP) < 0) {
- $requirements['php']['description'] = t('Your PHP installation is too old. Drupal requires at least PHP %version.', ['%version' => DRUPAL_MINIMUM_PHP]);
- $requirements['php']['severity'] = REQUIREMENT_ERROR;
- }
-
- // Report cron status
- if ($phase == 'runtime') {
- $cron_last = \Drupal::state()->get('system.cron_last');
-
- if (is_numeric($cron_last)) {
- $requirements['cron']['value'] = t('Last run @time ago', ['@time' => \Drupal::service('date.formatter')->formatTimeDiffSince($cron_last)]);
- }
- else {
- $requirements['cron'] = [
- 'description' => t('Cron has not run. It appears cron jobs have not been setup on your system. Check the help pages for configuring cron jobs.', [':url' => 'https://www.drupal.org/cron']),
- 'severity' => REQUIREMENT_ERROR,
- 'value' => t('Never run'),
- ];
- }
-
- $requirements['cron']['description'] .= ' ' . t('You can run cron manually.', [':cron' => \Drupal::url('system.run_cron')]);
-
- $requirements['cron']['title'] = t('Cron maintenance tasks');
- }
-
- return $requirements;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rest_relation_uri_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rest_relation_uri_alter.twig
deleted file mode 100644
index 4a326090b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rest_relation_uri_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_rest_relation_uri_alter().
- */
-function {{ machine_name }}_rest_relation_uri_alter(&$uri, $context = []) {
- if ($context['mymodule'] == TRUE) {
- $base = \Drupal::config('serialization.settings')->get('link_domain');
- $uri = str_replace($base, 'http://mymodule.domain', $uri);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rest_resource_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rest_resource_alter.twig
deleted file mode 100644
index 6c4f3f7d5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rest_resource_alter.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_rest_resource_alter().
- */
-function {{ machine_name }}_rest_resource_alter(&$definitions) {
- if (isset($definitions['entity:node'])) {
- // We want to handle REST requests regarding nodes with our own plugin
- // class.
- $definitions['entity:node']['class'] = 'Drupal\mymodule\Plugin\rest\resource\NodeResource';
- // Serialized nodes should be expanded to my specific node class.
- $definitions['entity:node']['serialization_class'] = 'Drupal\mymodule\Entity\MyNode';
- }
- // We don't want Views to show up in the array of plugins at all.
- unset($definitions['entity:view']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rest_type_uri_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rest_type_uri_alter.twig
deleted file mode 100644
index 7c8c472bc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rest_type_uri_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_rest_type_uri_alter().
- */
-function {{ machine_name }}_rest_type_uri_alter(&$uri, $context = []) {
- if ($context['mymodule'] == TRUE) {
- $base = \Drupal::config('serialization.settings')->get('link_domain');
- $uri = str_replace($base, 'http://mymodule.domain', $uri);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/schema.twig
deleted file mode 100644
index 8aa980d12..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/schema.twig
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * Implements hook_schema().
- */
-function {{ machine_name }}_schema() {
- $schema['node'] = [
- // Example (partial) specification for table "node".
- 'description' => 'The base table for nodes.',
- 'fields' => [
- 'nid' => [
- 'description' => 'The primary identifier for a node.',
- 'type' => 'serial',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- ],
- 'vid' => [
- 'description' => 'The current {node_field_revision}.vid version identifier.',
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ],
- 'type' => [
- 'description' => 'The type of this node.',
- 'type' => 'varchar',
- 'length' => 32,
- 'not null' => TRUE,
- 'default' => '',
- ],
- 'title' => [
- 'description' => 'The node title.',
- 'type' => 'varchar',
- 'length' => 255,
- 'not null' => TRUE,
- 'default' => '',
- ],
- ],
- 'indexes' => [
- 'node_changed' => ['changed'],
- 'node_created' => ['created'],
- ],
- 'unique keys' => [
- 'nid_vid' => ['nid', 'vid'],
- 'vid' => ['vid'],
- ],
- // For documentation purposes only; foreign keys are not created in the
- // database.
- 'foreign keys' => [
- 'node_revision' => [
- 'table' => 'node_field_revision',
- 'columns' => ['vid' => 'vid'],
- ],
- 'node_author' => [
- 'table' => 'users',
- 'columns' => ['uid' => 'uid'],
- ],
- ],
- 'primary key' => ['nid'],
- ];
- return $schema;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/search_plugin_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/search_plugin_alter.twig
deleted file mode 100644
index c41aec486..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/search_plugin_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_search_plugin_alter().
- */
-function {{ machine_name }}_search_plugin_alter(array &$definitions) {
- if (isset($definitions['node_search'])) {
- $definitions['node_search']['title'] = t('Nodes');
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/search_preprocess.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/search_preprocess.twig
deleted file mode 100644
index bcfa79bdb..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/search_preprocess.twig
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Implements hook_search_preprocess().
- */
-function {{ machine_name }}_search_preprocess($text, $langcode = NULL) {
- // If the language is not set, get it from the language manager.
- if (!isset($langcode)) {
- $langcode = \Drupal::languageManager()->getCurrentLanguage()->getId();
- }
-
- // If the langcode is set to 'en' then add variations of the word "testing"
- // which can also be found during English language searches.
- if ($langcode == 'en') {
- // Add the alternate verb forms for the word "testing".
- if ($text == 'we are testing') {
- $text .= ' test tested';
- }
- }
-
- return $text;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/shortcut_default_set.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/shortcut_default_set.twig
deleted file mode 100644
index bcf8bb5d4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/shortcut_default_set.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_shortcut_default_set().
- */
-function {{ machine_name }}_shortcut_default_set($account) {
- // Use a special set of default shortcuts for administrators only.
- $roles = \Drupal::entityManager()->getStorage('user_role')->loadByProperties(['is_admin' => TRUE]);
- $user_admin_roles = array_intersect(array_keys($roles), $account->getRoles());
- if ($user_admin_roles) {
- return 'admin-shortcuts';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/simpletest_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/simpletest_alter.twig
deleted file mode 100644
index 98cc76eff..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/simpletest_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_simpletest_alter().
- */
-function {{ machine_name }}_simpletest_alter(&$groups) {
- // An alternative session handler module would not want to run the original
- // Session HTTPS handling test because it checks the sessions table in the
- // database.
- unset($groups['Session']['testHttpsSession']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/system_breadcrumb_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/system_breadcrumb_alter.twig
deleted file mode 100644
index 3f6e3a454..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/system_breadcrumb_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_system_breadcrumb_alter().
- */
-function {{ machine_name }}_system_breadcrumb_alter(\Drupal\Core\Breadcrumb\Breadcrumb &$breadcrumb, \Drupal\Core\Routing\RouteMatchInterface $route_match, array $context) {
- // Add an item to the end of the breadcrumb.
- $breadcrumb->addLink(\Drupal\Core\Link::createFromRoute(t('Text'), 'example_route_name'));
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/system_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/system_info_alter.twig
deleted file mode 100644
index 94353f7b3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/system_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_system_info_alter().
- */
-function {{ machine_name }}_system_info_alter(array &$info, \Drupal\Core\Extension\Extension $file, $type) {
- // Only fill this in if the .info.yml file does not define a 'datestamp'.
- if (empty($info['datestamp'])) {
- $info['datestamp'] = $file->getMTime();
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/system_themes_page_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/system_themes_page_alter.twig
deleted file mode 100644
index 26109f4ef..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/system_themes_page_alter.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Implements hook_system_themes_page_alter().
- */
-function {{ machine_name }}_system_themes_page_alter(&$theme_groups) {
- foreach ($theme_groups as $state => &$group) {
- foreach ($theme_groups[$state] as &$theme) {
- // Add a foo link to each list of theme operations.
- $theme->operations[] = [
- 'title' => t('Foo'),
- 'url' => Url::fromRoute('system.themes_page'),
- 'query' => ['theme' => $theme->getName()],
- ];
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/template_preprocess_default_variables_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/template_preprocess_default_variables_alter.twig
deleted file mode 100644
index 14238f67f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/template_preprocess_default_variables_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_template_preprocess_default_variables_alter().
- */
-function {{ machine_name }}_template_preprocess_default_variables_alter(&$variables) {
- $variables['is_admin'] = \Drupal::currentUser()->hasPermission('access administration pages');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/test_finished.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/test_finished.twig
deleted file mode 100644
index dff6f4af6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/test_finished.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Implements hook_test_finished().
- */
-function {{ machine_name }}_test_finished($results) {
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/test_group_finished.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/test_group_finished.twig
deleted file mode 100644
index b2e850ef3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/test_group_finished.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Implements hook_test_group_finished().
- */
-function {{ machine_name }}_test_group_finished() {
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/test_group_started.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/test_group_started.twig
deleted file mode 100644
index fe1c85848..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/test_group_started.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Implements hook_test_group_started().
- */
-function {{ machine_name }}_test_group_started() {
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme.twig
deleted file mode 100644
index 76935e80f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme.twig
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Implements hook_theme().
- */
-function {{ machine_name }}_theme($existing, $type, $theme, $path) {
- return [
- 'forum_display' => [
- 'variables' => ['forums' => NULL, 'topics' => NULL, 'parents' => NULL, 'tid' => NULL, 'sortby' => NULL, 'forum_per_page' => NULL],
- ],
- 'forum_list' => [
- 'variables' => ['forums' => NULL, 'parents' => NULL, 'tid' => NULL],
- ],
- 'forum_icon' => [
- 'variables' => ['new_posts' => NULL, 'num_posts' => 0, 'comment_mode' => 0, 'sticky' => 0],
- ],
- 'status_report' => [
- 'render element' => 'requirements',
- 'file' => 'system.admin.inc',
- ],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_registry_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_registry_alter.twig
deleted file mode 100644
index cdbb17e9f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_registry_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_theme_registry_alter().
- */
-function {{ machine_name }}_theme_registry_alter(&$theme_registry) {
- // Kill the next/previous forum topic navigation links.
- foreach ($theme_registry['forum_topic_navigation']['preprocess functions'] as $key => $value) {
- if ($value == 'template_preprocess_forum_topic_navigation') {
- unset($theme_registry['forum_topic_navigation']['preprocess functions'][$key]);
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_HOOK.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_HOOK.twig
deleted file mode 100644
index f099429f7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_HOOK.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_theme_suggestions_HOOK().
- */
-function {{ machine_name }}_theme_suggestions_HOOK(array $variables) {
- $suggestions = [];
-
- $suggestions[] = 'hookname__' . $variables['elements']['#langcode'];
-
- return $suggestions;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_HOOK_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_HOOK_alter.twig
deleted file mode 100644
index ce59e81b2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_HOOK_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_theme_suggestions_HOOK_alter().
- */
-function {{ machine_name }}_theme_suggestions_HOOK_alter(array &$suggestions, array $variables) {
- if (empty($variables['header'])) {
- $suggestions[] = 'hookname__' . 'no_header';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_alter.twig
deleted file mode 100644
index 8a6c6cb56..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_theme_suggestions_alter().
- */
-function {{ machine_name }}_theme_suggestions_alter(array &$suggestions, array $variables, $hook) {
- // Add an interface-language specific suggestion to all theme hooks.
- $suggestions[] = $hook . '__' . \Drupal::languageManager()->getCurrentLanguage()->getId();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/themes_installed.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/themes_installed.twig
deleted file mode 100644
index beed725ec..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/themes_installed.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_themes_installed().
- */
-function {{ machine_name }}_themes_installed($theme_list) {
- foreach ($theme_list as $theme) {
- block_theme_initialize($theme);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/themes_uninstalled.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/themes_uninstalled.twig
deleted file mode 100644
index 21664d2c9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/themes_uninstalled.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_themes_uninstalled().
- */
-function {{ machine_name }}_themes_uninstalled(array $themes) {
- // Remove some state entries depending on the theme.
- foreach ($themes as $theme) {
- \Drupal::state()->delete('example.' . $theme);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/token_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/token_info.twig
deleted file mode 100644
index c6340eef8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/token_info.twig
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Implements hook_token_info().
- */
-function {{ machine_name }}_token_info() {
- $type = [
- 'name' => t('Nodes'),
- 'description' => t('Tokens related to individual nodes.'),
- 'needs-data' => 'node',
- ];
-
- // Core tokens for nodes.
- $node['nid'] = [
- 'name' => t("Node ID"),
- 'description' => t("The unique ID of the node."),
- ];
- $node['title'] = [
- 'name' => t("Title"),
- ];
- $node['edit-url'] = [
- 'name' => t("Edit URL"),
- 'description' => t("The URL of the node's edit page."),
- ];
-
- // Chained tokens for nodes.
- $node['created'] = [
- 'name' => t("Date created"),
- 'type' => 'date',
- ];
- $node['author'] = [
- 'name' => t("Author"),
- 'type' => 'user',
- ];
-
- return [
- 'types' => ['node' => $type],
- 'tokens' => ['node' => $node],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/token_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/token_info_alter.twig
deleted file mode 100644
index 3b0b20a19..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/token_info_alter.twig
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * Implements hook_token_info_alter().
- */
-function {{ machine_name }}_token_info_alter(&$data) {
- // Modify description of node tokens for our site.
- $data['tokens']['node']['nid'] = [
- 'name' => t("Node ID"),
- 'description' => t("The unique ID of the article."),
- ];
- $data['tokens']['node']['title'] = [
- 'name' => t("Title"),
- 'description' => t("The title of the article."),
- ];
-
- // Chained tokens for nodes.
- $data['tokens']['node']['created'] = [
- 'name' => t("Date created"),
- 'description' => t("The date the article was posted."),
- 'type' => 'date',
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tokens.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tokens.twig
deleted file mode 100644
index 4298e6032..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tokens.twig
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * Implements hook_tokens().
- */
-function {{ machine_name }}_tokens($type, $tokens, array $data, array $options, \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata) {
- $token_service = \Drupal::token();
-
- $url_options = ['absolute' => TRUE];
- if (isset($options['langcode'])) {
- $url_options['language'] = \Drupal::languageManager()->getLanguage($options['langcode']);
- $langcode = $options['langcode'];
- }
- else {
- $langcode = NULL;
- }
- $replacements = [];
-
- if ($type == 'node' && !empty($data['node'])) {
- /** @var \Drupal\node\NodeInterface $node */
- $node = $data['node'];
-
- foreach ($tokens as $name => $original) {
- switch ($name) {
- // Simple key values on the node.
- case 'nid':
- $replacements[$original] = $node->nid;
- break;
-
- case 'title':
- $replacements[$original] = $node->getTitle();
- break;
-
- case 'edit-url':
- $replacements[$original] = $node->url('edit-form', $url_options);
- break;
-
- // Default values for the chained tokens handled below.
- case 'author':
- $account = $node->getOwner() ? $node->getOwner() : User::load(0);
- $replacements[$original] = $account->label();
- $bubbleable_metadata->addCacheableDependency($account);
- break;
-
- case 'created':
- $replacements[$original] = format_date($node->getCreatedTime(), 'medium', '', NULL, $langcode);
- break;
- }
- }
-
- if ($author_tokens = $token_service->findWithPrefix($tokens, 'author')) {
- $replacements += $token_service->generate('user', $author_tokens, ['user' => $node->getOwner()], $options, $bubbleable_metadata);
- }
-
- if ($created_tokens = $token_service->findWithPrefix($tokens, 'created')) {
- $replacements += $token_service->generate('date', $created_tokens, ['date' => $node->getCreatedTime()], $options, $bubbleable_metadata);
- }
- }
-
- return $replacements;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tokens_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tokens_alter.twig
deleted file mode 100644
index 4d44be7af..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tokens_alter.twig
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * Implements hook_tokens_alter().
- */
-function {{ machine_name }}_tokens_alter(array &$replacements, array $context, \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata) {
- $options = $context['options'];
-
- if (isset($options['langcode'])) {
- $url_options['language'] = \Drupal::languageManager()->getLanguage($options['langcode']);
- $langcode = $options['langcode'];
- }
- else {
- $langcode = NULL;
- }
-
- if ($context['type'] == 'node' && !empty($context['data']['node'])) {
- $node = $context['data']['node'];
-
- // Alter the [node:title] token, and replace it with the rendered content
- // of a field (field_title).
- if (isset($context['tokens']['title'])) {
- $title = $node->field_title->view('default');
- $replacements[$context['tokens']['title']] = drupal_render($title);
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/toolbar.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/toolbar.twig
deleted file mode 100644
index 29fbe5ffd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/toolbar.twig
+++ /dev/null
@@ -1,107 +0,0 @@
-/**
- * Implements hook_toolbar().
- */
-function {{ machine_name }}_toolbar() {
- $items = [];
-
- // Add a search field to the toolbar. The search field employs no toolbar
- // module theming functions.
- $items['global_search'] = [
- '#type' => 'toolbar_item',
- 'tab' => [
- '#type' => 'search',
- '#attributes' => [
- 'placeholder' => t('Search the site'),
- 'class' => ['search-global'],
- ],
- ],
- '#weight' => 200,
- // Custom CSS, JS or a library can be associated with the toolbar item.
- '#attached' => [
- 'library' => [
- 'search/global',
- ],
- ],
- ];
-
- // The 'Home' tab is a simple link, which is wrapped in markup associated
- // with a visual tab styling.
- $items['home'] = [
- '#type' => 'toolbar_item',
- 'tab' => [
- '#type' => 'link',
- '#title' => t('Home'),
- '#url' => Url::fromRoute(''),
- '#options' => [
- 'attributes' => [
- 'title' => t('Home page'),
- 'class' => ['toolbar-icon', 'toolbar-icon-home'],
- ],
- ],
- ],
- '#weight' => -20,
- ];
-
- // A tray may be associated with a tab.
- //
- // When the tab is activated, the tray will become visible, either in a
- // horizontal or vertical orientation on the screen.
- //
- // The tray should contain a renderable array. An optional #heading property
- // can be passed. This text is written to a heading tag in the tray as a
- // landmark for accessibility.
- $items['commerce'] = [
- '#type' => 'toolbar_item',
- 'tab' => [
- '#type' => 'link',
- '#title' => t('Shopping cart'),
- '#url' => Url::fromRoute('cart'),
- '#options' => [
- 'attributes' => [
- 'title' => t('Shopping cart'),
- ],
- ],
- ],
- 'tray' => [
- '#heading' => t('Shopping cart actions'),
- 'shopping_cart' => [
- '#theme' => 'item_list',
- '#items' => [/* An item list renderable array */],
- ],
- ],
- '#weight' => 150,
- ];
-
- // The tray can be used to render arbitrary content.
- //
- // A renderable array passed to the 'tray' property will be rendered outside
- // the administration bar but within the containing toolbar element.
- //
- // If the default behavior and styling of a toolbar tray is not desired, one
- // can render content to the toolbar element and apply custom theming and
- // behaviors.
- $items['user_messages'] = [
- // Include the toolbar_tab_wrapper to style the link like a toolbar tab.
- // Exclude the theme wrapper if custom styling is desired.
- '#type' => 'toolbar_item',
- 'tab' => [
- '#type' => 'link',
- '#theme' => 'user_message_toolbar_tab',
- '#theme_wrappers' => [],
- '#title' => t('Messages'),
- '#url' => Url::fromRoute('user.message'),
- '#options' => [
- 'attributes' => [
- 'title' => t('Messages'),
- ],
- ],
- ],
- 'tray' => [
- '#heading' => t('User messages'),
- 'messages' => [/* renderable content */],
- ],
- '#weight' => 125,
- ];
-
- return $items;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/toolbar_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/toolbar_alter.twig
deleted file mode 100644
index f648cb510..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/toolbar_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_toolbar_alter().
- */
-function {{ machine_name }}_toolbar_alter(&$items) {
- // Move the User tab to the right.
- $items['commerce']['#weight'] = 5;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tour_tips_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tour_tips_alter.twig
deleted file mode 100644
index d17ede84f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tour_tips_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_tour_tips_alter().
- */
-function {{ machine_name }}_tour_tips_alter(array &$tour_tips, Drupal\Core\Entity\EntityInterface $entity) {
- foreach ($tour_tips as $tour_tip) {
- if ($tour_tip->get('id') == 'tour-code-test-1') {
- $tour_tip->set('body', 'Altered by hook_tour_tips_alter');
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tour_tips_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tour_tips_info_alter.twig
deleted file mode 100644
index fd5573413..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/tour_tips_info_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_tour_tips_info_alter().
- */
-function {{ machine_name }}_tour_tips_info_alter(&$info) {
- // Swap out the class used for this tip plugin.
- if (isset($info['text'])) {
- $info['class'] = 'Drupal\mymodule\Plugin\tour\tip\MyCustomTipPlugin';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/transliteration_overrides_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/transliteration_overrides_alter.twig
deleted file mode 100644
index 9f7c9ad7b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/transliteration_overrides_alter.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Implements hook_transliteration_overrides_alter().
- */
-function {{ machine_name }}_transliteration_overrides_alter(&$overrides, $langcode) {
- // Provide special overrides for German for a custom site.
- if ($langcode == 'de') {
- // The core-provided transliteration of Ä is Ae, but we want just A.
- $overrides[0xC4] = 'A';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/uninstall.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/uninstall.twig
deleted file mode 100644
index 677d773fc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/uninstall.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_uninstall().
- */
-function {{ machine_name }}_uninstall() {
- // Remove the styles directory and generated images.
- file_unmanaged_delete_recursive(file_default_scheme() . '://styles');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_N.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_N.twig
deleted file mode 100644
index 726e66daa..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_N.twig
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Implements hook_update_N().
- */
-function {{ machine_name }}_update_N(&$sandbox) {
- // For non-batch updates, the signature can simply be:
- // function {{ machine_name }}_update_N() {
-
- // Example function body for adding a field to a database table, which does
- // not require a batch operation:
- $spec = [
- 'type' => 'varchar',
- 'description' => "New Col",
- 'length' => 20,
- 'not null' => FALSE,
- ];
- $schema = Database::getConnection()->schema();
- $schema->addField('mytable1', 'newcol', $spec);
-
- // Example of what to do if there is an error during your update.
- if ($some_error_condition_met) {
- throw new UpdateException('Something went wrong; here is what you should do.');
- }
-
- // Example function body for a batch update. In this example, the values in
- // a database field are updated.
- if (!isset($sandbox['progress'])) {
- // This must be the first run. Initialize the sandbox.
- $sandbox['progress'] = 0;
- $sandbox['current_pk'] = 0;
- $sandbox['max'] = Database::getConnection()->query('SELECT COUNT(myprimarykey) FROM {mytable1}')->fetchField() - 1;
- }
-
- // Update in chunks of 20.
- $records = Database::getConnection()->select('mytable1', 'm')
- ->fields('m', ['myprimarykey', 'otherfield'])
- ->condition('myprimarykey', $sandbox['current_pk'], '>')
- ->range(0, 20)
- ->orderBy('myprimarykey', 'ASC')
- ->execute();
- foreach ($records as $record) {
- // Here, you would make an update something related to this record. In this
- // example, some text is added to the other field.
- Database::getConnection()->update('mytable1')
- ->fields(['otherfield' => $record->otherfield . '-suffix'])
- ->condition('myprimarykey', $record->myprimarykey)
- ->execute();
-
- $sandbox['progress']++;
- $sandbox['current_pk'] = $record->myprimarykey;
- }
-
- $sandbox['#finished'] = empty($sandbox['max']) ? 1 : ($sandbox['progress'] / $sandbox['max']);
-
- // To display a message to the user when the update is completed, return it.
- // If you do not want to display a completion message, return nothing.
- return t('All foo bars were updated with the new suffix');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_dependencies.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_dependencies.twig
deleted file mode 100644
index a7373b04d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_dependencies.twig
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Implements hook_update_dependencies().
- */
-function {{ machine_name }}_update_dependencies() {
- // Indicate that the mymodule_update_8001() function provided by this module
- // must run after the another_module_update_8003() function provided by the
- // 'another_module' module.
- $dependencies['mymodule'][8001] = [
- 'another_module' => 8003,
- ];
- // Indicate that the mymodule_update_8002() function provided by this module
- // must run before the yet_another_module_update_8005() function provided by
- // the 'yet_another_module' module. (Note that declaring dependencies in this
- // direction should be done only in rare situations, since it can lead to the
- // following problem: If a site has already run the yet_another_module
- // module's database updates before it updates its codebase to pick up the
- // newest mymodule code, then the dependency declared here will be ignored.)
- $dependencies['yet_another_module'][8005] = [
- 'mymodule' => 8002,
- ];
- return $dependencies;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_last_removed.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_last_removed.twig
deleted file mode 100644
index 71b8eb0a5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_last_removed.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_update_last_removed().
- */
-function {{ machine_name }}_update_last_removed() {
- // We've removed the 8.x-1.x version of mymodule, including database updates.
- // The next update function is mymodule_update_8200().
- return 8103;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_projects_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_projects_alter.twig
deleted file mode 100644
index 41691cd9b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_projects_alter.twig
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Implements hook_update_projects_alter().
- */
-function {{ machine_name }}_update_projects_alter(&$projects) {
- // Hide a site-specific module from the list.
- unset($projects['site_specific_module']);
-
- // Add a disabled module to the list.
- // The key for the array should be the machine-readable project "short name".
- $projects['disabled_project_name'] = [
- // Machine-readable project short name (same as the array key above).
- 'name' => 'disabled_project_name',
- // Array of values from the main .info.yml file for this project.
- 'info' => [
- 'name' => 'Some disabled module',
- 'description' => 'A module not enabled on the site that you want to see in the available updates report.',
- 'version' => '8.x-1.0',
- 'core' => '8.x',
- // The maximum file change time (the "ctime" returned by the filectime()
- // PHP method) for all of the .info.yml files included in this project.
- '_info_file_ctime' => 1243888165,
- ],
- // The date stamp when the project was released, if known. If the disabled
- // project was an officially packaged release from drupal.org, this will
- // be included in the .info.yml file as the 'datestamp' field. This only
- // really matters for development snapshot releases that are regenerated,
- // so it can be left undefined or set to 0 in most cases.
- 'datestamp' => 1243888185,
- // Any modules (or themes) included in this project. Keyed by machine-
- // readable "short name", value is the human-readable project name printed
- // in the UI.
- 'includes' => [
- 'disabled_project' => 'Disabled module',
- 'disabled_project_helper' => 'Disabled module helper module',
- 'disabled_project_foo' => 'Disabled module foo add-on module',
- ],
- // Does this project contain a 'module', 'theme', 'disabled-module', or
- // 'disabled-theme'?
- 'project_type' => 'disabled-module',
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_status_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_status_alter.twig
deleted file mode 100644
index 0ecd08608..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/update_status_alter.twig
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Implements hook_update_status_alter().
- */
-function {{ machine_name }}_update_status_alter(&$projects) {
- $settings = \Drupal::config('update_advanced.settings')->get('projects');
- foreach ($projects as $project => $project_info) {
- if (isset($settings[$project]) && isset($settings[$project]['check']) &&
- ($settings[$project]['check'] == 'never' ||
- (isset($project_info['recommended']) &&
- $settings[$project]['check'] === $project_info['recommended']))) {
- $projects[$project]['status'] = UPDATE_NOT_CHECKED;
- $projects[$project]['reason'] = t('Ignored from settings');
- if (!empty($settings[$project]['notes'])) {
- $projects[$project]['extra'][] = [
- 'class' => ['admin-note'],
- 'label' => t('Administrator note'),
- 'data' => $settings[$project]['notes'],
- ];
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/updater_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/updater_info.twig
deleted file mode 100644
index 4bee33ca9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/updater_info.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_updater_info().
- */
-function {{ machine_name }}_updater_info() {
- return [
- 'module' => [
- 'class' => 'Drupal\Core\Updater\Module',
- 'name' => t('Update modules'),
- 'weight' => 0,
- ],
- 'theme' => [
- 'class' => 'Drupal\Core\Updater\Theme',
- 'name' => t('Update themes'),
- 'weight' => 0,
- ],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/updater_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/updater_info_alter.twig
deleted file mode 100644
index c82213042..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/updater_info_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_updater_info_alter().
- */
-function {{ machine_name }}_updater_info_alter(&$updaters) {
- // Adjust weight so that the theme Updater gets a chance to handle a given
- // update task before module updaters.
- $updaters['theme']['weight'] = -1;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_cancel.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_cancel.twig
deleted file mode 100644
index 8ecdbd06a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_cancel.twig
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Implements hook_user_cancel().
- */
-function {{ machine_name }}_user_cancel($edit, UserInterface $account, $method) {
- switch ($method) {
- case 'user_cancel_block_unpublish':
- // Unpublish nodes (current revisions).
- module_load_include('inc', 'node', 'node.admin');
- $nodes = \Drupal::entityQuery('node')
- ->condition('uid', $account->id())
- ->execute();
- node_mass_update($nodes, ['status' => 0], NULL, TRUE);
- break;
-
- case 'user_cancel_reassign':
- // Anonymize nodes (current revisions).
- module_load_include('inc', 'node', 'node.admin');
- $nodes = \Drupal::entityQuery('node')
- ->condition('uid', $account->id())
- ->execute();
- node_mass_update($nodes, ['uid' => 0], NULL, TRUE);
- // Anonymize old revisions.
- \Drupal::database()->update('node_field_revision')
- ->fields(['uid' => 0])
- ->condition('uid', $account->id())
- ->execute();
- break;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_cancel_methods_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_cancel_methods_alter.twig
deleted file mode 100644
index d44589406..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_cancel_methods_alter.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Implements hook_user_cancel_methods_alter().
- */
-function {{ machine_name }}_user_cancel_methods_alter(&$methods) {
- $account = \Drupal::currentUser();
- // Limit access to disable account and unpublish content method.
- $methods['user_cancel_block_unpublish']['access'] = $account->hasPermission('administer site configuration');
-
- // Remove the content re-assigning method.
- unset($methods['user_cancel_reassign']);
-
- // Add a custom zero-out method.
- $methods['mymodule_zero_out'] = [
- 'title' => t('Delete the account and remove all content.'),
- 'description' => t('All your content will be replaced by empty strings.'),
- // access should be used for administrative methods only.
- 'access' => $account->hasPermission('access zero-out account cancellation method'),
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_format_name_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_format_name_alter.twig
deleted file mode 100644
index d1d13f6f7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_format_name_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_user_format_name_alter().
- */
-function {{ machine_name }}_user_format_name_alter(&$name, AccountInterface $account) {
- // Display the user's uid instead of name.
- if ($account->id()) {
- $name = t('User @uid', ['@uid' => $account->id()]);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_login.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_login.twig
deleted file mode 100644
index e9e0b32b2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_login.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Implements hook_user_login().
- */
-function {{ machine_name }}_user_login(UserInterface $account) {
- $config = \Drupal::config('system.date');
- // If the user has a NULL time zone, notify them to set a time zone.
- if (!$account->getTimezone() && $config->get('timezone.user.configurable') && $config->get('timezone.user.warn')) {
- \Drupal::messenger()
- ->addStatus(t('Configure your account time zone setting.', [
- ':user-edit' => $account->url('edit-form', [
- 'query' => \Drupal::destination()
- ->getAsArray(),
- 'fragment' => 'edit-timezone',
- ]),
- ]));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_logout.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_logout.twig
deleted file mode 100644
index 5dfff2f0a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/user_logout.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_user_logout().
- */
-function {{ machine_name }}_user_logout(AccountInterface $account) {
- \Drupal::database()->insert('logouts')
- ->fields([
- 'uid' => $account->id(),
- 'time' => time(),
- ])
- ->execute();
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/validation_constraint_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/validation_constraint_alter.twig
deleted file mode 100644
index 8d368f3df..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/validation_constraint_alter.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_validation_constraint_alter().
- */
-function {{ machine_name }}_validation_constraint_alter(array &$definitions) {
- $definitions['Null']['class'] = '\Drupal\mymodule\Validator\Constraints\MyClass';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/verify_update_archive.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/verify_update_archive.twig
deleted file mode 100644
index 5c124567e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/verify_update_archive.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_verify_update_archive().
- */
-function {{ machine_name }}_verify_update_archive($project, $archive_file, $directory) {
- $errors = [];
- if (!file_exists($directory)) {
- $errors[] = t('The %directory does not exist.', ['%directory' => $directory]);
- }
- // Add other checks on the archive integrity here.
- return $errors;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_analyze.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_analyze.twig
deleted file mode 100644
index 08f8fecd1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_analyze.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_views_analyze().
- */
-function {{ machine_name }}_views_analyze(Drupal\views\ViewExecutable $view) {
- $messages = [];
-
- if ($view->display_handler->options['pager']['type'] == 'none') {
- $messages[] = Drupal\views\Analyzer::formatMessage(t('This view has no pager. This could cause performance issues when the view contains many items.'), 'warning');
- }
-
- return $messages;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_data.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_data.twig
deleted file mode 100644
index 855d9a7c8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_data.twig
+++ /dev/null
@@ -1,311 +0,0 @@
-/**
- * Implements hook_views_data().
- */
-function {{ machine_name }}_views_data() {
- // This example describes how to write hook_views_data() for a table defined
- // like this:
- // CREATE TABLE example_table (
- // nid INT(11) NOT NULL COMMENT 'Primary key: {node}.nid.',
- // plain_text_field VARCHAR(32) COMMENT 'Just a plain text field.',
- // numeric_field INT(11) COMMENT 'Just a numeric field.',
- // boolean_field INT(1) COMMENT 'Just an on/off field.',
- // timestamp_field INT(8) COMMENT 'Just a timestamp field.',
- // langcode VARCHAR(12) COMMENT 'Language code field.',
- // PRIMARY KEY(nid)
- // );
-
- // Define the return array.
- $data = [];
-
- // The outermost keys of $data are Views table names, which should usually
- // be the same as the hook_schema() table names.
- $data['example_table'] = [];
-
- // The value corresponding to key 'table' gives properties of the table
- // itself.
- $data['example_table']['table'] = [];
-
- // Within 'table', the value of 'group' (translated string) is used as a
- // prefix in Views UI for this table's fields, filters, etc. When adding
- // a field, filter, etc. you can also filter by the group.
- $data['example_table']['table']['group'] = t('Example table');
-
- // Within 'table', the value of 'provider' is the module that provides schema
- // or the entity type that causes the table to exist. Setting this ensures
- // that views have the correct dependencies. This is automatically set to the
- // module that implements hook_views_data().
- $data['example_table']['table']['provider'] = 'example_module';
-
- // Some tables are "base" tables, meaning that they can be the base tables
- // for views. Non-base tables can only be brought in via relationships in
- // views based on other tables. To define a table to be a base table, add
- // key 'base' to the 'table' array:
- $data['example_table']['table']['base'] = [
- // Identifier (primary) field in this table for Views.
- 'field' => 'nid',
- // Label in the UI.
- 'title' => t('Example table'),
- // Longer description in the UI. Required.
- 'help' => t('Example table contains example content and can be related to nodes.'),
- 'weight' => -10,
- ];
-
- // Some tables have an implicit, automatic relationship to other tables,
- // meaning that when the other table is available in a view (either as the
- // base table or through a relationship), this table's fields, filters, etc.
- // are automatically made available without having to add an additional
- // relationship. To define an implicit relationship that will make your
- // table automatically available when another table is present, add a 'join'
- // section to your 'table' section. Note that it is usually only a good idea
- // to do this for one-to-one joins, because otherwise your automatic join
- // will add more rows to the view. It is also not a good idea to do this if
- // most views won't need your table -- if that is the case, define a
- // relationship instead (see below).
- //
- // If you've decided an automatic join is a good idea, here's how to do it;
- // the resulting SQL query will look something like this:
- // ... FROM example_table et ... JOIN node_field_data nfd
- // ON et.nid = nfd.nid AND ('extra' clauses will be here) ...
- // although the table aliases will be different.
- $data['example_table']['table']['join'] = [
- // Within the 'join' section, list one or more tables to automatically
- // join to. In this example, every time 'node_field_data' is available in
- // a view, 'example_table' will be too. The array keys here are the array
- // keys for the other tables, given in their hook_views_data()
- // implementations. If the table listed here is from another module's
- // hook_views_data() implementation, make sure your module depends on that
- // other module.
- 'node_field_data' => [
- // Primary key field in node_field_data to use in the join.
- 'left_field' => 'nid',
- // Foreign key field in example_table to use in the join.
- 'field' => 'nid',
- // 'extra' is an array of additional conditions on the join.
- 'extra' => [
- 0 => [
- // Adds AND node_field_data.published = TRUE to the join.
- 'field' => 'published',
- 'value' => TRUE,
- ],
- 1 => [
- // Adds AND example_table.numeric_field = 1 to the join.
- 'left_field' => 'numeric_field',
- 'value' => 1,
- // If true, the value will not be surrounded in quotes.
- 'numeric' => TRUE,
- ],
- 2 => [
- // Adds AND example_table.boolean_field <>
- // node_field_data.published to the join.
- 'field' => 'published',
- 'left_field' => 'boolean_field',
- // The operator used, Defaults to "=".
- 'operator' => '!=',
- ],
- ],
- ],
- ];
-
- // You can also do a more complex join, where in order to get to a certain
- // base table defined in a hook_views_data() implementation, you will join
- // to a different table that Views knows how to auto-join to the base table.
- // For instance, if another module that your module depends on had
- // defined a table 'foo' with an automatic join to 'node_field_table' (as
- // shown above), you could join to 'node_field_table' via the 'foo' table.
- // Here's how to do this, and the resulting SQL query would look something
- // like this:
- // ... FROM example_table et ... JOIN foo foo
- // ON et.nid = foo.nid AND ('extra' clauses will be here) ...
- // JOIN node_field_data nfd ON (definition of the join from the foo
- // module goes here) ...
- // although the table aliases will be different.
- $data['example_table']['table']['join']['node_field_data'] = [
- // 'node_field_data' above is the base we're joining to in Views.
- // 'left_table' is the table we're actually joining to, in order to get to
- // 'node_field_data'. It has to be something that Views knows how to join
- // to 'node_field_data'.
- 'left_table' => 'foo',
- 'left_field' => 'nid',
- 'field' => 'nid',
- // 'extra' is an array of additional conditions on the join.
- 'extra' => [
- // This syntax matches additional fields in the two tables:
- // ... AND foo.langcode = example_table.langcode ...
- ['left_field' => 'langcode', 'field' => 'langcode'],
- // This syntax adds a condition on our table. 'operator' defaults to
- // '=' for non-array values, or 'IN' for array values.
- // ... AND example_table.numeric_field > 0 ...
- ['field' => 'numeric_field', 'value' => 0, 'numeric' => TRUE, 'operator' => '>'],
- ],
- ];
-
- // Other array elements at the top level of your table's array describe
- // individual database table fields made available to Views. The array keys
- // are the names (unique within the table) used by Views for the fields,
- // usually equal to the database field names.
- //
- // Each field entry must have the following elements:
- // - title: Translated label for the field in the UI.
- // - help: Description of the field in the UI.
- //
- // Each field entry may also have one or more of the following elements,
- // describing "handlers" (plugins) for the field:
- // - relationship: Specifies a handler that allows this field to be used
- // to define a relationship to another table in Views.
- // - field: Specifies a handler to make it available to Views as a field.
- // - filter: Specifies a handler to make it available to Views as a filter.
- // - sort: Specifies a handler to make it available to Views as a sort.
- // - argument: Specifies a handler to make it available to Views as an
- // argument, or contextual filter as it is known in the UI.
- // - area: Specifies a handler to make it available to Views to add content
- // to the header, footer, or as no result behavior.
- //
- // Note that when specifying handlers, you must give the handler plugin ID
- // and you may also specify overrides for various settings that make up the
- // plugin definition. See examples below; the Boolean example demonstrates
- // setting overrides.
-
- // Node ID field, exposed as relationship only, since it is a foreign key
- // in this table.
- $data['example_table']['nid'] = [
- 'title' => t('Example content'),
- 'help' => t('Relate example content to the node content'),
-
- // Define a relationship to the node_field_data table, so views whose
- // base table is example_table can add a relationship to nodes. To make a
- // relationship in the other direction, you can:
- // - Use hook_views_data_alter() -- see the function body example on that
- // hook for details.
- // - Use the implicit join method described above.
- 'relationship' => [
- // Views name of the table to join to for the relationship.
- 'base' => 'node_field_data',
- // Database field name in the other table to join on.
- 'base field' => 'nid',
- // ID of relationship handler plugin to use.
- 'id' => 'standard',
- // Default label for relationship in the UI.
- 'label' => t('Example node'),
- ],
- ];
-
- // Plain text field, exposed as a field, sort, filter, and argument.
- $data['example_table']['plain_text_field'] = [
- 'title' => t('Plain text field'),
- 'help' => t('Just a plain text field.'),
-
- 'field' => [
- // ID of field handler plugin to use.
- 'id' => 'standard',
- ],
-
- 'sort' => [
- // ID of sort handler plugin to use.
- 'id' => 'standard',
- ],
-
- 'filter' => [
- // ID of filter handler plugin to use.
- 'id' => 'string',
- ],
-
- 'argument' => [
- // ID of argument handler plugin to use.
- 'id' => 'string',
- ],
- ];
-
- // Numeric field, exposed as a field, sort, filter, and argument.
- $data['example_table']['numeric_field'] = [
- 'title' => t('Numeric field'),
- 'help' => t('Just a numeric field.'),
-
- 'field' => [
- // ID of field handler plugin to use.
- 'id' => 'numeric',
- ],
-
- 'sort' => [
- // ID of sort handler plugin to use.
- 'id' => 'standard',
- ],
-
- 'filter' => [
- // ID of filter handler plugin to use.
- 'id' => 'numeric',
- ],
-
- 'argument' => [
- // ID of argument handler plugin to use.
- 'id' => 'numeric',
- ],
- ];
-
- // Boolean field, exposed as a field, sort, and filter. The filter section
- // illustrates overriding various settings.
- $data['example_table']['boolean_field'] = [
- 'title' => t('Boolean field'),
- 'help' => t('Just an on/off field.'),
-
- 'field' => [
- // ID of field handler plugin to use.
- 'id' => 'boolean',
- ],
-
- 'sort' => [
- // ID of sort handler plugin to use.
- 'id' => 'standard',
- ],
-
- 'filter' => [
- // ID of filter handler plugin to use.
- 'id' => 'boolean',
- // Override the generic field title, so that the filter uses a different
- // label in the UI.
- 'label' => t('Published'),
- // Override the default BooleanOperator filter handler's 'type' setting,
- // to display this as a "Yes/No" filter instead of a "True/False" filter.
- 'type' => 'yes-no',
- // Override the default Boolean filter handler's 'use_equal' setting, to
- // make the query use 'boolean_field = 1' instead of 'boolean_field <> 0'.
- 'use_equal' => TRUE,
- ],
- ];
-
- // Integer timestamp field, exposed as a field, sort, and filter.
- $data['example_table']['timestamp_field'] = [
- 'title' => t('Timestamp field'),
- 'help' => t('Just a timestamp field.'),
-
- 'field' => [
- // ID of field handler plugin to use.
- 'id' => 'date',
- ],
-
- 'sort' => [
- // ID of sort handler plugin to use.
- 'id' => 'date',
- ],
-
- 'filter' => [
- // ID of filter handler plugin to use.
- 'id' => 'date',
- ],
- ];
-
- // Area example. Areas are not generally associated with actual data
- // tables and fields. This example is from views_views_data(), which defines
- // the "Global" table (not really a table, but a group of Fields, Filters,
- // etc. that are grouped into section "Global" in the UI). Here's the
- // definition of the generic "Text area":
- $data['views']['area'] = [
- 'title' => t('Text area'),
- 'help' => t('Provide markup text for the area.'),
- 'area' => [
- // ID of the area handler plugin to use.
- 'id' => 'text',
- ],
- ];
-
- return $data;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_data_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_data_alter.twig
deleted file mode 100644
index 03bc80bcd..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_data_alter.twig
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Implements hook_views_data_alter().
- */
-function {{ machine_name }}_views_data_alter(array &$data) {
- // Alter the title of the node_field_data:nid field in the Views UI.
- $data['node_field_data']['nid']['title'] = t('Node-Nid');
-
- // Add an additional field to the users_field_data table.
- $data['users_field_data']['example_field'] = [
- 'title' => t('Example field'),
- 'help' => t('Some example content that references a user'),
-
- 'field' => [
- // ID of the field handler to use.
- 'id' => 'example_field',
- ],
- ];
-
- // Change the handler of the node title field, presumably to a handler plugin
- // you define in your module. Give the ID of this plugin.
- $data['node_field_data']['title']['field']['id'] = 'node_title';
-
- // Add a relationship that will allow a view whose base table is 'foo' (from
- // another module) to have a relationship to 'example_table' (from my module),
- // via joining foo.fid to example_table.eid.
- //
- // This relationship has to be added to the 'foo' Views data, which my module
- // does not control, so it must be done in hook_views_data_alter(), not
- // hook_views_data().
- //
- // In Views data definitions, each field can have only one relationship. So
- // rather than adding this relationship directly to the $data['foo']['fid']
- // field entry, which could overwrite an existing relationship, we define
- // a dummy field key to handle the relationship.
- $data['foo']['unique_dummy_name'] = [
- 'title' => t('Title seen while adding relationship'),
- 'help' => t('More information about the relationship'),
-
- 'relationship' => [
- // Views name of the table being joined to from foo.
- 'base' => 'example_table',
- // Database field name in example_table for the join.
- 'base field' => 'eid',
- // Real database field name in foo for the join, to override
- // 'unique_dummy_name'.
- 'field' => 'fid',
- // ID of relationship handler plugin to use.
- 'id' => 'standard',
- 'label' => t('Default label for relationship'),
- ],
- ];
-
- // Note that the $data array is not returned – it is modified by reference.
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_form_substitutions.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_form_substitutions.twig
deleted file mode 100644
index 52ffe7551..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_form_substitutions.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_views_form_substitutions().
- */
-function {{ machine_name }}_views_form_substitutions() {
- return [
- '' => 'Example Substitution',
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_invalidate_cache.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_invalidate_cache.twig
deleted file mode 100644
index 86ccde1fa..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_invalidate_cache.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Implements hook_views_invalidate_cache().
- */
-function {{ machine_name }}_views_invalidate_cache() {
- \Drupal\Core\Cache\Cache::invalidateTags(['views']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_access_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_access_alter.twig
deleted file mode 100644
index 299993c41..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_access_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_access_alter().
- */
-function {{ machine_name }}_views_plugins_access_alter(array &$plugins) {
- // Remove the available plugin because the users should not have access to it.
- unset($plugins['role']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_area_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_area_alter.twig
deleted file mode 100644
index 9f6d5645e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_area_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_area_alter().
- */
-function {{ machine_name }}_views_plugins_area_alter(array &$plugins) {
- // Change the 'title' handler class.
- $plugins['title']['class'] = 'Drupal\\example\\ExampleClass';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_argument_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_argument_alter.twig
deleted file mode 100644
index 61dd60b14..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_argument_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_argument_alter().
- */
-function {{ machine_name }}_views_plugins_argument_alter(array &$plugins) {
- // Change the 'title' handler class.
- $plugins['title']['class'] = 'Drupal\\example\\ExampleClass';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_argument_default_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_argument_default_alter.twig
deleted file mode 100644
index 211f90a77..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_argument_default_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_argument_default_alter().
- */
-function {{ machine_name }}_views_plugins_argument_default_alter(array &$plugins) {
- // Remove the available plugin because the users should not have access to it.
- unset($plugins['php']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_argument_validator_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_argument_validator_alter.twig
deleted file mode 100644
index 89cc74cd7..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_argument_validator_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_argument_validator_alter().
- */
-function {{ machine_name }}_views_plugins_argument_validator_alter(array &$plugins) {
- // Remove the available plugin because the users should not have access to it.
- unset($plugins['php']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_cache_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_cache_alter.twig
deleted file mode 100644
index c9acf027e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_cache_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_cache_alter().
- */
-function {{ machine_name }}_views_plugins_cache_alter(array &$plugins) {
- // Change the title.
- $plugins['time']['title'] = t('Custom title');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_display_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_display_alter.twig
deleted file mode 100644
index dabb6ed6e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_display_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_display_alter().
- */
-function {{ machine_name }}_views_plugins_display_alter(array &$plugins) {
- // Alter the title of an existing plugin.
- $plugins['rest_export']['title'] = t('Export');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_display_extenders_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_display_extenders_alter.twig
deleted file mode 100644
index ba86f7400..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_display_extenders_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_display_extenders_alter().
- */
-function {{ machine_name }}_views_plugins_display_extenders_alter(array &$plugins) {
- // Alter the title of an existing plugin.
- $plugins['time']['title'] = t('Custom title');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_exposed_form_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_exposed_form_alter.twig
deleted file mode 100644
index 1877b6564..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_exposed_form_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_exposed_form_alter().
- */
-function {{ machine_name }}_views_plugins_exposed_form_alter(array &$plugins) {
- // Remove the available plugin because the users should not have access to it.
- unset($plugins['input_required']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_field_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_field_alter.twig
deleted file mode 100644
index 4ec9bb92e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_field_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_field_alter().
- */
-function {{ machine_name }}_views_plugins_field_alter(array &$plugins) {
- // Change the 'title' handler class.
- $plugins['title']['class'] = 'Drupal\\example\\ExampleClass';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_filter_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_filter_alter.twig
deleted file mode 100644
index bd96df721..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_filter_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_filter_alter().
- */
-function {{ machine_name }}_views_plugins_filter_alter(array &$plugins) {
- // Change the 'title' handler class.
- $plugins['title']['class'] = 'Drupal\\example\\ExampleClass';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_join_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_join_alter.twig
deleted file mode 100644
index f01eb0a8e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_join_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_join_alter().
- */
-function {{ machine_name }}_views_plugins_join_alter(array &$plugins) {
- // Print out all join plugin names for debugging purposes.
- debug($plugins);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_pager_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_pager_alter.twig
deleted file mode 100644
index 888b21c14..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_pager_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_pager_alter().
- */
-function {{ machine_name }}_views_plugins_pager_alter(array &$plugins) {
- // Remove the sql based plugin to force good performance.
- unset($plugins['full']);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_query_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_query_alter.twig
deleted file mode 100644
index d2c644049..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_query_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_query_alter().
- */
-function {{ machine_name }}_views_plugins_query_alter(array &$plugins) {
- // Print out all query plugin names for debugging purposes.
- debug($plugins);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_relationship_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_relationship_alter.twig
deleted file mode 100644
index e435d0b76..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_relationship_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_relationship_alter().
- */
-function {{ machine_name }}_views_plugins_relationship_alter(array &$plugins) {
- // Change the 'title' handler class.
- $plugins['title']['class'] = 'Drupal\\example\\ExampleClass';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_row_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_row_alter.twig
deleted file mode 100644
index 267acc435..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_row_alter.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Implements hook_views_plugins_row_alter().
- */
-function {{ machine_name }}_views_plugins_row_alter(array &$plugins) {
- // Change the used class of a plugin.
- $plugins['entity:node']['class'] = 'Drupal\node\Plugin\views\row\NodeRow';
- $plugins['entity:node']['module'] = 'node';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_sort_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_sort_alter.twig
deleted file mode 100644
index efbc03c09..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_sort_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_sort_alter().
- */
-function {{ machine_name }}_views_plugins_sort_alter(array &$plugins) {
- // Change the 'title' handler class.
- $plugins['title']['class'] = 'Drupal\\example\\ExampleClass';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_style_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_style_alter.twig
deleted file mode 100644
index 72dd3b49f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_style_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_style_alter().
- */
-function {{ machine_name }}_views_plugins_style_alter(array &$plugins) {
- // Change the theme hook of a plugin.
- $plugins['html_list']['theme'] = 'custom_views_view_list';
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_wizard_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_wizard_alter.twig
deleted file mode 100644
index e842068c5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_plugins_wizard_alter.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Implements hook_views_plugins_wizard_alter().
- */
-function {{ machine_name }}_views_plugins_wizard_alter(array &$plugins) {
- // Change the title of a plugin.
- $plugins['node_revision']['title'] = t('Node revision wizard');
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_post_build.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_post_build.twig
deleted file mode 100644
index bfd25720a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_post_build.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Implements hook_views_post_build().
- */
-function {{ machine_name }}_views_post_build(ViewExecutable $view) {
- // If the exposed field 'type' is set, hide the column containing the content
- // type. (Note that this is a solution for a particular view, and makes
- // assumptions about both exposed filter settings and the fields in the view.
- // Also note that this alter could be done at any point before the view being
- // rendered.)
- if ($view->id() == 'my_view' && isset($view->exposed_raw_input['type']) && $view->exposed_raw_input['type'] != 'All') {
- // 'Type' should be interpreted as content type.
- if (isset($view->field['type'])) {
- $view->field['type']->options['exclude'] = TRUE;
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_post_execute.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_post_execute.twig
deleted file mode 100644
index dfad5f44c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_post_execute.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_views_post_execute().
- */
-function {{ machine_name }}_views_post_execute(ViewExecutable $view) {
- // If there are more than 100 results, show a message that encourages the user
- // to change the filter settings.
- // (This action could be performed later in the execution process, but not
- // earlier.)
- if ($view->total_rows > 100) {
- \Drupal::messenger()->addStatus(t('You have more than 100 hits. Use the filter settings to narrow down your list.'));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_post_render.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_post_render.twig
deleted file mode 100644
index 63370538d..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_post_render.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_views_post_render().
- */
-function {{ machine_name }}_views_post_render(ViewExecutable $view, &$output, CachePluginBase $cache) {
- // When using full pager, disable any time-based caching if there are fewer
- // than 10 results.
- if ($view->pager instanceof Drupal\views\Plugin\views\pager\Full && $cache instanceof Drupal\views\Plugin\views\cache\Time && count($view->result) < 10) {
- $cache->options['results_lifespan'] = 0;
- $cache->options['output_lifespan'] = 0;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_build.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_build.twig
deleted file mode 100644
index 646561689..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_build.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_views_pre_build().
- */
-function {{ machine_name }}_views_pre_build(ViewExecutable $view) {
- // Because of some inexplicable business logic, we should remove all
- // attachments from all views on Mondays.
- // (This alter could be done later in the execution process as well.)
- if (date('D') == 'Mon') {
- unset($view->attachment_before);
- unset($view->attachment_after);
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_execute.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_execute.twig
deleted file mode 100644
index 92cae5ffc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_execute.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Implements hook_views_pre_execute().
- */
-function {{ machine_name }}_views_pre_execute(ViewExecutable $view) {
- // Whenever a view queries more than two tables, show a message that notifies
- // view administrators that the query might be heavy.
- // (This action could be performed later in the execution process, but not
- // earlier.)
- $account = \Drupal::currentUser();
-
- if (count($view->query->tables) > 2 && $account->hasPermission('administer views')) {
- \Drupal::messenger()->addWarning(t('The view %view may be heavy to execute.', ['%view' => $view->id()]));
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_render.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_render.twig
deleted file mode 100644
index 0cf94e13f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_render.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_views_pre_render().
- */
-function {{ machine_name }}_views_pre_render(ViewExecutable $view) {
- // Scramble the order of the rows shown on this result page.
- // Note that this could be done earlier, but not later in the view execution
- // process.
- shuffle($view->result);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_view.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_view.twig
deleted file mode 100644
index bd725df56..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_pre_view.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_views_pre_view().
- */
-function {{ machine_name }}_views_pre_view(ViewExecutable $view, $display_id, array &$args) {
-
- // Modify contextual filters for my_special_view if user has 'my special permission'.
- $account = \Drupal::currentUser();
-
- if ($view->id() == 'my_special_view' && $account->hasPermission('my special permission') && $display_id == 'public_display') {
- $args[0] = 'custom value';
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_preview_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_preview_info_alter.twig
deleted file mode 100644
index 1c50ce244..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_preview_info_alter.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Implements hook_views_preview_info_alter().
- */
-function {{ machine_name }}_views_preview_info_alter(array &$rows, ViewExecutable $view) {
- // Adds information about the tables being queried by the view to the query
- // part of the info box.
- $rows['query'][] = [
- t('Table queue'),
- count($view->query->table_queue) . ': (' . implode(', ', array_keys($view->query->table_queue)) . ')',
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_query_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_query_alter.twig
deleted file mode 100644
index d09a7e41e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_query_alter.twig
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Implements hook_views_query_alter().
- */
-function {{ machine_name }}_views_query_alter(ViewExecutable $view, QueryPluginBase $query) {
- // (Example assuming a view with an exposed filter on node title.)
- // If the input for the title filter is a positive integer, filter against
- // node ID instead of node title.
- if ($view->id() == 'my_view' && is_numeric($view->exposed_raw_input['title']) && $view->exposed_raw_input['title'] > 0) {
- // Traverse through the 'where' part of the query.
- foreach ($query->where as &$condition_group) {
- foreach ($condition_group['conditions'] as &$condition) {
- // If this is the part of the query filtering on title, chang the
- // condition to filter on node ID.
- if ($condition['field'] == 'node.title') {
- $condition = [
- 'field' => 'node.nid',
- 'value' => $view->exposed_raw_input['title'],
- 'operator' => '=',
- ];
- }
- }
- }
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_query_substitutions.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_query_substitutions.twig
deleted file mode 100644
index 7a43d9e8e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_query_substitutions.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Implements hook_views_query_substitutions().
- */
-function {{ machine_name }}_views_query_substitutions(ViewExecutable $view) {
- // Example from views_views_query_substitutions().
- return [
- '***CURRENT_VERSION***' => \Drupal::VERSION,
- '***CURRENT_TIME***' => REQUEST_TIME,
- '***LANGUAGE_language_content***' => \Drupal::languageManager()->getCurrentLanguage(LanguageInterface::TYPE_CONTENT)->getId(),
- PluginBase::VIEWS_QUERY_LANGUAGE_SITE_DEFAULT => \Drupal::languageManager()->getDefaultLanguage()->getId(),
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_ui_display_top_links_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_ui_display_top_links_alter.twig
deleted file mode 100644
index 96ec9f1d9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/views_ui_display_top_links_alter.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Implements hook_views_ui_display_top_links_alter().
- */
-function {{ machine_name }}_views_ui_display_top_links_alter(array &$links, ViewExecutable $view, $display_id) {
- // Put the export link first in the list.
- if (isset($links['export'])) {
- $links = ['export' => $links['export']] + $links;
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/install.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/install.twig
deleted file mode 100644
index cdcc1be48..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/install.twig
+++ /dev/null
@@ -1,96 +0,0 @@
-addStatus(__FUNCTION__);
-}
-
-/**
- * Implements hook_uninstall().
- */
-function {{ machine_name }}_uninstall() {
- \Drupal::messenger()->addStatus(__FUNCTION__);
-}
-
-/**
- * Implements hook_schema().
- */
-function {{ machine_name }}_schema() {
- $schema['{{ machine_name }}_example'] = [
- 'description' => 'Table description.',
- 'fields' => [
- 'id' => [
- 'type' => 'serial',
- 'not null' => TRUE,
- 'description' => 'Primary Key: Unique record ID.',
- ],
- 'uid' => [
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- 'description' => 'The {users}.uid of the user who created the record.',
- ],
- 'status' => [
- 'description' => 'Boolean indicating whether this record is active.',
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- 'size' => 'tiny',
- ],
- 'type' => [
- 'type' => 'varchar_ascii',
- 'length' => 64,
- 'not null' => TRUE,
- 'default' => '',
- 'description' => 'Type of the record.',
- ],
- 'created' => [
- 'type' => 'int',
- 'not null' => TRUE,
- 'default' => 0,
- 'description' => 'Timestamp when the record was created.',
- ],
- 'data' => [
- 'type' => 'blob',
- 'not null' => TRUE,
- 'size' => 'big',
- 'description' => 'The arbitrary data for the item.',
- ],
- ],
- 'primary key' => ['id'],
- 'indexes' => [
- 'type' => ['type'],
- 'uid' => ['uid'],
- 'status' => ['status'],
- ],
- ];
-
- return $schema;
-}
-
-/**
- * Implements hook_requirements().
- */
-function {{ machine_name }}_requirements($phase) {
- $requirements = [];
-
- if ($phase == 'runtime') {
- $value = mt_rand(0, 100);
- $requirements['{{ machine_name }}_status'] = [
- 'title' => t('{{ name }} status'),
- 'value' => t('{{ name }} value: @value', ['@value' => $value]),
- 'severity' => $value > 50 ? REQUIREMENT_INFO : REQUIREMENT_WARNING,
- ];
- }
-
- return $requirements;
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/javascript.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/javascript.twig
deleted file mode 100644
index 4b36af2b8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/javascript.twig
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * @file
- * {{ name }} behaviors.
- */
-
-(function ($, Drupal) {
-
- 'use strict';
-
- /**
- * Behavior description.
- */
- Drupal.behaviors.{{ machine_name|camelize(false) }} = {
- attach: function (context, settings) {
-
- console.log('It works!');
-
- }
- };
-
-} (jQuery, Drupal));
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module.twig
deleted file mode 100644
index 24725d306..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-t('Label');
- $header['id'] = $this->t('Machine name');
- $header['status'] = $this->t('Status');
- return $header + parent::buildHeader();
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildRow(EntityInterface $entity) {
- /** @var \Drupal\{{ machine_name }}\{{ class_prefix }}Interface $entity */
- $row['label'] = $entity->label();
- $row['id'] = $entity->id();
- $row['status'] = $entity->status() ? $this->t('Enabled') : $this->t('Disabled');
- return $row + parent::buildRow($entity);
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/configuration-entity/src/Form/ExampleForm.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/configuration-entity/src/Form/ExampleForm.php.twig
deleted file mode 100644
index b61beba10..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/configuration-entity/src/Form/ExampleForm.php.twig
+++ /dev/null
@@ -1,70 +0,0 @@
- 'textfield',
- '#title' => $this->t('Label'),
- '#maxlength' => 255,
- '#default_value' => $this->entity->label(),
- '#description' => $this->t('Label for the {{ entity_type_label|lower }}.'),
- '#required' => TRUE,
- ];
-
- $form['id'] = [
- '#type' => 'machine_name',
- '#default_value' => $this->entity->id(),
- '#machine_name' => [
- 'exists' => '\Drupal\{{ machine_name }}\Entity\{{ class_prefix }}::load',
- ],
- '#disabled' => !$this->entity->isNew(),
- ];
-
- $form['status'] = [
- '#type' => 'checkbox',
- '#title' => $this->t('Enabled'),
- '#default_value' => $this->entity->status(),
- ];
-
- $form['description'] = [
- '#type' => 'textarea',
- '#title' => $this->t('Description'),
- '#default_value' => $this->entity->get('description'),
- '#description' => $this->t('Description of the {{ entity_type_label|lower }}.'),
- ];
-
- return $form;
- }
-
- /**
- * {@inheritdoc}
- */
- public function save(array $form, FormStateInterface $form_state) {
- $result = parent::save($form, $form_state);
- $message_args = ['%label' => $this->entity->label()];
- $message = $result == SAVED_NEW
- ? $this->t('Created new {{ entity_type_label|lower }} %label.', $message_args)
- : $this->t('Updated {{ entity_type_label|lower }} %label.', $message_args);
- $this->messenger()->addStatus($message);
- $form_state->setRedirectUrl($this->entity->toUrl('collection'));
- return $result;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/config/optional/rest.resource.entity.example.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/config/optional/rest.resource.entity.example.yml.twig
deleted file mode 100644
index 830ddea29..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/config/optional/rest.resource.entity.example.yml.twig
+++ /dev/null
@@ -1,31 +0,0 @@
-id: entity.{{ entity_type_id }}
-plugin_id: 'entity:{{ entity_type_id }}'
-granularity: method
-configuration:
- GET:
- supported_formats:
- - json
- - xml
- supported_auth:
- - cookie
- POST:
- supported_formats:
- - json
- - xml
- supported_auth:
- - cookie
- PATCH:
- supported_formats:
- - json
- - xml
- supported_auth:
- - cookie
- DELETE:
- supported_formats:
- - json
- - xml
- supported_auth:
- - cookie
-dependencies:
- module:
- - user
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/config/optional/views.view.example.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/config/optional/views.view.example.yml.twig
deleted file mode 100644
index ab899b483..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/config/optional/views.view.example.yml.twig
+++ /dev/null
@@ -1,506 +0,0 @@
-langcode: en
-status: true
-dependencies:
- module:
- - {{ machine_name }}
- - user
-id: {{ entity_type_id }}
-label: {{ entity_type_label }}
-module: views
-description: ''
-tag: ''
-base_table: {{ entity_type_id }}_field_data
-base_field: id
-core: 8.x
-display:
- default:
- display_plugin: default
- id: default
- display_title: Master
- position: 0
- display_options:
- access:
- type: perm
- options:
- perm: 'access {{ entity_type_id }} overview'
- cache:
- type: tag
- options: { }
- query:
- type: views_query
- options:
- disable_sql_rewrite: false
- distinct: false
- replica: false
- query_comment: ''
- query_tags: { }
- exposed_form:
- type: basic
- options:
- submit_button: Submit
- reset_button: true
- reset_button_label: Reset
- exposed_sorts_label: 'Sort by'
- expose_sort_order: true
- sort_asc_label: Asc
- sort_desc_label: Desc
- pager:
- type: full
- options:
- items_per_page: 50
- offset: 0
- id: 0
- total_pages: null
- tags:
- previous: ‹‹
- next: ››
- first: '«'
- last: '»'
- expose:
- items_per_page: false
- items_per_page_label: 'Items per page'
- items_per_page_options: '5, 10, 25, 50'
- items_per_page_options_all: false
- items_per_page_options_all_label: '- All -'
- offset: false
- offset_label: Offset
- quantity: 9
- style:
- type: table
- options:
- grouping: { }
- row_class: ''
- default_row_class: true
- override: true
- sticky: false
- caption: ''
- summary: ''
- description: ''
- columns:
- title: title
- bundle: bundle
- changed: changed
- operations: operations
- info:
- title:
- sortable: true
- default_sort_order: asc
- align: ''
- separator: ''
- empty_column: false
- responsive: priority-medium
- bundle:
- sortable: true
- default_sort_order: asc
- align: ''
- separator: ''
- empty_column: false
- responsive: priority-medium
- changed:
- sortable: true
- default_sort_order: desc
- align: ''
- separator: ''
- empty_column: false
- responsive: ''
- operations:
- align: ''
- separator: ''
- empty_column: false
- responsive: priority-medium
- default: changed
- empty_table: false
- row:
- type: fields
- fields:
- title:
- table: {{ entity_type_id }}_field_data
- field: title
- id: title
- entity_type: null
- entity_field: title
- plugin_id: field
- relationship: none
- group_type: group
- admin_label: ''
- label: Title
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: value
- type: string
- settings: { }
- group_column: value
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
- bundle:
- id: bundle
- table: {{ entity_type_id }}_field_data
- field: bundle
- relationship: none
- group_type: group
- admin_label: ''
- label: '{{ entity_type_label }} type'
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: false
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: target_id
- type: entity_reference_label
- settings:
- link: true
- group_column: target_id
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
- entity_type: {{ entity_type_id }}
- entity_field: bundle
- plugin_id: field
- changed:
- id: changed
- table: {{ entity_type_id }}_field_data
- field: changed
- relationship: none
- group_type: group
- admin_label: ''
- label: Changed
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: value
- type: timestamp
- settings:
- date_format: short
- custom_date_format: ''
- timezone: ''
- group_column: value
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
- entity_type: {{ entity_type_id }}
- entity_field: changed
- plugin_id: field
- operations:
- id: operations
- table: {{ entity_type_id }}
- field: operations
- relationship: none
- group_type: group
- admin_label: ''
- label: Operations
- exclude: false
- alter:
- alter_text: false
- text: ''
- make_link: false
- path: ''
- absolute: false
- external: false
- replace_spaces: false
- path_case: none
- trim_whitespace: false
- alt: ''
- rel: ''
- link_class: ''
- prefix: ''
- suffix: ''
- target: ''
- nl2br: false
- max_length: 0
- word_boundary: true
- ellipsis: true
- more_link: false
- more_link_text: ''
- more_link_path: ''
- strip_tags: false
- trim: false
- preserve_tags: ''
- html: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- destination: false
- entity_type: {{ entity_type_id }}
- plugin_id: entity_operations
- filters:
- title:
- id: title
- table: {{ entity_type_id }}_field_data
- field: title
- relationship: none
- group_type: group
- admin_label: ''
- operator: contains
- value: ''
- group: 1
- exposed: true
- expose:
- operator_id: title_op
- label: Title
- description: ''
- use_operator: false
- operator: title_op
- identifier: title
- required: false
- remember: false
- multiple: false
- remember_roles:
- authenticated: authenticated
- anonymous: '0'
- placeholder: ''
- is_grouped: false
- group_info:
- label: ''
- description: ''
- identifier: ''
- optional: true
- widget: select
- multiple: false
- remember: false
- default_group: All
- default_group_multiple: { }
- group_items: { }
- entity_type: {{ entity_type_id }}
- entity_field: title
- plugin_id: string
- bundle:
- id: bundle
- table: {{ entity_type_id }}_field_data
- field: bundle
- relationship: none
- group_type: group
- admin_label: ''
- operator: in
- value: { }
- group: 1
- exposed: true
- expose:
- operator_id: bundle_op
- label: '{{ entity_type_label }} type'
- description: ''
- use_operator: false
- operator: bundle_op
- identifier: bundle
- required: false
- remember: false
- multiple: false
- remember_roles:
- authenticated: authenticated
- anonymous: '0'
- reduce: false
- is_grouped: false
- group_info:
- label: ''
- description: ''
- identifier: ''
- optional: true
- widget: select
- multiple: false
- remember: false
- default_group: All
- default_group_multiple: { }
- group_items: { }
- entity_type: {{ entity_type_id }}
- entity_field: bundle
- plugin_id: bundle
- sorts: { }
- title: {{ entity_type_label }}
- header: { }
- footer: { }
- empty:
- area_text_custom:
- id: area_text_custom
- table: views
- field: area_text_custom
- relationship: none
- group_type: group
- admin_label: ''
- empty: true
- tokenize: false
- content: 'No {{ entity_type_id }} available.'
- plugin_id: text_custom
- relationships: { }
- arguments: { }
- display_extenders: { }
- filter_groups:
- operator: AND
- groups:
- 1: AND
- cache_metadata:
- max-age: -1
- contexts:
- - 'languages:language_content'
- - 'languages:language_interface'
- - url
- - url.query_args
- - user.permissions
- tags: { }
- page:
- display_plugin: page
- id: page
- display_title: Page
- position: 1
- display_options:
- display_extenders: { }
- path: admin/content/{{ entity_type_id }}
- menu:
- type: tab
- title: {{ entity_type_label }}
- description: ''
- expanded: false
- parent: ''
- weight: 10
- context: '0'
- menu_name: main
- tab_options:
- type: normal
- title: {{ entity_type_label }}
- description: 'Manage and find {{ entity_type_id }}'
- weight: 0
- cache_metadata:
- max-age: -1
- contexts:
- - 'languages:language_content'
- - 'languages:language_interface'
- - url
- - url.query_args
- - user.permissions
- tags: { }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/config/schema/model.entity_type.schema.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/config/schema/model.entity_type.schema.yml.twig
deleted file mode 100644
index f64825474..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/config/schema/model.entity_type.schema.yml.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-{{ machine_name }}.{{ entity_type_id }}_type.*:
- type: config_entity
- label: '{{ entity_type_label }} type config'
- mapping:
- id:
- type: string
- label: 'ID'
- label:
- type: label
- label: 'Label'
- uuid:
- type: string
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.info.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.info.yml.twig
deleted file mode 100755
index ec3a80036..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.info.yml.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-name: {{ name }}
-type: module
-description: 'Provides {{ entity_type_label|article|lower }} entity.'
-package: {{ package }}
-core: 8.x
-{% if dependencies %}
-dependencies:
-{% for dependency in dependencies %}
- - {{ dependency }}
-{% endfor %}
-{% endif %}
-{% if configure %}
-configure: {{ configure }}
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.links.action.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.links.action.yml.twig
deleted file mode 100755
index c093809da..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.links.action.yml.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% if bundle %}
-{{ entity_type_id }}.type_add:
- route_name: entity.{{ entity_type_id }}_type.add_form
- title: 'Add {{ entity_type_label|lower }} type'
- appears_on:
- - entity.{{ entity_type_id }}_type.collection
-
-{{ entity_type_id }}.add_page:
- route_name: entity.{{ entity_type_id }}.add_page
- title: 'Add {{ entity_type_label|lower }}'
- appears_on:
- - entity.{{ entity_type_id }}.collection
-{% else %}
-{{ entity_type_id }}.add_form:
- route_name: entity.{{ entity_type_id }}.add_form
- title: 'Add {{ entity_type_label|lower }}'
- appears_on:
- - entity.{{ entity_type_id }}.collection
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.links.menu.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.links.menu.yml.twig
deleted file mode 100755
index e5803fa48..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.links.menu.yml.twig
+++ /dev/null
@@ -1,18 +0,0 @@
-{% if fieldable_no_bundle %}
-entity.{{ entity_type_id }}.settings:
- title: {{ entity_type_label }}
- description: Configure {{ entity_type_label|article }} entity type
- route_name: entity.{{ entity_type_id }}.settings
- parent: system.admin_structure
-entity.{{ entity_type_id }}.collection:
- title: {{ entity_type_label|plural }}
- description: List of {{ entity_type_label|plural|lower }}
- route_name: entity.{{ entity_type_id }}.collection
- parent: system.admin_content
-{% elseif bundle %}
-entity.{{ entity_type_id }}_type.collection:
- title: '{{ entity_type_label }} types'
- parent: system.admin_structure
- description: 'Manage and CRUD actions on {{ entity_type_label }} type.'
- route_name: entity.{{ entity_type_id }}_type.collection
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.links.task.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.links.task.yml.twig
deleted file mode 100755
index ef22ad637..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.links.task.yml.twig
+++ /dev/null
@@ -1,34 +0,0 @@
-{% if fieldable_no_bundle %}
-entity.{{ entity_type_id }}.settings:
- title: Settings
- route_name: entity.{{ entity_type_id }}.settings
- base_route: entity.{{ entity_type_id }}.settings
-{% endif %}
-entity.{{ entity_type_id }}.view:
- title: View
- route_name: entity.{{ entity_type_id }}.canonical
- base_route: entity.{{ entity_type_id }}.canonical
-entity.{{ entity_type_id }}.edit_form:
- title: Edit
- route_name: entity.{{ entity_type_id }}.edit_form
- base_route: entity.{{ entity_type_id }}.canonical
-entity.{{ entity_type_id }}.delete_form:
- title: Delete
- route_name: entity.{{ entity_type_id }}.delete_form
- base_route: entity.{{ entity_type_id }}.canonical
- weight: 10
-entity.{{ entity_type_id }}.collection:
- title: {{ entity_type_label }}
- route_name: entity.{{ entity_type_id }}.collection
- base_route: system.admin_content
- weight: 10
-{% if bundle %}
-entity.{{ entity_type_id }}_type.edit_form:
- title: Edit
- route_name: entity.{{ entity_type_id }}_type.edit_form
- base_route: entity.{{ entity_type_id }}_type.edit_form
-entity.{{ entity_type_id }}_type.collection:
- title: List
- route_name: entity.{{ entity_type_id }}_type.collection
- base_route: entity.{{ entity_type_id }}_type.collection
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.module.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.module.twig
deleted file mode 100644
index 8b3ffa9e9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.module.twig
+++ /dev/null
@@ -1,36 +0,0 @@
- [
- 'render element' => 'elements',
- ],
- ];
-}
-
-/**
- * Prepares variables for {{ entity_type_label|lower }} templates.
- *
- * Default template: {{ template_name }}.
- *
- * @param array $variables
- * An associative array containing:
- * - elements: An associative array containing the {{ entity_type_label|lower }} information and any
- * fields attached to the entity.
- * - attributes: HTML attributes for the containing element.
- */
-function template_preprocess_{{ entity_type_id }}(array &$variables) {
- foreach (Element::children($variables['elements']) as $key) {
- $variables['content'][$key] = $variables['elements'][$key];
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.permissions.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.permissions.yml.twig
deleted file mode 100644
index b48f65f5c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.permissions.yml.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-administer {{ entity_type_label|lower }} types:
- title: 'Administer {{ entity_type_label|lower }} types'
- description: 'Maintain the types of {{ entity_type_label|lower }} entity.'
- restrict access: true
-administer {{ entity_type_label|lower }}:
- title: Administer {{ entity_type_label|lower }} settings
- restrict access: true
-access {{ entity_type_label|lower }} overview:
- title: 'Access {{ entity_type_label|lower }} overview page'
-{% if access_controller %}
-delete {{ entity_type_label|lower }}:
- title: Delete {{ entity_type_label|lower }}
-create {{ entity_type_label|lower }}:
- title: Create {{ entity_type_label|lower }}
-view {{ entity_type_label|lower }}:
- title: View {{ entity_type_label|lower }}
-edit {{ entity_type_label|lower }}:
- title: Edit {{ entity_type_label|lower }}
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.routing.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.routing.yml.twig
deleted file mode 100755
index 300eab1fb..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/model.routing.yml.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-{% if fieldable_no_bundle %}
-entity.{{ entity_type_id }}.settings:
- path: 'admin/structure/{{ entity_type_id|u2h }}'
- defaults:
- _form: '\Drupal\{{ machine_name }}\Form\{{ class_prefix }}SettingsForm'
- _title: '{{ entity_type_label }}'
- requirements:
- _permission: 'administer {{ entity_type_label|lower }}'
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Entity/Example.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Entity/Example.php.twig
deleted file mode 100755
index 107e8c042..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Entity/Example.php.twig
+++ /dev/null
@@ -1,354 +0,0 @@
- \Drupal::currentUser()->id()];
- }
-
-{% if title_base_field %}
- /**
- * {@inheritdoc}
- */
- public function getTitle() {
- return $this->get('title')->value;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setTitle($title) {
- $this->set('title', $title);
- return $this;
- }
-
-{% endif %}
-{% if status_base_field %}
- /**
- * {@inheritdoc}
- */
- public function isEnabled() {
- return (bool) $this->get('status')->value;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setStatus($status) {
- $this->set('status', $status);
- return $this;
- }
-
-{% endif %}
-{% if created_base_field %}
- /**
- * {@inheritdoc}
- */
- public function getCreatedTime() {
- return $this->get('created')->value;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setCreatedTime($timestamp) {
- $this->set('created', $timestamp);
- return $this;
- }
-
-{% endif %}
-{% if author_base_field %}
- /**
- * {@inheritdoc}
- */
- public function getOwner() {
- return $this->get('uid')->entity;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getOwnerId() {
- return $this->get('uid')->target_id;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setOwnerId($uid) {
- $this->set('uid', $uid);
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setOwner(UserInterface $account) {
- $this->set('uid', $account->id());
- return $this;
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
-
- $fields = parent::baseFieldDefinitions($entity_type);
-
-{% if title_base_field %}
- $fields['title'] = BaseFieldDefinition::create('string')
-{% if revisionable %}
- ->setRevisionable(TRUE)
-{% endif %}
-{% if translatable %}
- ->setTranslatable(TRUE)
-{% endif %}
- ->setLabel(t('Title'))
- ->setDescription(t('The title of the {{ entity_type_label|lower }} entity.'))
- ->setRequired(TRUE)
- ->setSetting('max_length', 255)
- ->setDisplayOptions('form', [
- 'type' => 'string_textfield',
- 'weight' => -5,
- ])
- ->setDisplayConfigurable('form', TRUE)
- ->setDisplayOptions('view', [
- 'label' => 'hidden',
- 'type' => 'string',
- 'weight' => -5,
- ])
- ->setDisplayConfigurable('view', TRUE);
-
-{% endif %}
-{% if status_base_field %}
- $fields['status'] = BaseFieldDefinition::create('boolean')
-{% if revisionable %}
- ->setRevisionable(TRUE)
-{% endif %}
- ->setLabel(t('Status'))
- ->setDescription(t('A boolean indicating whether the {{ entity_type_label|lower }} is enabled.'))
- ->setDefaultValue(TRUE)
- ->setSetting('on_label', 'Enabled')
- ->setDisplayOptions('form', [
- 'type' => 'boolean_checkbox',
- 'settings' => [
- 'display_label' => FALSE,
- ],
- 'weight' => 0,
- ])
- ->setDisplayConfigurable('form', TRUE)
- ->setDisplayOptions('view', [
- 'type' => 'boolean',
- 'label' => 'above',
- 'weight' => 0,
- 'settings' => [
- 'format' => 'enabled-disabled',
- ],
- ])
- ->setDisplayConfigurable('view', TRUE);
-
-{% endif %}
-{% if description_base_field %}
- $fields['description'] = BaseFieldDefinition::create('text_long')
-{% if revisionable %}
- ->setRevisionable(TRUE)
-{% endif %}
-{% if translatable %}
- ->setTranslatable(TRUE)
-{% endif %}
- ->setLabel(t('Description'))
- ->setDescription(t('A description of the {{ entity_type_label|lower }}.'))
- ->setDisplayOptions('form', [
- 'type' => 'text_textarea',
- 'weight' => 10,
- ])
- ->setDisplayConfigurable('form', TRUE)
- ->setDisplayOptions('view', [
- 'type' => 'text_default',
- 'label' => 'above',
- 'weight' => 10,
- ])
- ->setDisplayConfigurable('view', TRUE);
-
-{% endif %}
-{% if author_base_field %}
- $fields['uid'] = BaseFieldDefinition::create('entity_reference')
-{% if revisionable %}
- ->setRevisionable(TRUE)
-{% endif %}
-{% if translatable %}
- ->setTranslatable(TRUE)
-{% endif %}
- ->setLabel(t('Author'))
- ->setDescription(t('The user ID of the {{ entity_type_label|lower }} author.'))
- ->setSetting('target_type', 'user')
- ->setDisplayOptions('form', [
- 'type' => 'entity_reference_autocomplete',
- 'settings' => [
- 'match_operator' => 'CONTAINS',
- 'size' => 60,
- 'placeholder' => '',
- ],
- 'weight' => 15,
- ])
- ->setDisplayConfigurable('form', TRUE)
- ->setDisplayOptions('view', [
- 'label' => 'above',
- 'type' => 'author',
- 'weight' => 15,
- ])
- ->setDisplayConfigurable('view', TRUE);
-
-{% endif %}
-{% if created_base_field %}
- $fields['created'] = BaseFieldDefinition::create('created')
- ->setLabel(t('Authored on'))
-{% if translatable %}
- ->setTranslatable(TRUE)
-{% endif %}
- ->setDescription(t('The time that the {{ entity_type_label|lower }} was created.'))
- ->setDisplayOptions('view', [
- 'label' => 'above',
- 'type' => 'timestamp',
- 'weight' => 20,
- ])
- ->setDisplayConfigurable('form', TRUE)
- ->setDisplayOptions('form', [
- 'type' => 'datetime_timestamp',
- 'weight' => 20,
- ])
- ->setDisplayConfigurable('view', TRUE);
-
-{% endif %}
-{% if changed_base_field %}
- $fields['changed'] = BaseFieldDefinition::create('changed')
- ->setLabel(t('Changed'))
-{% if translatable %}
- ->setTranslatable(TRUE)
-{% endif %}
- ->setDescription(t('The time that the {{ entity_type_label|lower }} was last edited.'));
-
-{% endif %}
- return $fields;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Entity/ExampleType.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Entity/ExampleType.php.twig
deleted file mode 100644
index 144e11507..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Entity/ExampleType.php.twig
+++ /dev/null
@@ -1,61 +0,0 @@
-dateFormatter = $date_formatter;
- $this->redirectDestination = $redirect_destination;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
- return new static(
- $entity_type,
- $container->get('entity_type.manager')->getStorage($entity_type->id()),
- $container->get('date.formatter'),
- $container->get('redirect.destination')
- );
- }
-
- /**
- * {@inheritdoc}
- */
- public function render() {
- $build['table'] = parent::render();
-
- $total = \Drupal::database()
- ->query('SELECT COUNT(*) FROM {{ '{' }}{{ entity_type_id }}{{ '}' }}')
- ->fetchField();
-
- $build['summary']['#markup'] = $this->t('Total {{ entity_type_label|lower|plural }}: @total', ['@total' => $total]);
- return $build;
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildHeader() {
- $header['id'] = $this->t('ID');
-{% if title_base_field %}
- $header['title'] = $this->t('Title');
-{% endif %}
-{% if status_base_field %}
- $header['status'] = $this->t('Status');
-{% endif %}
-{% if author_base_field %}
- $header['uid'] = $this->t('Author');
-{% endif %}
-{% if created_base_field %}
- $header['created'] = $this->t('Created');
-{% endif %}
-{% if changed_base_field %}
- $header['changed'] = $this->t('Updated');
-{% endif %}
- return $header + parent::buildHeader();
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildRow(EntityInterface $entity) {
- /* @var $entity \Drupal\{{ machine_name }}\Entity\{{ class_prefix }} */
- $row['id'] = $entity->{{ title_base_field ? 'id' : 'link' }}();
-{% if title_base_field %}
- $row['title'] = $entity->link();
-{% endif %}
-{% if status_base_field %}
- $row['status'] = $entity->isEnabled() ? $this->t('Enabled') : $this->t('Disabled');
-{% endif %}
-{% if author_base_field %}
- $row['uid']['data'] = [
- '#theme' => 'username',
- '#account' => $entity->getOwner(),
- ];
-{% endif %}
-{% if created_base_field %}
- $row['created'] = $this->dateFormatter->format($entity->getCreatedTime());
-{% endif %}
-{% if changed_base_field %}
- $row['changed'] = $this->dateFormatter->format($entity->getChangedTime());
-{% endif %}
- return $row + parent::buildRow($entity);
- }
-
- /**
- * {@inheritdoc}
- */
- protected function getDefaultOperations(EntityInterface $entity) {
- $operations = parent::getDefaultOperations($entity);
- $destination = $this->redirectDestination->getAsArray();
- foreach ($operations as $key => $operation) {
- $operations[$key]['query'] = $destination;
- }
- return $operations;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/ExampleTypeListBuilder.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/ExampleTypeListBuilder.php.twig
deleted file mode 100644
index 03aeca5c1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/ExampleTypeListBuilder.php.twig
+++ /dev/null
@@ -1,51 +0,0 @@
-t('Label');
-
- return $header + parent::buildHeader();
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildRow(EntityInterface $entity) {
- $row['title'] = [
- 'data' => $entity->label(),
- 'class' => ['menu-label'],
- ];
-
- return $row + parent::buildRow($entity);
- }
-
- /**
- * {@inheritdoc}
- */
- public function render() {
- $build = parent::render();
-
- $build['table']['#empty'] = $this->t(
- 'No {{ entity_type_label|lower }} types available. Add {{ entity_type_label|lower }} type.',
- [':link' => Url::fromRoute('entity.{{ entity_type_id }}_type.add_form')->toString()]
- );
-
- return $build;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/ExampleViewBuilder.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/ExampleViewBuilder.php.twig
deleted file mode 100644
index 389abfbd6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/ExampleViewBuilder.php.twig
+++ /dev/null
@@ -1,23 +0,0 @@
-getEntity();
- $result = $entity->save();
- $link = $entity->toLink($this->t('View'))->toRenderable();
-
- $message_arguments = ['%label' => $this->entity->label()];
- $logger_arguments = $message_arguments + ['link' => render($link)];
-
- if ($result == SAVED_NEW) {
- drupal_set_message($this->t('New {{ entity_type_label|lower }} %label has been created.', $message_arguments));
- $this->logger('{{ machine_name }}')->notice('Created new {{ entity_type_label|lower }} %label', $logger_arguments);
- }
- else {
- drupal_set_message($this->t('The {{ entity_type_label|lower }} %label has been updated.', $message_arguments));
- $this->logger('{{ machine_name }}')->notice('Created new {{ entity_type_label|lower }} %label.', $logger_arguments);
- }
-
- $form_state->setRedirect('entity.{{ entity_type_id }}.canonical', ['{{ entity_type_id }}' => $entity->id()]);
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Form/ExampleSettingsForm.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Form/ExampleSettingsForm.php.twig
deleted file mode 100644
index d9f4c3c84..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Form/ExampleSettingsForm.php.twig
+++ /dev/null
@@ -1,48 +0,0 @@
- $this->t('Settings form for {{ entity_type_label|article|lower }} entity type.'),
- ];
-
- $form['actions'] = [
- '#type' => 'actions',
- ];
-
- $form['actions']['submit'] = [
- '#type' => 'submit',
- '#value' => $this->t('Save'),
- ];
-
- return $form;
- }
-
- /**
- * {@inheritdoc}
- */
- public function submitForm(array &$form, FormStateInterface $form_state) {
- drupal_set_message($this->t('The configuration has been updated.'));
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Form/ExampleTypeForm.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Form/ExampleTypeForm.php.twig
deleted file mode 100644
index ae3a94231..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/src/Form/ExampleTypeForm.php.twig
+++ /dev/null
@@ -1,117 +0,0 @@
-entityManager = $entity_manager;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function create(ContainerInterface $container) {
- return new static(
- $container->get('entity.manager')
- );
- }
-
- /**
- * {@inheritdoc}
- */
- public function form(array $form, FormStateInterface $form_state) {
- $form = parent::form($form, $form_state);
-
- $entity_type = $this->entity;
- if ($this->operation == 'add') {
- $form['#title'] = $this->t('Add {{ entity_type_label|lower }} type');
- }
- else {
- $form['#title'] = $this->t(
- 'Edit %label {{ entity_type_label|lower }} type',
- ['%label' => $entity_type->label()]
- );
- }
-
- $form['label'] = [
- '#title' => $this->t('Label'),
- '#type' => 'textfield',
- '#default_value' => $entity_type->label(),
- '#description' => $this->t('The human-readable name of this {{ entity_type_label|lower }} type.'),
- '#required' => TRUE,
- '#size' => 30,
- ];
-
- $form['id'] = [
- '#type' => 'machine_name',
- '#default_value' => $entity_type->id(),
- '#maxlength' => EntityTypeInterface::BUNDLE_MAX_LENGTH,
- '#machine_name' => [
- 'exists' => ['Drupal\{{ machine_name }}\Entity\{{ class_prefix }}Type', 'load'],
- 'source' => ['label'],
- ],
- '#description' => $this->t('A unique machine-readable name for this {{ entity_type_label|lower }} type. It must only contain lowercase letters, numbers, and underscores.'),
- ];
-
- return $this->protectBundleIdElement($form);
- }
-
- /**
- * {@inheritdoc}
- */
- protected function actions(array $form, FormStateInterface $form_state) {
- $actions = parent::actions($form, $form_state);
- $actions['submit']['#value'] = $this->t('Save {{ entity_type_label|lower }} type');
- $actions['delete']['#value'] = $this->t('Delete {{ entity_type_label|lower }} type');
- return $actions;
- }
-
- /**
- * {@inheritdoc}
- */
- public function save(array $form, FormStateInterface $form_state) {
- $entity_type = $this->entity;
-
- $entity_type->set('id', trim($entity_type->id()));
- $entity_type->set('label', trim($entity_type->label()));
-
- $status = $entity_type->save();
-
- $t_args = ['%name' => $entity_type->label()];
-
- if ($status == SAVED_UPDATED) {
- $message = 'The {{ entity_type_label|lower }} type %name has been updated.';
- }
- elseif ($status == SAVED_NEW) {
- $message = 'The {{ entity_type_label|lower }} type %name has been added.';
- }
- drupal_set_message($this->t($message, $t_args));
-
- $this->entityManager->clearCachedFieldDefinitions();
- $form_state->setRedirectUrl($entity_type->urlInfo('collection'));
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/templates/model-example.html.twig.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/templates/model-example.html.twig.twig
deleted file mode 100644
index e88cf237e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/module/content-entity/templates/model-example.html.twig.twig
+++ /dev/null
@@ -1,21 +0,0 @@
-{{ '{#' }}
-/**
- * @file
- * Default theme implementation to present {{ entity_type_label|article|lower }} entity.
- *
- * This template is used when viewing a registered {{ entity_type_label|lower }}'s page,
- * e.g., {{ entity_base_path }})/123. 123 being the {{ entity_type_label|lower }}'s ID.
- *
- * Available variables:
- * - content: A list of content items. Use 'content' to print all content, or
- * print a subset such as 'content.title'.
- * - attributes: HTML attributes for the container element.
- *
- * @see template_preprocess_{{ entity_type_id }}()
- */
-{{ '#}' }}{% verbatim %}
-
- {% if content %}
- {{- content -}}
- {% endif %}
- {% endverbatim %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/model.services.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/model.services.yml.twig
deleted file mode 100644
index 65d61f802..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/model.services.yml.twig
+++ /dev/null
@@ -1,4 +0,0 @@
-services:
- plugin.manager.{{ plugin_type }}:
- class: Drupal\{{ machine_name }}\{{ class_prefix }}PluginManager
- parent: default_plugin_manager
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/Annotation/Example.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/Annotation/Example.php.twig
deleted file mode 100644
index 6dd2134c1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/Annotation/Example.php.twig
+++ /dev/null
@@ -1,39 +0,0 @@
-pluginDefinition['label'];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/ExamplePluginManager.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/ExamplePluginManager.php.twig
deleted file mode 100644
index e498a3eef..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/ExamplePluginManager.php.twig
+++ /dev/null
@@ -1,37 +0,0 @@
-alterInfo('{{ plugin_type }}_info');
- $this->setCacheBackend($cache_backend, '{{ plugin_type }}_plugins');
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/Plugin/Example/Foo.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/Plugin/Example/Foo.php.twig
deleted file mode 100644
index b1e31e1ed..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/Plugin/Example/Foo.php.twig
+++ /dev/null
@@ -1,18 +0,0 @@
- [
- 'id' => 'foo',
- 'label' => t('Foo'),
- 'description' => t('Foo description.'),
- ],
- 'bar' => [
- 'id' => 'bar',
- 'label' => t('Bar'),
- 'description' => t('Bar description.'),
- ],
- ];
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/model.services.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/model.services.yml.twig
deleted file mode 100644
index 87c0e7391..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/model.services.yml.twig
+++ /dev/null
@@ -1,4 +0,0 @@
-services:
- plugin.manager.{{ plugin_type }}:
- class: Drupal\{{ machine_name }}\{{ class_prefix }}PluginManager
- arguments: ['@module_handler', '@cache.discovery']
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/src/ExampleDefault.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/src/ExampleDefault.php.twig
deleted file mode 100644
index 508e5cd50..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/src/ExampleDefault.php.twig
+++ /dev/null
@@ -1,20 +0,0 @@
-pluginDefinition['label'];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/src/ExampleInterface.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/src/ExampleInterface.php.twig
deleted file mode 100644
index c15879d0c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/src/ExampleInterface.php.twig
+++ /dev/null
@@ -1,18 +0,0 @@
- '',
- // The {{ plugin_type }} label.
- 'label' => '',
- // The {{ plugin_type }} description.
- 'description' => '',
- // Default plugin class.
- 'class' => 'Drupal\{{ machine_name }}\{{ class_prefix }}Default',
- ];
-
- /**
- * Constructs {{ class_prefix }}PluginManager object.
- *
- * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
- * The module handler to invoke the alter hook with.
- * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend
- * Cache backend instance to use.
- */
- public function __construct(ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend) {
- $this->factory = new ContainerFactory($this);
- $this->moduleHandler = $module_handler;
- $this->alterInfo('{{ plugin_type }}_info');
- $this->setCacheBackend($cache_backend, '{{ plugin_type }}_plugins');
- }
-
- /**
- * {@inheritdoc}
- */
- protected function getDiscovery() {
- if (!isset($this->discovery)) {
- $this->discovery = new HookDiscovery($this->moduleHandler, '{{ plugin_type }}_info');
- }
- return $this->discovery;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/model.examples.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/model.examples.yml.twig
deleted file mode 100644
index a06f3d036..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/model.examples.yml.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-foo_1:
- label: 'Foo 1'
- description: 'Plugin description.'
-foo_2:
- label: 'Foo 2'
- description: 'Plugin description.'
-foo_3:
- label: 'Foo 3'
- description: 'Plugin description.'
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/model.services.yml.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/model.services.yml.twig
deleted file mode 100644
index 87c0e7391..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/model.services.yml.twig
+++ /dev/null
@@ -1,4 +0,0 @@
-services:
- plugin.manager.{{ plugin_type }}:
- class: Drupal\{{ machine_name }}\{{ class_prefix }}PluginManager
- arguments: ['@module_handler', '@cache.discovery']
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/src/ExampleDefault.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/src/ExampleDefault.php.twig
deleted file mode 100644
index 519752642..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/src/ExampleDefault.php.twig
+++ /dev/null
@@ -1,20 +0,0 @@
-pluginDefinition['label'];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/src/ExampleInterface.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/src/ExampleInterface.php.twig
deleted file mode 100644
index c15879d0c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/src/ExampleInterface.php.twig
+++ /dev/null
@@ -1,18 +0,0 @@
- '',
- // The {{ plugin_type }} label.
- 'label' => '',
- // The {{ plugin_type }} description.
- 'description' => '',
- // Default plugin class.
- 'class' => 'Drupal\{{ machine_name }}\{{ class_prefix }}Default',
- ];
-
- /**
- * Constructs {{ class_prefix }}PluginManager object.
- *
- * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
- * The module handler to invoke the alter hook with.
- * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend
- * Cache backend instance to use.
- */
- public function __construct(ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend) {
- $this->factory = new ContainerFactory($this);
- $this->moduleHandler = $module_handler;
- $this->alterInfo('{{ plugin_type }}_info');
- $this->setCacheBackend($cache_backend, '{{ plugin_type }}_plugins');
- }
-
- /**
- * {@inheritdoc}
- */
- protected function getDiscovery() {
- if (!isset($this->discovery)) {
- $this->discovery = new YamlDiscovery('{{ plugin_type|plural }}', $this->moduleHandler->getModuleDirectories());
- $this->discovery->addTranslatableProperty('label', 'label_context');
- $this->discovery->addTranslatableProperty('description', 'description_context');
- }
- return $this->discovery;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/_ckeditor/ckeditor.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/_ckeditor/ckeditor.twig
deleted file mode 100644
index b12884a89..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/_ckeditor/ckeditor.twig
+++ /dev/null
@@ -1,46 +0,0 @@
- [
- 'label' => $this->t('{{ plugin_label }}'),
- 'image' => $module_path . '/js/plugins/{{ short_plugin_id }}/icons/{{ short_plugin_id }}.png',
- ],
- ];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/_ckeditor/dialog.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/_ckeditor/dialog.twig
deleted file mode 100644
index dfdbdc352..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/_ckeditor/dialog.twig
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * @file
- * Defines dialog for {{ plugin_label }} CKEditor plugin.
- */
-(function (Drupal) {
-
- 'use strict';
-
- // Dialog definition.
- CKEDITOR.dialog.add('{{ command_name }}Dialog', function(editor) {
-
- return {
-
- // Basic properties of the dialog window: title, minimum size.
- title: Drupal.t('Abbreviation properties'),
- minWidth: 400,
- minHeight: 150,
-
- // Dialog window content definition.
- contents: [
- {
- // Definition of the settings dialog tab.
- id: 'tab-settings',
- label: 'Settings',
-
- // The tab content.
- elements: [
- {
- // Text input field for the abbreviation text.
- type: 'text',
- id: 'abbr',
- label: Drupal.t('Abbreviation'),
-
- // Validation checking whether the field is not empty.
- validate: CKEDITOR.dialog.validate.notEmpty(Drupal.t('Abbreviation field cannot be empty.'))
- },
- {
- // Text input field for the abbreviation title (explanation).
- type: 'text',
- id: 'title',
- label: Drupal.t('Explanation'),
- validate: CKEDITOR.dialog.validate.notEmpty(Drupal.t('Explanation field cannot be empty.'))
- }
- ]
- }
- ],
-
- // This method is invoked once a user clicks the OK button, confirming the
- // dialog.
- onOk: function() {
-
- // The context of this function is the dialog object itself.
- // See http://docs.ckeditor.com/#!/api/CKEDITOR.dialog.
- var dialog = this;
-
- // Create a new element.
- var abbr = editor.document.createElement('abbr');
-
- // Set element attribute and text by getting the defined field values.
- abbr.setAttribute('title', dialog.getValueOf('tab-settings', 'title'));
- abbr.setText( dialog.getValueOf('tab-settings', 'abbr'));
-
- // Finally, insert the element into the editor at the caret position.
- editor.insertElement(abbr);
- }
- };
-
- });
-
-} (Drupal));
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/_ckeditor/icon.png b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/_ckeditor/icon.png
deleted file mode 100644
index 5148ccf86569139fcf6dd9a1a5c82293ff776e34..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 597
zcmV-b0;>IqP)VGd00H$$L_t(I%cYaSN+UrKhQEP{f=B|v
zBrKX+0-pAg$wd^xLiQfPXV4eO^DKD=PfG+9yeRRqps<8o)Kf@^AjEW6SN9&m%o;X(
zvZ0`oSmIDQit~*=Nzg^uh+W==yW;_Yb_$OVz;-q_tEL;X#*JS
z?(X88%LI%uJU>5w6%k6M(y!ESt;IRVXf$GDVk=ytmqma1}oe$Hq#`f07D
z)oO8ke7u6*Y&MDGcn||P=K#36y23e!h|q4gsaC6Bip3(eT8)c~3!HPzW;0GsPO`ie
zfo8Lbh+vH2@$r#|hX)Q04w%p9BuRoXhRI|CfQXRG<(2{>0>Itf9jb~khEl1-bUI}|
zpJy=<;q~>EdcFRaAiV%2NrH%At>x+IiH{?0G#ZEq=Xc3psm
z+2b@OBFttp_V@QuRh)CgY0V!A-rwJOd3hm(fcHKlu-0ZhP}Li+Lqz@|C>D!&@430TSxXQ?Ao|}n*6Z~j#+Yxa%GTD_
j@8NLxeO+Gk*>(N{^X-`R6FOz^00000NkvXXu0mjfk46 ''];
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
- $form['title'] = [
- '#title' => t('New title'),
- '#type' => 'textfield',
- '#required' => TRUE,
- '#default_value' => $this->configuration['title'],
- ];
- return $form;
- }
-
- /**
- * {@inheritdoc}
- */
- public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
- $this->configuration['title'] = $form_state->getValue('title');
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public function access($node, AccountInterface $account = NULL, $return_as_object = FALSE) {
- /** @var \Drupal\node\NodeInterface $node */
- $access = $node->access('update', $account, TRUE)
- ->andIf($node->title->access('edit', $account, TRUE));
- return $return_as_object ? $access : $access->isAllowed();
- }
-
- /**
- * {@inheritdoc}
- */
- public function execute($node = NULL) {
- /** @var \Drupal\node\NodeInterface $node */
-{% if configurable %}
- $node->setTitle($this->configuration['title'])->save();
-{% else %}
- $node->setTitle(t('New title'))->save();
-{% endif %}
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/block-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/block-schema.twig
deleted file mode 100644
index 866de58b4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/block-schema.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-block.settings.{{ plugin_id }}:
- type: block_settings
- label: '{{ plugin_label }} block'
- mapping:
- foo:
- type: string
- label: Foo
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/block.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/block.twig
deleted file mode 100644
index ab96052a9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/block.twig
+++ /dev/null
@@ -1,119 +0,0 @@
-{% import 'lib/di.twig' as di %}
- $this->t('Hello world!'),
- ];
- }
-
- /**
- * {@inheritdoc}
- */
- public function blockForm($form, FormStateInterface $form_state) {
- $form['foo'] = [
- '#type' => 'textarea',
- '#title' => $this->t('Foo'),
- '#default_value' => $this->configuration['foo'],
- ];
- return $form;
- }
-
- /**
- * {@inheritdoc}
- */
- public function blockSubmit($form, FormStateInterface $form_state) {
- $this->configuration['foo'] = $form_state->getValue('foo');
- }
-
-{% endif %}
-{% if access %}
- /**
- * {@inheritdoc}
- */
- protected function blockAccess(AccountInterface $account) {
- // @DCG Evaluate the access condition here.
- $condition = TRUE;
- return AccessResult::allowedIf($condition);
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public function build() {
- $build['content'] = [
- '#markup' => $this->t('It works!'),
- ];
- return $build;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/condition-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/condition-schema.twig
deleted file mode 100644
index fa08f5be8..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/condition-schema.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-condition.plugin.{{ plugin_id }}:
- type: condition.plugin
- label: '{{ plugin_label }} condition'
- mapping:
- age:
- type: integer
- label: Age
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/condition.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/condition.twig
deleted file mode 100644
index cc1b29f3e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/condition.twig
+++ /dev/null
@@ -1,129 +0,0 @@
-dateFormatter = $date_formatter;
- $this->time = $time;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
- return new static(
- $configuration,
- $plugin_id,
- $plugin_definition,
- $container->get('date.formatter'),
- $container->get('datetime.time')
- );
- }
-
- /**
- * {@inheritdoc}
- */
- public function defaultConfiguration() {
- return ['age' => NULL] + parent::defaultConfiguration();
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
-
- $form['age'] = [
- '#title' => $this->t('Node age, sec'),
- '#type' => 'number',
- '#min' => 0,
- '#default_value' => $this->configuration['age'],
- ];
-
- return parent::buildConfigurationForm($form, $form_state);
- }
-
- /**
- * {@inheritdoc}
- */
- public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
- $this->configuration['age'] = $form_state->getValue('age');
- parent::submitConfigurationForm($form, $form_state);
- }
-
- /**
- * {@inheritdoc}
- */
- public function summary() {
- return $this->t(
- 'Node age: @age',
- ['@age' => $this->dateFormatter->formatInterval($this->configuration['age'])]
- );
- }
-
- /**
- * {@inheritdoc}
- */
- public function evaluate() {
- if (!$this->configuration['age'] && !$this->isNegated()) {
- return TRUE;
- }
- $age = $this->time->getRequestTime() - $this->getContextValue('node')->getCreatedTime();
- return $age < $this->configuration['age'];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/constraint-validator.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/constraint-validator.twig
deleted file mode 100644
index 5537908e9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/constraint-validator.twig
+++ /dev/null
@@ -1,62 +0,0 @@
-label() == 'foo') {
- $this->context->buildViolation($constraint->errorMessage)
- // @DCG The path depends on entity type. It can be title, name, etc.
- ->atPath('title')
- ->addViolation();
- }
-
- }
-{% elseif input_type == 'item_list' %}
- public function validate($items, Constraint $constraint) {
-
- foreach ($items as $delta => $item) {
- // @DCG Validate the item here.
- if ($item->value == 'foo') {
- $this->context->buildViolation($constraint->errorMessage)
- ->atPath($delta)
- ->addViolation();
- }
- }
-
- }
-{% elseif input_type == 'item' %}
- public function validate($item, Constraint $constraint) {
-
- $value = $item->getValue()['value'];
- // @DCG Validate the value here.
- if ($value == 'foo') {
- $this->context->addViolation($constraint->errorMessage);
- }
-
- }
-{% else %}
- public function validate($value, Constraint $constraint) {
-
- // @DCG Validate the value here.
- if ($value == 'foo') {
- $this->context->addViolation($constraint->errorMessage);
- }
-
- }
-{% endif %}
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/constraint.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/constraint.twig
deleted file mode 100644
index 97dd76b27..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/constraint.twig
+++ /dev/null
@@ -1,35 +0,0 @@
- 'bar',
- ];
-
- return $default_configuration + parent::defaultConfiguration();
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
- $form = parent::buildConfigurationForm($form, $form_state);
-
- $form['foo'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Foo'),
- '#default_value' => $this->configuration['foo'],
- ];
-
- return $form;
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- protected function buildEntityQuery($match = NULL, $match_operator = 'CONTAINS') {
- $query = parent::buildEntityQuery($match, $match_operator);
-
- // @DCG
- // Here you can apply addition conditions, sorting, etc to the query.
- // Also see self::entityQueryAlter().
- $query->condition('field_example', 123);
-
- return $query;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/formatter-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/formatter-schema.twig
deleted file mode 100644
index 24087a352..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/formatter-schema.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-field.formatter.settings.{{ plugin_id }}:
- type: mapping
- label: {{ plugin_label }} formatter settings
- mapping:
- foo:
- type: string
- label: Foo
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/formatter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/formatter.twig
deleted file mode 100644
index f052902c5..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/formatter.twig
+++ /dev/null
@@ -1,73 +0,0 @@
- 'bar',
- ] + parent::defaultSettings();
- }
-
- /**
- * {@inheritdoc}
- */
- public function settingsForm(array $form, FormStateInterface $form_state) {
-
- $elements['foo'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Foo'),
- '#default_value' => $this->getSetting('foo'),
- ];
-
- return $elements;
- }
-
- /**
- * {@inheritdoc}
- */
- public function settingsSummary() {
- $summary[] = $this->t('Foo: @foo', ['@foo' => $this->getSetting('foo')]);
- return $summary;
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public function viewElements(FieldItemListInterface $items, $langcode) {
- $element = [];
-
- foreach ($items as $delta => $item) {
- $element[$delta] = [
- '#type' => 'item',
- '#markup' => $item->value,
- ];
- }
-
- return $element;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/type-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/type-schema.twig
deleted file mode 100644
index 55d106520..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/type-schema.twig
+++ /dev/null
@@ -1,27 +0,0 @@
-{% if configurable_storage %}
-field.storage_settings.{{ plugin_id }}:
- type: mapping
- label: {{ plugin_label }} storage settings
- mapping:
- foo:
- type: string
- label: Foo
-
-{% endif %}
-{% if configurable_instance %}
-field.field_settings.{{ plugin_id }}:
- type: mapping
- label: {{ plugin_label }} field settings
- mapping:
- bar:
- type: string
- label: Bar
-
-{% endif %}
-field.value.{{ plugin_id }}:
- type: mapping
- label: Default value
- mapping:
- value:
- type: label
- label: Value
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/type.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/type.twig
deleted file mode 100644
index ae320118e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/type.twig
+++ /dev/null
@@ -1,154 +0,0 @@
- 'wine'];
- return $settings + parent::defaultStorageSettings();
- }
-
- /**
- * {@inheritdoc}
- */
- public function storageSettingsForm(array &$form, FormStateInterface $form_state, $has_data) {
-
- $element['foo'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Foo'),
- '#default_value' => $this->getSetting('foo'),
- '#disabled' => $has_data,
- ];
-
- return $element;
- }
-
-{% endif %}
-{% if configurable_instance %}
- /**
- * {@inheritdoc}
- */
- public static function defaultFieldSettings() {
- $settings = ['bar' => 'beer'];
- return $settings + parent::defaultFieldSettings();
- }
-
- /**
- * {@inheritdoc}
- */
- public function fieldSettingsForm(array $form, FormStateInterface $form_state) {
-
- $element['bar'] = [
- '#type' => 'textfield',
- '#title' => t('Bar'),
- '#default_value' => $this->getSetting('bar'),
- ];
-
- return $element;
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public function isEmpty() {
- $value = $this->get('value')->getValue();
- return $value === NULL || $value === '';
- }
-
- /**
- * {@inheritdoc}
- */
- public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition) {
-
- // @DCG
- // See /core/lib/Drupal/Core/TypedData/Plugin/DataType directory for
- // available data types.
- $properties['value'] = DataDefinition::create('string')
- ->setLabel(t('Text value'))
- ->setRequired(TRUE);
-
- return $properties;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getConstraints() {
- $constraints = parent::getConstraints();
-
- $constraint_manager = \Drupal::typedDataManager()->getValidationConstraintManager();
-
- // @DCG Suppose our value must not be longer than 10 characters.
- $options['value']['Length']['max'] = 10;
-
- // @DCG
- // See /core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint
- // directory for available constraints.
- $constraints[] = $constraint_manager->create('ComplexData', $options);
- return $constraints;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function schema(FieldStorageDefinitionInterface $field_definition) {
-
- $columns = [
- 'value' => [
- 'type' => 'varchar',
- 'not null' => FALSE,
- 'description' => 'Column description.',
- 'length' => 255,
- ],
- ];
-
- $schema = [
- 'columns' => $columns,
- // @DCG Add indexes here if necessary.
- ];
-
- return $schema;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function generateSampleValue(FieldDefinitionInterface $field_definition) {
- $random = new Random();
- $values['value'] = $random->word(mt_rand(1, 50));
- return $values;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/widget-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/widget-schema.twig
deleted file mode 100644
index 2c98edbdc..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/widget-schema.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-field.widget.settings.{{ plugin_id }}:
- type: mapping
- label: {{ plugin_label }} widget settings
- mapping:
- foo:
- type: string
- label: Foo
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/widget.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/widget.twig
deleted file mode 100644
index 5089c302f..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/widget.twig
+++ /dev/null
@@ -1,66 +0,0 @@
- 'bar',
- ] + parent::defaultSettings();
- }
-
- /**
- * {@inheritdoc}
- */
- public function settingsForm(array $form, FormStateInterface $form_state) {
-
- $element['foo'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Foo'),
- '#default_value' => $this->getSetting('foo'),
- ];
-
- return $element;
- }
-
- /**
- * {@inheritdoc}
- */
- public function settingsSummary() {
- $summary[] = $this->t('Foo: @foo', ['@foo' => $this->getSetting('foo')]);
- return $summary;
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public function formElement(FieldItemListInterface $items, $delta, array $element, array &$form, FormStateInterface $form_state) {
-
- $element['value'] = $element + [
- '#type' => 'textfield',
- '#default_value' => isset($items[$delta]->value) ? $items[$delta]->value : NULL,
- ];
-
- return $element;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/filter-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/filter-schema.twig
deleted file mode 100644
index 83dec2bac..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/filter-schema.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-filter_settings.{{ plugin_id }}:
- type: filter
- label: '{{ plugin_label }} filter'
- mapping:
- example:
- type: string
- label: Example
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/filter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/filter.twig
deleted file mode 100644
index d080e2bc6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/filter.twig
+++ /dev/null
@@ -1,54 +0,0 @@
- 'textfield',
- '#title' => $this->t('Example'),
- '#default_value' => $this->settings['example'],
- '#description' => $this->t('Description of the setting.'),
- ];
- return $form;
- }
-
- /**
- * {@inheritdoc}
- */
- public function process($text, $langcode) {
- // @DCG Process text here.
- $example = $this->settings['example'];
- $text = str_replace($example, "$example", $text);
- return new FilterProcessResult($text);
- }
-
- /**
- * {@inheritdoc}
- */
- public function tips($long = FALSE) {
- return $this->t('Some filter tips here.');
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/menu-link.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/menu-link.twig
deleted file mode 100644
index 560e99fa4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/menu-link.twig
+++ /dev/null
@@ -1,77 +0,0 @@
-dbConnection = $db_connection;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
- return new static(
- $configuration,
- $plugin_id,
- $plugin_definition,
- $container->get('menu_link.static.overrides'),
- $container->get('database')
- );
- }
-
- /**
- * {@inheritdoc}
- */
- public function getTitle() {
- $count = $this->dbConnection->query('SELECT COUNT(*) FROM {messages}')->fetchField();
- return $this->t('Messages (@count)', ['@count' => $count]);
- }
-
- /**
- * {@inheritdoc}
- */
- public function getRouteName() {
- return '{{ machine_name }}.messages';
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCacheTags() {
- // @DCG Invalidate this tags when messages are created or removed.
- return ['{{ machine_name }}.messages_count'];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/migrate/process.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/migrate/process.twig
deleted file mode 100644
index 4b0104353..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/migrate/process.twig
+++ /dev/null
@@ -1,79 +0,0 @@
-transliteration = $transliteration;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
- return new static(
- $configuration,
- $plugin_id,
- $plugin_definition,
- $container->get('transliteration')
- );
- }
-
- /**
- * {@inheritdoc}
- */
- public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) {
- return $this->transliteration->transliterate($value, LanguageInterface::LANGCODE_DEFAULT);
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/rest-resource.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/rest-resource.twig
deleted file mode 100644
index ed23b4270..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/rest-resource.twig
+++ /dev/null
@@ -1,306 +0,0 @@
-dbConnection = $db_connection;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
- return new static(
- $configuration,
- $plugin_id,
- $plugin_definition,
- $container->getParameter('serializer.formats'),
- $container->get('logger.factory')->get('rest'),
- $container->get('database')
- );
- }
-
- /**
- * Responds to GET requests.
- *
- * @param int $id
- * The ID of the record.
- *
- * @return \Drupal\rest\ResourceResponse
- * The response containing the record.
- *
- * @throws \Symfony\Component\HttpKernel\Exception\HttpException
- */
- public function get($id) {
- return new ResourceResponse($this->loadRecord($id));
- }
-
- /**
- * Responds to POST requests and saves the new record.
- *
- * @param mixed $record
- * Data to write into the database.
- *
- * @return \Drupal\rest\ModifiedResourceResponse
- * The HTTP response object.
- */
- public function post($record) {
-
- $this->validate($record);
-
- $id = $this->dbConnection->insert('{{ plugin_id }}')
- ->fields($record)
- ->execute();
-
- $this->logger->notice('New {{ plugin_label|lower }} record has been created.');
-
- $created_record = $this->loadRecord($id);
-
- // Return the newly created record in the response body.
- return new ModifiedResourceResponse($created_record, 201);
- }
-
- /**
- * Responds to entity PATCH requests.
- *
- * @param int $id
- * The ID of the record.
- * @param mixed $record
- * Data to write into the database.
- *
- * @return \Drupal\rest\ModifiedResourceResponse
- * The HTTP response object.
- */
- public function patch($id, $record) {
- $this->validate($record);
- return $this->updateRecord($id, $record);
- }
-
- /**
- * Responds to entity PUT requests.
- *
- * @param int $id
- * The ID of the record.
- * @param mixed $record
- * Data to write into the database.
- *
- * @return \Drupal\rest\ModifiedResourceResponse
- * The HTTP response object.
- */
- public function put($id, $record) {
-
- $this->validate($record);
-
- // Provide default values to make sure the record is completely replaced.
- $record += [
- 'title' => '',
- 'description' => '',
- 'price' => 0,
- ];
-
- return $this->updateRecord($id, $record);
- }
-
- /**
- * Responds to entity DELETE requests.
- *
- * @param int $id
- * The ID of the record.
- *
- * @return \Drupal\rest\ModifiedResourceResponse
- * The HTTP response object.
- *
- * @throws \Symfony\Component\HttpKernel\Exception\HttpException
- */
- public function delete($id) {
-
- // Make sure the record still exists.
- $this->loadRecord($id);
-
- $this->dbConnection->delete('{{ plugin_id }}')
- ->condition('id', $id)
- ->execute();
-
- $this->logger->notice('{{ plugin_label }} record @id has been deleted.', ['@id' => $id]);
-
- // Deleted responses have an empty body.
- return new ModifiedResourceResponse(NULL, 204);
- }
-
- /**
- * {@inheritdoc}
- */
- protected function getBaseRoute($canonical_path, $method) {
- $route = parent::getBaseRoute($canonical_path, $method);
-
- // Change ID validation pattern.
- if ($method != 'POST') {
- $route->setRequirement('id', '\d+');
- }
-
- return $route;
- }
-
- /**
- * {@inheritdoc}
- */
- public function calculateDependencies() {
- return [];
- }
-
- /**
- * {@inheritdoc}
- */
- public function routes() {
- $collection = parent::routes();
-
- // ResourceBase class does not support PUT method by some reason.
- $definition = $this->getPluginDefinition();
- $canonical_path = $definition['uri_paths']['canonical'];
- $route = $this->getBaseRoute($canonical_path, 'PUT');
- $route->addRequirements(['_content_type_format' => implode('|', $this->serializerFormats)]);
- $collection->add('{{ plugin_id }}.PUT', $route);
-
- return $collection;
- }
-
- /**
- * Validates incoming record.
- *
- * @param mixed $record
- * Data to validate.
- *
- * @throws \Symfony\Component\HttpKernel\Exception\BadRequestHttpException
- */
- protected function validate($record) {
- if (!is_array($record) || count($record) == 0) {
- throw new BadRequestHttpException('No record content received.');
- }
-
- $allowed_fields = [
- 'title',
- 'description',
- 'price',
- ];
-
- if (count(array_diff(array_keys($record), $allowed_fields)) > 0) {
- throw new BadRequestHttpException('Record structure is not correct.');
- }
-
- if (empty($record['title'])) {
- throw new BadRequestHttpException('Title is required.');
- }
- elseif (isset($record['title']) && strlen($record['title']) > 255) {
- throw new BadRequestHttpException('Title is too big.');
- }
- // @DCG Add more validation rules here.
- }
-
- /**
- * Loads record from database.
- *
- * @param int $id
- * The ID of the record.
- *
- * @return array
- * The database record.
- *
- * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
- */
- protected function loadRecord($id) {
- $record = $this->dbConnection->query('SELECT * FROM {{ '{' }}{{ plugin_id }}{{ '}' }} WHERE id = :id', [':id' => $id])->fetchAssoc();
- if (!$record) {
- throw new NotFoundHttpException('The record was not found.');
- }
- return $record;
- }
-
- /**
- * Updates record.
- *
- * @param int $id
- * The ID of the record.
- * @param array $record
- * The record to validate.
- *
- * @return \Drupal\rest\ModifiedResourceResponse
- * The HTTP response object.
- */
- protected function updateRecord($id, array $record) {
-
- // Make sure the record already exists.
- $this->loadRecord($id);
-
- $this->validate($record);
-
- $this->dbConnection->update('{{ plugin_id }}')
- ->fields($record)
- ->condition('id', $id)
- ->execute();
-
- $this->logger->notice('{{ plugin_label }} record @id has been updated.', ['@id' => $id]);
-
- // Return the updated record in the response body.
- $updated_record = $this->loadRecord($id);
- return new ModifiedResourceResponse($updated_record, 200);
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/argument-default.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/argument-default.twig
deleted file mode 100644
index c1c7ae51e..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/argument-default.twig
+++ /dev/null
@@ -1,112 +0,0 @@
-routeMatch = $route_match;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
- return new static(
- $configuration,
- $plugin_id,
- $plugin_definition,
- $container->get('current_route_match')
- );
- }
-
- /**
- * {@inheritdoc}
- */
- protected function defineOptions() {
- $options = parent::defineOptions();
- $options['example_option'] = ['default' => ''];
- return $options;
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildOptionsForm(&$form, FormStateInterface $form_state) {
- $form['example_option'] = [
- '#type' => 'textfield',
- '#title' => t('Some example option'),
- '#default_value' => $this->options['example_option'],
- ];
- }
-
- /**
- * {@inheritdoc}
- */
- public function getArgument() {
-
- // @DCG
- // Here is the place where you should create a default argument for the
- // contextual filter. The source of this argument depends on your needs.
- // For example, you can extract the value from the URL or fetch it from
- // some fields of the current viewed entity.
- // For now let's use example option as an argument.
- $argument = $this->options['example_option'];
-
- return $argument;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCacheMaxAge() {
- return Cache::PERMANENT;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCacheContexts() {
- return ['url'];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/field.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/field.twig
deleted file mode 100644
index e373cb4ec..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/field.twig
+++ /dev/null
@@ -1,52 +0,0 @@
- ''];
- $options['suffix'] = ['default' => ''];
- return $options;
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildOptionsForm(&$form, FormStateInterface $form_state) {
- parent::buildOptionsForm($form, $form_state);
-
- $form['prefix'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Prefix'),
- '#default_value' => $this->options['prefix'],
- ];
-
- $form['suffix'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Suffix'),
- '#default_value' => $this->options['suffix'],
- ];
- }
-
- /**
- * {@inheritdoc}
- */
- public function render(ResultRow $values) {
- return $this->options['prefix'] . parent::render($values) . $this->options['suffix'];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-plugin.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-plugin.twig
deleted file mode 100644
index 860c6bdad..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-plugin.twig
+++ /dev/null
@@ -1,53 +0,0 @@
- 'item-list'];
- return $options;
- }
-
- /**
- * {@inheritdoc}
- */
- public function buildOptionsForm(&$form, FormStateInterface $form_state) {
- parent::buildOptionsForm($form, $form_state);
- $form['wrapper_class'] = [
- '#title' => $this->t('Wrapper class'),
- '#description' => $this->t('The class to provide on the wrapper, outside rows.'),
- '#type' => 'textfield',
- '#default_value' => $this->options['wrapper_class'],
- ];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-preprocess.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-preprocess.twig
deleted file mode 100644
index 6578191ef..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-preprocess.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Prepares variables for views-style-{{ plugin_id|u2h }}.html.twig template.
- */
-function template_preprocess_views_style_{{ plugin_id }}(&$variables) {
- $handler = $variables['view']->style_plugin;
-
- // Fetch wrapper classes from handler options.
- if ($handler->options['wrapper_class']) {
- $wrapper_class = explode(' ', $handler->options['wrapper_class']);
- $variables['attributes']['class'] = array_map('\Drupal\Component\Utility\Html::cleanCssIdentifier', $wrapper_class);
- }
-
- template_preprocess_views_view_unformatted($variables);
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-schema.twig
deleted file mode 100644
index af3316dc1..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-schema.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-views.style.{{ plugin_id }}:
- type: views_style
- label: '{{ plugin_label }}'
- mapping:
- wrapper_class:
- type: string
- label: Wrapper class
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-template.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-template.twig
deleted file mode 100644
index 4860e08f2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-template.twig
+++ /dev/null
@@ -1,22 +0,0 @@
-{{ '{#' }}
-/**
- * @file
- * Default theme implementation for a view template to display a list of rows.
- *
- * Available variables:
- * - attributes: HTML attributes for the container.
- * - rows: A list of rows.
- * - attributes: The row's HTML attributes.
- * - content: The row's contents.
- * - title: The title of this group of rows. May be empty.
- *
- * @see template_preprocess_views_style_{{ plugin_id }}()
- */
-{{ '#}' }}{% verbatim %}
-
-
- {% for row in rows %}
- {{ row.content }}
- {% endfor %}
-
-{% endverbatim %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/render-element.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/render-element.twig
deleted file mode 100644
index 66c2856ce..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/render-element.twig
+++ /dev/null
@@ -1,70 +0,0 @@
- 'entity',
- * '#entity_type' => 'node',
- * '#entity_id' => 1,
- * '#view_mode' => 'teaser,
- * '#langcode' => 'en',
- * ];
- * @endcode
- *
- * @RenderElement("entity")
- */
-class Entity extends RenderElement {
-
- /**
- * {@inheritdoc}
- */
- public function getInfo() {
- return [
- '#pre_render' => [
- [get_class($this), 'preRenderEntityElement'],
- ],
- '#view_mode' => 'full',
- '#langcode' => NULL,
- ];
- }
-
- /**
- * Entity element pre render callback.
- *
- * @param array $element
- * An associative array containing the properties of the entity element.
- *
- * @return array
- * The modified element.
- */
- public static function preRenderEntityElement(array $element) {
-
- $entity_type_manager = \Drupal::entityTypeManager();
-
- $entity = $entity_type_manager
- ->getStorage($element['#entity_type'])
- ->load($element['#entity_id']);
-
- if ($entity && $entity->access('view')) {
- $element['entity'] = $entity_type_manager
- ->getViewBuilder($element['#entity_type'])
- ->view($entity, $element['#view_mode'], $element['#langcode']);
- }
-
- return $element;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service-provider.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service-provider.twig
deleted file mode 100644
index c55af934b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service-provider.twig
+++ /dev/null
@@ -1,35 +0,0 @@
-register('{{ machine_name }}.subscriber', 'Drupal\{{ machine_name }}\EventSubscriber\{{ machine_name|camelize }}Subscriber')
- ->addTag('event_subscriber')
- ->addArgument(new Reference('entity_type.manager'));
- }
-
- /**
- * {@inheritdoc}
- */
- public function alter(ContainerBuilder $container) {
- $modules = $container->getParameter('container.modules');
- if (isset($modules['dblog'])) {
- // Override default DB logger to exclude some unwanted log messages.
- $container->getDefinition('logger.dblog')
- ->setClass('Drupal\{{ machine_name }}\Logger\{{ machine_name|camelize }}Log');
- }
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/access-checker.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/access-checker.services.twig
deleted file mode 100644
index f5cce4194..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/access-checker.services.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-services:
- access_check.{{ machine_name }}.{{ applies_to|trim('_') }}:
- class: Drupal\{{ machine_name }}\Access\{{ class }}
- tags:
- - { name: access_check, applies_to: {{ applies_to }} }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/access-checker.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/access-checker.twig
deleted file mode 100644
index c585ed380..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/access-checker.twig
+++ /dev/null
@@ -1,33 +0,0 @@
-getSomeValue() == $route->getRequirement('{{ applies_to }}'));
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/breadcrumb-builder.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/breadcrumb-builder.services.twig
deleted file mode 100644
index 07b204199..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/breadcrumb-builder.services.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-services:
- {{ machine_name }}.breadcrumb:
- class: Drupal\{{ machine_name }}\{{ class }}
- tags:
- - { name: breadcrumb_builder, priority: 1000 }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/breadcrumb-builder.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/breadcrumb-builder.twig
deleted file mode 100644
index 91ed742ce..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/breadcrumb-builder.twig
+++ /dev/null
@@ -1,46 +0,0 @@
-getParameter('node');
- return $node instanceof NodeInterface && $node->getType() == 'article';
- }
-
- /**
- * {@inheritdoc}
- */
- public function build(RouteMatchInterface $route_match) {
- $breadcrumb = new Breadcrumb();
-
- $links[] = Link::createFromRoute($this->t('Home'), '');
-
- // Articles page is a view.
- $links[] = Link::createFromRoute($this->t('Articles'), 'view.articles.page_1');
-
- $node = $route_match->getParameter('node');
- $links[] = Link::createFromRoute($node->label(), '');
-
- $breadcrumb->setLinks($links);
-
- return $breadcrumb;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/cache-context.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/cache-context.services.twig
deleted file mode 100644
index 8e441f086..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/cache-context.services.twig
+++ /dev/null
@@ -1,10 +0,0 @@
-services:
- cache_context.{{ context_id }}:
- class: Drupal\{{ machine_name }}\Cache\Context\{{ class }}
-{% if base_class == 'RequestStackCacheContextBase' %}
- arguments: ['@request_stack']
-{% elseif base_class == 'UserCacheContextBase' %}
- arguments: ['@current_user']
-{% endif %}
- tags:
- - { name: cache.context}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/cache-context.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/cache-context.twig
deleted file mode 100644
index 394402af4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/cache-context.twig
+++ /dev/null
@@ -1,45 +0,0 @@
-messenger = $messenger;
- }
-
- /**
- * Kernel request event handler.
- *
- * @param \Symfony\Component\HttpKernel\Event\GetResponseEvent $event
- * Response event.
- */
- public function onKernelRequest(GetResponseEvent $event) {
- $this->messenger->addStatus(__FUNCTION__);
- }
-
- /**
- * Kernel response event handler.
- *
- * @param \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event
- * Response event.
- */
- public function onKernelResponse(FilterResponseEvent $event) {
- $this->messenger->addStatus(__FUNCTION__);
- }
-
- /**
- * {@inheritdoc}
- */
- public static function getSubscribedEvents() {
- return [
- KernelEvents::REQUEST => ['onKernelRequest'],
- KernelEvents::RESPONSE => ['onKernelResponse'],
- ];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/logger.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/logger.services.twig
deleted file mode 100644
index 69c8ac064..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/logger.services.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-services:
- logger.{{ machine_name }}:
- class: Drupal\{{ machine_name }}\Logger\{{ class }}
- arguments: ['@config.factory', '@logger.log_message_parser', '@date.formatter']
- tags:
- - { name: logger }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/logger.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/logger.twig
deleted file mode 100644
index 0747d1161..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/logger.twig
+++ /dev/null
@@ -1,83 +0,0 @@
-config = $config_factory->get('system.file');
- $this->parser = $parser;
- $this->dateFormatter = $date_formatter;
- }
-
- /**
- * {@inheritdoc}
- */
- public function log($level, $message, array $context = []) {
-
- // Populate the message placeholders and then replace them in the message.
- $message_placeholders = $this->parser->parseMessagePlaceholders($message, $context);
- $message = empty($message_placeholders) ? $message : strtr($message, $message_placeholders);
-
- $entry = [
- 'message' => strip_tags($message),
- 'date' => $this->dateFormatter->format($context['timestamp']),
- 'type' => $context['channel'],
- 'ip' => $context['ip'],
- 'request_uri' => $context['request_uri'],
- 'referer' => $context['referer'],
- 'severity' => (string) RfcLogLevel::getLevels()[$level],
- 'uid' => $context['uid'],
- ];
-
- file_put_contents(
- $this->config->get('path.temporary') . '/drupal.log',
- print_r($entry, TRUE),
- FILE_APPEND
- );
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/middleware.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/middleware.services.twig
deleted file mode 100644
index e3e0d2969..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/middleware.services.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-services:
- {{ machine_name }}.middleware:
- class: Drupal\{{ machine_name }}\{{ class }}
- tags:
- - { name: http_middleware, priority: 1000 }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/middleware.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/middleware.twig
deleted file mode 100644
index 9aba55849..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/middleware.twig
+++ /dev/null
@@ -1,46 +0,0 @@
-httpKernel = $http_kernel;
- }
-
- /**
- * {@inheritdoc}
- */
- public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
-
- if ($request->getClientIp() == '127.0.0.10') {
- return new Response($this->t('Bye!'), 403);
- }
-
- return $this->httpKernel->handle($request, $type, $catch);
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/param-converter.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/param-converter.services.twig
deleted file mode 100644
index a7bfd1e57..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/param-converter.services.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-services:
- {{ machine_name }}.foo_param_converter:
- class: Drupal\{{ machine_name }}\{{ class }}
- arguments: ['@database']
- tags:
- - { name: paramconverter }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/param-converter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/param-converter.twig
deleted file mode 100644
index 771506d60..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/param-converter.twig
+++ /dev/null
@@ -1,65 +0,0 @@
-connection = $connection;
- }
-
- /**
- * {@inheritdoc}
- */
- public function convert($value, $definition, $name, array $defaults) {
- // Return NULL if record not found to trigger 404 HTTP error.
- return $this->connection->query('SELECT * FROM {table_name} WHERE id = ?', [$value])->fetch() ?: NULL;
- }
-
- /**
- * {@inheritdoc}
- */
- public function applies($definition, $name, Route $route) {
- return !empty($definition['type']) && $definition['type'] == '{{ parameter_type }}';
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/path-processor.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/path-processor.services.twig
deleted file mode 100644
index c27167474..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/path-processor.services.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-services:
- path_processor.{{ machine_name }}:
- class: Drupal\{{ machine_name }}\PathProcessor\{{ class }}
- tags:
- - { name: path_processor_inbound, priority: 1000 }
- - { name: path_processor_outbound, priority: 1000 }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/path-processor.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/path-processor.twig
deleted file mode 100644
index 8f370db59..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/path-processor.twig
+++ /dev/null
@@ -1,29 +0,0 @@
-get('no-cache'))) {
- return self::DENY;
- }
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/response-policy.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/response-policy.services.twig
deleted file mode 100644
index 51a94b720..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/response-policy.services.twig
+++ /dev/null
@@ -1,7 +0,0 @@
-services:
- {{ machine_name }}.page_cache_response_policy.example:
- class: Drupal\{{ machine_name }}\PageCache\{{ class }}
- public: false
- tags:
- - { name: page_cache_response_policy }
- - { name: dynamic_page_cache_response_policy }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/response-policy.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/response-policy.twig
deleted file mode 100644
index 2dd7672db..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/response-policy.twig
+++ /dev/null
@@ -1,23 +0,0 @@
-cookies->get('foo')) {
- return self::DENY;
- }
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/route-subscriber.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/route-subscriber.services.twig
deleted file mode 100644
index 9881ab2d2..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/route-subscriber.services.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-services:
- {{ machine_name }}.route_subscriber:
- class: Drupal\{{ machine_name }}\EventSubscriber\{{ class }}
- tags:
- - { name: event_subscriber }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/route-subscriber.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/route-subscriber.twig
deleted file mode 100644
index b1c1992fa..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/route-subscriber.twig
+++ /dev/null
@@ -1,39 +0,0 @@
-all() as $route) {
- // Hide taxonomy pages from unprivileged users.
- if (strpos($route->getPath(), '/taxonomy/term') === 0) {
- $route->setRequirement('_role', 'administrator');
- }
- }
- }
-
- /**
- * {@inheritdoc}
- */
- public static function getSubscribedEvents() {
- $events = parent::getSubscribedEvents();
-
- // Use a lower priority than \Drupal\views\EventSubscriber\RouteSubscriber
- // to ensure the requirement will be added to its routes.
- $events[RoutingEvents::ALTER] = ['onAlterRoutes', -300];
-
- return $events;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/theme-negotiator.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/theme-negotiator.services.twig
deleted file mode 100644
index 1e83b4a7c..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/theme-negotiator.services.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-services:
- theme.negotiator.{{ machine_name }}.example:
- class: Drupal\{{ machine_name }}\Theme\{{ class }}
- arguments: ['@request_stack']
- tags:
- - { name: theme_negotiator, priority: 1000 }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/theme-negotiator.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/theme-negotiator.twig
deleted file mode 100644
index 1c63e6b41..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/theme-negotiator.twig
+++ /dev/null
@@ -1,49 +0,0 @@
-requestStack = $request_stack;
- }
-
- /**
- * {@inheritdoc}
- */
- public function applies(RouteMatchInterface $route_match) {
- return $route_match->getRouteName() == '{{ machine_name }}.example';
- }
-
- /**
- * {@inheritdoc}
- */
- public function determineActiveTheme(RouteMatchInterface $route_match) {
- // Allow users to pass theme name through 'theme' query parameter.
- $theme = $this->requestStack->getCurrentRequest()->query->get('theme');
- if (is_string($theme)) {
- return $theme;
- }
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/twig-extension.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/twig-extension.services.twig
deleted file mode 100644
index 2b292ab80..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/twig-extension.services.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-services:
- {{ machine_name }}.twig_extension:
- class: Drupal\{{ machine_name }}\{{ class }}
-{% if di %}
- arguments: ['@example']
-{% endif %}
- tags:
- - { name: twig.extension }
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/twig-extension.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/twig-extension.twig
deleted file mode 100644
index 99f5acd90..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/twig-extension.twig
+++ /dev/null
@@ -1,66 +0,0 @@
-example = $example;
- }
-
-{% endif %}
- /**
- * {@inheritdoc}
- */
- public function getFunctions() {
- return [
- new \Twig_SimpleFunction('foo', function ($argument = NULL) {
- return 'Foo: ' . $argument;
- }),
- ];
- }
-
- /**
- * {@inheritdoc}
- */
- public function getFilters() {
- return [
- new \Twig_SimpleFilter('bar', function ($text) {
- return str_replace('bar', 'BAR', $text);
- }),
- ];
- }
-
- /**
- * {@inheritdoc}
- */
- public function getTests() {
- return [
- new \Twig_SimpleTest('color', function ($text) {
- return preg_match('/^#(?:[0-9a-f]{3}){1,2}$/i', $text);
- }),
- ];
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/uninstall-validator.services.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/uninstall-validator.services.twig
deleted file mode 100644
index a00c2f9ee..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/uninstall-validator.services.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-services:
- {{ machine_name }}.uninstall_validator:
- class: Drupal\{{ machine_name }}\{{ class }}
- tags:
- - { name: module_install.uninstall_validator }
- arguments: ['@plugin.manager.block', '@entity_type.manager', '@string_translation']
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/service/uninstall-validator.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/service/uninstall-validator.twig
deleted file mode 100644
index ebceaca16..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/service/uninstall-validator.twig
+++ /dev/null
@@ -1,70 +0,0 @@
-blockManager = $block_manager;
- $this->blockStorage = $entity_manager->getStorage('block');
- $this->stringTranslation = $string_translation;
- }
-
- /**
- * {@inheritdoc}
- */
- public function validate($module) {
- $reasons = [];
-
- foreach ($this->blockStorage->loadMultiple() as $block) {
- /** @var \Drupal\block\BlockInterface $block */
- $definition = $block->getPlugin()
- ->getPluginDefinition();
- if ($definition['provider'] == $module) {
- $message_arguments = [
- ':url' => $block->toUrl('edit-form')->toString(),
- '@block_id' => $block->id(),
- ];
- $reasons[] = $this->t('Provides a block plugin that is in use in the following block: @block_id', $message_arguments);
- }
- }
-
- return $reasons;
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/settings.local.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/settings.local.twig
deleted file mode 100644
index 4072128b4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/settings.local.twig
+++ /dev/null
@@ -1,131 +0,0 @@
- '{{ database }}',
- 'username' => '{{ username }}',
- 'password' => '{{ password }}',
- 'prefix' => '',
- 'host' => '{{ host }}',
- 'port' => '',
- 'namespace' => 'Drupal\\Core\\Database\\Driver\\{{ driver }}',
- 'driver' => '{{ driver }}',
-];
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/template-module.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/template-module.twig
deleted file mode 100644
index da322d1c0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/template-module.twig
+++ /dev/null
@@ -1,34 +0,0 @@
- [
- 'variables' => ['foo' => NULL],
- ],
- ];
-}
-{% endif %}
-{% if create_preprocess %}
-
-/**
- * Prepares variables for {{ template_name }} template.
- *
- * Default template: {{ template_name }}.html.twig.
- *
- * @param array $variables
- * An associative array containing:
- * - foo: Foo variable description.
- */
-function template_preprocess_{{ template_name|h2u }}(array &$variables) {
- $variables['foo'] = 'bar';
-}
-{% endif %}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/template-template.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/template-template.twig
deleted file mode 100644
index 890ad7604..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/template-template.twig
+++ /dev/null
@@ -1,18 +0,0 @@
-{{ '{#' }}
-/**
- * @file
- * Default theme implementation to display something.
- *
- * Available variables:
- * - foo: Foo variable description.
-{% if create_preprocess %}
- *
- * @see template_preprocess_{{ template_name|h2u }}()
-{% endif %}
- *
- * @ingroup themeable
- */
-{{ '#}' }}
-
- {{ '{{' }} foo {{ '}}' }}
-
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/test/browser.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/test/browser.twig
deleted file mode 100644
index 239e41da3..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/test/browser.twig
+++ /dev/null
@@ -1,37 +0,0 @@
-drupalCreateUser(['access administration pages']);
- $this->drupalLogin($admin_user);
- $this->drupalGet('admin');
- $this->assertSession()->elementExists('xpath', '//h1[text() = "Administration"]');
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/test/kernel.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/test/kernel.twig
deleted file mode 100644
index 84af97e43..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/test/kernel.twig
+++ /dev/null
@@ -1,35 +0,0 @@
-container->get('transliteration')->transliterate('Друпал');
- $this->assertEquals('Drupal', $result);
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/test/nightwatch.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/test/nightwatch.twig
deleted file mode 100644
index d92fc529a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/test/nightwatch.twig
+++ /dev/null
@@ -1,16 +0,0 @@
-module.exports = {
- '@tags': ['{{ machine_name }}'],
- before(browser) {
- browser.drupalInstall();
- },
- after(browser) {
- browser.drupalUninstall();
- },
- 'Front page': browser => {
- browser
- .drupalRelativeURL('/')
- .waitForElementVisible('body', 1000)
- .assert.containsText('h1', 'Log in')
- .drupalLogAndEnd({onlyOnError: false});
- },
-};
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/test/unit.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/test/unit.twig
deleted file mode 100644
index 5b142b642..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/test/unit.twig
+++ /dev/null
@@ -1,29 +0,0 @@
-assertTrue(TRUE, 'This is TRUE!');
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/test/web.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/test/web.twig
deleted file mode 100644
index a568c87c4..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/test/web.twig
+++ /dev/null
@@ -1,50 +0,0 @@
-drupalCreateUser(['administer site configuration']);
- $this->drupalLogin($user);
- }
-
- /**
- * Test site information form.
- */
- public function testFieldStorageSettingsForm() {
- $edit = [
- 'site_name' => 'Drupal',
- 'site_slogan' => 'Community plumbing',
- 'site_mail' => 'admin@example.local',
- 'site_frontpage' => '/user',
- ];
- $this->drupalPostForm('admin/config/system/site-information', $edit, t('Save configuration'));
- $this->assertText(t('The configuration options have been saved.'), 'Configuration options have been saved');
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/test/webdriver.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/test/webdriver.twig
deleted file mode 100644
index 77e565b5b..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/test/webdriver.twig
+++ /dev/null
@@ -1,55 +0,0 @@
-getEditable('user.settings')
- ->set('verify_mail', FALSE)
- ->save();
-
- $this->drupalGet('user/register');
-
- $page = $this->getSession()->getPage();
-
- $password_field = $page->findField('Password');
- $password_strength = $page->find('css', '.js-password-strength__text');
-
- $this->assertEquals('', $password_strength->getText());
-
- $password_field->setValue('abc');
- $this->assertEquals('Weak', $password_strength->getText());
-
- $password_field->setValue('abcABC123!');
- $this->assertEquals('Fair', $password_strength->getText());
-
- $password_field->setValue('abcABC123!sss');
- $this->assertEquals('Strong', $password_strength->getText());
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-logo.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/theme-logo.twig
deleted file mode 100644
index aa0c4a4fb..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-logo.twig
+++ /dev/null
@@ -1,4 +0,0 @@
-
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-package.json.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/theme-package.json.twig
deleted file mode 100644
index c7a0fc3b9..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-package.json.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "name": "{{ machine_name }}",
- "private": true,
- "scripts": {
- "sass-watch": "node-sass -w --output-style expanded scss -o css",
- "sass-compile": "node-sass --output-style expanded scss -o css",
- "livereload": "livereload css",
- "start": "run-p sass-watch livereload"
- },
- "devDependencies": {
- "livereload": "^0.7.0",
- "node-sass": "^4.9.3",
- "npm-run-all": "^4.1.3"
- }
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-settings-config.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/theme-settings-config.twig
deleted file mode 100644
index 9a68d6be0..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-settings-config.twig
+++ /dev/null
@@ -1,2 +0,0 @@
-# Default settings of {{ name }} theme.
-font_size: 16
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-settings-form.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/theme-settings-form.twig
deleted file mode 100644
index 161120800..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-settings-form.twig
+++ /dev/null
@@ -1,27 +0,0 @@
- 'details',
- '#title' => t('{{ name }}'),
- '#open' => TRUE,
- ];
-
- $form['{{ machine_name }}']['font_size'] = [
- '#type' => 'number',
- '#title' => t('Font size'),
- '#min' => 12,
- '#max' => 18,
- '#default_value' => theme_get_setting('font_size'),
- ];
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-settings-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/theme-settings-schema.twig
deleted file mode 100644
index 3dc7cdcd6..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/theme-settings-schema.twig
+++ /dev/null
@@ -1,8 +0,0 @@
-# Schema for the configuration files of the {{ name }} theme.
-{{ machine_name }}.settings:
- type: theme_settings
- label: '{{ name }} settings'
- mapping:
- font_size:
- type: integer
- label: Font size
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/theme.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/theme.twig
deleted file mode 100644
index b0214cc48..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/theme.twig
+++ /dev/null
@@ -1,27 +0,0 @@
-{{ service.name|camelize(false) }} = ${{ service.name }};{{ loop.last ? '' : "\n" }}
- {%- endfor %}
-{% endmacro %}
-
-{% macro container(services) %}
- {% for service_id, service in services %}
- $container->get('{{ service_id }}'){{ loop.last ? '' : ",\n" }}
- {%- endfor %}
-{% endmacro %}
-
diff --git a/vendor/chi-teck/drupal-code-generator/templates/other/apache-virtual-host.twig b/vendor/chi-teck/drupal-code-generator/templates/other/apache-virtual-host.twig
deleted file mode 100644
index b9618d823..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/other/apache-virtual-host.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-
- ServerName {{ hostname }}
- ServerAlias www.{{ hostname }}
- ServerAlias m.{{ hostname }}
- DocumentRoot {{ docroot }}
-
-
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
-
-
-
diff --git a/vendor/chi-teck/drupal-code-generator/templates/other/dcg-command-template.twig b/vendor/chi-teck/drupal-code-generator/templates/other/dcg-command-template.twig
deleted file mode 100644
index 0c94e4b11..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/other/dcg-command-template.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-{% verbatim %}collectVars($input, $output, $questions);
-
- // @DCG The template should be located under directory specified in
- // $self::templatePath property.
- $this->addFile()
- ->path('src/{class}.php')
- ->template('{{ template_name }}');
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/other/drupal-console-command.twig b/vendor/chi-teck/drupal-code-generator/templates/other/drupal-console-command.twig
deleted file mode 100644
index cb9a64020..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/other/drupal-console-command.twig
+++ /dev/null
@@ -1,36 +0,0 @@
-setName('{{ command_name }}')
- ->setDescription('{{ description }}');
- }
-
- /**
- * {@inheritdoc}
- */
- protected function execute(InputInterface $input, OutputInterface $output) {
- $io = new DrupalStyle($input, $output);
-
- $io->info('It works!');
- }
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/other/drush-command.twig b/vendor/chi-teck/drupal-code-generator/templates/other/drush-command.twig
deleted file mode 100644
index 1bbc5ebfe..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/other/drush-command.twig
+++ /dev/null
@@ -1,55 +0,0 @@
- '{{ description }}',
- 'arguments' => [
- '{{ argument }}' => 'Argument description',
- ],
- 'required-arguments' => TRUE,
- 'options' => [
- '{{ option }}' => 'Option description',
- ],
- 'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
- 'aliases' => ['{{ alias }}'],
- 'examples' => [
- 'drush {{ alias }} {{ argument }} --{{ option }}' => 'It does something with this argument',
- ],
- ];
-
- return $items;
-}
-
-/**
- * Callback function for {{ command_name }} command.
- */
-function drush_{{ command_callback_suffix|h2u }}($argument) {
-
- $option = drush_get_option('{{ option }}', 'default');
- drush_print(dt('Argument value is "@argument".', ['@argument' => $argument]));
- drush_print(dt('Option value is "@option".', ['@option' => $option]));
-
- drush_set_error(dt('Error text here.'));
- drush_log(dt('Log text here'));
-
-}
diff --git a/vendor/chi-teck/drupal-code-generator/templates/other/html.twig b/vendor/chi-teck/drupal-code-generator/templates/other/html.twig
deleted file mode 100644
index 10966a05a..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/other/html.twig
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
- Hello world!
-
-
-
-
-Hello world!
-
-
-
-
diff --git a/vendor/chi-teck/drupal-code-generator/templates/other/nginx-virtual-host.twig b/vendor/chi-teck/drupal-code-generator/templates/other/nginx-virtual-host.twig
deleted file mode 100644
index e40d39dde..000000000
--- a/vendor/chi-teck/drupal-code-generator/templates/other/nginx-virtual-host.twig
+++ /dev/null
@@ -1,105 +0,0 @@
-#
-# @DCG
-# The configuration is based on official Nginx recipe.
-# See https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/
-# Check out Perusio's config for more delicate configuration.
-# See https://github.com/perusio/drupal-with-nginx
-#
-server {
- server_name {{ server_name }};
- root {{ docroot }};
-
- client_max_body_size 16m;
-
- location = /favicon.ico {
- log_not_found off;
- access_log off;
- }
-
- location = /robots.txt {
- allow all;
- log_not_found off;
- access_log off;
- }
-
- # Very rarely should these ever be accessed.
- location ~* \.(make|txt|log|engine|inc|info|install|module|profile|po|pot|sh|sql|test|theme)$ {
- return 404;
- }
-
- location ~ \..*/.*\.php$ {
- return 404;
- }
-
-{% if file_private_path %}
- location ~ ^/{{ file_private_path }}/ {
- return 403;
- }
-
-{% endif %}
- # Allow "Well-Known URIs" as per RFC 5785.
- location ~* ^/.well-known/ {
- allow all;
- }
-
- # Block access to "hidden" files and directories whose names begin with a
- # period. This includes directories used by version control systems such
- # as Subversion or Git to store control files.
- location ~ (^|/)\. {
- return 404;
- }
-
- location / {
- try_files $uri /index.php?$query_string;
- }
-
- location @rewrite {
- rewrite ^/(.*)$ /index.php?q=$1;
- }
-
- # Don't allow direct access to PHP files in the vendor directory.
- location ~ /vendor/.*\.php$ {
- deny all;
- return 404;
- }
-
- # In Drupal 8, we must also match new paths where the '.php' appears in
- # the middle, such as update.php/selection. The rule we use is strict,
- # and only allows this pattern with the update.php front controller.
- # This allows legacy path aliases in the form of
- # blog/index.php/legacy-path to continue to route to Drupal nodes. If
- # you do not have any paths like that, then you might prefer to use a
- # laxer rule, such as:
- # location ~ \.php(/|$) {
- # The laxer rule will continue to work if Drupal uses this new URL
- # pattern with front controllers other than update.php in a future
- # release.
- location ~ '\.php$|^/update.php' {
- fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
- # Security note: If you're running a version of PHP older than the
- # latest 5.3, you should have "cgi.fix_pathinfo = 0;" in php.ini.
- # See http://serverfault.com/q/627903/94922 for details.
- include fastcgi_params;
- # Block httpoxy attacks. See https://httpoxy.org/.
- fastcgi_param HTTP_PROXY "";
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param PATH_INFO $fastcgi_path_info;
- fastcgi_intercept_errors on;
- fastcgi_pass {{ fastcgi_pass }};
- }
-
- # Fighting with Styles? This little gem is amazing.
- location ~ ^/{{ file_public_path }}/styles/ {
- try_files $uri @rewrite;
- }
-
- # Handle private files through Drupal.
- location ~ ^/system/files/ {
- try_files $uri /index.php?$query_string;
- }
-
- location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
- expires max;
- log_not_found off;
- }
-}
diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php
deleted file mode 100644
index 95f7e0978..000000000
--- a/vendor/composer/ClassLoader.php
+++ /dev/null
@@ -1,445 +0,0 @@
-
- * Jordi Boggiano
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Composer\Autoload;
-
-/**
- * ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
- *
- * $loader = new \Composer\Autoload\ClassLoader();
- *
- * // register classes with namespaces
- * $loader->add('Symfony\Component', __DIR__.'/component');
- * $loader->add('Symfony', __DIR__.'/framework');
- *
- * // activate the autoloader
- * $loader->register();
- *
- * // to enable searching the include path (eg. for PEAR packages)
- * $loader->setUseIncludePath(true);
- *
- * In this example, if you try to use a class in the Symfony\Component
- * namespace or one of its children (Symfony\Component\Console for instance),
- * the autoloader will first look for the class under the component/
- * directory, and it will then fallback to the framework/ directory if not
- * found before giving up.
- *
- * This class is loosely based on the Symfony UniversalClassLoader.
- *
- * @author Fabien Potencier
- * @author Jordi Boggiano
- * @see http://www.php-fig.org/psr/psr-0/
- * @see http://www.php-fig.org/psr/psr-4/
- */
-class ClassLoader
-{
- // PSR-4
- private $prefixLengthsPsr4 = array();
- private $prefixDirsPsr4 = array();
- private $fallbackDirsPsr4 = array();
-
- // PSR-0
- private $prefixesPsr0 = array();
- private $fallbackDirsPsr0 = array();
-
- private $useIncludePath = false;
- private $classMap = array();
- private $classMapAuthoritative = false;
- private $missingClasses = array();
- private $apcuPrefix;
-
- public function getPrefixes()
- {
- if (!empty($this->prefixesPsr0)) {
- return call_user_func_array('array_merge', $this->prefixesPsr0);
- }
-
- return array();
- }
-
- public function getPrefixesPsr4()
- {
- return $this->prefixDirsPsr4;
- }
-
- public function getFallbackDirs()
- {
- return $this->fallbackDirsPsr0;
- }
-
- public function getFallbackDirsPsr4()
- {
- return $this->fallbackDirsPsr4;
- }
-
- public function getClassMap()
- {
- return $this->classMap;
- }
-
- /**
- * @param array $classMap Class to filename map
- */
- public function addClassMap(array $classMap)
- {
- if ($this->classMap) {
- $this->classMap = array_merge($this->classMap, $classMap);
- } else {
- $this->classMap = $classMap;
- }
- }
-
- /**
- * Registers a set of PSR-0 directories for a given prefix, either
- * appending or prepending to the ones previously set for this prefix.
- *
- * @param string $prefix The prefix
- * @param array|string $paths The PSR-0 root directories
- * @param bool $prepend Whether to prepend the directories
- */
- public function add($prefix, $paths, $prepend = false)
- {
- if (!$prefix) {
- if ($prepend) {
- $this->fallbackDirsPsr0 = array_merge(
- (array) $paths,
- $this->fallbackDirsPsr0
- );
- } else {
- $this->fallbackDirsPsr0 = array_merge(
- $this->fallbackDirsPsr0,
- (array) $paths
- );
- }
-
- return;
- }
-
- $first = $prefix[0];
- if (!isset($this->prefixesPsr0[$first][$prefix])) {
- $this->prefixesPsr0[$first][$prefix] = (array) $paths;
-
- return;
- }
- if ($prepend) {
- $this->prefixesPsr0[$first][$prefix] = array_merge(
- (array) $paths,
- $this->prefixesPsr0[$first][$prefix]
- );
- } else {
- $this->prefixesPsr0[$first][$prefix] = array_merge(
- $this->prefixesPsr0[$first][$prefix],
- (array) $paths
- );
- }
- }
-
- /**
- * Registers a set of PSR-4 directories for a given namespace, either
- * appending or prepending to the ones previously set for this namespace.
- *
- * @param string $prefix The prefix/namespace, with trailing '\\'
- * @param array|string $paths The PSR-4 base directories
- * @param bool $prepend Whether to prepend the directories
- *
- * @throws \InvalidArgumentException
- */
- public function addPsr4($prefix, $paths, $prepend = false)
- {
- if (!$prefix) {
- // Register directories for the root namespace.
- if ($prepend) {
- $this->fallbackDirsPsr4 = array_merge(
- (array) $paths,
- $this->fallbackDirsPsr4
- );
- } else {
- $this->fallbackDirsPsr4 = array_merge(
- $this->fallbackDirsPsr4,
- (array) $paths
- );
- }
- } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
- // Register directories for a new namespace.
- $length = strlen($prefix);
- if ('\\' !== $prefix[$length - 1]) {
- throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
- }
- $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
- $this->prefixDirsPsr4[$prefix] = (array) $paths;
- } elseif ($prepend) {
- // Prepend directories for an already registered namespace.
- $this->prefixDirsPsr4[$prefix] = array_merge(
- (array) $paths,
- $this->prefixDirsPsr4[$prefix]
- );
- } else {
- // Append directories for an already registered namespace.
- $this->prefixDirsPsr4[$prefix] = array_merge(
- $this->prefixDirsPsr4[$prefix],
- (array) $paths
- );
- }
- }
-
- /**
- * Registers a set of PSR-0 directories for a given prefix,
- * replacing any others previously set for this prefix.
- *
- * @param string $prefix The prefix
- * @param array|string $paths The PSR-0 base directories
- */
- public function set($prefix, $paths)
- {
- if (!$prefix) {
- $this->fallbackDirsPsr0 = (array) $paths;
- } else {
- $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
- }
- }
-
- /**
- * Registers a set of PSR-4 directories for a given namespace,
- * replacing any others previously set for this namespace.
- *
- * @param string $prefix The prefix/namespace, with trailing '\\'
- * @param array|string $paths The PSR-4 base directories
- *
- * @throws \InvalidArgumentException
- */
- public function setPsr4($prefix, $paths)
- {
- if (!$prefix) {
- $this->fallbackDirsPsr4 = (array) $paths;
- } else {
- $length = strlen($prefix);
- if ('\\' !== $prefix[$length - 1]) {
- throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
- }
- $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
- $this->prefixDirsPsr4[$prefix] = (array) $paths;
- }
- }
-
- /**
- * Turns on searching the include path for class files.
- *
- * @param bool $useIncludePath
- */
- public function setUseIncludePath($useIncludePath)
- {
- $this->useIncludePath = $useIncludePath;
- }
-
- /**
- * Can be used to check if the autoloader uses the include path to check
- * for classes.
- *
- * @return bool
- */
- public function getUseIncludePath()
- {
- return $this->useIncludePath;
- }
-
- /**
- * Turns off searching the prefix and fallback directories for classes
- * that have not been registered with the class map.
- *
- * @param bool $classMapAuthoritative
- */
- public function setClassMapAuthoritative($classMapAuthoritative)
- {
- $this->classMapAuthoritative = $classMapAuthoritative;
- }
-
- /**
- * Should class lookup fail if not found in the current class map?
- *
- * @return bool
- */
- public function isClassMapAuthoritative()
- {
- return $this->classMapAuthoritative;
- }
-
- /**
- * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
- *
- * @param string|null $apcuPrefix
- */
- public function setApcuPrefix($apcuPrefix)
- {
- $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
- }
-
- /**
- * The APCu prefix in use, or null if APCu caching is not enabled.
- *
- * @return string|null
- */
- public function getApcuPrefix()
- {
- return $this->apcuPrefix;
- }
-
- /**
- * Registers this instance as an autoloader.
- *
- * @param bool $prepend Whether to prepend the autoloader or not
- */
- public function register($prepend = false)
- {
- spl_autoload_register(array($this, 'loadClass'), true, $prepend);
- }
-
- /**
- * Unregisters this instance as an autoloader.
- */
- public function unregister()
- {
- spl_autoload_unregister(array($this, 'loadClass'));
- }
-
- /**
- * Loads the given class or interface.
- *
- * @param string $class The name of the class
- * @return bool|null True if loaded, null otherwise
- */
- public function loadClass($class)
- {
- if ($file = $this->findFile($class)) {
- includeFile($file);
-
- return true;
- }
- }
-
- /**
- * Finds the path to the file where the class is defined.
- *
- * @param string $class The name of the class
- *
- * @return string|false The path if found, false otherwise
- */
- public function findFile($class)
- {
- // class map lookup
- if (isset($this->classMap[$class])) {
- return $this->classMap[$class];
- }
- if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
- return false;
- }
- if (null !== $this->apcuPrefix) {
- $file = apcu_fetch($this->apcuPrefix.$class, $hit);
- if ($hit) {
- return $file;
- }
- }
-
- $file = $this->findFileWithExtension($class, '.php');
-
- // Search for Hack files if we are running on HHVM
- if (false === $file && defined('HHVM_VERSION')) {
- $file = $this->findFileWithExtension($class, '.hh');
- }
-
- if (null !== $this->apcuPrefix) {
- apcu_add($this->apcuPrefix.$class, $file);
- }
-
- if (false === $file) {
- // Remember that this class does not exist.
- $this->missingClasses[$class] = true;
- }
-
- return $file;
- }
-
- private function findFileWithExtension($class, $ext)
- {
- // PSR-4 lookup
- $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
-
- $first = $class[0];
- if (isset($this->prefixLengthsPsr4[$first])) {
- $subPath = $class;
- while (false !== $lastPos = strrpos($subPath, '\\')) {
- $subPath = substr($subPath, 0, $lastPos);
- $search = $subPath . '\\';
- if (isset($this->prefixDirsPsr4[$search])) {
- $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
- foreach ($this->prefixDirsPsr4[$search] as $dir) {
- if (file_exists($file = $dir . $pathEnd)) {
- return $file;
- }
- }
- }
- }
- }
-
- // PSR-4 fallback dirs
- foreach ($this->fallbackDirsPsr4 as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
- return $file;
- }
- }
-
- // PSR-0 lookup
- if (false !== $pos = strrpos($class, '\\')) {
- // namespaced class name
- $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
- . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
- } else {
- // PEAR-like class name
- $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
- }
-
- if (isset($this->prefixesPsr0[$first])) {
- foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
- if (0 === strpos($class, $prefix)) {
- foreach ($dirs as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
- return $file;
- }
- }
- }
- }
- }
-
- // PSR-0 fallback dirs
- foreach ($this->fallbackDirsPsr0 as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
- return $file;
- }
- }
-
- // PSR-0 include paths.
- if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
- return $file;
- }
-
- return false;
- }
-}
-
-/**
- * Scope isolated include.
- *
- * Prevents access to $this/self from included files.
- */
-function includeFile($file)
-{
- include $file;
-}
diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE
deleted file mode 100644
index f27399a04..000000000
--- a/vendor/composer/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-
-Copyright (c) Nils Adermann, Jordi Boggiano
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is furnished
-to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php
deleted file mode 100644
index ea5342ea6..000000000
--- a/vendor/composer/autoload_classmap.php
+++ /dev/null
@@ -1,25 +0,0 @@
- $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php',
- 'AssertionError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php',
- 'DivisionByZeroError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php',
- 'Drupal' => $baseDir . '/web/core/lib/Drupal.php',
- 'DrupalFinder\\DrupalFinder' => $vendorDir . '/webflo/drupal-finder/src/DrupalFinder.php',
- 'DrupalProject\\composer\\ScriptHandler' => $baseDir . '/scripts/composer/ScriptHandler.php',
- 'Drupal\\Component\\Utility\\Timer' => $baseDir . '/web/core/lib/Drupal/Component/Utility/Timer.php',
- 'Drupal\\Component\\Utility\\Unicode' => $baseDir . '/web/core/lib/Drupal/Component/Utility/Unicode.php',
- 'Drupal\\Core\\Database\\Database' => $baseDir . '/web/core/lib/Drupal/Core/Database/Database.php',
- 'Drupal\\Core\\DrupalKernel' => $baseDir . '/web/core/lib/Drupal/Core/DrupalKernel.php',
- 'Drupal\\Core\\DrupalKernelInterface' => $baseDir . '/web/core/lib/Drupal/Core/DrupalKernelInterface.php',
- 'Drupal\\Core\\Site\\Settings' => $baseDir . '/web/core/lib/Drupal/Core/Site/Settings.php',
- 'Error' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/Error.php',
- 'ParseError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ParseError.php',
- 'SessionUpdateTimestampHandlerInterface' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php',
- 'TypeError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
-);
diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php
deleted file mode 100644
index 55f3c4b15..000000000
--- a/vendor/composer/autoload_files.php
+++ /dev/null
@@ -1,32 +0,0 @@
- $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
- '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
- '5255c38a0faeba867671b61dfda6d864' => $vendorDir . '/paragonie/random_compat/lib/random.php',
- '023d27dca8066ef29e6739335ea73bad' => $vendorDir . '/symfony/polyfill-php70/bootstrap.php',
- '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php',
- '667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php',
- '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php',
- 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
- 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
- '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
- 'def43f6c87e4f8dfd0c9e1b1bab14fe8' => $vendorDir . '/symfony/polyfill-iconv/bootstrap.php',
- 'cf97c57bfe0f23854afd2f3818abb7a0' => $vendorDir . '/zendframework/zend-diactoros/src/functions/create_uploaded_file.php',
- '9bf37a3d0dad93e29cb4e1b1bfab04e9' => $vendorDir . '/zendframework/zend-diactoros/src/functions/marshal_headers_from_sapi.php',
- 'ce70dccb4bcc2efc6e94d2ee526e6972' => $vendorDir . '/zendframework/zend-diactoros/src/functions/marshal_method_from_sapi.php',
- 'f86420df471f14d568bfcb71e271b523' => $vendorDir . '/zendframework/zend-diactoros/src/functions/marshal_protocol_version_from_sapi.php',
- 'b87481e008a3700344428ae089e7f9e5' => $vendorDir . '/zendframework/zend-diactoros/src/functions/marshal_uri_from_sapi.php',
- '0b0974a5566a1077e4f2e111341112c1' => $vendorDir . '/zendframework/zend-diactoros/src/functions/normalize_server.php',
- '1ca3bc274755662169f9629d5412a1da' => $vendorDir . '/zendframework/zend-diactoros/src/functions/normalize_uploaded_files.php',
- '40360c0b9b437e69bcbb7f1349ce029e' => $vendorDir . '/zendframework/zend-diactoros/src/functions/parse_cookie_header.php',
- '801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php',
- '952683d815ff0a7bf322b93c0be7e4e4' => $vendorDir . '/chi-teck/drupal-code-generator/src/bootstrap.php',
- '5a12a5271c58108e0aa33355e6ac54ea' => $vendorDir . '/drupal/console-core/src/functions.php',
- 'd511210698f02d87ca48e3972f64323e' => $baseDir . '/load.environment.php',
-);
diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php
deleted file mode 100644
index d08792e31..000000000
--- a/vendor/composer/autoload_namespaces.php
+++ /dev/null
@@ -1,18 +0,0 @@
- array($vendorDir . '/twig/twig/lib'),
- 'Stack' => array($vendorDir . '/stack/builder/src'),
- 'Egulias\\' => array($vendorDir . '/egulias/email-validator/src'),
- 'EasyRdf_' => array($vendorDir . '/easyrdf/easyrdf/lib'),
- 'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/lib'),
- 'Doctrine\\Common\\Collections\\' => array($vendorDir . '/doctrine/collections/lib'),
- 'Dflydev\\PlaceholderResolver' => array($vendorDir . '/dflydev/placeholder-resolver/src'),
- 'Dflydev\\DotAccessData' => array($vendorDir . '/dflydev/dot-access-data/src'),
- 'Dflydev\\DotAccessConfiguration' => array($vendorDir . '/dflydev/dot-access-configuration/src'),
-);
diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php
deleted file mode 100644
index abaac76e1..000000000
--- a/vendor/composer/autoload_psr4.php
+++ /dev/null
@@ -1,88 +0,0 @@
- array($vendorDir . '/cweagans/composer-patches/src'),
- 'Zend\\Stdlib\\' => array($vendorDir . '/zendframework/zend-stdlib/src'),
- 'Zend\\Feed\\' => array($vendorDir . '/zendframework/zend-feed/src'),
- 'Zend\\Escaper\\' => array($vendorDir . '/zendframework/zend-escaper/src'),
- 'Zend\\Diactoros\\' => array($vendorDir . '/zendframework/zend-diactoros/src'),
- 'XdgBaseDir\\' => array($vendorDir . '/dnoegel/php-xdg-base-dir/src'),
- 'Webmozart\\PathUtil\\' => array($vendorDir . '/webmozart/path-util/src'),
- 'Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'),
- 'Unish\\' => array($vendorDir . '/drush/drush/tests'),
- 'Twig\\' => array($vendorDir . '/twig/twig/src'),
- 'TYPO3\\PharStreamWrapper\\' => array($vendorDir . '/typo3/phar-stream-wrapper/src'),
- 'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'),
- 'Symfony\\Polyfill\\Php70\\' => array($vendorDir . '/symfony/polyfill-php70'),
- 'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
- 'Symfony\\Polyfill\\Iconv\\' => array($vendorDir . '/symfony/polyfill-iconv'),
- 'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'),
- 'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'),
- 'Symfony\\Component\\VarDumper\\' => array($vendorDir . '/symfony/var-dumper'),
- 'Symfony\\Component\\Validator\\' => array($vendorDir . '/symfony/validator'),
- 'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
- 'Symfony\\Component\\Serializer\\' => array($vendorDir . '/symfony/serializer'),
- 'Symfony\\Component\\Routing\\' => array($vendorDir . '/symfony/routing'),
- 'Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'),
- 'Symfony\\Component\\HttpKernel\\' => array($vendorDir . '/symfony/http-kernel'),
- 'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'),
- 'Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'),
- 'Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'),
- 'Symfony\\Component\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher'),
- 'Symfony\\Component\\DomCrawler\\' => array($vendorDir . '/symfony/dom-crawler'),
- 'Symfony\\Component\\DependencyInjection\\' => array($vendorDir . '/symfony/dependency-injection'),
- 'Symfony\\Component\\Debug\\' => array($vendorDir . '/symfony/debug'),
- 'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'),
- 'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
- 'Symfony\\Component\\Config\\' => array($vendorDir . '/symfony/config'),
- 'Symfony\\Component\\ClassLoader\\' => array($vendorDir . '/symfony/class-loader'),
- 'Symfony\\Cmf\\Component\\Routing\\' => array($vendorDir . '/symfony-cmf/routing'),
- 'Symfony\\Bridge\\PsrHttpMessage\\' => array($vendorDir . '/symfony/psr-http-message-bridge'),
- 'Stecman\\Component\\Symfony\\Console\\BashCompletion\\' => array($vendorDir . '/stecman/symfony-console-completion/src'),
- 'SelfUpdate\\' => array($vendorDir . '/consolidation/self-update/src'),
- 'Robo\\' => array($vendorDir . '/consolidation/robo/src'),
- 'Psy\\' => array($vendorDir . '/psy/psysh/src'),
- 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
- 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
- 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
- 'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'),
- 'Masterminds\\' => array($vendorDir . '/masterminds/html5/src'),
- 'League\\Container\\' => array($vendorDir . '/league/container/src'),
- 'JakubOnderka\\PhpConsoleHighlighter\\' => array($vendorDir . '/jakub-onderka/php-console-highlighter/src'),
- 'JakubOnderka\\PhpConsoleColor\\' => array($vendorDir . '/jakub-onderka/php-console-color/src'),
- 'Interop\\Container\\' => array($vendorDir . '/container-interop/container-interop/src/Interop/Container'),
- 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
- 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
- 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
- 'Grasmash\\YamlExpander\\' => array($vendorDir . '/grasmash/yaml-expander/src'),
- 'Grasmash\\Expander\\' => array($vendorDir . '/grasmash/expander/src'),
- 'Drush\\Internal\\' => array($vendorDir . '/drush/drush/internal-copy'),
- 'Drush\\' => array($vendorDir . '/drush/drush/src'),
- 'Drupal\\Driver\\' => array($baseDir . '/web/drivers/lib/Drupal/Driver'),
- 'Drupal\\Core\\' => array($baseDir . '/web/core/lib/Drupal/Core'),
- 'Drupal\\Console\\Core\\' => array($vendorDir . '/drupal/console-core/src'),
- 'Drupal\\Console\\Composer\\Plugin\\' => array($vendorDir . '/drupal/console-extend-plugin/src'),
- 'Drupal\\Console\\' => array($vendorDir . '/drupal/console/src'),
- 'Drupal\\Component\\' => array($baseDir . '/web/core/lib/Drupal/Component'),
- 'DrupalComposer\\DrupalScaffold\\' => array($vendorDir . '/drupal-composer/drupal-scaffold/src'),
- 'DrupalCodeGenerator\\' => array($vendorDir . '/chi-teck/drupal-code-generator/src'),
- 'Dotenv\\' => array($vendorDir . '/vlucas/phpdotenv/src'),
- 'Doctrine\\Common\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Common/Inflector'),
- 'Doctrine\\Common\\Cache\\' => array($vendorDir . '/doctrine/cache/lib/Doctrine/Common/Cache'),
- 'Doctrine\\Common\\Annotations\\' => array($vendorDir . '/doctrine/annotations/lib/Doctrine/Common/Annotations'),
- 'Doctrine\\Common\\' => array($vendorDir . '/doctrine/common/lib/Doctrine/Common', $vendorDir . '/doctrine/event-manager/lib/Doctrine/Common', $vendorDir . '/doctrine/persistence/lib/Doctrine/Common', $vendorDir . '/doctrine/reflection/lib/Doctrine/Common'),
- 'Consolidation\\SiteAlias\\' => array($vendorDir . '/consolidation/site-alias/src'),
- 'Consolidation\\OutputFormatters\\' => array($vendorDir . '/consolidation/output-formatters/src'),
- 'Consolidation\\Log\\' => array($vendorDir . '/consolidation/log/src'),
- 'Consolidation\\Config\\' => array($vendorDir . '/consolidation/config/src'),
- 'Consolidation\\AnnotatedCommand\\' => array($vendorDir . '/consolidation/annotated-command/src'),
- 'Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'),
- 'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'),
- 'Asm89\\Stack\\' => array($vendorDir . '/asm89/stack-cors/src/Asm89/Stack'),
- 'Alchemy\\Zippy\\' => array($vendorDir . '/alchemy/zippy/src'),
-);
diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php
deleted file mode 100644
index 6bdb3ce51..000000000
--- a/vendor/composer/autoload_real.php
+++ /dev/null
@@ -1,70 +0,0 @@
-= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
- if ($useStaticLoader) {
- require_once __DIR__ . '/autoload_static.php';
-
- call_user_func(\Composer\Autoload\ComposerStaticInit5b1c1b80ca16f098d2571547d6c6045f::getInitializer($loader));
- } else {
- $map = require __DIR__ . '/autoload_namespaces.php';
- foreach ($map as $namespace => $path) {
- $loader->set($namespace, $path);
- }
-
- $map = require __DIR__ . '/autoload_psr4.php';
- foreach ($map as $namespace => $path) {
- $loader->setPsr4($namespace, $path);
- }
-
- $classMap = require __DIR__ . '/autoload_classmap.php';
- if ($classMap) {
- $loader->addClassMap($classMap);
- }
- }
-
- $loader->register(true);
-
- if ($useStaticLoader) {
- $includeFiles = Composer\Autoload\ComposerStaticInit5b1c1b80ca16f098d2571547d6c6045f::$files;
- } else {
- $includeFiles = require __DIR__ . '/autoload_files.php';
- }
- foreach ($includeFiles as $fileIdentifier => $file) {
- composerRequire5b1c1b80ca16f098d2571547d6c6045f($fileIdentifier, $file);
- }
-
- return $loader;
- }
-}
-
-function composerRequire5b1c1b80ca16f098d2571547d6c6045f($fileIdentifier, $file)
-{
- if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
- require $file;
-
- $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
- }
-}
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
deleted file mode 100644
index 50c565744..000000000
--- a/vendor/composer/autoload_static.php
+++ /dev/null
@@ -1,570 +0,0 @@
- __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
- '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
- '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
- '023d27dca8066ef29e6739335ea73bad' => __DIR__ . '/..' . '/symfony/polyfill-php70/bootstrap.php',
- '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
- '667aeda72477189d0494fecd327c3641' => __DIR__ . '/..' . '/symfony/var-dumper/Resources/functions/dump.php',
- '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
- 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
- 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
- '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
- 'def43f6c87e4f8dfd0c9e1b1bab14fe8' => __DIR__ . '/..' . '/symfony/polyfill-iconv/bootstrap.php',
- 'cf97c57bfe0f23854afd2f3818abb7a0' => __DIR__ . '/..' . '/zendframework/zend-diactoros/src/functions/create_uploaded_file.php',
- '9bf37a3d0dad93e29cb4e1b1bfab04e9' => __DIR__ . '/..' . '/zendframework/zend-diactoros/src/functions/marshal_headers_from_sapi.php',
- 'ce70dccb4bcc2efc6e94d2ee526e6972' => __DIR__ . '/..' . '/zendframework/zend-diactoros/src/functions/marshal_method_from_sapi.php',
- 'f86420df471f14d568bfcb71e271b523' => __DIR__ . '/..' . '/zendframework/zend-diactoros/src/functions/marshal_protocol_version_from_sapi.php',
- 'b87481e008a3700344428ae089e7f9e5' => __DIR__ . '/..' . '/zendframework/zend-diactoros/src/functions/marshal_uri_from_sapi.php',
- '0b0974a5566a1077e4f2e111341112c1' => __DIR__ . '/..' . '/zendframework/zend-diactoros/src/functions/normalize_server.php',
- '1ca3bc274755662169f9629d5412a1da' => __DIR__ . '/..' . '/zendframework/zend-diactoros/src/functions/normalize_uploaded_files.php',
- '40360c0b9b437e69bcbb7f1349ce029e' => __DIR__ . '/..' . '/zendframework/zend-diactoros/src/functions/parse_cookie_header.php',
- '801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php',
- '952683d815ff0a7bf322b93c0be7e4e4' => __DIR__ . '/..' . '/chi-teck/drupal-code-generator/src/bootstrap.php',
- '5a12a5271c58108e0aa33355e6ac54ea' => __DIR__ . '/..' . '/drupal/console-core/src/functions.php',
- 'd511210698f02d87ca48e3972f64323e' => __DIR__ . '/../..' . '/load.environment.php',
- );
-
- public static $prefixLengthsPsr4 = array (
- 'c' =>
- array (
- 'cweagans\\Composer\\' => 18,
- ),
- 'Z' =>
- array (
- 'Zend\\Stdlib\\' => 12,
- 'Zend\\Feed\\' => 10,
- 'Zend\\Escaper\\' => 13,
- 'Zend\\Diactoros\\' => 15,
- ),
- 'X' =>
- array (
- 'XdgBaseDir\\' => 11,
- ),
- 'W' =>
- array (
- 'Webmozart\\PathUtil\\' => 19,
- 'Webmozart\\Assert\\' => 17,
- ),
- 'U' =>
- array (
- 'Unish\\' => 6,
- ),
- 'T' =>
- array (
- 'Twig\\' => 5,
- 'TYPO3\\PharStreamWrapper\\' => 24,
- ),
- 'S' =>
- array (
- 'Symfony\\Polyfill\\Php72\\' => 23,
- 'Symfony\\Polyfill\\Php70\\' => 23,
- 'Symfony\\Polyfill\\Mbstring\\' => 26,
- 'Symfony\\Polyfill\\Iconv\\' => 23,
- 'Symfony\\Polyfill\\Ctype\\' => 23,
- 'Symfony\\Component\\Yaml\\' => 23,
- 'Symfony\\Component\\VarDumper\\' => 28,
- 'Symfony\\Component\\Validator\\' => 28,
- 'Symfony\\Component\\Translation\\' => 30,
- 'Symfony\\Component\\Serializer\\' => 29,
- 'Symfony\\Component\\Routing\\' => 26,
- 'Symfony\\Component\\Process\\' => 26,
- 'Symfony\\Component\\HttpKernel\\' => 29,
- 'Symfony\\Component\\HttpFoundation\\' => 33,
- 'Symfony\\Component\\Finder\\' => 25,
- 'Symfony\\Component\\Filesystem\\' => 29,
- 'Symfony\\Component\\EventDispatcher\\' => 34,
- 'Symfony\\Component\\DomCrawler\\' => 29,
- 'Symfony\\Component\\DependencyInjection\\' => 38,
- 'Symfony\\Component\\Debug\\' => 24,
- 'Symfony\\Component\\CssSelector\\' => 30,
- 'Symfony\\Component\\Console\\' => 26,
- 'Symfony\\Component\\Config\\' => 25,
- 'Symfony\\Component\\ClassLoader\\' => 30,
- 'Symfony\\Cmf\\Component\\Routing\\' => 30,
- 'Symfony\\Bridge\\PsrHttpMessage\\' => 30,
- 'Stecman\\Component\\Symfony\\Console\\BashCompletion\\' => 49,
- 'SelfUpdate\\' => 11,
- ),
- 'R' =>
- array (
- 'Robo\\' => 5,
- ),
- 'P' =>
- array (
- 'Psy\\' => 4,
- 'Psr\\Log\\' => 8,
- 'Psr\\Http\\Message\\' => 17,
- 'Psr\\Container\\' => 14,
- 'PhpParser\\' => 10,
- ),
- 'M' =>
- array (
- 'Masterminds\\' => 12,
- ),
- 'L' =>
- array (
- 'League\\Container\\' => 17,
- ),
- 'J' =>
- array (
- 'JakubOnderka\\PhpConsoleHighlighter\\' => 35,
- 'JakubOnderka\\PhpConsoleColor\\' => 29,
- ),
- 'I' =>
- array (
- 'Interop\\Container\\' => 18,
- ),
- 'G' =>
- array (
- 'GuzzleHttp\\Psr7\\' => 16,
- 'GuzzleHttp\\Promise\\' => 19,
- 'GuzzleHttp\\' => 11,
- 'Grasmash\\YamlExpander\\' => 22,
- 'Grasmash\\Expander\\' => 18,
- ),
- 'D' =>
- array (
- 'Drush\\Internal\\' => 15,
- 'Drush\\' => 6,
- 'Drupal\\Driver\\' => 14,
- 'Drupal\\Core\\' => 12,
- 'Drupal\\Console\\Core\\' => 20,
- 'Drupal\\Console\\Composer\\Plugin\\' => 31,
- 'Drupal\\Console\\' => 15,
- 'Drupal\\Component\\' => 17,
- 'DrupalComposer\\DrupalScaffold\\' => 30,
- 'DrupalCodeGenerator\\' => 20,
- 'Dotenv\\' => 7,
- 'Doctrine\\Common\\Inflector\\' => 26,
- 'Doctrine\\Common\\Cache\\' => 22,
- 'Doctrine\\Common\\Annotations\\' => 28,
- 'Doctrine\\Common\\' => 16,
- ),
- 'C' =>
- array (
- 'Consolidation\\SiteAlias\\' => 24,
- 'Consolidation\\OutputFormatters\\' => 31,
- 'Consolidation\\Log\\' => 18,
- 'Consolidation\\Config\\' => 21,
- 'Consolidation\\AnnotatedCommand\\' => 31,
- 'Composer\\Semver\\' => 16,
- 'Composer\\Installers\\' => 20,
- ),
- 'A' =>
- array (
- 'Asm89\\Stack\\' => 12,
- 'Alchemy\\Zippy\\' => 14,
- ),
- );
-
- public static $prefixDirsPsr4 = array (
- 'cweagans\\Composer\\' =>
- array (
- 0 => __DIR__ . '/..' . '/cweagans/composer-patches/src',
- ),
- 'Zend\\Stdlib\\' =>
- array (
- 0 => __DIR__ . '/..' . '/zendframework/zend-stdlib/src',
- ),
- 'Zend\\Feed\\' =>
- array (
- 0 => __DIR__ . '/..' . '/zendframework/zend-feed/src',
- ),
- 'Zend\\Escaper\\' =>
- array (
- 0 => __DIR__ . '/..' . '/zendframework/zend-escaper/src',
- ),
- 'Zend\\Diactoros\\' =>
- array (
- 0 => __DIR__ . '/..' . '/zendframework/zend-diactoros/src',
- ),
- 'XdgBaseDir\\' =>
- array (
- 0 => __DIR__ . '/..' . '/dnoegel/php-xdg-base-dir/src',
- ),
- 'Webmozart\\PathUtil\\' =>
- array (
- 0 => __DIR__ . '/..' . '/webmozart/path-util/src',
- ),
- 'Webmozart\\Assert\\' =>
- array (
- 0 => __DIR__ . '/..' . '/webmozart/assert/src',
- ),
- 'Unish\\' =>
- array (
- 0 => __DIR__ . '/..' . '/drush/drush/tests',
- ),
- 'Twig\\' =>
- array (
- 0 => __DIR__ . '/..' . '/twig/twig/src',
- ),
- 'TYPO3\\PharStreamWrapper\\' =>
- array (
- 0 => __DIR__ . '/..' . '/typo3/phar-stream-wrapper/src',
- ),
- 'Symfony\\Polyfill\\Php72\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-php72',
- ),
- 'Symfony\\Polyfill\\Php70\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-php70',
- ),
- 'Symfony\\Polyfill\\Mbstring\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
- ),
- 'Symfony\\Polyfill\\Iconv\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-iconv',
- ),
- 'Symfony\\Polyfill\\Ctype\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
- ),
- 'Symfony\\Component\\Yaml\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/yaml',
- ),
- 'Symfony\\Component\\VarDumper\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/var-dumper',
- ),
- 'Symfony\\Component\\Validator\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/validator',
- ),
- 'Symfony\\Component\\Translation\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/translation',
- ),
- 'Symfony\\Component\\Serializer\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/serializer',
- ),
- 'Symfony\\Component\\Routing\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/routing',
- ),
- 'Symfony\\Component\\Process\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/process',
- ),
- 'Symfony\\Component\\HttpKernel\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/http-kernel',
- ),
- 'Symfony\\Component\\HttpFoundation\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/http-foundation',
- ),
- 'Symfony\\Component\\Finder\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/finder',
- ),
- 'Symfony\\Component\\Filesystem\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/filesystem',
- ),
- 'Symfony\\Component\\EventDispatcher\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/event-dispatcher',
- ),
- 'Symfony\\Component\\DomCrawler\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/dom-crawler',
- ),
- 'Symfony\\Component\\DependencyInjection\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/dependency-injection',
- ),
- 'Symfony\\Component\\Debug\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/debug',
- ),
- 'Symfony\\Component\\CssSelector\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/css-selector',
- ),
- 'Symfony\\Component\\Console\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/console',
- ),
- 'Symfony\\Component\\Config\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/config',
- ),
- 'Symfony\\Component\\ClassLoader\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/class-loader',
- ),
- 'Symfony\\Cmf\\Component\\Routing\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony-cmf/routing',
- ),
- 'Symfony\\Bridge\\PsrHttpMessage\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/psr-http-message-bridge',
- ),
- 'Stecman\\Component\\Symfony\\Console\\BashCompletion\\' =>
- array (
- 0 => __DIR__ . '/..' . '/stecman/symfony-console-completion/src',
- ),
- 'SelfUpdate\\' =>
- array (
- 0 => __DIR__ . '/..' . '/consolidation/self-update/src',
- ),
- 'Robo\\' =>
- array (
- 0 => __DIR__ . '/..' . '/consolidation/robo/src',
- ),
- 'Psy\\' =>
- array (
- 0 => __DIR__ . '/..' . '/psy/psysh/src',
- ),
- 'Psr\\Log\\' =>
- array (
- 0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
- ),
- 'Psr\\Http\\Message\\' =>
- array (
- 0 => __DIR__ . '/..' . '/psr/http-message/src',
- ),
- 'Psr\\Container\\' =>
- array (
- 0 => __DIR__ . '/..' . '/psr/container/src',
- ),
- 'PhpParser\\' =>
- array (
- 0 => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser',
- ),
- 'Masterminds\\' =>
- array (
- 0 => __DIR__ . '/..' . '/masterminds/html5/src',
- ),
- 'League\\Container\\' =>
- array (
- 0 => __DIR__ . '/..' . '/league/container/src',
- ),
- 'JakubOnderka\\PhpConsoleHighlighter\\' =>
- array (
- 0 => __DIR__ . '/..' . '/jakub-onderka/php-console-highlighter/src',
- ),
- 'JakubOnderka\\PhpConsoleColor\\' =>
- array (
- 0 => __DIR__ . '/..' . '/jakub-onderka/php-console-color/src',
- ),
- 'Interop\\Container\\' =>
- array (
- 0 => __DIR__ . '/..' . '/container-interop/container-interop/src/Interop/Container',
- ),
- 'GuzzleHttp\\Psr7\\' =>
- array (
- 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src',
- ),
- 'GuzzleHttp\\Promise\\' =>
- array (
- 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src',
- ),
- 'GuzzleHttp\\' =>
- array (
- 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src',
- ),
- 'Grasmash\\YamlExpander\\' =>
- array (
- 0 => __DIR__ . '/..' . '/grasmash/yaml-expander/src',
- ),
- 'Grasmash\\Expander\\' =>
- array (
- 0 => __DIR__ . '/..' . '/grasmash/expander/src',
- ),
- 'Drush\\Internal\\' =>
- array (
- 0 => __DIR__ . '/..' . '/drush/drush/internal-copy',
- ),
- 'Drush\\' =>
- array (
- 0 => __DIR__ . '/..' . '/drush/drush/src',
- ),
- 'Drupal\\Driver\\' =>
- array (
- 0 => __DIR__ . '/../..' . '/web/drivers/lib/Drupal/Driver',
- ),
- 'Drupal\\Core\\' =>
- array (
- 0 => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core',
- ),
- 'Drupal\\Console\\Core\\' =>
- array (
- 0 => __DIR__ . '/..' . '/drupal/console-core/src',
- ),
- 'Drupal\\Console\\Composer\\Plugin\\' =>
- array (
- 0 => __DIR__ . '/..' . '/drupal/console-extend-plugin/src',
- ),
- 'Drupal\\Console\\' =>
- array (
- 0 => __DIR__ . '/..' . '/drupal/console/src',
- ),
- 'Drupal\\Component\\' =>
- array (
- 0 => __DIR__ . '/../..' . '/web/core/lib/Drupal/Component',
- ),
- 'DrupalComposer\\DrupalScaffold\\' =>
- array (
- 0 => __DIR__ . '/..' . '/drupal-composer/drupal-scaffold/src',
- ),
- 'DrupalCodeGenerator\\' =>
- array (
- 0 => __DIR__ . '/..' . '/chi-teck/drupal-code-generator/src',
- ),
- 'Dotenv\\' =>
- array (
- 0 => __DIR__ . '/..' . '/vlucas/phpdotenv/src',
- ),
- 'Doctrine\\Common\\Inflector\\' =>
- array (
- 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Common/Inflector',
- ),
- 'Doctrine\\Common\\Cache\\' =>
- array (
- 0 => __DIR__ . '/..' . '/doctrine/cache/lib/Doctrine/Common/Cache',
- ),
- 'Doctrine\\Common\\Annotations\\' =>
- array (
- 0 => __DIR__ . '/..' . '/doctrine/annotations/lib/Doctrine/Common/Annotations',
- ),
- 'Doctrine\\Common\\' =>
- array (
- 0 => __DIR__ . '/..' . '/doctrine/common/lib/Doctrine/Common',
- 1 => __DIR__ . '/..' . '/doctrine/event-manager/lib/Doctrine/Common',
- 2 => __DIR__ . '/..' . '/doctrine/persistence/lib/Doctrine/Common',
- 3 => __DIR__ . '/..' . '/doctrine/reflection/lib/Doctrine/Common',
- ),
- 'Consolidation\\SiteAlias\\' =>
- array (
- 0 => __DIR__ . '/..' . '/consolidation/site-alias/src',
- ),
- 'Consolidation\\OutputFormatters\\' =>
- array (
- 0 => __DIR__ . '/..' . '/consolidation/output-formatters/src',
- ),
- 'Consolidation\\Log\\' =>
- array (
- 0 => __DIR__ . '/..' . '/consolidation/log/src',
- ),
- 'Consolidation\\Config\\' =>
- array (
- 0 => __DIR__ . '/..' . '/consolidation/config/src',
- ),
- 'Consolidation\\AnnotatedCommand\\' =>
- array (
- 0 => __DIR__ . '/..' . '/consolidation/annotated-command/src',
- ),
- 'Composer\\Semver\\' =>
- array (
- 0 => __DIR__ . '/..' . '/composer/semver/src',
- ),
- 'Composer\\Installers\\' =>
- array (
- 0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers',
- ),
- 'Asm89\\Stack\\' =>
- array (
- 0 => __DIR__ . '/..' . '/asm89/stack-cors/src/Asm89/Stack',
- ),
- 'Alchemy\\Zippy\\' =>
- array (
- 0 => __DIR__ . '/..' . '/alchemy/zippy/src',
- ),
- );
-
- public static $prefixesPsr0 = array (
- 'T' =>
- array (
- 'Twig_' =>
- array (
- 0 => __DIR__ . '/..' . '/twig/twig/lib',
- ),
- ),
- 'S' =>
- array (
- 'Stack' =>
- array (
- 0 => __DIR__ . '/..' . '/stack/builder/src',
- ),
- ),
- 'E' =>
- array (
- 'Egulias\\' =>
- array (
- 0 => __DIR__ . '/..' . '/egulias/email-validator/src',
- ),
- 'EasyRdf_' =>
- array (
- 0 => __DIR__ . '/..' . '/easyrdf/easyrdf/lib',
- ),
- ),
- 'D' =>
- array (
- 'Doctrine\\Common\\Lexer\\' =>
- array (
- 0 => __DIR__ . '/..' . '/doctrine/lexer/lib',
- ),
- 'Doctrine\\Common\\Collections\\' =>
- array (
- 0 => __DIR__ . '/..' . '/doctrine/collections/lib',
- ),
- 'Dflydev\\PlaceholderResolver' =>
- array (
- 0 => __DIR__ . '/..' . '/dflydev/placeholder-resolver/src',
- ),
- 'Dflydev\\DotAccessData' =>
- array (
- 0 => __DIR__ . '/..' . '/dflydev/dot-access-data/src',
- ),
- 'Dflydev\\DotAccessConfiguration' =>
- array (
- 0 => __DIR__ . '/..' . '/dflydev/dot-access-configuration/src',
- ),
- ),
- );
-
- public static $classMap = array (
- 'ArithmeticError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php',
- 'AssertionError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php',
- 'DivisionByZeroError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php',
- 'Drupal' => __DIR__ . '/../..' . '/web/core/lib/Drupal.php',
- 'DrupalFinder\\DrupalFinder' => __DIR__ . '/..' . '/webflo/drupal-finder/src/DrupalFinder.php',
- 'DrupalProject\\composer\\ScriptHandler' => __DIR__ . '/../..' . '/scripts/composer/ScriptHandler.php',
- 'Drupal\\Component\\Utility\\Timer' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Component/Utility/Timer.php',
- 'Drupal\\Component\\Utility\\Unicode' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Component/Utility/Unicode.php',
- 'Drupal\\Core\\Database\\Database' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Database/Database.php',
- 'Drupal\\Core\\DrupalKernel' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/DrupalKernel.php',
- 'Drupal\\Core\\DrupalKernelInterface' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/DrupalKernelInterface.php',
- 'Drupal\\Core\\Site\\Settings' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Site/Settings.php',
- 'Error' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/Error.php',
- 'ParseError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ParseError.php',
- 'SessionUpdateTimestampHandlerInterface' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php',
- 'TypeError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
- );
-
- public static function getInitializer(ClassLoader $loader)
- {
- return \Closure::bind(function () use ($loader) {
- $loader->prefixLengthsPsr4 = ComposerStaticInit5b1c1b80ca16f098d2571547d6c6045f::$prefixLengthsPsr4;
- $loader->prefixDirsPsr4 = ComposerStaticInit5b1c1b80ca16f098d2571547d6c6045f::$prefixDirsPsr4;
- $loader->prefixesPsr0 = ComposerStaticInit5b1c1b80ca16f098d2571547d6c6045f::$prefixesPsr0;
- $loader->classMap = ComposerStaticInit5b1c1b80ca16f098d2571547d6c6045f::$classMap;
-
- }, null, ClassLoader::class);
- }
-}
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
deleted file mode 100644
index 600a11959..000000000
--- a/vendor/composer/installed.json
+++ /dev/null
@@ -1,6298 +0,0 @@
-[
- {
- "name": "alchemy/zippy",
- "version": "0.4.3",
- "version_normalized": "0.4.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/alchemy-fr/Zippy.git",
- "reference": "5ffdc93de0af2770d396bf433d8b2667c77277ea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/alchemy-fr/Zippy/zipball/5ffdc93de0af2770d396bf433d8b2667c77277ea",
- "reference": "5ffdc93de0af2770d396bf433d8b2667c77277ea",
- "shasum": ""
- },
- "require": {
- "doctrine/collections": "~1.0",
- "ext-mbstring": "*",
- "php": ">=5.5",
- "symfony/filesystem": "^2.0.5|^3.0",
- "symfony/process": "^2.1|^3.0"
- },
- "require-dev": {
- "ext-zip": "*",
- "guzzle/guzzle": "~3.0",
- "guzzlehttp/guzzle": "^6.0",
- "phpunit/phpunit": "^4.0|^5.0",
- "symfony/finder": "^2.0.5|^3.0"
- },
- "suggest": {
- "ext-zip": "To use the ZipExtensionAdapter",
- "guzzle/guzzle": "To use the GuzzleTeleporter with Guzzle 3",
- "guzzlehttp/guzzle": "To use the GuzzleTeleporter with Guzzle 6"
- },
- "time": "2016-11-03T16:10:31+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "0.4.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Alchemy\\Zippy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Alchemy",
- "email": "dev.team@alchemy.fr",
- "homepage": "http://www.alchemy.fr/"
- }
- ],
- "description": "Zippy, the archive manager companion",
- "keywords": [
- "bzip",
- "compression",
- "tar",
- "zip"
- ]
- },
- {
- "name": "asm89/stack-cors",
- "version": "1.2.0",
- "version_normalized": "1.2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/asm89/stack-cors.git",
- "reference": "c163e2b614550aedcf71165db2473d936abbced6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/asm89/stack-cors/zipball/c163e2b614550aedcf71165db2473d936abbced6",
- "reference": "c163e2b614550aedcf71165db2473d936abbced6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/http-foundation": "~2.7|~3.0|~4.0",
- "symfony/http-kernel": "~2.7|~3.0|~4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0 || ^4.8.10",
- "squizlabs/php_codesniffer": "^2.3"
- },
- "time": "2017-12-20T14:37:45+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Asm89\\Stack\\": "src/Asm89/Stack/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Alexander",
- "email": "iam.asm89@gmail.com"
- }
- ],
- "description": "Cross-origin resource sharing library and stack middleware",
- "homepage": "https://github.com/asm89/stack-cors",
- "keywords": [
- "cors",
- "stack"
- ]
- },
- {
- "name": "chi-teck/drupal-code-generator",
- "version": "1.27.0",
- "version_normalized": "1.27.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Chi-teck/drupal-code-generator.git",
- "reference": "a839bc89d385087d8a7a96a9c1c4bd470ffb627e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Chi-teck/drupal-code-generator/zipball/a839bc89d385087d8a7a96a9c1c4bd470ffb627e",
- "reference": "a839bc89d385087d8a7a96a9c1c4bd470ffb627e",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "php": ">=5.5.9",
- "symfony/console": "~2.7|^3",
- "symfony/filesystem": "~2.7|^3",
- "twig/twig": "^1.23.1"
- },
- "time": "2018-10-11T08:05:59+00:00",
- "bin": [
- "bin/dcg"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "files": [
- "src/bootstrap.php"
- ],
- "psr-4": {
- "DrupalCodeGenerator\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0-or-later"
- ],
- "description": "Drupal code generator"
- },
- {
- "name": "composer/installers",
- "version": "v1.6.0",
- "version_normalized": "1.6.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/composer/installers.git",
- "reference": "cfcca6b1b60bc4974324efb5783c13dca6932b5b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/composer/installers/zipball/cfcca6b1b60bc4974324efb5783c13dca6932b5b",
- "reference": "cfcca6b1b60bc4974324efb5783c13dca6932b5b",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0"
- },
- "replace": {
- "roundcube/plugin-installer": "*",
- "shama/baton": "*"
- },
- "require-dev": {
- "composer/composer": "1.0.*@dev",
- "phpunit/phpunit": "^4.8.36"
- },
- "time": "2018-08-27T06:10:37+00:00",
- "type": "composer-plugin",
- "extra": {
- "class": "Composer\\Installers\\Plugin",
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Composer\\Installers\\": "src/Composer/Installers"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kyle Robinson Young",
- "email": "kyle@dontkry.com",
- "homepage": "https://github.com/shama"
- }
- ],
- "description": "A multi-framework Composer library installer",
- "homepage": "https://composer.github.io/installers/",
- "keywords": [
- "Craft",
- "Dolibarr",
- "Eliasis",
- "Hurad",
- "ImageCMS",
- "Kanboard",
- "Lan Management System",
- "MODX Evo",
- "Mautic",
- "Maya",
- "OXID",
- "Plentymarkets",
- "Porto",
- "RadPHP",
- "SMF",
- "Thelia",
- "WolfCMS",
- "agl",
- "aimeos",
- "annotatecms",
- "attogram",
- "bitrix",
- "cakephp",
- "chef",
- "cockpit",
- "codeigniter",
- "concrete5",
- "croogo",
- "dokuwiki",
- "drupal",
- "eZ Platform",
- "elgg",
- "expressionengine",
- "fuelphp",
- "grav",
- "installer",
- "itop",
- "joomla",
- "kohana",
- "laravel",
- "lavalite",
- "lithium",
- "magento",
- "majima",
- "mako",
- "mediawiki",
- "modulework",
- "modx",
- "moodle",
- "osclass",
- "phpbb",
- "piwik",
- "ppi",
- "puppet",
- "pxcms",
- "reindex",
- "roundcube",
- "shopware",
- "silverstripe",
- "sydes",
- "symfony",
- "typo3",
- "wordpress",
- "yawik",
- "zend",
- "zikula"
- ]
- },
- {
- "name": "composer/semver",
- "version": "1.4.2",
- "version_normalized": "1.4.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/composer/semver.git",
- "reference": "c7cb9a2095a074d131b65a8a0cd294479d785573"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/composer/semver/zipball/c7cb9a2095a074d131b65a8a0cd294479d785573",
- "reference": "c7cb9a2095a074d131b65a8a0cd294479d785573",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.2 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.5 || ^5.0.5",
- "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0"
- },
- "time": "2016-08-30T16:08:34+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Composer\\Semver\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nils Adermann",
- "email": "naderman@naderman.de",
- "homepage": "http://www.naderman.de"
- },
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be"
- },
- {
- "name": "Rob Bast",
- "email": "rob.bast@gmail.com",
- "homepage": "http://robbast.nl"
- }
- ],
- "description": "Semver library that offers utilities, version constraint parsing and validation.",
- "keywords": [
- "semantic",
- "semver",
- "validation",
- "versioning"
- ]
- },
- {
- "name": "consolidation/annotated-command",
- "version": "2.11.0",
- "version_normalized": "2.11.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/annotated-command.git",
- "reference": "edea407f57104ed518cc3c3b47d5b84403ee267a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/edea407f57104ed518cc3c3b47d5b84403ee267a",
- "reference": "edea407f57104ed518cc3c3b47d5b84403ee267a",
- "shasum": ""
- },
- "require": {
- "consolidation/output-formatters": "^3.4",
- "php": ">=5.4.0",
- "psr/log": "^1",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/phpunit": "^6",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "time": "2018-12-29T04:43:17+00:00",
- "type": "library",
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- },
- "scenario-options": {
- "create-lockfile": "false"
- }
- },
- "phpunit4": {
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- }
- },
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Consolidation\\AnnotatedCommand\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Initialize Symfony Console commands from annotated command class methods."
- },
- {
- "name": "consolidation/config",
- "version": "1.1.1",
- "version_normalized": "1.1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/config.git",
- "reference": "925231dfff32f05b787e1fddb265e789b939cf4c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/config/zipball/925231dfff32f05b787e1fddb265e789b939cf4c",
- "reference": "925231dfff32f05b787e1fddb265e789b939cf4c",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "grasmash/expander": "^1",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^5",
- "satooshi/php-coveralls": "^1.0",
- "squizlabs/php_codesniffer": "2.*",
- "symfony/console": "^2.5|^3|^4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "suggest": {
- "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
- },
- "time": "2018-10-24T17:55:35+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Consolidation\\Config\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Provide configuration services for a commandline tool."
- },
- {
- "name": "consolidation/log",
- "version": "1.1.1",
- "version_normalized": "1.1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/log.git",
- "reference": "b2e887325ee90abc96b0a8b7b474cd9e7c896e3a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/log/zipball/b2e887325ee90abc96b0a8b7b474cd9e7c896e3a",
- "reference": "b2e887325ee90abc96b0a8b7b474cd9e7c896e3a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.5",
- "psr/log": "^1.0",
- "symfony/console": "^2.8|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/phpunit": "^6",
- "squizlabs/php_codesniffer": "^2"
- },
- "time": "2019-01-01T17:30:51+00:00",
- "type": "library",
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- },
- "phpunit4": {
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- }
- },
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Consolidation\\Log\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components."
- },
- {
- "name": "consolidation/output-formatters",
- "version": "3.4.0",
- "version_normalized": "3.4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/output-formatters.git",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/a942680232094c4a5b21c0b7e54c20cce623ae19",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^5.7.27",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7",
- "symfony/console": "3.2.3",
- "symfony/var-dumper": "^2.8|^3|^4",
- "victorjonsson/markdowndocs": "^1.3"
- },
- "suggest": {
- "symfony/var-dumper": "For using the var_dump formatter"
- },
- "time": "2018-10-19T22:35:38+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Consolidation\\OutputFormatters\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Format text by applying transformations provided by plug-in formatters."
- },
- {
- "name": "consolidation/robo",
- "version": "1.4.3",
- "version_normalized": "1.4.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/Robo.git",
- "reference": "d0b6f516ec940add7abed4f1432d30cca5f8ae0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/Robo/zipball/d0b6f516ec940add7abed4f1432d30cca5f8ae0c",
- "reference": "d0b6f516ec940add7abed4f1432d30cca5f8ae0c",
- "shasum": ""
- },
- "require": {
- "consolidation/annotated-command": "^2.10.2",
- "consolidation/config": "^1.0.10",
- "consolidation/log": "~1",
- "consolidation/output-formatters": "^3.1.13",
- "consolidation/self-update": "^1",
- "grasmash/yaml-expander": "^1.3",
- "league/container": "^2.2",
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4",
- "symfony/process": "^2.5|^3|^4"
- },
- "replace": {
- "codegyre/robo": "< 1.0"
- },
- "require-dev": {
- "codeception/aspect-mock": "^1|^2.1.1",
- "codeception/base": "^2.3.7",
- "codeception/verify": "^0.3.2",
- "g1a/composer-test-scenarios": "^3",
- "goaop/framework": "~2.1.2",
- "goaop/parser-reflection": "^1.1.0",
- "natxet/cssmin": "3.0.4",
- "nikic/php-parser": "^3.1.5",
- "patchwork/jsqueeze": "~2",
- "pear/archive_tar": "^1.4.2",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/php-code-coverage": "~2|~4",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "suggest": {
- "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch",
- "natxet/CssMin": "For minifying CSS files in taskMinify",
- "patchwork/jsqueeze": "For minifying JS files in taskMinify",
- "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively."
- },
- "time": "2019-01-02T21:33:28+00:00",
- "bin": [
- "robo"
- ],
- "type": "library",
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "remove": [
- "goaop/framework"
- ],
- "config": {
- "platform": {
- "php": "5.5.9"
- }
- },
- "scenario-options": {
- "create-lockfile": "false"
- }
- }
- },
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Robo\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Davert",
- "email": "davert.php@resend.cc"
- }
- ],
- "description": "Modern task runner"
- },
- {
- "name": "consolidation/self-update",
- "version": "1.1.5",
- "version_normalized": "1.1.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/self-update.git",
- "reference": "a1c273b14ce334789825a09d06d4c87c0a02ad54"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/self-update/zipball/a1c273b14ce334789825a09d06d4c87c0a02ad54",
- "reference": "a1c273b14ce334789825a09d06d4c87c0a02ad54",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4"
- },
- "time": "2018-10-28T01:52:03+00:00",
- "bin": [
- "scripts/release"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "SelfUpdate\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- },
- {
- "name": "Alexander Menk",
- "email": "menk@mestrona.net"
- }
- ],
- "description": "Provides a self:update command for Symfony Console applications."
- },
- {
- "name": "consolidation/site-alias",
- "version": "1.1.11",
- "version_normalized": "1.1.11.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/site-alias.git",
- "reference": "54ea74ee7dbd54ef356798028ca9a3548cb8df14"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/site-alias/zipball/54ea74ee7dbd54ef356798028ca9a3548cb8df14",
- "reference": "54ea74ee7dbd54ef356798028ca9a3548cb8df14",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "consolidation/robo": "^1.2.3",
- "g1a/composer-test-scenarios": "^2",
- "knplabs/github-api": "^2.7",
- "php-http/guzzle6-adapter": "^1.1",
- "phpunit/phpunit": "^5",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.8",
- "symfony/console": "^2.8|^3|^4",
- "symfony/yaml": "~2.3|^3"
- },
- "time": "2018-11-03T05:07:56+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Consolidation\\SiteAlias\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Moshe Weitzman",
- "email": "weitzman@tejasa.com"
- },
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Manage alias records for local and remote sites."
- },
- {
- "name": "container-interop/container-interop",
- "version": "1.2.0",
- "version_normalized": "1.2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/container-interop/container-interop.git",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "shasum": ""
- },
- "require": {
- "psr/container": "^1.0"
- },
- "time": "2017-02-14T19:40:03+00:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Interop\\Container\\": "src/Interop/Container/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
- "homepage": "https://github.com/container-interop/container-interop"
- },
- {
- "name": "cweagans/composer-patches",
- "version": "1.6.5",
- "version_normalized": "1.6.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/cweagans/composer-patches.git",
- "reference": "2ec4f00ff5fb64de584c8c4aea53bf9053ecb0b3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/cweagans/composer-patches/zipball/2ec4f00ff5fb64de584c8c4aea53bf9053ecb0b3",
- "reference": "2ec4f00ff5fb64de584c8c4aea53bf9053ecb0b3",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0",
- "php": ">=5.3.0"
- },
- "require-dev": {
- "composer/composer": "~1.0",
- "phpunit/phpunit": "~4.6"
- },
- "time": "2018-05-11T18:00:16+00:00",
- "type": "composer-plugin",
- "extra": {
- "class": "cweagans\\Composer\\Patches"
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "cweagans\\Composer\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Cameron Eagans",
- "email": "me@cweagans.net"
- }
- ],
- "description": "Provides a way to patch Composer packages."
- },
- {
- "name": "dflydev/dot-access-configuration",
- "version": "v1.0.3",
- "version_normalized": "1.0.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-configuration.git",
- "reference": "2e6eb0c8b8830b26bb23defcfc38d4276508fc49"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-configuration/zipball/2e6eb0c8b8830b26bb23defcfc38d4276508fc49",
- "reference": "2e6eb0c8b8830b26bb23defcfc38d4276508fc49",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "1.*",
- "dflydev/placeholder-resolver": "1.*",
- "php": ">=5.3.2"
- },
- "require-dev": {
- "symfony/yaml": "~2.1"
- },
- "suggest": {
- "symfony/yaml": "Required for using the YAML Configuration Builders"
- },
- "time": "2018-09-08T23:00:17+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessConfiguration": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- }
- ],
- "description": "Given a deep data structure representing a configuration, access configuration by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-configuration",
- "keywords": [
- "config",
- "configuration"
- ]
- },
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "version_normalized": "1.1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "time": "2017-01-20T21:14:22+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ]
- },
- {
- "name": "dflydev/placeholder-resolver",
- "version": "v1.0.2",
- "version_normalized": "1.0.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-placeholder-resolver.git",
- "reference": "c498d0cae91b1bb36cc7d60906dab8e62bb7c356"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-placeholder-resolver/zipball/c498d0cae91b1bb36cc7d60906dab8e62bb7c356",
- "reference": "c498d0cae91b1bb36cc7d60906dab8e62bb7c356",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "time": "2012-10-28T21:08:28+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Dflydev\\PlaceholderResolver": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- }
- ],
- "description": "Given a data source representing key => value pairs, resolve placeholders like ${foo.bar} to the value associated with the 'foo.bar' key in the data source.",
- "homepage": "https://github.com/dflydev/dflydev-placeholder-resolver",
- "keywords": [
- "placeholder",
- "resolver"
- ]
- },
- {
- "name": "dnoegel/php-xdg-base-dir",
- "version": "0.1",
- "version_normalized": "0.1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dnoegel/php-xdg-base-dir.git",
- "reference": "265b8593498b997dc2d31e75b89f053b5cc9621a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/265b8593498b997dc2d31e75b89f053b5cc9621a",
- "reference": "265b8593498b997dc2d31e75b89f053b5cc9621a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "require-dev": {
- "phpunit/phpunit": "@stable"
- },
- "time": "2014-10-24T07:27:01+00:00",
- "type": "project",
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "XdgBaseDir\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "implementation of xdg base directory specification for php"
- },
- {
- "name": "doctrine/annotations",
- "version": "v1.6.0",
- "version_normalized": "1.6.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/annotations.git",
- "reference": "c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/annotations/zipball/c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5",
- "reference": "c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5",
- "shasum": ""
- },
- "require": {
- "doctrine/lexer": "1.*",
- "php": "^7.1"
- },
- "require-dev": {
- "doctrine/cache": "1.*",
- "phpunit/phpunit": "^6.4"
- },
- "time": "2017-12-06T07:11:42+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Docblock Annotations Parser",
- "homepage": "http://www.doctrine-project.org",
- "keywords": [
- "annotations",
- "docblock",
- "parser"
- ]
- },
- {
- "name": "doctrine/cache",
- "version": "v1.8.0",
- "version_normalized": "1.8.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/cache.git",
- "reference": "d768d58baee9a4862ca783840eca1b9add7a7f57"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/cache/zipball/d768d58baee9a4862ca783840eca1b9add7a7f57",
- "reference": "d768d58baee9a4862ca783840eca1b9add7a7f57",
- "shasum": ""
- },
- "require": {
- "php": "~7.1"
- },
- "conflict": {
- "doctrine/common": ">2.2,<2.4"
- },
- "require-dev": {
- "alcaeus/mongo-php-adapter": "^1.1",
- "doctrine/coding-standard": "^4.0",
- "mongodb/mongodb": "^1.1",
- "phpunit/phpunit": "^7.0",
- "predis/predis": "~1.0"
- },
- "suggest": {
- "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver"
- },
- "time": "2018-08-21T18:01:43+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Caching library offering an object-oriented API for many cache backends",
- "homepage": "https://www.doctrine-project.org",
- "keywords": [
- "cache",
- "caching"
- ]
- },
- {
- "name": "doctrine/collections",
- "version": "v1.5.0",
- "version_normalized": "1.5.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/collections.git",
- "reference": "a01ee38fcd999f34d9bfbcee59dbda5105449cbf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/collections/zipball/a01ee38fcd999f34d9bfbcee59dbda5105449cbf",
- "reference": "a01ee38fcd999f34d9bfbcee59dbda5105449cbf",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "doctrine/coding-standard": "~0.1@dev",
- "phpunit/phpunit": "^5.7"
- },
- "time": "2017-07-22T10:37:32+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Doctrine\\Common\\Collections\\": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Collections Abstraction library",
- "homepage": "http://www.doctrine-project.org",
- "keywords": [
- "array",
- "collections",
- "iterator"
- ]
- },
- {
- "name": "doctrine/common",
- "version": "v2.10.0",
- "version_normalized": "2.10.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/common.git",
- "reference": "30e33f60f64deec87df728c02b107f82cdafad9d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/common/zipball/30e33f60f64deec87df728c02b107f82cdafad9d",
- "reference": "30e33f60f64deec87df728c02b107f82cdafad9d",
- "shasum": ""
- },
- "require": {
- "doctrine/annotations": "^1.0",
- "doctrine/cache": "^1.0",
- "doctrine/collections": "^1.0",
- "doctrine/event-manager": "^1.0",
- "doctrine/inflector": "^1.0",
- "doctrine/lexer": "^1.0",
- "doctrine/persistence": "^1.1",
- "doctrine/reflection": "^1.0",
- "php": "^7.1"
- },
- "require-dev": {
- "doctrine/coding-standard": "^1.0",
- "phpunit/phpunit": "^6.3",
- "squizlabs/php_codesniffer": "^3.0",
- "symfony/phpunit-bridge": "^4.0.5"
- },
- "time": "2018-11-21T01:24:55+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.10.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\": "lib/Doctrine/Common"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- },
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com"
- }
- ],
- "description": "PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, persistence interfaces, proxies, event system and much more.",
- "homepage": "https://www.doctrine-project.org/projects/common.html",
- "keywords": [
- "common",
- "doctrine",
- "php"
- ]
- },
- {
- "name": "doctrine/event-manager",
- "version": "v1.0.0",
- "version_normalized": "1.0.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/event-manager.git",
- "reference": "a520bc093a0170feeb6b14e9d83f3a14452e64b3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/event-manager/zipball/a520bc093a0170feeb6b14e9d83f3a14452e64b3",
- "reference": "a520bc093a0170feeb6b14e9d83f3a14452e64b3",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "conflict": {
- "doctrine/common": "<2.9@dev"
- },
- "require-dev": {
- "doctrine/coding-standard": "^4.0",
- "phpunit/phpunit": "^7.0"
- },
- "time": "2018-06-11T11:59:03+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\": "lib/Doctrine/Common"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- },
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com"
- }
- ],
- "description": "Doctrine Event Manager component",
- "homepage": "https://www.doctrine-project.org/projects/event-manager.html",
- "keywords": [
- "event",
- "eventdispatcher",
- "eventmanager"
- ]
- },
- {
- "name": "doctrine/inflector",
- "version": "v1.3.0",
- "version_normalized": "1.3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/inflector.git",
- "reference": "5527a48b7313d15261292c149e55e26eae771b0a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/inflector/zipball/5527a48b7313d15261292c149e55e26eae771b0a",
- "reference": "5527a48b7313d15261292c149e55e26eae771b0a",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2"
- },
- "time": "2018-01-09T20:05:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Common String Manipulations with regard to casing and singular/plural rules.",
- "homepage": "http://www.doctrine-project.org",
- "keywords": [
- "inflection",
- "pluralize",
- "singularize",
- "string"
- ]
- },
- {
- "name": "doctrine/lexer",
- "version": "v1.0.1",
- "version_normalized": "1.0.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/lexer.git",
- "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c",
- "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "time": "2014-09-09T13:34:57+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Doctrine\\Common\\Lexer\\": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.",
- "homepage": "http://www.doctrine-project.org",
- "keywords": [
- "lexer",
- "parser"
- ]
- },
- {
- "name": "doctrine/persistence",
- "version": "v1.1.0",
- "version_normalized": "1.1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/persistence.git",
- "reference": "c0f1c17602afc18b4cbd8e1c8125f264c9cf7d38"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/persistence/zipball/c0f1c17602afc18b4cbd8e1c8125f264c9cf7d38",
- "reference": "c0f1c17602afc18b4cbd8e1c8125f264c9cf7d38",
- "shasum": ""
- },
- "require": {
- "doctrine/annotations": "^1.0",
- "doctrine/cache": "^1.0",
- "doctrine/collections": "^1.0",
- "doctrine/event-manager": "^1.0",
- "doctrine/reflection": "^1.0",
- "php": "^7.1"
- },
- "conflict": {
- "doctrine/common": "<2.10@dev"
- },
- "require-dev": {
- "doctrine/coding-standard": "^5.0",
- "phpstan/phpstan": "^0.8",
- "phpunit/phpunit": "^7.0"
- },
- "time": "2018-11-21T00:33:13+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\": "lib/Doctrine/Common"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- },
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com"
- }
- ],
- "description": "The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.",
- "homepage": "https://doctrine-project.org/projects/persistence.html",
- "keywords": [
- "mapper",
- "object",
- "odm",
- "orm",
- "persistence"
- ]
- },
- {
- "name": "doctrine/reflection",
- "version": "v1.0.0",
- "version_normalized": "1.0.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/reflection.git",
- "reference": "02538d3f95e88eb397a5f86274deb2c6175c2ab6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/reflection/zipball/02538d3f95e88eb397a5f86274deb2c6175c2ab6",
- "reference": "02538d3f95e88eb397a5f86274deb2c6175c2ab6",
- "shasum": ""
- },
- "require": {
- "doctrine/annotations": "^1.0",
- "ext-tokenizer": "*",
- "php": "^7.1"
- },
- "require-dev": {
- "doctrine/coding-standard": "^4.0",
- "doctrine/common": "^2.8",
- "phpstan/phpstan": "^0.9.2",
- "phpstan/phpstan-phpunit": "^0.9.4",
- "phpunit/phpunit": "^7.0",
- "squizlabs/php_codesniffer": "^3.0"
- },
- "time": "2018-06-14T14:45:07+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\": "lib/Doctrine/Common"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- },
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com"
- }
- ],
- "description": "Doctrine Reflection component",
- "homepage": "https://www.doctrine-project.org/projects/reflection.html",
- "keywords": [
- "reflection"
- ]
- },
- {
- "name": "drupal-composer/drupal-scaffold",
- "version": "2.5.4",
- "version_normalized": "2.5.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/drupal-composer/drupal-scaffold.git",
- "reference": "fc6bf4ceecb5d47327f54d48d4d4f67b17da956d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/drupal-composer/drupal-scaffold/zipball/fc6bf4ceecb5d47327f54d48d4d4f67b17da956d",
- "reference": "fc6bf4ceecb5d47327f54d48d4d4f67b17da956d",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "composer/semver": "^1.4",
- "php": ">=5.4.5"
- },
- "require-dev": {
- "composer/composer": "dev-master",
- "g1a/composer-test-scenarios": "^2.1.0",
- "phpunit/phpunit": "^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "time": "2018-07-27T10:07:07+00:00",
- "type": "composer-plugin",
- "extra": {
- "class": "DrupalComposer\\DrupalScaffold\\Plugin",
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "DrupalComposer\\DrupalScaffold\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0-or-later"
- ],
- "description": "Composer Plugin for updating the Drupal scaffold files when using drupal/core"
- },
- {
- "name": "drupal/admin_toolbar",
- "version": "1.25.0",
- "version_normalized": "1.25.0.0",
- "source": {
- "type": "git",
- "url": "https://git.drupal.org/project/admin_toolbar",
- "reference": "8.x-1.25"
- },
- "dist": {
- "type": "zip",
- "url": "https://ftp.drupal.org/files/projects/admin_toolbar-8.x-1.25.zip",
- "reference": "8.x-1.25",
- "shasum": "bc24929d5e49932518797c1228e647e98b03542b"
- },
- "require": {
- "drupal/core": "*"
- },
- "type": "drupal-module",
- "extra": {
- "branch-alias": {
- "dev-1.x": "1.x-dev"
- },
- "drupal": {
- "version": "8.x-1.25",
- "datestamp": "1542915180",
- "security-coverage": {
- "status": "covered",
- "message": "Covered by Drupal's security advisory policy"
- }
- }
- },
- "installation-source": "dist",
- "notification-url": "https://packages.drupal.org/8/downloads",
- "license": [
- "GPL-2.0+"
- ],
- "authors": [
- {
- "name": "Wilfrid Roze (eme)",
- "homepage": "https://www.drupal.org/u/eme",
- "role": "Maintainer"
- },
- {
- "name": "Romain Jarraud (romainj)",
- "homepage": "https://www.drupal.org/u/romainj",
- "role": "Maintainer"
- },
- {
- "name": "Adrian Cid Almaguer (adriancid)",
- "homepage": "https://www.drupal.org/u/adriancid",
- "email": "adriancid@gmail.com",
- "role": "Maintainer"
- },
- {
- "name": "Mohamed Anis Taktak (matio89)",
- "homepage": "https://www.drupal.org/u/matio89",
- "role": "Maintainer"
- },
- {
- "name": "fethi.krout",
- "homepage": "https://www.drupal.org/user/3206765"
- },
- {
- "name": "matio89",
- "homepage": "https://www.drupal.org/user/2320090"
- },
- {
- "name": "romainj",
- "homepage": "https://www.drupal.org/user/370706"
- }
- ],
- "description": "Provides a drop-down menu interface to the core Drupal Toolbar.",
- "homepage": "http://drupal.org/project/admin_toolbar",
- "keywords": [
- "Drupal",
- "Toolbar"
- ],
- "support": {
- "source": "http://cgit.drupalcode.org/admin_toolbar",
- "issues": "https://www.drupal.org/project/issues/admin_toolbar"
- }
- },
- {
- "name": "drupal/console",
- "version": "1.8.0",
- "version_normalized": "1.8.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/hechoendrupal/drupal-console.git",
- "reference": "368bbfa44dc6b957eb4db01977f7c39e83032d18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hechoendrupal/drupal-console/zipball/368bbfa44dc6b957eb4db01977f7c39e83032d18",
- "reference": "368bbfa44dc6b957eb4db01977f7c39e83032d18",
- "shasum": ""
- },
- "require": {
- "alchemy/zippy": "0.4.3",
- "composer/installers": "~1.0",
- "doctrine/annotations": "^1.2",
- "doctrine/collections": "^1.3",
- "drupal/console-core": "1.8.0",
- "drupal/console-extend-plugin": "~0",
- "guzzlehttp/guzzle": "~6.1",
- "php": "^5.5.9 || ^7.0",
- "psy/psysh": "0.6.* || ~0.8",
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/dom-crawler": "~2.8|~3.0",
- "symfony/http-foundation": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/thanks": "Thank your favorite PHP projects on Github using the CLI!",
- "vlucas/phpdotenv": "Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically."
- },
- "time": "2018-03-21T20:50:16+00:00",
- "bin": [
- "bin/drupal"
- ],
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Drupal\\Console\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0-or-later"
- ],
- "authors": [
- {
- "name": "David Flores",
- "email": "dmousex@gmail.com",
- "homepage": "http://dmouse.net"
- },
- {
- "name": "Jesus Manuel Olivas",
- "email": "jesus.olivas@gmail.com",
- "homepage": "http://jmolivas.com"
- },
- {
- "name": "Eduardo Garcia",
- "email": "enzo@enzolutions.com",
- "homepage": "http://enzolutions.com/"
- },
- {
- "name": "Omar Aguirre",
- "email": "omersguchigu@gmail.com"
- },
- {
- "name": "Drupal Console Contributors",
- "homepage": "https://github.com/hechoendrupal/drupal-console/graphs/contributors"
- }
- ],
- "description": "The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.",
- "homepage": "http://drupalconsole.com/",
- "keywords": [
- "console",
- "development",
- "drupal",
- "symfony"
- ]
- },
- {
- "name": "drupal/console-core",
- "version": "1.8.0",
- "version_normalized": "1.8.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/hechoendrupal/drupal-console-core.git",
- "reference": "bf1fb4a6f689377acec1694267f674178d28e5d1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hechoendrupal/drupal-console-core/zipball/bf1fb4a6f689377acec1694267f674178d28e5d1",
- "reference": "bf1fb4a6f689377acec1694267f674178d28e5d1",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-configuration": "^1.0",
- "drupal/console-en": "1.8.0",
- "php": "^5.5.9 || ^7.0",
- "stecman/symfony-console-completion": "~0.7",
- "symfony/config": "~2.8|~3.0",
- "symfony/console": "~2.8|~3.0",
- "symfony/debug": "~2.8|~3.0",
- "symfony/dependency-injection": "~2.8|~3.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/finder": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0",
- "symfony/translation": "~2.8|~3.0",
- "symfony/yaml": "~2.8|~3.0",
- "twig/twig": "^1.23.1",
- "webflo/drupal-finder": "^1.0",
- "webmozart/path-util": "^2.3"
- },
- "time": "2018-03-21T19:33:23+00:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "files": [
- "src/functions.php"
- ],
- "psr-4": {
- "Drupal\\Console\\Core\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0-or-later"
- ],
- "authors": [
- {
- "name": "David Flores",
- "email": "dmousex@gmail.com",
- "homepage": "http://dmouse.net"
- },
- {
- "name": "Jesus Manuel Olivas",
- "email": "jesus.olivas@gmail.com",
- "homepage": "http://jmolivas.com"
- },
- {
- "name": "Drupal Console Contributors",
- "homepage": "https://github.com/hechoendrupal/DrupalConsole/graphs/contributors"
- },
- {
- "name": "Eduardo Garcia",
- "email": "enzo@enzolutions.com",
- "homepage": "http://enzolutions.com/"
- },
- {
- "name": "Omar Aguirre",
- "email": "omersguchigu@gmail.com"
- }
- ],
- "description": "Drupal Console Core",
- "homepage": "http://drupalconsole.com/",
- "keywords": [
- "console",
- "development",
- "drupal",
- "symfony"
- ]
- },
- {
- "name": "drupal/console-en",
- "version": "1.8.0",
- "version_normalized": "1.8.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/hechoendrupal/drupal-console-en.git",
- "reference": "ea956ddffab04f519a89858810e5f695b9def92b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hechoendrupal/drupal-console-en/zipball/ea956ddffab04f519a89858810e5f695b9def92b",
- "reference": "ea956ddffab04f519a89858810e5f695b9def92b",
- "shasum": ""
- },
- "time": "2018-03-21T19:16:27+00:00",
- "type": "drupal-console-language",
- "installation-source": "dist",
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0-or-later"
- ],
- "authors": [
- {
- "name": "David Flores",
- "email": "dmousex@gmail.com",
- "homepage": "http://dmouse.net"
- },
- {
- "name": "Jesus Manuel Olivas",
- "email": "jesus.olivas@gmail.com",
- "homepage": "http://jmolivas.com"
- },
- {
- "name": "Drupal Console Contributors",
- "homepage": "https://github.com/hechoendrupal/DrupalConsole/graphs/contributors"
- },
- {
- "name": "Eduardo Garcia",
- "email": "enzo@enzolutions.com",
- "homepage": "http://enzolutions.com/"
- },
- {
- "name": "Omar Aguirre",
- "email": "omersguchigu@gmail.com"
- }
- ],
- "description": "Drupal Console English Language",
- "homepage": "http://drupalconsole.com/",
- "keywords": [
- "console",
- "development",
- "drupal",
- "symfony"
- ]
- },
- {
- "name": "drupal/console-extend-plugin",
- "version": "0.9.2",
- "version_normalized": "0.9.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/hechoendrupal/drupal-console-extend-plugin.git",
- "reference": "f3bac233fd305359c33e96621443b3bd065555cc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hechoendrupal/drupal-console-extend-plugin/zipball/f3bac233fd305359c33e96621443b3bd065555cc",
- "reference": "f3bac233fd305359c33e96621443b3bd065555cc",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0",
- "symfony/finder": "~2.7|~3.0",
- "symfony/yaml": "~2.7|~3.0"
- },
- "time": "2017-07-28T17:11:54+00:00",
- "type": "composer-plugin",
- "extra": {
- "class": "Drupal\\Console\\Composer\\Plugin\\Extender"
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Drupal\\Console\\Composer\\Plugin\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0+"
- ],
- "authors": [
- {
- "name": "Jesus Manuel Olivas",
- "email": "jesus.olivas@gmail.com"
- }
- ],
- "description": "Drupal Console Extend Plugin"
- },
- {
- "name": "drupal/core",
- "version": "8.6.7",
- "version_normalized": "8.6.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/drupal/core.git",
- "reference": "e0a09bda1da7552204464894811a59387608c9f9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/drupal/core/zipball/e0a09bda1da7552204464894811a59387608c9f9",
- "reference": "e0a09bda1da7552204464894811a59387608c9f9",
- "shasum": ""
- },
- "require": {
- "asm89/stack-cors": "^1.1",
- "composer/semver": "^1.0",
- "doctrine/annotations": "^1.2",
- "doctrine/common": "^2.5",
- "easyrdf/easyrdf": "^0.9",
- "egulias/email-validator": "^1.2",
- "ext-date": "*",
- "ext-dom": "*",
- "ext-filter": "*",
- "ext-gd": "*",
- "ext-hash": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-pdo": "*",
- "ext-session": "*",
- "ext-simplexml": "*",
- "ext-spl": "*",
- "ext-tokenizer": "*",
- "ext-xml": "*",
- "guzzlehttp/guzzle": "^6.2.1",
- "masterminds/html5": "^2.1",
- "paragonie/random_compat": "^1.0|^2.0",
- "php": "^5.5.9|>=7.0.8",
- "stack/builder": "^1.0",
- "symfony-cmf/routing": "^1.4",
- "symfony/class-loader": "~3.4.0",
- "symfony/console": "~3.4.0",
- "symfony/dependency-injection": "~3.4.0",
- "symfony/event-dispatcher": "~3.4.0",
- "symfony/http-foundation": "~3.4.14",
- "symfony/http-kernel": "~3.4.14",
- "symfony/polyfill-iconv": "^1.0",
- "symfony/process": "~3.4.0",
- "symfony/psr-http-message-bridge": "^1.0",
- "symfony/routing": "~3.4.0",
- "symfony/serializer": "~3.4.0",
- "symfony/translation": "~3.4.0",
- "symfony/validator": "~3.4.0",
- "symfony/yaml": "~3.4.5",
- "twig/twig": "^1.35.0",
- "typo3/phar-stream-wrapper": "^2.0.1",
- "zendframework/zend-diactoros": "^1.1",
- "zendframework/zend-feed": "^2.4"
- },
- "conflict": {
- "drush/drush": "<8.1.10"
- },
- "replace": {
- "drupal/action": "self.version",
- "drupal/aggregator": "self.version",
- "drupal/automated_cron": "self.version",
- "drupal/ban": "self.version",
- "drupal/bartik": "self.version",
- "drupal/basic_auth": "self.version",
- "drupal/big_pipe": "self.version",
- "drupal/block": "self.version",
- "drupal/block_content": "self.version",
- "drupal/block_place": "self.version",
- "drupal/book": "self.version",
- "drupal/breakpoint": "self.version",
- "drupal/ckeditor": "self.version",
- "drupal/classy": "self.version",
- "drupal/color": "self.version",
- "drupal/comment": "self.version",
- "drupal/config": "self.version",
- "drupal/config_translation": "self.version",
- "drupal/contact": "self.version",
- "drupal/content_moderation": "self.version",
- "drupal/content_translation": "self.version",
- "drupal/contextual": "self.version",
- "drupal/core-annotation": "self.version",
- "drupal/core-assertion": "self.version",
- "drupal/core-bridge": "self.version",
- "drupal/core-class-finder": "self.version",
- "drupal/core-datetime": "self.version",
- "drupal/core-dependency-injection": "self.version",
- "drupal/core-diff": "self.version",
- "drupal/core-discovery": "self.version",
- "drupal/core-event-dispatcher": "self.version",
- "drupal/core-file-cache": "self.version",
- "drupal/core-filesystem": "self.version",
- "drupal/core-gettext": "self.version",
- "drupal/core-graph": "self.version",
- "drupal/core-http-foundation": "self.version",
- "drupal/core-php-storage": "self.version",
- "drupal/core-plugin": "self.version",
- "drupal/core-proxy-builder": "self.version",
- "drupal/core-render": "self.version",
- "drupal/core-serialization": "self.version",
- "drupal/core-transliteration": "self.version",
- "drupal/core-utility": "self.version",
- "drupal/core-uuid": "self.version",
- "drupal/datetime": "self.version",
- "drupal/datetime_range": "self.version",
- "drupal/dblog": "self.version",
- "drupal/dynamic_page_cache": "self.version",
- "drupal/editor": "self.version",
- "drupal/entity_reference": "self.version",
- "drupal/field": "self.version",
- "drupal/field_layout": "self.version",
- "drupal/field_ui": "self.version",
- "drupal/file": "self.version",
- "drupal/filter": "self.version",
- "drupal/forum": "self.version",
- "drupal/hal": "self.version",
- "drupal/help": "self.version",
- "drupal/history": "self.version",
- "drupal/image": "self.version",
- "drupal/inline_form_errors": "self.version",
- "drupal/language": "self.version",
- "drupal/layout_builder": "self.version",
- "drupal/layout_discovery": "self.version",
- "drupal/link": "self.version",
- "drupal/locale": "self.version",
- "drupal/media": "self.version",
- "drupal/media_library": "self.version",
- "drupal/menu_link_content": "self.version",
- "drupal/menu_ui": "self.version",
- "drupal/migrate": "self.version",
- "drupal/migrate_drupal": "self.version",
- "drupal/migrate_drupal_multilingual": "self.version",
- "drupal/migrate_drupal_ui": "self.version",
- "drupal/minimal": "self.version",
- "drupal/node": "self.version",
- "drupal/options": "self.version",
- "drupal/page_cache": "self.version",
- "drupal/path": "self.version",
- "drupal/quickedit": "self.version",
- "drupal/rdf": "self.version",
- "drupal/responsive_image": "self.version",
- "drupal/rest": "self.version",
- "drupal/search": "self.version",
- "drupal/serialization": "self.version",
- "drupal/settings_tray": "self.version",
- "drupal/seven": "self.version",
- "drupal/shortcut": "self.version",
- "drupal/simpletest": "self.version",
- "drupal/standard": "self.version",
- "drupal/stark": "self.version",
- "drupal/statistics": "self.version",
- "drupal/syslog": "self.version",
- "drupal/system": "self.version",
- "drupal/taxonomy": "self.version",
- "drupal/telephone": "self.version",
- "drupal/text": "self.version",
- "drupal/toolbar": "self.version",
- "drupal/tour": "self.version",
- "drupal/tracker": "self.version",
- "drupal/update": "self.version",
- "drupal/user": "self.version",
- "drupal/views": "self.version",
- "drupal/views_ui": "self.version",
- "drupal/workflows": "self.version",
- "drupal/workspaces": "self.version"
- },
- "require-dev": {
- "behat/mink": "1.7.x-dev",
- "behat/mink-goutte-driver": "^1.2",
- "behat/mink-selenium2-driver": "1.3.x-dev",
- "drupal/coder": "^8.2.12",
- "jcalderonzumba/gastonjs": "^1.0.2",
- "jcalderonzumba/mink-phantomjs-driver": "^0.3.1",
- "mikey179/vfsstream": "^1.2",
- "phpspec/prophecy": "^1.7",
- "phpunit/phpunit": "^4.8.35 || ^6.5",
- "symfony/css-selector": "^3.4.0",
- "symfony/debug": "^3.4.0",
- "symfony/phpunit-bridge": "^3.4.3"
- },
- "time": "2019-01-16T23:30:03+00:00",
- "type": "drupal-core",
- "extra": {
- "merge-plugin": {
- "require": [
- "core/lib/Drupal/Component/Annotation/composer.json",
- "core/lib/Drupal/Component/Assertion/composer.json",
- "core/lib/Drupal/Component/Bridge/composer.json",
- "core/lib/Drupal/Component/ClassFinder/composer.json",
- "core/lib/Drupal/Component/Datetime/composer.json",
- "core/lib/Drupal/Component/DependencyInjection/composer.json",
- "core/lib/Drupal/Component/Diff/composer.json",
- "core/lib/Drupal/Component/Discovery/composer.json",
- "core/lib/Drupal/Component/EventDispatcher/composer.json",
- "core/lib/Drupal/Component/FileCache/composer.json",
- "core/lib/Drupal/Component/FileSystem/composer.json",
- "core/lib/Drupal/Component/Gettext/composer.json",
- "core/lib/Drupal/Component/Graph/composer.json",
- "core/lib/Drupal/Component/HttpFoundation/composer.json",
- "core/lib/Drupal/Component/PhpStorage/composer.json",
- "core/lib/Drupal/Component/Plugin/composer.json",
- "core/lib/Drupal/Component/ProxyBuilder/composer.json",
- "core/lib/Drupal/Component/Render/composer.json",
- "core/lib/Drupal/Component/Serialization/composer.json",
- "core/lib/Drupal/Component/Transliteration/composer.json",
- "core/lib/Drupal/Component/Utility/composer.json",
- "core/lib/Drupal/Component/Uuid/composer.json"
- ],
- "recurse": false,
- "replace": false,
- "merge-extra": false
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Drupal\\Core\\": "lib/Drupal/Core",
- "Drupal\\Component\\": "lib/Drupal/Component",
- "Drupal\\Driver\\": "../drivers/lib/Drupal/Driver"
- },
- "classmap": [
- "lib/Drupal.php",
- "lib/Drupal/Component/Utility/Timer.php",
- "lib/Drupal/Component/Utility/Unicode.php",
- "lib/Drupal/Core/Database/Database.php",
- "lib/Drupal/Core/DrupalKernel.php",
- "lib/Drupal/Core/DrupalKernelInterface.php",
- "lib/Drupal/Core/Site/Settings.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0-or-later"
- ],
- "description": "Drupal is an open source content management platform powering millions of websites and applications."
- },
- {
- "name": "drupal/ctools",
- "version": "3.0.0",
- "version_normalized": "3.0.0.0",
- "source": {
- "type": "git",
- "url": "https://git.drupal.org/project/ctools",
- "reference": "8.x-3.0"
- },
- "dist": {
- "type": "zip",
- "url": "https://ftp.drupal.org/files/projects/ctools-8.x-3.0.zip",
- "reference": "8.x-3.0",
- "shasum": "302e869ecd1e59fe55663673999fee2ccac5daa8"
- },
- "require": {
- "drupal/core": "~8.0"
- },
- "type": "drupal-module",
- "extra": {
- "branch-alias": {
- "dev-3.x": "3.x-dev"
- },
- "drupal": {
- "version": "8.x-3.0",
- "datestamp": "1493401742",
- "security-coverage": {
- "status": "covered",
- "message": "Covered by Drupal's security advisory policy"
- }
- }
- },
- "installation-source": "dist",
- "notification-url": "https://packages.drupal.org/8/downloads",
- "license": [
- "GPL-2.0+"
- ],
- "authors": [
- {
- "name": "Kris Vanderwater (EclipseGc)",
- "homepage": "https://www.drupal.org/u/eclipsegc",
- "role": "Maintainer"
- },
- {
- "name": "Jakob Perry (japerry)",
- "homepage": "https://www.drupal.org/u/japerry",
- "role": "Maintainer"
- },
- {
- "name": "Tim Plunkett (tim.plunkett)",
- "homepage": "https://www.drupal.org/u/timplunkett",
- "role": "Maintainer"
- },
- {
- "name": "James Gilliland (neclimdul)",
- "homepage": "https://www.drupal.org/u/neclimdul",
- "role": "Maintainer"
- },
- {
- "name": "Daniel Wehner (dawehner)",
- "homepage": "https://www.drupal.org/u/dawehner",
- "role": "Maintainer"
- },
- {
- "name": "joelpittet",
- "homepage": "https://www.drupal.org/user/160302"
- },
- {
- "name": "merlinofchaos",
- "homepage": "https://www.drupal.org/user/26979"
- },
- {
- "name": "neclimdul",
- "homepage": "https://www.drupal.org/user/48673"
- },
- {
- "name": "sdboyer",
- "homepage": "https://www.drupal.org/user/146719"
- },
- {
- "name": "sun",
- "homepage": "https://www.drupal.org/user/54136"
- },
- {
- "name": "tim.plunkett",
- "homepage": "https://www.drupal.org/user/241634"
- }
- ],
- "description": "Provides a number of utility and helper APIs for Drupal developers and site builders.",
- "homepage": "https://www.drupal.org/project/ctools",
- "support": {
- "source": "http://cgit.drupalcode.org/ctools",
- "issues": "https://www.drupal.org/project/issues/ctools"
- }
- },
- {
- "name": "drupal/pathauto",
- "version": "1.3.0",
- "version_normalized": "1.3.0.0",
- "source": {
- "type": "git",
- "url": "https://git.drupal.org/project/pathauto",
- "reference": "8.x-1.3"
- },
- "dist": {
- "type": "zip",
- "url": "https://ftp.drupal.org/files/projects/pathauto-8.x-1.3.zip",
- "reference": "8.x-1.3",
- "shasum": "115d5998d7636a03e26c7ce34261b65809d53965"
- },
- "require": {
- "drupal/core": "^8.5",
- "drupal/ctools": "*",
- "drupal/token": "*"
- },
- "type": "drupal-module",
- "extra": {
- "branch-alias": {
- "dev-1.x": "1.x-dev"
- },
- "drupal": {
- "version": "8.x-1.3",
- "datestamp": "1536407884",
- "security-coverage": {
- "status": "covered",
- "message": "Covered by Drupal's security advisory policy"
- }
- }
- },
- "installation-source": "dist",
- "notification-url": "https://packages.drupal.org/8/downloads",
- "license": [
- "GPL-2.0-or-later"
- ],
- "authors": [
- {
- "name": "Berdir",
- "homepage": "https://www.drupal.org/user/214652"
- },
- {
- "name": "Dave Reid",
- "homepage": "https://www.drupal.org/user/53892"
- },
- {
- "name": "Freso",
- "homepage": "https://www.drupal.org/user/27504"
- },
- {
- "name": "greggles",
- "homepage": "https://www.drupal.org/user/36762"
- }
- ],
- "description": "Provides a mechanism for modules to automatically generate aliases for the content they manage.",
- "homepage": "https://www.drupal.org/project/pathauto",
- "support": {
- "source": "http://cgit.drupalcode.org/pathauto"
- }
- },
- {
- "name": "drupal/stage_file_proxy",
- "version": "1.0.0-alpha3",
- "version_normalized": "1.0.0.0-alpha3",
- "source": {
- "type": "git",
- "url": "https://git.drupal.org/project/stage_file_proxy",
- "reference": "8.x-1.0-alpha3"
- },
- "dist": {
- "type": "zip",
- "url": "https://ftp.drupal.org/files/projects/stage_file_proxy-8.x-1.0-alpha3.zip",
- "reference": "8.x-1.0-alpha3",
- "shasum": "0eb1fc47fa1437c2db623a57c2b2cdbecab5b350"
- },
- "require": {
- "drupal/core": "~8.0"
- },
- "type": "drupal-module",
- "extra": {
- "branch-alias": {
- "dev-1.x": "1.x-dev"
- },
- "drupal": {
- "version": "8.x-1.0-alpha3",
- "datestamp": "1499900942",
- "security-coverage": {
- "status": "not-covered",
- "message": "Alpha releases are not covered by Drupal security advisories."
- }
- }
- },
- "installation-source": "dist",
- "notification-url": "https://packages.drupal.org/8/downloads",
- "license": [
- "GPL-2.0+"
- ],
- "authors": [
- {
- "name": "BarisW",
- "homepage": "https://www.drupal.org/user/107229"
- },
- {
- "name": "axel.rutz",
- "homepage": "https://www.drupal.org/user/229048"
- },
- {
- "name": "greggles",
- "homepage": "https://www.drupal.org/user/36762"
- },
- {
- "name": "markdorison",
- "homepage": "https://www.drupal.org/user/346106"
- },
- {
- "name": "moshe weitzman",
- "homepage": "https://www.drupal.org/user/23"
- },
- {
- "name": "msonnabaum",
- "homepage": "https://www.drupal.org/user/75278"
- },
- {
- "name": "netaustin",
- "homepage": "https://www.drupal.org/user/199298"
- },
- {
- "name": "robwilmshurst",
- "homepage": "https://www.drupal.org/user/144488"
- }
- ],
- "description": "Provides stage_file_proxy module.",
- "homepage": "https://www.drupal.org/project/stage_file_proxy",
- "support": {
- "source": "http://cgit.drupalcode.org/stage_file_proxy"
- }
- },
- {
- "name": "drupal/token",
- "version": "1.5.0",
- "version_normalized": "1.5.0.0",
- "source": {
- "type": "git",
- "url": "https://git.drupal.org/project/token",
- "reference": "8.x-1.5"
- },
- "dist": {
- "type": "zip",
- "url": "https://ftp.drupal.org/files/projects/token-8.x-1.5.zip",
- "reference": "8.x-1.5",
- "shasum": "6382a7e1aabbd8246f1117a26bf4916d285b401d"
- },
- "require": {
- "drupal/core": "^8.5"
- },
- "type": "drupal-module",
- "extra": {
- "branch-alias": {
- "dev-1.x": "1.x-dev"
- },
- "drupal": {
- "version": "8.x-1.5",
- "datestamp": "1537557481",
- "security-coverage": {
- "status": "covered",
- "message": "Covered by Drupal's security advisory policy"
- }
- }
- },
- "installation-source": "dist",
- "notification-url": "https://packages.drupal.org/8/downloads",
- "license": [
- "GPL-2.0-or-later"
- ],
- "authors": [
- {
- "name": "Berdir",
- "homepage": "https://www.drupal.org/user/214652"
- },
- {
- "name": "Dave Reid",
- "homepage": "https://www.drupal.org/user/53892"
- },
- {
- "name": "eaton",
- "homepage": "https://www.drupal.org/user/16496"
- },
- {
- "name": "fago",
- "homepage": "https://www.drupal.org/user/16747"
- },
- {
- "name": "greggles",
- "homepage": "https://www.drupal.org/user/36762"
- },
- {
- "name": "mikeryan",
- "homepage": "https://www.drupal.org/user/4420"
- }
- ],
- "description": "Provides a user interface for the Token API and some missing core tokens.",
- "homepage": "https://www.drupal.org/project/token",
- "support": {
- "source": "http://cgit.drupalcode.org/token"
- }
- },
- {
- "name": "drupal/webform",
- "version": "5.1.0",
- "version_normalized": "5.1.0.0",
- "source": {
- "type": "git",
- "url": "https://git.drupal.org/project/webform",
- "reference": "8.x-5.1"
- },
- "dist": {
- "type": "zip",
- "url": "https://ftp.drupal.org/files/projects/webform-8.x-5.1.zip",
- "reference": "8.x-5.1",
- "shasum": "d04743f078dc154685f9532253e6b5ea8dda1a56"
- },
- "require": {
- "drupal/core": "*"
- },
- "require-dev": {
- "drupal/address": "~1.4",
- "drupal/chosen": "~2.6",
- "drupal/devel": "*",
- "drupal/jsonapi": "~2.0",
- "drupal/select2": "~1.1",
- "drupal/token": "~1.3",
- "drupal/webform_access": "*",
- "drupal/webform_node": "*",
- "drupal/webform_scheduled_email": "*",
- "drupal/webform_ui": "*"
- },
- "type": "drupal-module",
- "extra": {
- "branch-alias": {
- "dev-5.x": "5.x-dev"
- },
- "drupal": {
- "version": "8.x-5.1",
- "datestamp": "1546458480",
- "security-coverage": {
- "status": "covered",
- "message": "Covered by Drupal's security advisory policy"
- }
- },
- "drush": {
- "services": {
- "drush.services.yml": "^9"
- }
- }
- },
- "installation-source": "dist",
- "notification-url": "https://packages.drupal.org/8/downloads",
- "license": [
- "GPL-2.0+"
- ],
- "authors": [
- {
- "name": "Jacob Rockowitz (jrockowitz)",
- "homepage": "https://www.drupal.org/u/jrockowitz",
- "role": "Maintainer"
- },
- {
- "name": "Alexander Trotsenko (bucefal91)",
- "homepage": "https://www.drupal.org/u/bucefal91",
- "role": "Co-maintainer"
- },
- {
- "name": "bucefal91",
- "homepage": "https://www.drupal.org/user/504128"
- },
- {
- "name": "fenstrat",
- "homepage": "https://www.drupal.org/user/362649"
- },
- {
- "name": "jrockowitz",
- "homepage": "https://www.drupal.org/user/371407"
- },
- {
- "name": "podarok",
- "homepage": "https://www.drupal.org/user/116002"
- },
- {
- "name": "quicksketch",
- "homepage": "https://www.drupal.org/user/35821"
- },
- {
- "name": "sanchiz",
- "homepage": "https://www.drupal.org/user/1671246"
- },
- {
- "name": "tedbow",
- "homepage": "https://www.drupal.org/user/240860"
- },
- {
- "name": "torotil",
- "homepage": "https://www.drupal.org/user/865256"
- }
- ],
- "description": "Enables the creation of webforms and questionnaires.",
- "homepage": "https://drupal.org/project/webform",
- "support": {
- "source": "http://cgit.drupalcode.org/webform",
- "issues": "https://www.drupal.org/project/issues/webform?version=8.x",
- "docs": "https://www.drupal.org/docs/8/modules/webform",
- "forum": "https://drupal.stackexchange.com/questions/tagged/webform"
- }
- },
- {
- "name": "drush/drush",
- "version": "9.4.0",
- "version_normalized": "9.4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/drush-ops/drush.git",
- "reference": "9d46a2a67554ae8b6f6edec234a1272c3b4c6a9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/drush-ops/drush/zipball/9d46a2a67554ae8b6f6edec234a1272c3b4c6a9e",
- "reference": "9d46a2a67554ae8b6f6edec234a1272c3b4c6a9e",
- "shasum": ""
- },
- "require": {
- "chi-teck/drupal-code-generator": "^1.24.0",
- "composer/semver": "^1.4",
- "consolidation/annotated-command": "^2.8.1",
- "consolidation/config": "^1.1.0",
- "consolidation/output-formatters": "^3.1.12",
- "consolidation/robo": "^1.1.5",
- "consolidation/site-alias": "^1.1.2",
- "ext-dom": "*",
- "grasmash/yaml-expander": "^1.1.1",
- "league/container": "~2",
- "php": ">=5.6.0",
- "psr/log": "~1.0",
- "psy/psysh": "~0.6",
- "symfony/config": "~2.2|^3",
- "symfony/console": "~2.7|^3",
- "symfony/event-dispatcher": "~2.7|^3",
- "symfony/finder": "~2.7|^3",
- "symfony/process": "~2.7|^3",
- "symfony/var-dumper": "~2.7|^3|^4",
- "symfony/yaml": "~2.3|^3",
- "webflo/drupal-finder": "^1.1",
- "webmozart/path-util": "^2.1.0"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2.2.0",
- "lox/xhprof": "dev-master",
- "phpunit/phpunit": "^4.8.36|^5.5.4",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "time": "2018-09-04T17:24:36+00:00",
- "bin": [
- "drush"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "9.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Drush\\": "src/",
- "Drush\\Internal\\": "internal-copy/",
- "Unish\\": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0-or-later"
- ],
- "authors": [
- {
- "name": "Moshe Weitzman",
- "email": "weitzman@tejasa.com"
- },
- {
- "name": "Owen Barton",
- "email": "drupal@owenbarton.com"
- },
- {
- "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"
- },
- {
- "name": "Christopher Gervais",
- "email": "chris@ergonlogic.com"
- },
- {
- "name": "Dave Reid",
- "email": "dave@davereid.net"
- },
- {
- "name": "Damian Lee",
- "email": "damiankloip@googlemail.com"
- }
- ],
- "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"
- },
- {
- "name": "easyrdf/easyrdf",
- "version": "0.9.1",
- "version_normalized": "0.9.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/njh/easyrdf.git",
- "reference": "acd09dfe0555fbcfa254291e433c45fdd4652566"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/njh/easyrdf/zipball/acd09dfe0555fbcfa254291e433c45fdd4652566",
- "reference": "acd09dfe0555fbcfa254291e433c45fdd4652566",
- "shasum": ""
- },
- "require": {
- "ext-mbstring": "*",
- "ext-pcre": "*",
- "php": ">=5.2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "~3.5",
- "sami/sami": "~1.4",
- "squizlabs/php_codesniffer": "~1.4.3"
- },
- "suggest": {
- "ml/json-ld": "~1.0"
- },
- "time": "2015-02-27T09:45:49+00:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "EasyRdf_": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Nicholas Humfrey",
- "email": "njh@aelius.com",
- "homepage": "http://www.aelius.com/njh/",
- "role": "Developer"
- },
- {
- "name": "Alexey Zakhlestin",
- "email": "indeyets@gmail.com",
- "role": "Developer"
- }
- ],
- "description": "EasyRdf is a PHP library designed to make it easy to consume and produce RDF.",
- "homepage": "http://www.easyrdf.org/",
- "keywords": [
- "Linked Data",
- "RDF",
- "Semantic Web",
- "Turtle",
- "rdfa",
- "sparql"
- ]
- },
- {
- "name": "egulias/email-validator",
- "version": "1.2.15",
- "version_normalized": "1.2.15.0",
- "source": {
- "type": "git",
- "url": "https://github.com/egulias/EmailValidator.git",
- "reference": "758a77525bdaabd6c0f5669176bd4361cb2dda9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/758a77525bdaabd6c0f5669176bd4361cb2dda9e",
- "reference": "758a77525bdaabd6c0f5669176bd4361cb2dda9e",
- "shasum": ""
- },
- "require": {
- "doctrine/lexer": "^1.0.1",
- "php": ">= 5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.24"
- },
- "time": "2018-09-25T20:59:41+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Egulias\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Eduardo Gulias Davis"
- }
- ],
- "description": "A library for validating emails",
- "homepage": "https://github.com/egulias/EmailValidator",
- "keywords": [
- "email",
- "emailvalidation",
- "emailvalidator",
- "validation",
- "validator"
- ]
- },
- {
- "name": "grasmash/expander",
- "version": "1.0.0",
- "version_normalized": "1.0.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/expander.git",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/expander/zipball/95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "time": "2017-12-21T22:14:55+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Grasmash\\Expander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in PHP arrays file."
- },
- {
- "name": "grasmash/yaml-expander",
- "version": "1.4.0",
- "version_normalized": "1.4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/yaml-expander.git",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4.8|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "time": "2017-12-16T16:06:03+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Grasmash\\YamlExpander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in a yaml file."
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.3",
- "version_normalized": "6.3.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "time": "2018-04-22T15:46:56+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.3-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ]
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "version_normalized": "1.3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "time": "2016-12-20T10:07:11+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ]
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.5.2",
- "version_normalized": "1.5.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "9f83dded91781a01c63574e387eaa769be769115"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/9f83dded91781a01c63574e387eaa769be769115",
- "reference": "9f83dded91781a01c63574e387eaa769be769115",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0",
- "ralouphie/getallheaders": "^2.0.5"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
- },
- "time": "2018-12-04T20:46:45+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.5-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "psr-7",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ]
- },
- {
- "name": "jakub-onderka/php-console-color",
- "version": "v0.2",
- "version_normalized": "0.2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/JakubOnderka/PHP-Console-Color.git",
- "reference": "d5deaecff52a0d61ccb613bb3804088da0307191"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/d5deaecff52a0d61ccb613bb3804088da0307191",
- "reference": "d5deaecff52a0d61ccb613bb3804088da0307191",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0"
- },
- "require-dev": {
- "jakub-onderka/php-code-style": "1.0",
- "jakub-onderka/php-parallel-lint": "1.0",
- "jakub-onderka/php-var-dump-check": "0.*",
- "phpunit/phpunit": "~4.3",
- "squizlabs/php_codesniffer": "1.*"
- },
- "time": "2018-09-29T17:23:10+00:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "JakubOnderka\\PhpConsoleColor\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Jakub Onderka",
- "email": "jakub.onderka@gmail.com"
- }
- ]
- },
- {
- "name": "jakub-onderka/php-console-highlighter",
- "version": "v0.4",
- "version_normalized": "0.4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git",
- "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/9f7a229a69d52506914b4bc61bfdb199d90c5547",
- "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "jakub-onderka/php-console-color": "~0.2",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "jakub-onderka/php-code-style": "~1.0",
- "jakub-onderka/php-parallel-lint": "~1.0",
- "jakub-onderka/php-var-dump-check": "~0.1",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~1.5"
- },
- "time": "2018-09-29T18:48:56+00:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "JakubOnderka\\PhpConsoleHighlighter\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jakub Onderka",
- "email": "acci@acci.cz",
- "homepage": "http://www.acci.cz/"
- }
- ],
- "description": "Highlight PHP code in terminal"
- },
- {
- "name": "league/container",
- "version": "2.4.1",
- "version_normalized": "2.4.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/thephpleague/container.git",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/thephpleague/container/zipball/43f35abd03a12977a60ffd7095efd6a7808488c0",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0",
- "shasum": ""
- },
- "require": {
- "container-interop/container-interop": "^1.2",
- "php": "^5.4.0 || ^7.0"
- },
- "provide": {
- "container-interop/container-interop-implementation": "^1.2",
- "psr/container-implementation": "^1.0"
- },
- "replace": {
- "orno/di": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*"
- },
- "time": "2017-05-10T09:20:27+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-2.x": "2.x-dev",
- "dev-1.x": "1.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "League\\Container\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Phil Bennett",
- "email": "philipobenito@gmail.com",
- "homepage": "http://www.philipobenito.com",
- "role": "Developer"
- }
- ],
- "description": "A fast and intuitive dependency injection container.",
- "homepage": "https://github.com/thephpleague/container",
- "keywords": [
- "container",
- "dependency",
- "di",
- "injection",
- "league",
- "provider",
- "service"
- ]
- },
- {
- "name": "masterminds/html5",
- "version": "2.5.0",
- "version_normalized": "2.5.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Masterminds/html5-php.git",
- "reference": "b5d892a4bd058d61f736935d32a9c248f11ccc93"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/b5d892a4bd058d61f736935d32a9c248f11ccc93",
- "reference": "b5d892a4bd058d61f736935d32a9c248f11ccc93",
- "shasum": ""
- },
- "require": {
- "ext-ctype": "*",
- "ext-dom": "*",
- "ext-libxml": "*",
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35",
- "sami/sami": "~2.0",
- "satooshi/php-coveralls": "1.0.*"
- },
- "time": "2018-12-27T22:03:43+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Masterminds\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matt Butcher",
- "email": "technosophos@gmail.com"
- },
- {
- "name": "Asmir Mustafic",
- "email": "goetas@gmail.com"
- },
- {
- "name": "Matt Farina",
- "email": "matt@mattfarina.com"
- }
- ],
- "description": "An HTML5 parser and serializer.",
- "homepage": "http://masterminds.github.io/html5-php",
- "keywords": [
- "HTML5",
- "dom",
- "html",
- "parser",
- "querypath",
- "serializer",
- "xml"
- ]
- },
- {
- "name": "nikic/php-parser",
- "version": "v4.2.0",
- "version_normalized": "4.2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/594bcae1fc0bccd3993d2f0d61a018e26ac2865a",
- "reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.5 || ^7.0"
- },
- "time": "2019-01-12T16:31:37+00:00",
- "bin": [
- "bin/php-parse"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "PhpParser\\": "lib/PhpParser"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Nikita Popov"
- }
- ],
- "description": "A PHP parser written in PHP",
- "keywords": [
- "parser",
- "php"
- ]
- },
- {
- "name": "paragonie/random_compat",
- "version": "v2.0.18",
- "version_normalized": "2.0.18.0",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/random_compat.git",
- "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paragonie/random_compat/zipball/0a58ef6e3146256cc3dc7cc393927bcc7d1b72db",
- "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db",
- "shasum": ""
- },
- "require": {
- "php": ">=5.2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*|5.*"
- },
- "suggest": {
- "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
- },
- "time": "2019-01-03T20:59:08+00:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "files": [
- "lib/random.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com"
- }
- ],
- "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
- "keywords": [
- "csprng",
- "polyfill",
- "pseudorandom",
- "random"
- ]
- },
- {
- "name": "psr/container",
- "version": "1.0.0",
- "version_normalized": "1.0.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/container.git",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "time": "2017-02-14T16:28:37+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Psr\\Container\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common Container Interface (PHP FIG PSR-11)",
- "homepage": "https://github.com/php-fig/container",
- "keywords": [
- "PSR-11",
- "container",
- "container-interface",
- "container-interop",
- "psr"
- ]
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "version_normalized": "1.0.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "time": "2016-08-06T14:39:51+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ]
- },
- {
- "name": "psr/log",
- "version": "1.1.0",
- "version_normalized": "1.1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "time": "2018-11-20T15:27:04+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ]
- },
- {
- "name": "psy/psysh",
- "version": "v0.9.9",
- "version_normalized": "0.9.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/bobthecow/psysh.git",
- "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9aaf29575bb8293206bb0420c1e1c87ff2ffa94e",
- "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e",
- "shasum": ""
- },
- "require": {
- "dnoegel/php-xdg-base-dir": "0.1",
- "ext-json": "*",
- "ext-tokenizer": "*",
- "jakub-onderka/php-console-highlighter": "0.3.*|0.4.*",
- "nikic/php-parser": "~1.3|~2.0|~3.0|~4.0",
- "php": ">=5.4.0",
- "symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0",
- "symfony/var-dumper": "~2.7|~3.0|~4.0"
- },
- "require-dev": {
- "bamarni/composer-bin-plugin": "^1.2",
- "hoa/console": "~2.15|~3.16",
- "phpunit/phpunit": "~4.8.35|~5.0|~6.0|~7.0"
- },
- "suggest": {
- "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
- "ext-pdo-sqlite": "The doc command requires SQLite to work.",
- "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",
- "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.",
- "hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit."
- },
- "time": "2018-10-13T15:16:03+00:00",
- "bin": [
- "bin/psysh"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-develop": "0.9.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "files": [
- "src/functions.php"
- ],
- "psr-4": {
- "Psy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Justin Hileman",
- "email": "justin@justinhileman.info",
- "homepage": "http://justinhileman.com"
- }
- ],
- "description": "An interactive shell for modern PHP.",
- "homepage": "http://psysh.org",
- "keywords": [
- "REPL",
- "console",
- "interactive",
- "shell"
- ]
- },
- {
- "name": "ralouphie/getallheaders",
- "version": "2.0.5",
- "version_normalized": "2.0.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/ralouphie/getallheaders.git",
- "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
- "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~3.7.0",
- "satooshi/php-coveralls": ">=1.0"
- },
- "time": "2016-02-11T07:05:27+00:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "files": [
- "src/getallheaders.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ralph Khattar",
- "email": "ralph.khattar@gmail.com"
- }
- ],
- "description": "A polyfill for getallheaders."
- },
- {
- "name": "stack/builder",
- "version": "v1.0.5",
- "version_normalized": "1.0.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/stackphp/builder.git",
- "reference": "fb3d136d04c6be41120ebf8c0cc71fe9507d750a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/stackphp/builder/zipball/fb3d136d04c6be41120ebf8c0cc71fe9507d750a",
- "reference": "fb3d136d04c6be41120ebf8c0cc71fe9507d750a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "symfony/http-foundation": "~2.1|~3.0|~4.0",
- "symfony/http-kernel": "~2.1|~3.0|~4.0"
- },
- "require-dev": {
- "silex/silex": "~1.0"
- },
- "time": "2017-11-18T14:57:29+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Stack": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Igor Wiedler",
- "email": "igor@wiedler.ch"
- }
- ],
- "description": "Builder for stack middlewares based on HttpKernelInterface.",
- "keywords": [
- "stack"
- ]
- },
- {
- "name": "stecman/symfony-console-completion",
- "version": "0.9.0",
- "version_normalized": "0.9.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/stecman/symfony-console-completion.git",
- "reference": "bd07a24190541de2828c1d6469a8ddce599d3c5a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/stecman/symfony-console-completion/zipball/bd07a24190541de2828c1d6469a8ddce599d3c5a",
- "reference": "bd07a24190541de2828c1d6469a8ddce599d3c5a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2",
- "symfony/console": "~2.3 || ~3.0 || ~4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8.36 || ~5.7 || ~6.4"
- },
- "time": "2019-01-19T21:25:25+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "0.6.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Stecman\\Component\\Symfony\\Console\\BashCompletion\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Stephen Holdaway",
- "email": "stephen@stecman.co.nz"
- }
- ],
- "description": "Automatic BASH completion for Symfony Console Component based applications."
- },
- {
- "name": "symfony-cmf/routing",
- "version": "1.4.1",
- "version_normalized": "1.4.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony-cmf/routing.git",
- "reference": "fb1e7f85ff8c6866238b7e73a490a0a0243ae8ac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony-cmf/routing/zipball/fb1e7f85ff8c6866238b7e73a490a0a0243ae8ac",
- "reference": "fb1e7f85ff8c6866238b7e73a490a0a0243ae8ac",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.9|^7.0",
- "psr/log": "1.*",
- "symfony/http-kernel": "^2.2|3.*",
- "symfony/routing": "^2.2|3.*"
- },
- "require-dev": {
- "friendsofsymfony/jsrouting-bundle": "^1.1",
- "symfony-cmf/testing": "^1.3",
- "symfony/config": "^2.2|3.*",
- "symfony/dependency-injection": "^2.0.5|3.*",
- "symfony/event-dispatcher": "^2.1|3.*"
- },
- "suggest": {
- "symfony/event-dispatcher": "DynamicRouter can optionally trigger an event at the start of matching. Minimal version (~2.1)"
- },
- "time": "2017-05-09T08:10:41+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Cmf\\Component\\Routing\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony CMF Community",
- "homepage": "https://github.com/symfony-cmf/Routing/contributors"
- }
- ],
- "description": "Extends the Symfony2 routing component for dynamic routes and chaining several routers",
- "homepage": "http://cmf.symfony.com",
- "keywords": [
- "database",
- "routing"
- ]
- },
- {
- "name": "symfony/class-loader",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/class-loader.git",
- "reference": "4513348012c25148f8cbc3a7761a1d1e60ca3e87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/class-loader/zipball/4513348012c25148f8cbc3a7761a1d1e60ca3e87",
- "reference": "4513348012c25148f8cbc3a7761a1d1e60ca3e87",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "require-dev": {
- "symfony/finder": "~2.8|~3.0|~4.0",
- "symfony/polyfill-apcu": "~1.1"
- },
- "suggest": {
- "symfony/polyfill-apcu": "For using ApcClassLoader on HHVM"
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\ClassLoader\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony ClassLoader Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/config",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "17c5d8941eb75a03d19bc76a43757738632d87b3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/17c5d8941eb75a03d19bc76a43757738632d87b3",
- "reference": "17c5d8941eb75a03d19bc76a43757738632d87b3",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/filesystem": "~2.8|~3.0|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3",
- "symfony/finder": "<3.3"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/event-dispatcher": "~3.3|~4.0",
- "symfony/finder": "~3.3|~4.0",
- "symfony/yaml": "~3.0|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/console",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "a700b874d3692bc8342199adfb6d3b99f62cc61a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/a700b874d3692bc8342199adfb6d3b99f62cc61a",
- "reference": "a700b874d3692bc8342199adfb6d3b99f62cc61a",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/debug": "~2.8|~3.0|~4.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.3|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "time": "2019-01-04T04:42:43+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/css-selector",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/css-selector.git",
- "reference": "12f86295c46c36af9896cf21db6b6b8a1465315d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/12f86295c46c36af9896cf21db6b6b8a1465315d",
- "reference": "12f86295c46c36af9896cf21db6b6b8a1465315d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "time": "2019-01-02T09:30:52+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\CssSelector\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jean-François Simon",
- "email": "jeanfrancois.simon@sensiolabs.com"
- },
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony CssSelector Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/debug",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "26d7f23b9bd0b93bee5583e4d6ca5cb1ab31b186"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/26d7f23b9bd0b93bee5583e4d6ca5cb1ab31b186",
- "reference": "26d7f23b9bd0b93bee5583e4d6ca5cb1ab31b186",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0|~4.0"
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/dependency-injection",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dependency-injection.git",
- "reference": "928a38b18bd632d67acbca74d0b2eed09915e83e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/928a38b18bd632d67acbca74d0b2eed09915e83e",
- "reference": "928a38b18bd632d67acbca74d0b2eed09915e83e",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/container": "^1.0"
- },
- "conflict": {
- "symfony/config": "<3.3.7",
- "symfony/finder": "<3.3",
- "symfony/proxy-manager-bridge": "<3.4",
- "symfony/yaml": "<3.4"
- },
- "provide": {
- "psr/container-implementation": "1.0"
- },
- "require-dev": {
- "symfony/config": "~3.3|~4.0",
- "symfony/expression-language": "~2.8|~3.0|~4.0",
- "symfony/yaml": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/config": "",
- "symfony/expression-language": "For using expressions in service container configuration",
- "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required",
- "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them",
- "symfony/yaml": ""
- },
- "time": "2019-01-05T12:26:58+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DependencyInjection\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DependencyInjection Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "311f666d85d1075b0a294ba1f3de4ae9307d8180"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/311f666d85d1075b0a294ba1f3de4ae9307d8180",
- "reference": "311f666d85d1075b0a294ba1f3de4ae9307d8180",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0|~4.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "d1cdd46c53c264a2bd42505bd0e8ce21423bd0e2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d1cdd46c53c264a2bd42505bd0e8ce21423bd0e2",
- "reference": "d1cdd46c53c264a2bd42505bd0e8ce21423bd0e2",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0|~4.0",
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/expression-language": "~2.8|~3.0|~4.0",
- "symfony/stopwatch": "~2.8|~3.0|~4.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "time": "2019-01-01T18:08:36+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "c24ce3d18ccc9bb9d7e1d6ce9330fcc6061cafde"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/c24ce3d18ccc9bb9d7e1d6ce9330fcc6061cafde",
- "reference": "c24ce3d18ccc9bb9d7e1d6ce9330fcc6061cafde",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/finder",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "3f2a2ab6315dd7682d4c16dcae1e7b95c8b8555e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/3f2a2ab6315dd7682d4c16dcae1e7b95c8b8555e",
- "reference": "3f2a2ab6315dd7682d4c16dcae1e7b95c8b8555e",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/http-foundation",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-foundation.git",
- "reference": "2b97319e68816d2120eee7f13f4b76da12e04d03"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/2b97319e68816d2120eee7f13f4b76da12e04d03",
- "reference": "2b97319e68816d2120eee7f13f4b76da12e04d03",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-mbstring": "~1.1",
- "symfony/polyfill-php70": "~1.6"
- },
- "require-dev": {
- "symfony/expression-language": "~2.8|~3.0|~4.0"
- },
- "time": "2019-01-05T08:05:37+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpFoundation\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpFoundation Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/http-kernel",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-kernel.git",
- "reference": "60bd9d7444ca436e131c347d78ec039dd99a34b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/60bd9d7444ca436e131c347d78ec039dd99a34b4",
- "reference": "60bd9d7444ca436e131c347d78ec039dd99a34b4",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0",
- "symfony/debug": "~2.8|~3.0|~4.0",
- "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
- "symfony/http-foundation": "~3.4.12|~4.0.12|^4.1.1",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/config": "<2.8",
- "symfony/dependency-injection": "<3.4.10|<4.0.10,>=4",
- "symfony/var-dumper": "<3.3",
- "twig/twig": "<1.34|<2.4,>=2"
- },
- "provide": {
- "psr/log-implementation": "1.0"
- },
- "require-dev": {
- "psr/cache": "~1.0",
- "symfony/browser-kit": "~2.8|~3.0|~4.0",
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/config": "~2.8|~3.0|~4.0",
- "symfony/console": "~2.8|~3.0|~4.0",
- "symfony/css-selector": "~2.8|~3.0|~4.0",
- "symfony/dependency-injection": "^3.4.10|^4.0.10",
- "symfony/dom-crawler": "~2.8|~3.0|~4.0",
- "symfony/expression-language": "~2.8|~3.0|~4.0",
- "symfony/finder": "~2.8|~3.0|~4.0",
- "symfony/process": "~2.8|~3.0|~4.0",
- "symfony/routing": "~3.4|~4.0",
- "symfony/stopwatch": "~2.8|~3.0|~4.0",
- "symfony/templating": "~2.8|~3.0|~4.0",
- "symfony/translation": "~2.8|~3.0|~4.0",
- "symfony/var-dumper": "~3.3|~4.0"
- },
- "suggest": {
- "symfony/browser-kit": "",
- "symfony/config": "",
- "symfony/console": "",
- "symfony/dependency-injection": "",
- "symfony/finder": "",
- "symfony/var-dumper": ""
- },
- "time": "2019-01-06T15:53:59+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpKernel\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpKernel Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "version_normalized": "1.10.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "time": "2018-08-06T14:22:27+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ]
- },
- {
- "name": "symfony/polyfill-iconv",
- "version": "v1.10.0",
- "version_normalized": "1.10.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-iconv.git",
- "reference": "97001cfc283484c9691769f51cdf25259037eba2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/97001cfc283484c9691769f51cdf25259037eba2",
- "reference": "97001cfc283484c9691769f51cdf25259037eba2",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-iconv": "For best performance"
- },
- "time": "2018-09-21T06:26:08+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Iconv\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Iconv extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "iconv",
- "polyfill",
- "portable",
- "shim"
- ]
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "version_normalized": "1.10.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "time": "2018-09-21T13:07:52+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ]
- },
- {
- "name": "symfony/polyfill-php70",
- "version": "v1.10.0",
- "version_normalized": "1.10.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php70.git",
- "reference": "6b88000cdd431cd2e940caa2cb569201f3f84224"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/6b88000cdd431cd2e940caa2cb569201f3f84224",
- "reference": "6b88000cdd431cd2e940caa2cb569201f3f84224",
- "shasum": ""
- },
- "require": {
- "paragonie/random_compat": "~1.0|~2.0|~9.99",
- "php": ">=5.3.3"
- },
- "time": "2018-09-21T06:26:08+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Php70\\": ""
- },
- "files": [
- "bootstrap.php"
- ],
- "classmap": [
- "Resources/stubs"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ]
- },
- {
- "name": "symfony/polyfill-php72",
- "version": "v1.10.0",
- "version_normalized": "1.10.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php72.git",
- "reference": "9050816e2ca34a8e916c3a0ae8b9c2fccf68b631"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9050816e2ca34a8e916c3a0ae8b9c2fccf68b631",
- "reference": "9050816e2ca34a8e916c3a0ae8b9c2fccf68b631",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "time": "2018-09-21T13:07:52+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Php72\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ]
- },
- {
- "name": "symfony/process",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "0d41dd7d95ed179aed6a13393b0f4f97bfa2d25c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/0d41dd7d95ed179aed6a13393b0f4f97bfa2d25c",
- "reference": "0d41dd7d95ed179aed6a13393b0f4f97bfa2d25c",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "time": "2019-01-02T21:24:08+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/psr-http-message-bridge",
- "version": "v1.1.0",
- "version_normalized": "1.1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/psr-http-message-bridge.git",
- "reference": "53c15a6a7918e6c2ab16ae370ea607fb40cab196"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/53c15a6a7918e6c2ab16ae370ea607fb40cab196",
- "reference": "53c15a6a7918e6c2ab16ae370ea607fb40cab196",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0",
- "psr/http-message": "^1.0",
- "symfony/http-foundation": "^2.3.42 || ^3.4 || ^4.0"
- },
- "require-dev": {
- "symfony/phpunit-bridge": "^3.4 || 4.0"
- },
- "suggest": {
- "psr/http-factory-implementation": "To use the PSR-17 factory",
- "psr/http-message-implementation": "To use the HttpFoundation factory",
- "zendframework/zend-diactoros": "To use the Zend Diactoros factory"
- },
- "time": "2018-08-30T16:28:28+00:00",
- "type": "symfony-bridge",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Bridge\\PsrHttpMessage\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "http://symfony.com/contributors"
- },
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- }
- ],
- "description": "PSR HTTP message bridge",
- "homepage": "http://symfony.com",
- "keywords": [
- "http",
- "http-message",
- "psr-7"
- ]
- },
- {
- "name": "symfony/routing",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/routing.git",
- "reference": "445d3629a26930158347a50d1a5f2456c49e0ae6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/445d3629a26930158347a50d1a5f2456c49e0ae6",
- "reference": "445d3629a26930158347a50d1a5f2456c49e0ae6",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "conflict": {
- "symfony/config": "<3.3.1",
- "symfony/dependency-injection": "<3.3",
- "symfony/yaml": "<3.4"
- },
- "require-dev": {
- "doctrine/annotations": "~1.0",
- "psr/log": "~1.0",
- "symfony/config": "^3.3.1|~4.0",
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/expression-language": "~2.8|~3.0|~4.0",
- "symfony/http-foundation": "~2.8|~3.0|~4.0",
- "symfony/yaml": "~3.4|~4.0"
- },
- "suggest": {
- "doctrine/annotations": "For using the annotation loader",
- "symfony/config": "For using the all-in-one router or any loader",
- "symfony/dependency-injection": "For loading routes from a service",
- "symfony/expression-language": "For using expression matching",
- "symfony/http-foundation": "For using a Symfony Request object",
- "symfony/yaml": "For using the YAML loader"
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Routing\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Routing Component",
- "homepage": "https://symfony.com",
- "keywords": [
- "router",
- "routing",
- "uri",
- "url"
- ]
- },
- {
- "name": "symfony/serializer",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/serializer.git",
- "reference": "3bb84f8a785bf30be3d4aef6f3c80f103acc54df"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/serializer/zipball/3bb84f8a785bf30be3d4aef6f3c80f103acc54df",
- "reference": "3bb84f8a785bf30be3d4aef6f3c80f103acc54df",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "phpdocumentor/type-resolver": "<0.2.1",
- "symfony/dependency-injection": "<3.2",
- "symfony/property-access": ">=3.0,<3.0.4|>=2.8,<2.8.4",
- "symfony/property-info": "<3.1",
- "symfony/yaml": "<3.4"
- },
- "require-dev": {
- "doctrine/annotations": "~1.0",
- "doctrine/cache": "~1.0",
- "phpdocumentor/reflection-docblock": "^3.0|^4.0",
- "symfony/cache": "~3.1|~4.0",
- "symfony/config": "~2.8|~3.0|~4.0",
- "symfony/dependency-injection": "~3.2|~4.0",
- "symfony/http-foundation": "~2.8|~3.0|~4.0",
- "symfony/property-access": "~2.8|~3.0|~4.0",
- "symfony/property-info": "~3.1|~4.0",
- "symfony/yaml": "~3.4|~4.0"
- },
- "suggest": {
- "doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.",
- "doctrine/cache": "For using the default cached annotation reader and metadata cache.",
- "psr/cache-implementation": "For using the metadata cache.",
- "symfony/config": "For using the XML mapping loader.",
- "symfony/http-foundation": "To use the DataUriNormalizer.",
- "symfony/property-access": "For using the ObjectNormalizer.",
- "symfony/property-info": "To deserialize relations.",
- "symfony/yaml": "For using the default YAML mapping loader."
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Serializer\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Serializer Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/translation",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/translation.git",
- "reference": "5f357063f4907cef47e5cf82fa3187fbfb700456"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/5f357063f4907cef47e5cf82fa3187fbfb700456",
- "reference": "5f357063f4907cef47e5cf82fa3187fbfb700456",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/config": "<2.8",
- "symfony/dependency-injection": "<3.4",
- "symfony/yaml": "<3.4"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/finder": "~2.8|~3.0|~4.0",
- "symfony/intl": "^2.8.18|^3.2.5|~4.0",
- "symfony/yaml": "~3.4|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "To use logging capability in translator",
- "symfony/config": "",
- "symfony/yaml": ""
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Translation\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Translation Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/validator",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/validator.git",
- "reference": "cd3fba16d309347883b74bb0ee8cb4720a60554c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/validator/zipball/cd3fba16d309347883b74bb0ee8cb4720a60554c",
- "reference": "cd3fba16d309347883b74bb0ee8cb4720a60554c",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8",
- "symfony/polyfill-mbstring": "~1.0",
- "symfony/translation": "~2.8|~3.0|~4.0"
- },
- "conflict": {
- "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
- "symfony/dependency-injection": "<3.3",
- "symfony/http-kernel": "<3.3.5",
- "symfony/yaml": "<3.4"
- },
- "require-dev": {
- "doctrine/annotations": "~1.0",
- "doctrine/cache": "~1.0",
- "egulias/email-validator": "^1.2.8|~2.0",
- "symfony/cache": "~3.1|~4.0",
- "symfony/config": "~2.8|~3.0|~4.0",
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/expression-language": "~2.8|~3.0|~4.0",
- "symfony/http-foundation": "~2.8|~3.0|~4.0",
- "symfony/http-kernel": "^3.3.5|~4.0",
- "symfony/intl": "^2.8.18|^3.2.5|~4.0",
- "symfony/property-access": "~2.8|~3.0|~4.0",
- "symfony/var-dumper": "~3.3|~4.0",
- "symfony/yaml": "~3.4|~4.0"
- },
- "suggest": {
- "doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.",
- "doctrine/cache": "For using the default cached annotation reader and metadata cache.",
- "egulias/email-validator": "Strict (RFC compliant) email validation",
- "psr/cache-implementation": "For using the metadata cache.",
- "symfony/config": "",
- "symfony/expression-language": "For using the Expression validator",
- "symfony/http-foundation": "",
- "symfony/intl": "",
- "symfony/property-access": "For accessing properties within comparison constraints",
- "symfony/yaml": ""
- },
- "time": "2019-01-06T14:07:11+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Validator\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Validator Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "symfony/var-dumper",
- "version": "v4.2.2",
- "version_normalized": "4.2.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/var-dumper.git",
- "reference": "85bde661b178173d85c6f11ea9d03b61d1212bb2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/85bde661b178173d85c6f11ea9d03b61d1212bb2",
- "reference": "85bde661b178173d85c6f11ea9d03b61d1212bb2",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/polyfill-mbstring": "~1.0",
- "symfony/polyfill-php72": "~1.5"
- },
- "conflict": {
- "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "ext-iconv": "*",
- "symfony/console": "~3.4|~4.0",
- "symfony/process": "~3.4|~4.0",
- "twig/twig": "~1.34|~2.4"
- },
- "suggest": {
- "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
- "ext-intl": "To show region name in time zone dump",
- "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script"
- },
- "time": "2019-01-03T09:07:35+00:00",
- "bin": [
- "Resources/bin/var-dump-server"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "files": [
- "Resources/functions/dump.php"
- ],
- "psr-4": {
- "Symfony\\Component\\VarDumper\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony mechanism for exploring and dumping PHP variables",
- "homepage": "https://symfony.com",
- "keywords": [
- "debug",
- "dump"
- ]
- },
- {
- "name": "symfony/yaml",
- "version": "v3.4.21",
- "version_normalized": "3.4.21.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "554a59a1ccbaac238a89b19c8e551a556fd0e2ea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/554a59a1ccbaac238a89b19c8e551a556fd0e2ea",
- "reference": "554a59a1ccbaac238a89b19c8e551a556fd0e2ea",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "time": "2019-01-01T13:45:19+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com"
- },
- {
- "name": "twig/twig",
- "version": "v1.37.1",
- "version_normalized": "1.37.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/twigphp/Twig.git",
- "reference": "66be9366c76cbf23e82e7171d47cbfa54a057a62"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/twigphp/Twig/zipball/66be9366c76cbf23e82e7171d47cbfa54a057a62",
- "reference": "66be9366c76cbf23e82e7171d47cbfa54a057a62",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "symfony/polyfill-ctype": "^1.8"
- },
- "require-dev": {
- "psr/container": "^1.0",
- "symfony/debug": "^2.7",
- "symfony/phpunit-bridge": "^3.4.19|^4.1.8"
- },
- "time": "2019-01-14T14:59:29+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.37-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Twig_": "lib/"
- },
- "psr-4": {
- "Twig\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com",
- "homepage": "http://fabien.potencier.org",
- "role": "Lead Developer"
- },
- {
- "name": "Armin Ronacher",
- "email": "armin.ronacher@active-4.com",
- "role": "Project Founder"
- },
- {
- "name": "Twig Team",
- "homepage": "https://twig.symfony.com/contributors",
- "role": "Contributors"
- }
- ],
- "description": "Twig, the flexible, fast, and secure template language for PHP",
- "homepage": "https://twig.symfony.com",
- "keywords": [
- "templating"
- ]
- },
- {
- "name": "typo3/phar-stream-wrapper",
- "version": "v2.0.1",
- "version_normalized": "2.0.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/TYPO3/phar-stream-wrapper.git",
- "reference": "0469d9fefa0146ea4299d3b11cfbb76faa7045bf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/TYPO3/phar-stream-wrapper/zipball/0469d9fefa0146ea4299d3b11cfbb76faa7045bf",
- "reference": "0469d9fefa0146ea4299d3b11cfbb76faa7045bf",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3|^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "time": "2018-10-18T08:46:28+00:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "TYPO3\\PharStreamWrapper\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Interceptors for PHP's native phar:// stream handling",
- "homepage": "https://typo3.org/",
- "keywords": [
- "phar",
- "php",
- "security",
- "stream-wrapper"
- ]
- },
- {
- "name": "vlucas/phpdotenv",
- "version": "v2.5.2",
- "version_normalized": "2.5.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/vlucas/phpdotenv.git",
- "reference": "cfd5dc225767ca154853752abc93aeec040fcf36"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/cfd5dc225767ca154853752abc93aeec040fcf36",
- "reference": "cfd5dc225767ca154853752abc93aeec040fcf36",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.0"
- },
- "time": "2018-10-30T17:29:25+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.5-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Dotenv\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Vance Lucas",
- "email": "vance@vancelucas.com",
- "homepage": "http://www.vancelucas.com"
- }
- ],
- "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
- "keywords": [
- "dotenv",
- "env",
- "environment"
- ]
- },
- {
- "name": "webflo/drupal-finder",
- "version": "1.1.0",
- "version_normalized": "1.1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webflo/drupal-finder.git",
- "reference": "8a7886c575d6eaa67a425dceccc84e735c0b9637"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webflo/drupal-finder/zipball/8a7886c575d6eaa67a425dceccc84e735c0b9637",
- "reference": "8a7886c575d6eaa67a425dceccc84e735c0b9637",
- "shasum": ""
- },
- "require-dev": {
- "mikey179/vfsstream": "^1.6",
- "phpunit/phpunit": "^4.8"
- },
- "time": "2017-10-24T08:12:11+00:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "classmap": [
- "src/DrupalFinder.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0+"
- ],
- "authors": [
- {
- "name": "Florian Weber",
- "email": "florian@webflo.org"
- }
- ],
- "description": "Helper class to locate a Drupal installation from a given path."
- },
- {
- "name": "webmozart/assert",
- "version": "1.4.0",
- "version_normalized": "1.4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0",
- "symfony/polyfill-ctype": "^1.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "time": "2018-12-25T11:19:39+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ]
- },
- {
- "name": "webmozart/path-util",
- "version": "2.3.0",
- "version_normalized": "2.3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/path-util.git",
- "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/path-util/zipball/d939f7edc24c9a1bb9c0dee5cb05d8e859490725",
- "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "webmozart/assert": "~1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "time": "2015-12-17T08:42:14+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Webmozart\\PathUtil\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths."
- },
- {
- "name": "zendframework/zend-diactoros",
- "version": "1.8.6",
- "version_normalized": "1.8.6.0",
- "source": {
- "type": "git",
- "url": "https://github.com/zendframework/zend-diactoros.git",
- "reference": "20da13beba0dde8fb648be3cc19765732790f46e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/20da13beba0dde8fb648be3cc19765732790f46e",
- "reference": "20da13beba0dde8fb648be3cc19765732790f46e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0",
- "psr/http-message": "^1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "ext-dom": "*",
- "ext-libxml": "*",
- "php-http/psr7-integration-tests": "dev-master",
- "phpunit/phpunit": "^5.7.16 || ^6.0.8 || ^7.2.7",
- "zendframework/zend-coding-standard": "~1.0"
- },
- "time": "2018-09-05T19:29:37+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev",
- "dev-develop": "1.9.x-dev",
- "dev-release-2.0": "2.0.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "files": [
- "src/functions/create_uploaded_file.php",
- "src/functions/marshal_headers_from_sapi.php",
- "src/functions/marshal_method_from_sapi.php",
- "src/functions/marshal_protocol_version_from_sapi.php",
- "src/functions/marshal_uri_from_sapi.php",
- "src/functions/normalize_server.php",
- "src/functions/normalize_uploaded_files.php",
- "src/functions/parse_cookie_header.php"
- ],
- "psr-4": {
- "Zend\\Diactoros\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "description": "PSR HTTP Message implementations",
- "homepage": "https://github.com/zendframework/zend-diactoros",
- "keywords": [
- "http",
- "psr",
- "psr-7"
- ]
- },
- {
- "name": "zendframework/zend-escaper",
- "version": "2.6.0",
- "version_normalized": "2.6.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/zendframework/zend-escaper.git",
- "reference": "31d8aafae982f9568287cb4dce987e6aff8fd074"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/zendframework/zend-escaper/zipball/31d8aafae982f9568287cb4dce987e6aff8fd074",
- "reference": "31d8aafae982f9568287cb4dce987e6aff8fd074",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2",
- "zendframework/zend-coding-standard": "~1.0.0"
- },
- "time": "2018-04-25T15:48:53+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.6.x-dev",
- "dev-develop": "2.7.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Zend\\Escaper\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs",
- "keywords": [
- "ZendFramework",
- "escaper",
- "zf"
- ]
- },
- {
- "name": "zendframework/zend-feed",
- "version": "2.10.3",
- "version_normalized": "2.10.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/zendframework/zend-feed.git",
- "reference": "6641f4cf3f4586c63f83fd70b6d19966025c8888"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/zendframework/zend-feed/zipball/6641f4cf3f4586c63f83fd70b6d19966025c8888",
- "reference": "6641f4cf3f4586c63f83fd70b6d19966025c8888",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0",
- "zendframework/zend-escaper": "^2.5.2",
- "zendframework/zend-stdlib": "^2.7.7 || ^3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7.23 || ^6.4.3",
- "psr/http-message": "^1.0.1",
- "zendframework/zend-cache": "^2.7.2",
- "zendframework/zend-coding-standard": "~1.0.0",
- "zendframework/zend-db": "^2.8.2",
- "zendframework/zend-http": "^2.7",
- "zendframework/zend-servicemanager": "^2.7.8 || ^3.3",
- "zendframework/zend-validator": "^2.10.1"
- },
- "suggest": {
- "psr/http-message": "PSR-7 ^1.0.1, if you wish to use Zend\\Feed\\Reader\\Http\\Psr7ResponseDecorator",
- "zendframework/zend-cache": "Zend\\Cache component, for optionally caching feeds between requests",
- "zendframework/zend-db": "Zend\\Db component, for use with PubSubHubbub",
- "zendframework/zend-http": "Zend\\Http for PubSubHubbub, and optionally for use with Zend\\Feed\\Reader",
- "zendframework/zend-servicemanager": "Zend\\ServiceManager component, for easily extending ExtensionManager implementations",
- "zendframework/zend-validator": "Zend\\Validator component, for validating email addresses used in Atom feeds and entries when using the Writer subcomponent"
- },
- "time": "2018-08-01T13:53:20+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.10.x-dev",
- "dev-develop": "2.11.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Zend\\Feed\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "provides functionality for consuming RSS and Atom feeds",
- "keywords": [
- "ZendFramework",
- "feed",
- "zf"
- ]
- },
- {
- "name": "zendframework/zend-stdlib",
- "version": "3.2.1",
- "version_normalized": "3.2.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/zendframework/zend-stdlib.git",
- "reference": "66536006722aff9e62d1b331025089b7ec71c065"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/zendframework/zend-stdlib/zipball/66536006722aff9e62d1b331025089b7ec71c065",
- "reference": "66536006722aff9e62d1b331025089b7ec71c065",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpbench/phpbench": "^0.13",
- "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2",
- "zendframework/zend-coding-standard": "~1.0.0"
- },
- "time": "2018-08-28T21:34:05+00:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2.x-dev",
- "dev-develop": "3.3.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Zend\\Stdlib\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "SPL extensions, array utilities, error handlers, and more",
- "keywords": [
- "ZendFramework",
- "stdlib",
- "zf"
- ]
- }
-]
diff --git a/vendor/composer/installers/LICENSE b/vendor/composer/installers/LICENSE
deleted file mode 100644
index 85f97fc79..000000000
--- a/vendor/composer/installers/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2012 Kyle Robinson Young
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is furnished
-to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
\ No newline at end of file
diff --git a/vendor/composer/installers/composer.json b/vendor/composer/installers/composer.json
deleted file mode 100644
index 6de40853c..000000000
--- a/vendor/composer/installers/composer.json
+++ /dev/null
@@ -1,105 +0,0 @@
-{
- "name": "composer/installers",
- "type": "composer-plugin",
- "license": "MIT",
- "description": "A multi-framework Composer library installer",
- "keywords": [
- "installer",
- "Aimeos",
- "AGL",
- "AnnotateCms",
- "Attogram",
- "Bitrix",
- "CakePHP",
- "Chef",
- "Cockpit",
- "CodeIgniter",
- "concrete5",
- "Craft",
- "Croogo",
- "DokuWiki",
- "Dolibarr",
- "Drupal",
- "Elgg",
- "Eliasis",
- "ExpressionEngine",
- "eZ Platform",
- "FuelPHP",
- "Grav",
- "Hurad",
- "ImageCMS",
- "iTop",
- "Joomla",
- "Kanboard",
- "Kohana",
- "Lan Management System",
- "Laravel",
- "Lavalite",
- "Lithium",
- "Magento",
- "majima",
- "Mako",
- "Mautic",
- "Maya",
- "MODX",
- "MODX Evo",
- "MediaWiki",
- "OXID",
- "osclass",
- "MODULEWork",
- "Moodle",
- "Piwik",
- "pxcms",
- "phpBB",
- "Plentymarkets",
- "PPI",
- "Puppet",
- "Porto",
- "RadPHP",
- "ReIndex",
- "Roundcube",
- "shopware",
- "SilverStripe",
- "SMF",
- "SyDES",
- "symfony",
- "Thelia",
- "TYPO3",
- "WolfCMS",
- "WordPress",
- "YAWIK",
- "Zend",
- "Zikula"
- ],
- "homepage": "https://composer.github.io/installers/",
- "authors": [
- {
- "name": "Kyle Robinson Young",
- "email": "kyle@dontkry.com",
- "homepage": "https://github.com/shama"
- }
- ],
- "autoload": {
- "psr-4": { "Composer\\Installers\\": "src/Composer/Installers" }
- },
- "extra": {
- "class": "Composer\\Installers\\Plugin",
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "replace": {
- "shama/baton": "*",
- "roundcube/plugin-installer": "*"
- },
- "require": {
- "composer-plugin-api": "^1.0"
- },
- "require-dev": {
- "composer/composer": "1.0.*@dev",
- "phpunit/phpunit": "^4.8.36"
- },
- "scripts": {
- "test": "phpunit"
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/AglInstaller.php b/vendor/composer/installers/src/Composer/Installers/AglInstaller.php
deleted file mode 100644
index 01b8a4165..000000000
--- a/vendor/composer/installers/src/Composer/Installers/AglInstaller.php
+++ /dev/null
@@ -1,21 +0,0 @@
- 'More/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) {
- return strtoupper($matches[1]);
- }, $vars['name']);
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php b/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php
deleted file mode 100644
index 79a0e958f..000000000
--- a/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'ext/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php
deleted file mode 100644
index 89d7ad905..000000000
--- a/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'addons/modules/{$name}/',
- 'component' => 'addons/components/{$name}/',
- 'service' => 'addons/services/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php b/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
deleted file mode 100644
index 22dad1b9a..000000000
--- a/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
+++ /dev/null
@@ -1,49 +0,0 @@
- 'Modules/{$name}/',
- 'theme' => 'Themes/{$name}/'
- );
-
- /**
- * Format package name.
- *
- * For package type asgard-module, cut off a trailing '-plugin' if present.
- *
- * For package type asgard-theme, cut off a trailing '-theme' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'asgard-module') {
- return $this->inflectPluginVars($vars);
- }
-
- if ($vars['type'] === 'asgard-theme') {
- return $this->inflectThemeVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectPluginVars($vars)
- {
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-
- protected function inflectThemeVars($vars)
- {
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php b/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php
deleted file mode 100644
index d62fd8fd1..000000000
--- a/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'modules/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php b/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
deleted file mode 100644
index 7082bf2cb..000000000
--- a/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
+++ /dev/null
@@ -1,136 +0,0 @@
-composer = $composer;
- $this->package = $package;
- $this->io = $io;
- }
-
- /**
- * Return the install path based on package type.
- *
- * @param PackageInterface $package
- * @param string $frameworkType
- * @return string
- */
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
- {
- $type = $this->package->getType();
-
- $prettyName = $this->package->getPrettyName();
- if (strpos($prettyName, '/') !== false) {
- list($vendor, $name) = explode('/', $prettyName);
- } else {
- $vendor = '';
- $name = $prettyName;
- }
-
- $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type'));
-
- $extra = $package->getExtra();
- if (!empty($extra['installer-name'])) {
- $availableVars['name'] = $extra['installer-name'];
- }
-
- if ($this->composer->getPackage()) {
- $extra = $this->composer->getPackage()->getExtra();
- if (!empty($extra['installer-paths'])) {
- $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor);
- if ($customPath !== false) {
- return $this->templatePath($customPath, $availableVars);
- }
- }
- }
-
- $packageType = substr($type, strlen($frameworkType) + 1);
- $locations = $this->getLocations();
- if (!isset($locations[$packageType])) {
- throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type));
- }
-
- return $this->templatePath($locations[$packageType], $availableVars);
- }
-
- /**
- * For an installer to override to modify the vars per installer.
- *
- * @param array $vars
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- return $vars;
- }
-
- /**
- * Gets the installer's locations
- *
- * @return array
- */
- public function getLocations()
- {
- return $this->locations;
- }
-
- /**
- * Replace vars in a path
- *
- * @param string $path
- * @param array $vars
- * @return string
- */
- protected function templatePath($path, array $vars = array())
- {
- if (strpos($path, '{') !== false) {
- extract($vars);
- preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches);
- if (!empty($matches[1])) {
- foreach ($matches[1] as $var) {
- $path = str_replace('{$' . $var . '}', $$var, $path);
- }
- }
- }
-
- return $path;
- }
-
- /**
- * Search through a passed paths array for a custom install path.
- *
- * @param array $paths
- * @param string $name
- * @param string $type
- * @param string $vendor = NULL
- * @return string
- */
- protected function mapCustomInstallPaths(array $paths, $name, $type, $vendor = NULL)
- {
- foreach ($paths as $path => $names) {
- if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) {
- return $path;
- }
- }
-
- return false;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php b/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
deleted file mode 100644
index e80cd1e10..000000000
--- a/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
+++ /dev/null
@@ -1,126 +0,0 @@
-.`.
- * - `bitrix-d7-component` — copy the component to directory `bitrix/components//`.
- * - `bitrix-d7-template` — copy the template to directory `bitrix/templates/_`.
- *
- * You can set custom path to directory with Bitrix kernel in `composer.json`:
- *
- * ```json
- * {
- * "extra": {
- * "bitrix-dir": "s1/bitrix"
- * }
- * }
- * ```
- *
- * @author Nik Samokhvalov
- * @author Denis Kulichkin
- */
-class BitrixInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => '{$bitrix_dir}/modules/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
- 'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
- 'theme' => '{$bitrix_dir}/templates/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
- 'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/',
- 'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/',
- 'd7-template' => '{$bitrix_dir}/templates/{$vendor}_{$name}/',
- );
-
- /**
- * @var array Storage for informations about duplicates at all the time of installation packages.
- */
- private static $checkedDuplicates = array();
-
- /**
- * {@inheritdoc}
- */
- public function inflectPackageVars($vars)
- {
- if ($this->composer->getPackage()) {
- $extra = $this->composer->getPackage()->getExtra();
-
- if (isset($extra['bitrix-dir'])) {
- $vars['bitrix_dir'] = $extra['bitrix-dir'];
- }
- }
-
- if (!isset($vars['bitrix_dir'])) {
- $vars['bitrix_dir'] = 'bitrix';
- }
-
- return parent::inflectPackageVars($vars);
- }
-
- /**
- * {@inheritdoc}
- */
- protected function templatePath($path, array $vars = array())
- {
- $templatePath = parent::templatePath($path, $vars);
- $this->checkDuplicates($templatePath, $vars);
-
- return $templatePath;
- }
-
- /**
- * Duplicates search packages.
- *
- * @param string $path
- * @param array $vars
- */
- protected function checkDuplicates($path, array $vars = array())
- {
- $packageType = substr($vars['type'], strlen('bitrix') + 1);
- $localDir = explode('/', $vars['bitrix_dir']);
- array_pop($localDir);
- $localDir[] = 'local';
- $localDir = implode('/', $localDir);
-
- $oldPath = str_replace(
- array('{$bitrix_dir}', '{$name}'),
- array($localDir, $vars['name']),
- $this->locations[$packageType]
- );
-
- if (in_array($oldPath, static::$checkedDuplicates)) {
- return;
- }
-
- if ($oldPath !== $path && file_exists($oldPath) && $this->io && $this->io->isInteractive()) {
-
- $this->io->writeError(' Duplication of packages: ');
- $this->io->writeError(' Package ' . $oldPath . ' will be called instead package ' . $path . ' ');
-
- while (true) {
- switch ($this->io->ask(' Delete ' . $oldPath . ' [y,n,?]? ', '?')) {
- case 'y':
- $fs = new Filesystem();
- $fs->removeDirectory($oldPath);
- break 2;
-
- case 'n':
- break 2;
-
- case '?':
- default:
- $this->io->writeError(array(
- ' y - delete package ' . $oldPath . ' and to continue with the installation',
- ' n - don\'t delete and to continue with the installation',
- ));
- $this->io->writeError(' ? - print help');
- break;
- }
- }
- }
-
- static::$checkedDuplicates[] = $oldPath;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php b/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php
deleted file mode 100644
index da3aad2a3..000000000
--- a/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'Packages/{$vendor}/{$name}/'
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php b/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
deleted file mode 100644
index 6352beb11..000000000
--- a/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
+++ /dev/null
@@ -1,82 +0,0 @@
- 'Plugin/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- if ($this->matchesCakeVersion('>=', '3.0.0')) {
- return $vars;
- }
-
- $nameParts = explode('/', $vars['name']);
- foreach ($nameParts as &$value) {
- $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
- $value = str_replace(array('-', '_'), ' ', $value);
- $value = str_replace(' ', '', ucwords($value));
- }
- $vars['name'] = implode('/', $nameParts);
-
- return $vars;
- }
-
- /**
- * Change the default plugin location when cakephp >= 3.0
- */
- public function getLocations()
- {
- if ($this->matchesCakeVersion('>=', '3.0.0')) {
- $this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
- }
- return $this->locations;
- }
-
- /**
- * Check if CakePHP version matches against a version
- *
- * @param string $matcher
- * @param string $version
- * @return bool
- */
- protected function matchesCakeVersion($matcher, $version)
- {
- if (class_exists('Composer\Semver\Constraint\MultiConstraint')) {
- $multiClass = 'Composer\Semver\Constraint\MultiConstraint';
- $constraintClass = 'Composer\Semver\Constraint\Constraint';
- } else {
- $multiClass = 'Composer\Package\LinkConstraint\MultiConstraint';
- $constraintClass = 'Composer\Package\LinkConstraint\VersionConstraint';
- }
-
- $repositoryManager = $this->composer->getRepositoryManager();
- if ($repositoryManager) {
- $repos = $repositoryManager->getLocalRepository();
- if (!$repos) {
- return false;
- }
- $cake3 = new $multiClass(array(
- new $constraintClass($matcher, $version),
- new $constraintClass('!=', '9999999-dev'),
- ));
- $pool = new Pool('dev');
- $pool->addRepository($repos);
- $packages = $pool->whatProvides('cakephp/cakephp');
- foreach ($packages as $package) {
- $installed = new $constraintClass('=', $package->getVersion());
- if ($cake3->matches($installed)) {
- return true;
- }
- }
- }
- return false;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php b/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
deleted file mode 100644
index ab2f9aad8..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'Chef/{$vendor}/{$name}/',
- 'role' => 'Chef/roles/{$name}/',
- );
-}
-
diff --git a/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php b/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php
deleted file mode 100644
index 6673aea94..000000000
--- a/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'ext/{$name}/'
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php b/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php
deleted file mode 100644
index c887815c9..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'CCF/orbit/{$name}/',
- 'theme' => 'CCF/app/themes/{$name}/',
- );
-}
\ No newline at end of file
diff --git a/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php b/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php
deleted file mode 100644
index c7816dfce..000000000
--- a/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php
+++ /dev/null
@@ -1,34 +0,0 @@
- 'cockpit/modules/addons/{$name}/',
- );
-
- /**
- * Format module name.
- *
- * Strip `module-` prefix from package name.
- *
- * @param array @vars
- *
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] == 'cockpit-module') {
- return $this->inflectModuleVars($vars);
- }
-
- return $vars;
- }
-
- public function inflectModuleVars($vars)
- {
- $vars['name'] = ucfirst(preg_replace('/cockpit-/i', '', $vars['name']));
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php b/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php
deleted file mode 100644
index 3b4a4ece1..000000000
--- a/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'application/libraries/{$name}/',
- 'third-party' => 'application/third_party/{$name}/',
- 'module' => 'application/modules/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php b/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
deleted file mode 100644
index 5c01bafd7..000000000
--- a/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
+++ /dev/null
@@ -1,13 +0,0 @@
- 'concrete/',
- 'block' => 'application/blocks/{$name}/',
- 'package' => 'packages/{$name}/',
- 'theme' => 'application/themes/{$name}/',
- 'update' => 'updates/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php b/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php
deleted file mode 100644
index d37a77ae2..000000000
--- a/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php
+++ /dev/null
@@ -1,35 +0,0 @@
- 'craft/plugins/{$name}/',
- );
-
- /**
- * Strip `craft-` prefix and/or `-plugin` suffix from package names
- *
- * @param array $vars
- *
- * @return array
- */
- final public function inflectPackageVars($vars)
- {
- return $this->inflectPluginVars($vars);
- }
-
- private function inflectPluginVars($vars)
- {
- $vars['name'] = preg_replace('/-' . self::NAME_SUFFIX . '$/i', '', $vars['name']);
- $vars['name'] = preg_replace('/^' . self::NAME_PREFIX . '-/i', '', $vars['name']);
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php b/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php
deleted file mode 100644
index d94219d3a..000000000
--- a/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php
+++ /dev/null
@@ -1,21 +0,0 @@
- 'Plugin/{$name}/',
- 'theme' => 'View/Themed/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name']));
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php b/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php
deleted file mode 100644
index f4837a6c1..000000000
--- a/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'app/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php
deleted file mode 100644
index cfd638d5f..000000000
--- a/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php
+++ /dev/null
@@ -1,50 +0,0 @@
- 'lib/plugins/{$name}/',
- 'template' => 'lib/tpl/{$name}/',
- );
-
- /**
- * Format package name.
- *
- * For package type dokuwiki-plugin, cut off a trailing '-plugin',
- * or leading dokuwiki_ if present.
- *
- * For package type dokuwiki-template, cut off a trailing '-template' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
-
- if ($vars['type'] === 'dokuwiki-plugin') {
- return $this->inflectPluginVars($vars);
- }
-
- if ($vars['type'] === 'dokuwiki-template') {
- return $this->inflectTemplateVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectPluginVars($vars)
- {
- $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']);
- $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectTemplateVars($vars)
- {
- $vars['name'] = preg_replace('/-template$/', '', $vars['name']);
- $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
-
- return $vars;
- }
-
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php b/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php
deleted file mode 100644
index 21f7e8e80..000000000
--- a/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php
+++ /dev/null
@@ -1,16 +0,0 @@
-
- */
-class DolibarrInstaller extends BaseInstaller
-{
- //TODO: Add support for scripts and themes
- protected $locations = array(
- 'module' => 'htdocs/custom/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php b/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
deleted file mode 100644
index fef7c525d..000000000
--- a/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
+++ /dev/null
@@ -1,16 +0,0 @@
- 'core/',
- 'module' => 'modules/{$name}/',
- 'theme' => 'themes/{$name}/',
- 'library' => 'libraries/{$name}/',
- 'profile' => 'profiles/{$name}/',
- 'drush' => 'drush/{$name}/',
- 'custom-theme' => 'themes/custom/{$name}/',
- 'custom-module' => 'modules/custom/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php b/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php
deleted file mode 100644
index c0bb609f4..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'mod/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php b/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php
deleted file mode 100644
index 6f3dc97b1..000000000
--- a/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php
+++ /dev/null
@@ -1,12 +0,0 @@
- 'components/{$name}/',
- 'module' => 'modules/{$name}/',
- 'plugin' => 'plugins/{$name}/',
- 'template' => 'templates/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php b/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php
deleted file mode 100644
index d5321a8ca..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php
+++ /dev/null
@@ -1,29 +0,0 @@
- 'system/expressionengine/third_party/{$name}/',
- 'theme' => 'themes/third_party/{$name}/',
- );
-
- private $ee3Locations = array(
- 'addon' => 'system/user/addons/{$name}/',
- 'theme' => 'themes/user/{$name}/',
- );
-
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
- {
-
- $version = "{$frameworkType}Locations";
- $this->locations = $this->$version;
-
- return parent::getInstallPath($package, $frameworkType);
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php b/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php
deleted file mode 100644
index f30ebcc77..000000000
--- a/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'web/assets/ezplatform/',
- 'assets' => 'web/assets/ezplatform/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php b/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
deleted file mode 100644
index 6eba2e34f..000000000
--- a/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'fuel/app/modules/{$name}/',
- 'package' => 'fuel/packages/{$name}/',
- 'theme' => 'fuel/app/themes/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php b/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
deleted file mode 100644
index 29d980b30..000000000
--- a/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'components/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/GravInstaller.php b/vendor/composer/installers/src/Composer/Installers/GravInstaller.php
deleted file mode 100644
index dbe63e07e..000000000
--- a/vendor/composer/installers/src/Composer/Installers/GravInstaller.php
+++ /dev/null
@@ -1,30 +0,0 @@
- 'user/plugins/{$name}/',
- 'theme' => 'user/themes/{$name}/',
- );
-
- /**
- * Format package name
- *
- * @param array $vars
- *
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $restrictedWords = implode('|', array_keys($this->locations));
-
- $vars['name'] = strtolower($vars['name']);
- $vars['name'] = preg_replace('/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui',
- '$1',
- $vars['name']
- );
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php b/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php
deleted file mode 100644
index 8fe017f0f..000000000
--- a/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php
+++ /dev/null
@@ -1,25 +0,0 @@
- 'plugins/{$name}/',
- 'theme' => 'plugins/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $nameParts = explode('/', $vars['name']);
- foreach ($nameParts as &$value) {
- $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
- $value = str_replace(array('-', '_'), ' ', $value);
- $value = str_replace(' ', '', ucwords($value));
- }
- $vars['name'] = implode('/', $nameParts);
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php
deleted file mode 100644
index 5e2142ea5..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'templates/{$name}/',
- 'module' => 'application/modules/{$name}/',
- 'library' => 'application/libraries/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/Installer.php b/vendor/composer/installers/src/Composer/Installers/Installer.php
deleted file mode 100644
index 352cb7fae..000000000
--- a/vendor/composer/installers/src/Composer/Installers/Installer.php
+++ /dev/null
@@ -1,274 +0,0 @@
- 'AimeosInstaller',
- 'asgard' => 'AsgardInstaller',
- 'attogram' => 'AttogramInstaller',
- 'agl' => 'AglInstaller',
- 'annotatecms' => 'AnnotateCmsInstaller',
- 'bitrix' => 'BitrixInstaller',
- 'bonefish' => 'BonefishInstaller',
- 'cakephp' => 'CakePHPInstaller',
- 'chef' => 'ChefInstaller',
- 'civicrm' => 'CiviCrmInstaller',
- 'ccframework' => 'ClanCatsFrameworkInstaller',
- 'cockpit' => 'CockpitInstaller',
- 'codeigniter' => 'CodeIgniterInstaller',
- 'concrete5' => 'Concrete5Installer',
- 'craft' => 'CraftInstaller',
- 'croogo' => 'CroogoInstaller',
- 'dokuwiki' => 'DokuWikiInstaller',
- 'dolibarr' => 'DolibarrInstaller',
- 'decibel' => 'DecibelInstaller',
- 'drupal' => 'DrupalInstaller',
- 'elgg' => 'ElggInstaller',
- 'eliasis' => 'EliasisInstaller',
- 'ee3' => 'ExpressionEngineInstaller',
- 'ee2' => 'ExpressionEngineInstaller',
- 'ezplatform' => 'EzPlatformInstaller',
- 'fuel' => 'FuelInstaller',
- 'fuelphp' => 'FuelphpInstaller',
- 'grav' => 'GravInstaller',
- 'hurad' => 'HuradInstaller',
- 'imagecms' => 'ImageCMSInstaller',
- 'itop' => 'ItopInstaller',
- 'joomla' => 'JoomlaInstaller',
- 'kanboard' => 'KanboardInstaller',
- 'kirby' => 'KirbyInstaller',
- 'kodicms' => 'KodiCMSInstaller',
- 'kohana' => 'KohanaInstaller',
- 'lms' => 'LanManagementSystemInstaller',
- 'laravel' => 'LaravelInstaller',
- 'lavalite' => 'LavaLiteInstaller',
- 'lithium' => 'LithiumInstaller',
- 'magento' => 'MagentoInstaller',
- 'majima' => 'MajimaInstaller',
- 'mako' => 'MakoInstaller',
- 'maya' => 'MayaInstaller',
- 'mautic' => 'MauticInstaller',
- 'mediawiki' => 'MediaWikiInstaller',
- 'microweber' => 'MicroweberInstaller',
- 'modulework' => 'MODULEWorkInstaller',
- 'modx' => 'ModxInstaller',
- 'modxevo' => 'MODXEvoInstaller',
- 'moodle' => 'MoodleInstaller',
- 'october' => 'OctoberInstaller',
- 'ontowiki' => 'OntoWikiInstaller',
- 'oxid' => 'OxidInstaller',
- 'osclass' => 'OsclassInstaller',
- 'pxcms' => 'PxcmsInstaller',
- 'phpbb' => 'PhpBBInstaller',
- 'pimcore' => 'PimcoreInstaller',
- 'piwik' => 'PiwikInstaller',
- 'plentymarkets'=> 'PlentymarketsInstaller',
- 'ppi' => 'PPIInstaller',
- 'puppet' => 'PuppetInstaller',
- 'radphp' => 'RadPHPInstaller',
- 'phifty' => 'PhiftyInstaller',
- 'porto' => 'PortoInstaller',
- 'redaxo' => 'RedaxoInstaller',
- 'reindex' => 'ReIndexInstaller',
- 'roundcube' => 'RoundcubeInstaller',
- 'shopware' => 'ShopwareInstaller',
- 'sitedirect' => 'SiteDirectInstaller',
- 'silverstripe' => 'SilverStripeInstaller',
- 'smf' => 'SMFInstaller',
- 'sydes' => 'SyDESInstaller',
- 'symfony1' => 'Symfony1Installer',
- 'thelia' => 'TheliaInstaller',
- 'tusk' => 'TuskInstaller',
- 'typo3-cms' => 'TYPO3CmsInstaller',
- 'typo3-flow' => 'TYPO3FlowInstaller',
- 'userfrosting' => 'UserFrostingInstaller',
- 'vanilla' => 'VanillaInstaller',
- 'whmcs' => 'WHMCSInstaller',
- 'wolfcms' => 'WolfCMSInstaller',
- 'wordpress' => 'WordPressInstaller',
- 'yawik' => 'YawikInstaller',
- 'zend' => 'ZendInstaller',
- 'zikula' => 'ZikulaInstaller',
- 'prestashop' => 'PrestashopInstaller'
- );
-
- /**
- * Installer constructor.
- *
- * Disables installers specified in main composer extra installer-disable
- * list
- *
- * @param IOInterface $io
- * @param Composer $composer
- * @param string $type
- * @param Filesystem|null $filesystem
- * @param BinaryInstaller|null $binaryInstaller
- */
- public function __construct(
- IOInterface $io,
- Composer $composer,
- $type = 'library',
- Filesystem $filesystem = null,
- BinaryInstaller $binaryInstaller = null
- ) {
- parent::__construct($io, $composer, $type, $filesystem,
- $binaryInstaller);
- $this->removeDisabledInstallers();
- }
-
- /**
- * {@inheritDoc}
- */
- public function getInstallPath(PackageInterface $package)
- {
- $type = $package->getType();
- $frameworkType = $this->findFrameworkType($type);
-
- if ($frameworkType === false) {
- throw new \InvalidArgumentException(
- 'Sorry the package type of this package is not yet supported.'
- );
- }
-
- $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
- $installer = new $class($package, $this->composer, $this->getIO());
-
- return $installer->getInstallPath($package, $frameworkType);
- }
-
- public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
- {
- parent::uninstall($repo, $package);
- $installPath = $this->getPackageBasePath($package);
- $this->io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? 'deleted ' : 'not deleted '));
- }
-
- /**
- * {@inheritDoc}
- */
- public function supports($packageType)
- {
- $frameworkType = $this->findFrameworkType($packageType);
-
- if ($frameworkType === false) {
- return false;
- }
-
- $locationPattern = $this->getLocationPattern($frameworkType);
-
- return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1;
- }
-
- /**
- * Finds a supported framework type if it exists and returns it
- *
- * @param string $type
- * @return string
- */
- protected function findFrameworkType($type)
- {
- $frameworkType = false;
-
- krsort($this->supportedTypes);
-
- foreach ($this->supportedTypes as $key => $val) {
- if ($key === substr($type, 0, strlen($key))) {
- $frameworkType = substr($type, 0, strlen($key));
- break;
- }
- }
-
- return $frameworkType;
- }
-
- /**
- * Get the second part of the regular expression to check for support of a
- * package type
- *
- * @param string $frameworkType
- * @return string
- */
- protected function getLocationPattern($frameworkType)
- {
- $pattern = false;
- if (!empty($this->supportedTypes[$frameworkType])) {
- $frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
- /** @var BaseInstaller $framework */
- $framework = new $frameworkClass(null, $this->composer, $this->getIO());
- $locations = array_keys($framework->getLocations());
- $pattern = $locations ? '(' . implode('|', $locations) . ')' : false;
- }
-
- return $pattern ? : '(\w+)';
- }
-
- /**
- * Get I/O object
- *
- * @return IOInterface
- */
- private function getIO()
- {
- return $this->io;
- }
-
- /**
- * Look for installers set to be disabled in composer's extra config and
- * remove them from the list of supported installers.
- *
- * Globals:
- * - true, "all", and "*" - disable all installers.
- * - false - enable all installers (useful with
- * wikimedia/composer-merge-plugin or similar)
- *
- * @return void
- */
- protected function removeDisabledInstallers()
- {
- $extra = $this->composer->getPackage()->getExtra();
-
- if (!isset($extra['installer-disable']) || $extra['installer-disable'] === false) {
- // No installers are disabled
- return;
- }
-
- // Get installers to disable
- $disable = $extra['installer-disable'];
-
- // Ensure $disabled is an array
- if (!is_array($disable)) {
- $disable = array($disable);
- }
-
- // Check which installers should be disabled
- $all = array(true, "all", "*");
- $intersect = array_intersect($all, $disable);
- if (!empty($intersect)) {
- // Disable all installers
- $this->supportedTypes = array();
- } else {
- // Disable specified installers
- foreach ($disable as $key => $installer) {
- if (is_string($installer) && key_exists($installer, $this->supportedTypes)) {
- unset($this->supportedTypes[$installer]);
- }
- }
- }
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php b/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php
deleted file mode 100644
index c6c1b3374..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'extensions/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php b/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php
deleted file mode 100644
index 9ee775965..000000000
--- a/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php
+++ /dev/null
@@ -1,15 +0,0 @@
- 'components/{$name}/',
- 'module' => 'modules/{$name}/',
- 'template' => 'templates/{$name}/',
- 'plugin' => 'plugins/{$name}/',
- 'library' => 'libraries/{$name}/',
- );
-
- // TODO: Add inflector for mod_ and com_ names
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php b/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php
deleted file mode 100644
index 9cb7b8cdb..000000000
--- a/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php
+++ /dev/null
@@ -1,18 +0,0 @@
- 'plugins/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php b/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php
deleted file mode 100644
index 36b2f84a7..000000000
--- a/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'site/plugins/{$name}/',
- 'field' => 'site/fields/{$name}/',
- 'tag' => 'site/tags/{$name}/'
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php
deleted file mode 100644
index 7143e232b..000000000
--- a/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'cms/plugins/{$name}/',
- 'media' => 'cms/media/vendor/{$name}/'
- );
-}
\ No newline at end of file
diff --git a/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php b/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php
deleted file mode 100644
index dcd6d2632..000000000
--- a/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'modules/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php b/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php
deleted file mode 100644
index 903143a55..000000000
--- a/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php
+++ /dev/null
@@ -1,27 +0,0 @@
- 'plugins/{$name}/',
- 'template' => 'templates/{$name}/',
- 'document-template' => 'documents/templates/{$name}/',
- 'userpanel-module' => 'userpanel/modules/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php b/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php
deleted file mode 100644
index be4d53a7b..000000000
--- a/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'libraries/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php b/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php
deleted file mode 100644
index 412c0b5c0..000000000
--- a/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'packages/{$vendor}/{$name}/',
- 'theme' => 'public/themes/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php b/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php
deleted file mode 100644
index 47bbd4cab..000000000
--- a/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'libraries/{$name}/',
- 'source' => 'libraries/_source/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php b/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php
deleted file mode 100644
index 9c2e9fb40..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'modules/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php
deleted file mode 100644
index 5a664608d..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php
+++ /dev/null
@@ -1,16 +0,0 @@
- 'assets/snippets/{$name}/',
- 'plugin' => 'assets/plugins/{$name}/',
- 'module' => 'assets/modules/{$name}/',
- 'template' => 'assets/templates/{$name}/',
- 'lib' => 'assets/lib/{$name}/'
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php
deleted file mode 100644
index cf18e9478..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'app/design/frontend/{$name}/',
- 'skin' => 'skin/frontend/default/{$name}/',
- 'library' => 'lib/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php b/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php
deleted file mode 100644
index e463756fa..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php
+++ /dev/null
@@ -1,37 +0,0 @@
- 'plugins/{$name}/',
- );
-
- /**
- * Transforms the names
- * @param array $vars
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- return $this->correctPluginName($vars);
- }
-
- /**
- * Change hyphenated names to camelcase
- * @param array $vars
- * @return array
- */
- private function correctPluginName($vars)
- {
- $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
- return strtoupper($matches[0][1]);
- }, $vars['name']);
- $vars['name'] = ucfirst($camelCasedName);
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php
deleted file mode 100644
index ca3cfacb4..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'app/packages/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php b/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php
deleted file mode 100644
index 3e1ce2b2d..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php
+++ /dev/null
@@ -1,25 +0,0 @@
- 'plugins/{$name}/',
- 'theme' => 'themes/{$name}/',
- );
-
- /**
- * Format package name of mautic-plugins to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] == 'mautic-plugin') {
- $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
- return strtoupper($matches[0][1]);
- }, ucfirst($vars['name']));
- }
-
- return $vars;
- }
-
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php b/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php
deleted file mode 100644
index 30a91676d..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php
+++ /dev/null
@@ -1,33 +0,0 @@
- 'modules/{$name}/',
- );
-
- /**
- * Format package name.
- *
- * For package type maya-module, cut off a trailing '-module' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'maya-module') {
- return $this->inflectModuleVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectModuleVars($vars)
- {
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php
deleted file mode 100644
index f5a8957ef..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php
+++ /dev/null
@@ -1,51 +0,0 @@
- 'core/',
- 'extension' => 'extensions/{$name}/',
- 'skin' => 'skins/{$name}/',
- );
-
- /**
- * Format package name.
- *
- * For package type mediawiki-extension, cut off a trailing '-extension' if present and transform
- * to CamelCase keeping existing uppercase chars.
- *
- * For package type mediawiki-skin, cut off a trailing '-skin' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
-
- if ($vars['type'] === 'mediawiki-extension') {
- return $this->inflectExtensionVars($vars);
- }
-
- if ($vars['type'] === 'mediawiki-skin') {
- return $this->inflectSkinVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectExtensionVars($vars)
- {
- $vars['name'] = preg_replace('/-extension$/', '', $vars['name']);
- $vars['name'] = str_replace('-', ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-
- protected function inflectSkinVars($vars)
- {
- $vars['name'] = preg_replace('/-skin$/', '', $vars['name']);
-
- return $vars;
- }
-
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php b/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php
deleted file mode 100644
index 4bbbec8c0..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php
+++ /dev/null
@@ -1,111 +0,0 @@
- 'userfiles/modules/{$name}/',
- 'module-skin' => 'userfiles/modules/{$name}/templates/',
- 'template' => 'userfiles/templates/{$name}/',
- 'element' => 'userfiles/elements/{$name}/',
- 'vendor' => 'vendor/{$name}/',
- 'components' => 'components/{$name}/'
- );
-
- /**
- * Format package name.
- *
- * For package type microweber-module, cut off a trailing '-module' if present
- *
- * For package type microweber-template, cut off a trailing '-template' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'microweber-template') {
- return $this->inflectTemplateVars($vars);
- }
- if ($vars['type'] === 'microweber-templates') {
- return $this->inflectTemplatesVars($vars);
- }
- if ($vars['type'] === 'microweber-core') {
- return $this->inflectCoreVars($vars);
- }
- if ($vars['type'] === 'microweber-adapter') {
- return $this->inflectCoreVars($vars);
- }
- if ($vars['type'] === 'microweber-module') {
- return $this->inflectModuleVars($vars);
- }
- if ($vars['type'] === 'microweber-modules') {
- return $this->inflectModulesVars($vars);
- }
- if ($vars['type'] === 'microweber-skin') {
- return $this->inflectSkinVars($vars);
- }
- if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') {
- return $this->inflectElementVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectTemplateVars($vars)
- {
- $vars['name'] = preg_replace('/-template$/', '', $vars['name']);
- $vars['name'] = preg_replace('/template-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectTemplatesVars($vars)
- {
- $vars['name'] = preg_replace('/-templates$/', '', $vars['name']);
- $vars['name'] = preg_replace('/templates-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectCoreVars($vars)
- {
- $vars['name'] = preg_replace('/-providers$/', '', $vars['name']);
- $vars['name'] = preg_replace('/-provider$/', '', $vars['name']);
- $vars['name'] = preg_replace('/-adapter$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectModuleVars($vars)
- {
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
- $vars['name'] = preg_replace('/module-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectModulesVars($vars)
- {
- $vars['name'] = preg_replace('/-modules$/', '', $vars['name']);
- $vars['name'] = preg_replace('/modules-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectSkinVars($vars)
- {
- $vars['name'] = preg_replace('/-skin$/', '', $vars['name']);
- $vars['name'] = preg_replace('/skin-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectElementVars($vars)
- {
- $vars['name'] = preg_replace('/-elements$/', '', $vars['name']);
- $vars['name'] = preg_replace('/elements-$/', '', $vars['name']);
- $vars['name'] = preg_replace('/-element$/', '', $vars['name']);
- $vars['name'] = preg_replace('/element-$/', '', $vars['name']);
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php b/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php
deleted file mode 100644
index 0ee140abf..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php
+++ /dev/null
@@ -1,12 +0,0 @@
- 'core/packages/{$name}/'
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php b/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
deleted file mode 100644
index a89c82f73..000000000
--- a/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
+++ /dev/null
@@ -1,57 +0,0 @@
- 'mod/{$name}/',
- 'admin_report' => 'admin/report/{$name}/',
- 'atto' => 'lib/editor/atto/plugins/{$name}/',
- 'tool' => 'admin/tool/{$name}/',
- 'assignment' => 'mod/assignment/type/{$name}/',
- 'assignsubmission' => 'mod/assign/submission/{$name}/',
- 'assignfeedback' => 'mod/assign/feedback/{$name}/',
- 'auth' => 'auth/{$name}/',
- 'availability' => 'availability/condition/{$name}/',
- 'block' => 'blocks/{$name}/',
- 'booktool' => 'mod/book/tool/{$name}/',
- 'cachestore' => 'cache/stores/{$name}/',
- 'cachelock' => 'cache/locks/{$name}/',
- 'calendartype' => 'calendar/type/{$name}/',
- 'format' => 'course/format/{$name}/',
- 'coursereport' => 'course/report/{$name}/',
- 'datafield' => 'mod/data/field/{$name}/',
- 'datapreset' => 'mod/data/preset/{$name}/',
- 'editor' => 'lib/editor/{$name}/',
- 'enrol' => 'enrol/{$name}/',
- 'filter' => 'filter/{$name}/',
- 'gradeexport' => 'grade/export/{$name}/',
- 'gradeimport' => 'grade/import/{$name}/',
- 'gradereport' => 'grade/report/{$name}/',
- 'gradingform' => 'grade/grading/form/{$name}/',
- 'local' => 'local/{$name}/',
- 'logstore' => 'admin/tool/log/store/{$name}/',
- 'ltisource' => 'mod/lti/source/{$name}/',
- 'ltiservice' => 'mod/lti/service/{$name}/',
- 'message' => 'message/output/{$name}/',
- 'mnetservice' => 'mnet/service/{$name}/',
- 'plagiarism' => 'plagiarism/{$name}/',
- 'portfolio' => 'portfolio/{$name}/',
- 'qbehaviour' => 'question/behaviour/{$name}/',
- 'qformat' => 'question/format/{$name}/',
- 'qtype' => 'question/type/{$name}/',
- 'quizaccess' => 'mod/quiz/accessrule/{$name}/',
- 'quiz' => 'mod/quiz/report/{$name}/',
- 'report' => 'report/{$name}/',
- 'repository' => 'repository/{$name}/',
- 'scormreport' => 'mod/scorm/report/{$name}/',
- 'search' => 'search/engine/{$name}/',
- 'theme' => 'theme/{$name}/',
- 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/',
- 'profilefield' => 'user/profile/field/{$name}/',
- 'webservice' => 'webservice/{$name}/',
- 'workshopallocation' => 'mod/workshop/allocation/{$name}/',
- 'workshopeval' => 'mod/workshop/eval/{$name}/',
- 'workshopform' => 'mod/workshop/form/{$name}/'
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php b/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
deleted file mode 100644
index 08d5dc4e7..000000000
--- a/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
+++ /dev/null
@@ -1,47 +0,0 @@
- 'modules/{$name}/',
- 'plugin' => 'plugins/{$vendor}/{$name}/',
- 'theme' => 'themes/{$name}/'
- );
-
- /**
- * Format package name.
- *
- * For package type october-plugin, cut off a trailing '-plugin' if present.
- *
- * For package type october-theme, cut off a trailing '-theme' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'october-plugin') {
- return $this->inflectPluginVars($vars);
- }
-
- if ($vars['type'] === 'october-theme') {
- return $this->inflectThemeVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectPluginVars($vars)
- {
- $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']);
- $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']);
-
- return $vars;
- }
-
- protected function inflectThemeVars($vars)
- {
- $vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']);
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php
deleted file mode 100644
index 5dd3438d9..000000000
--- a/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php
+++ /dev/null
@@ -1,24 +0,0 @@
- 'extensions/{$name}/',
- 'theme' => 'extensions/themes/{$name}/',
- 'translation' => 'extensions/translations/{$name}/',
- );
-
- /**
- * Format package name to lower case and remove ".ontowiki" suffix
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower($vars['name']);
- $vars['name'] = preg_replace('/.ontowiki$/', '', $vars['name']);
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
- $vars['name'] = preg_replace('/-translation$/', '', $vars['name']);
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php b/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php
deleted file mode 100644
index 3ca7954c9..000000000
--- a/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php
+++ /dev/null
@@ -1,14 +0,0 @@
- 'oc-content/plugins/{$name}/',
- 'theme' => 'oc-content/themes/{$name}/',
- 'language' => 'oc-content/languages/{$name}/',
- );
-
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php b/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php
deleted file mode 100644
index 49940ff6d..000000000
--- a/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php
+++ /dev/null
@@ -1,59 +0,0 @@
-.+)\/.+/';
-
- protected $locations = array(
- 'module' => 'modules/{$name}/',
- 'theme' => 'application/views/{$name}/',
- 'out' => 'out/{$name}/',
- );
-
- /**
- * getInstallPath
- *
- * @param PackageInterface $package
- * @param string $frameworkType
- * @return void
- */
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
- {
- $installPath = parent::getInstallPath($package, $frameworkType);
- $type = $this->package->getType();
- if ($type === 'oxid-module') {
- $this->prepareVendorDirectory($installPath);
- }
- return $installPath;
- }
-
- /**
- * prepareVendorDirectory
- *
- * Makes sure there is a vendormetadata.php file inside
- * the vendor folder if there is a vendor folder.
- *
- * @param string $installPath
- * @return void
- */
- protected function prepareVendorDirectory($installPath)
- {
- $matches = '';
- $hasVendorDirectory = preg_match(self::VENDOR_PATTERN, $installPath, $matches);
- if (!$hasVendorDirectory) {
- return;
- }
-
- $vendorDirectory = $matches['vendor'];
- $vendorPath = getcwd() . '/modules/' . $vendorDirectory;
- if (!file_exists($vendorPath)) {
- mkdir($vendorPath, 0755, true);
- }
-
- $vendorMetaDataPath = $vendorPath . '/vendormetadata.php';
- touch($vendorMetaDataPath);
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php b/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php
deleted file mode 100644
index 170136f98..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'modules/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php b/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php
deleted file mode 100644
index 4e59a8a74..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'bundles/{$name}/',
- 'library' => 'libraries/{$name}/',
- 'framework' => 'frameworks/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php b/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
deleted file mode 100644
index deb2b77a6..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'ext/{$vendor}/{$name}/',
- 'language' => 'language/{$name}/',
- 'style' => 'styles/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php b/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php
deleted file mode 100644
index 4781fa6d1..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php
+++ /dev/null
@@ -1,21 +0,0 @@
- 'plugins/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php b/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php
deleted file mode 100644
index c17f4572b..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php
+++ /dev/null
@@ -1,32 +0,0 @@
- 'plugins/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- * @param array $vars
- *
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php b/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php
deleted file mode 100644
index 903e55f62..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php
+++ /dev/null
@@ -1,29 +0,0 @@
- '{$name}/'
- );
-
- /**
- * Remove hyphen, "plugin" and format to camelcase
- * @param array $vars
- *
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = explode("-", $vars['name']);
- foreach ($vars['name'] as $key => $name) {
- $vars['name'][$key] = ucfirst($vars['name'][$key]);
- if (strcasecmp($name, "Plugin") == 0) {
- unset($vars['name'][$key]);
- }
- }
- $vars['name'] = implode("",$vars['name']);
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/Plugin.php b/vendor/composer/installers/src/Composer/Installers/Plugin.php
deleted file mode 100644
index 5eb04af17..000000000
--- a/vendor/composer/installers/src/Composer/Installers/Plugin.php
+++ /dev/null
@@ -1,17 +0,0 @@
-getInstallationManager()->addInstaller($installer);
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php b/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php
deleted file mode 100644
index dbf85e635..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'app/Containers/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php b/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php
deleted file mode 100644
index 4c8421e36..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'modules/{$name}/',
- 'theme' => 'themes/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php b/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php
deleted file mode 100644
index 77cc3dd87..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'modules/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php
deleted file mode 100644
index 65510580e..000000000
--- a/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php
+++ /dev/null
@@ -1,63 +0,0 @@
- 'app/Modules/{$name}/',
- 'theme' => 'themes/{$name}/',
- );
-
- /**
- * Format package name.
- *
- * @param array $vars
- *
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'pxcms-module') {
- return $this->inflectModuleVars($vars);
- }
-
- if ($vars['type'] === 'pxcms-theme') {
- return $this->inflectThemeVars($vars);
- }
-
- return $vars;
- }
-
- /**
- * For package type pxcms-module, cut off a trailing '-plugin' if present.
- *
- * return string
- */
- protected function inflectModuleVars($vars)
- {
- $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
- $vars['name'] = str_replace('module-', '', $vars['name']); // strip out module-
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']); // strip out -module
- $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
- $vars['name'] = ucwords($vars['name']); // make module name camelcased
-
- return $vars;
- }
-
-
- /**
- * For package type pxcms-module, cut off a trailing '-plugin' if present.
- *
- * return string
- */
- protected function inflectThemeVars($vars)
- {
- $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
- $vars['name'] = str_replace('theme-', '', $vars['name']); // strip out theme-
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); // strip out -theme
- $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
- $vars['name'] = ucwords($vars['name']); // make module name camelcased
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php b/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php
deleted file mode 100644
index 0f78b5ca6..000000000
--- a/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php
+++ /dev/null
@@ -1,24 +0,0 @@
- 'src/{$name}/'
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $nameParts = explode('/', $vars['name']);
- foreach ($nameParts as &$value) {
- $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
- $value = str_replace(array('-', '_'), ' ', $value);
- $value = str_replace(' ', '', ucwords($value));
- }
- $vars['name'] = implode('/', $nameParts);
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php b/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php
deleted file mode 100644
index 252c7339f..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'themes/{$name}/',
- 'plugin' => 'plugins/{$name}/'
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php b/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
deleted file mode 100644
index 09544576b..000000000
--- a/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'redaxo/include/addons/{$name}/',
- 'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/'
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php b/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
deleted file mode 100644
index d8d795be0..000000000
--- a/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
+++ /dev/null
@@ -1,22 +0,0 @@
- 'plugins/{$name}/',
- );
-
- /**
- * Lowercase name and changes the name to a underscores
- *
- * @param array $vars
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php b/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php
deleted file mode 100644
index 1acd3b14c..000000000
--- a/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'Sources/{$name}/',
- 'theme' => 'Themes/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php b/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
deleted file mode 100644
index 7d20d27a2..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
+++ /dev/null
@@ -1,60 +0,0 @@
- 'engine/Shopware/Plugins/Local/Backend/{$name}/',
- 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/',
- 'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/',
- 'theme' => 'templates/{$name}/',
- 'plugin' => 'custom/plugins/{$name}/',
- 'frontend-theme' => 'themes/Frontend/{$name}/',
- );
-
- /**
- * Transforms the names
- * @param array $vars
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'shopware-theme') {
- return $this->correctThemeName($vars);
- }
-
- return $this->correctPluginName($vars);
- }
-
- /**
- * Changes the name to a camelcased combination of vendor and name
- * @param array $vars
- * @return array
- */
- private function correctPluginName($vars)
- {
- $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
- return strtoupper($matches[0][1]);
- }, $vars['name']);
-
- $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName);
-
- return $vars;
- }
-
- /**
- * Changes the name to a underscore separated name
- * @param array $vars
- * @return array
- */
- private function correctThemeName($vars)
- {
- $vars['name'] = str_replace('-', '_', $vars['name']);
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php b/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
deleted file mode 100644
index 81910e9f1..000000000
--- a/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
+++ /dev/null
@@ -1,35 +0,0 @@
- '{$name}/',
- 'theme' => 'themes/{$name}/',
- );
-
- /**
- * Return the install path based on package type.
- *
- * Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework
- * must be installed to 'sapphire' and not 'framework' if the version is <3.0.0
- *
- * @param PackageInterface $package
- * @param string $frameworkType
- * @return string
- */
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
- {
- if (
- $package->getName() == 'silverstripe/framework'
- && preg_match('/^\d+\.\d+\.\d+/', $package->getVersion())
- && version_compare($package->getVersion(), '2.999.999') < 0
- ) {
- return $this->templatePath($this->locations['module'], array('name' => 'sapphire'));
- }
-
- return parent::getInstallPath($package, $frameworkType);
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php b/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php
deleted file mode 100644
index 762d94c68..000000000
--- a/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php
+++ /dev/null
@@ -1,25 +0,0 @@
- 'modules/{$vendor}/{$name}/',
- 'plugin' => 'plugins/{$vendor}/{$name}/'
- );
-
- public function inflectPackageVars($vars)
- {
- return $this->parseVars($vars);
- }
-
- protected function parseVars($vars)
- {
- $vars['vendor'] = strtolower($vars['vendor']) == 'sitedirect' ? 'SiteDirect' : $vars['vendor'];
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php b/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php
deleted file mode 100644
index 83ef9d091..000000000
--- a/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php
+++ /dev/null
@@ -1,49 +0,0 @@
- 'app/modules/{$name}/',
- 'theme' => 'themes/{$name}/',
- );
-
- /**
- * Format module name.
- *
- * Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present.
- *
- * @param array @vars
- *
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] == 'sydes-module') {
- return $this->inflectModuleVars($vars);
- }
-
- if ($vars['type'] === 'sydes-theme') {
- return $this->inflectThemeVars($vars);
- }
-
- return $vars;
- }
-
- public function inflectModuleVars($vars)
- {
- $vars['name'] = preg_replace('/(^sydes-|-module$)/i', '', $vars['name']);
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-
- protected function inflectThemeVars($vars)
- {
- $vars['name'] = preg_replace('/(^sydes-|-theme$)/', '', $vars['name']);
- $vars['name'] = strtolower($vars['name']);
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php b/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php
deleted file mode 100644
index 1675c4f21..000000000
--- a/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php
+++ /dev/null
@@ -1,26 +0,0 @@
-
- */
-class Symfony1Installer extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'plugins/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
- return strtoupper($matches[0][1]);
- }, $vars['name']);
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php
deleted file mode 100644
index b1663e843..000000000
--- a/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php
+++ /dev/null
@@ -1,16 +0,0 @@
-
- */
-class TYPO3CmsInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'extension' => 'typo3conf/ext/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php b/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php
deleted file mode 100644
index 42572f44f..000000000
--- a/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php
+++ /dev/null
@@ -1,38 +0,0 @@
- 'Packages/Application/{$name}/',
- 'framework' => 'Packages/Framework/{$name}/',
- 'plugin' => 'Packages/Plugins/{$name}/',
- 'site' => 'Packages/Sites/{$name}/',
- 'boilerplate' => 'Packages/Boilerplates/{$name}/',
- 'build' => 'Build/{$name}/',
- );
-
- /**
- * Modify the package name to be a TYPO3 Flow style key.
- *
- * @param array $vars
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $autoload = $this->package->getAutoload();
- if (isset($autoload['psr-0']) && is_array($autoload['psr-0'])) {
- $namespace = key($autoload['psr-0']);
- $vars['name'] = str_replace('\\', '.', $namespace);
- }
- if (isset($autoload['psr-4']) && is_array($autoload['psr-4'])) {
- $namespace = key($autoload['psr-4']);
- $vars['name'] = rtrim(str_replace('\\', '.', $namespace), '.');
- }
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php b/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
deleted file mode 100644
index 158af5261..000000000
--- a/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
+++ /dev/null
@@ -1,12 +0,0 @@
- 'local/modules/{$name}/',
- 'frontoffice-template' => 'templates/frontOffice/{$name}/',
- 'backoffice-template' => 'templates/backOffice/{$name}/',
- 'email-template' => 'templates/email/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php b/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php
deleted file mode 100644
index 7c0113b85..000000000
--- a/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php
+++ /dev/null
@@ -1,14 +0,0 @@
-
- */
- class TuskInstaller extends BaseInstaller
- {
- protected $locations = array(
- 'task' => '.tusk/tasks/{$name}/',
- 'command' => '.tusk/commands/{$name}/',
- 'asset' => 'assets/tusk/{$name}/',
- );
- }
diff --git a/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php b/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php
deleted file mode 100644
index fcb414ab7..000000000
--- a/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'app/sprinkles/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php b/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php
deleted file mode 100644
index 24ca64512..000000000
--- a/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'plugins/{$name}/',
- 'theme' => 'themes/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php b/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php
deleted file mode 100644
index 7d90c5e6e..000000000
--- a/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php
+++ /dev/null
@@ -1,49 +0,0 @@
- 'src/{$vendor}/{$name}/',
- 'theme' => 'themes/{$name}/'
- );
-
- /**
- * Format package name.
- *
- * For package type vgmcp-bundle, cut off a trailing '-bundle' if present.
- *
- * For package type vgmcp-theme, cut off a trailing '-theme' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'vgmcp-bundle') {
- return $this->inflectPluginVars($vars);
- }
-
- if ($vars['type'] === 'vgmcp-theme') {
- return $this->inflectThemeVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectPluginVars($vars)
- {
- $vars['name'] = preg_replace('/-bundle$/', '', $vars['name']);
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-
- protected function inflectThemeVars($vars)
- {
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php b/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php
deleted file mode 100644
index 2cbb4a463..000000000
--- a/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'modules/gateways/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php
deleted file mode 100644
index cb387881d..000000000
--- a/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'wolf/plugins/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php b/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
deleted file mode 100644
index 91c46ad99..000000000
--- a/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
+++ /dev/null
@@ -1,12 +0,0 @@
- 'wp-content/plugins/{$name}/',
- 'theme' => 'wp-content/themes/{$name}/',
- 'muplugin' => 'wp-content/mu-plugins/{$name}/',
- 'dropin' => 'wp-content/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php b/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php
deleted file mode 100644
index 27f429ff2..000000000
--- a/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php
+++ /dev/null
@@ -1,32 +0,0 @@
- 'module/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- * @param array $vars
- *
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
\ No newline at end of file
diff --git a/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php b/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php
deleted file mode 100644
index bde9bc8c8..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'library/{$name}/',
- 'extra' => 'extras/library/{$name}/',
- 'module' => 'module/{$name}/',
- );
-}
diff --git a/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php b/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php
deleted file mode 100644
index 56cdf5da7..000000000
--- a/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
- 'modules/{$vendor}-{$name}/',
- 'theme' => 'themes/{$vendor}-{$name}/'
- );
-}
diff --git a/vendor/composer/installers/src/bootstrap.php b/vendor/composer/installers/src/bootstrap.php
deleted file mode 100644
index 0de276ee2..000000000
--- a/vendor/composer/installers/src/bootstrap.php
+++ /dev/null
@@ -1,13 +0,0 @@
- `Composer\Semver`
- - Namespace: `Composer\Package\LinkConstraint` -> `Composer\Semver\Constraint`
- - Namespace: `Composer\Test\Package\Version` -> `Composer\Test\Semver`
- - Namespace: `Composer\Test\Package\LinkConstraint` -> `Composer\Test\Semver\Constraint`
- * Changed: code style using php-cs-fixer.
-
-[1.4.1]: https://github.com/composer/semver/compare/1.4.0...1.4.1
-[1.4.0]: https://github.com/composer/semver/compare/1.3.0...1.4.0
-[1.3.0]: https://github.com/composer/semver/compare/1.2.0...1.3.0
-[1.2.0]: https://github.com/composer/semver/compare/1.1.0...1.2.0
-[1.1.0]: https://github.com/composer/semver/compare/1.0.0...1.1.0
-[1.0.0]: https://github.com/composer/semver/compare/0.1.0...1.0.0
-[0.1.0]: https://github.com/composer/semver/compare/5e0b9a4da...0.1.0
diff --git a/vendor/composer/semver/LICENSE b/vendor/composer/semver/LICENSE
deleted file mode 100644
index 466975862..000000000
--- a/vendor/composer/semver/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (C) 2015 Composer
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/vendor/composer/semver/README.md b/vendor/composer/semver/README.md
deleted file mode 100644
index 143daa0d6..000000000
--- a/vendor/composer/semver/README.md
+++ /dev/null
@@ -1,70 +0,0 @@
-composer/semver
-===============
-
-Semver library that offers utilities, version constraint parsing and validation.
-
-Originally written as part of [composer/composer](https://github.com/composer/composer),
-now extracted and made available as a stand-alone library.
-
-[![Build Status](https://travis-ci.org/composer/semver.svg?branch=master)](https://travis-ci.org/composer/semver)
-
-
-Installation
-------------
-
-Install the latest version with:
-
-```bash
-$ composer require composer/semver
-```
-
-
-Requirements
-------------
-
-* PHP 5.3.2 is required but using the latest version of PHP is highly recommended.
-
-
-Version Comparison
-------------------
-
-For details on how versions are compared, refer to the [Versions](https://getcomposer.org/doc/articles/versions.md)
-article in the documentation section of the [getcomposer.org](https://getcomposer.org) website.
-
-
-Basic usage
------------
-
-### Comparator
-
-The `Composer\Semver\Comparator` class provides the following methods for comparing versions:
-
-* greaterThan($v1, $v2)
-* greaterThanOrEqualTo($v1, $v2)
-* lessThan($v1, $v2)
-* lessThanOrEqualTo($v1, $v2)
-* equalTo($v1, $v2)
-* notEqualTo($v1, $v2)
-
-Each function takes two version strings as arguments. For example:
-
-```php
-use Composer\Semver\Comparator;
-
-Comparator::greaterThan('1.25.0', '1.24.0'); // 1.25.0 > 1.24.0
-```
-
-### Semver
-
-The `Composer\Semver\Semver` class provides the following methods:
-
-* satisfies($version, $constraints)
-* satisfiedBy(array $versions, $constraint)
-* sort($versions)
-* rsort($versions)
-
-
-License
--------
-
-composer/semver is licensed under the MIT License, see the LICENSE file for details.
diff --git a/vendor/composer/semver/composer.json b/vendor/composer/semver/composer.json
deleted file mode 100644
index b0400cd7b..000000000
--- a/vendor/composer/semver/composer.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "name": "composer/semver",
- "description": "Semver library that offers utilities, version constraint parsing and validation.",
- "type": "library",
- "license": "MIT",
- "keywords": [
- "semver",
- "semantic",
- "versioning",
- "validation"
- ],
- "authors": [
- {
- "name": "Nils Adermann",
- "email": "naderman@naderman.de",
- "homepage": "http://www.naderman.de"
- },
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be"
- },
- {
- "name": "Rob Bast",
- "email": "rob.bast@gmail.com",
- "homepage": "http://robbast.nl"
- }
- ],
- "support": {
- "irc": "irc://irc.freenode.org/composer",
- "issues": "https://github.com/composer/semver/issues"
- },
- "require": {
- "php": "^5.3.2 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.5 || ^5.0.5",
- "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0"
- },
- "autoload": {
- "psr-4": {
- "Composer\\Semver\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Composer\\Semver\\": "tests"
- }
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "scripts": {
- "test": "phpunit"
- }
-}
diff --git a/vendor/composer/semver/src/Comparator.php b/vendor/composer/semver/src/Comparator.php
deleted file mode 100644
index a9d758f1c..000000000
--- a/vendor/composer/semver/src/Comparator.php
+++ /dev/null
@@ -1,111 +0,0 @@
-
- *
- * For the full copyright and license information, please view
- * the LICENSE file that was distributed with this source code.
- */
-
-namespace Composer\Semver;
-
-use Composer\Semver\Constraint\Constraint;
-
-class Comparator
-{
- /**
- * Evaluates the expression: $version1 > $version2.
- *
- * @param string $version1
- * @param string $version2
- *
- * @return bool
- */
- public static function greaterThan($version1, $version2)
- {
- return self::compare($version1, '>', $version2);
- }
-
- /**
- * Evaluates the expression: $version1 >= $version2.
- *
- * @param string $version1
- * @param string $version2
- *
- * @return bool
- */
- public static function greaterThanOrEqualTo($version1, $version2)
- {
- return self::compare($version1, '>=', $version2);
- }
-
- /**
- * Evaluates the expression: $version1 < $version2.
- *
- * @param string $version1
- * @param string $version2
- *
- * @return bool
- */
- public static function lessThan($version1, $version2)
- {
- return self::compare($version1, '<', $version2);
- }
-
- /**
- * Evaluates the expression: $version1 <= $version2.
- *
- * @param string $version1
- * @param string $version2
- *
- * @return bool
- */
- public static function lessThanOrEqualTo($version1, $version2)
- {
- return self::compare($version1, '<=', $version2);
- }
-
- /**
- * Evaluates the expression: $version1 == $version2.
- *
- * @param string $version1
- * @param string $version2
- *
- * @return bool
- */
- public static function equalTo($version1, $version2)
- {
- return self::compare($version1, '==', $version2);
- }
-
- /**
- * Evaluates the expression: $version1 != $version2.
- *
- * @param string $version1
- * @param string $version2
- *
- * @return bool
- */
- public static function notEqualTo($version1, $version2)
- {
- return self::compare($version1, '!=', $version2);
- }
-
- /**
- * Evaluates the expression: $version1 $operator $version2.
- *
- * @param string $version1
- * @param string $operator
- * @param string $version2
- *
- * @return bool
- */
- public static function compare($version1, $operator, $version2)
- {
- $constraint = new Constraint($operator, $version2);
-
- return $constraint->matches(new Constraint('==', $version1));
- }
-}
diff --git a/vendor/composer/semver/src/Constraint/AbstractConstraint.php b/vendor/composer/semver/src/Constraint/AbstractConstraint.php
deleted file mode 100644
index be83f750b..000000000
--- a/vendor/composer/semver/src/Constraint/AbstractConstraint.php
+++ /dev/null
@@ -1,63 +0,0 @@
-
- *
- * For the full copyright and license information, please view
- * the LICENSE file that was distributed with this source code.
- */
-
-namespace Composer\Semver\Constraint;
-
-trigger_error('The ' . __CLASS__ . ' abstract class is deprecated, there is no replacement for it, it will be removed in the next major version.', E_USER_DEPRECATED);
-
-/**
- * Base constraint class.
- */
-abstract class AbstractConstraint implements ConstraintInterface
-{
- /** @var string */
- protected $prettyString;
-
- /**
- * @param ConstraintInterface $provider
- *
- * @return bool
- */
- public function matches(ConstraintInterface $provider)
- {
- if ($provider instanceof $this) {
- // see note at bottom of this class declaration
- return $this->matchSpecific($provider);
- }
-
- // turn matching around to find a match
- return $provider->matches($this);
- }
-
- /**
- * @param string $prettyString
- */
- public function setPrettyString($prettyString)
- {
- $this->prettyString = $prettyString;
- }
-
- /**
- * @return string
- */
- public function getPrettyString()
- {
- if ($this->prettyString) {
- return $this->prettyString;
- }
-
- return $this->__toString();
- }
-
- // implementations must implement a method of this format:
- // not declared abstract here because type hinting violates parameter coherence (TODO right word?)
- // public function matchSpecific( $provider);
-}
diff --git a/vendor/composer/semver/src/Constraint/Constraint.php b/vendor/composer/semver/src/Constraint/Constraint.php
deleted file mode 100644
index 7a21eb47f..000000000
--- a/vendor/composer/semver/src/Constraint/Constraint.php
+++ /dev/null
@@ -1,219 +0,0 @@
-
- *
- * For the full copyright and license information, please view
- * the LICENSE file that was distributed with this source code.
- */
-
-namespace Composer\Semver\Constraint;
-
-/**
- * Defines a constraint.
- */
-class Constraint implements ConstraintInterface
-{
- /* operator integer values */
- const OP_EQ = 0;
- const OP_LT = 1;
- const OP_LE = 2;
- const OP_GT = 3;
- const OP_GE = 4;
- const OP_NE = 5;
-
- /**
- * Operator to integer translation table.
- *
- * @var array
- */
- private static $transOpStr = array(
- '=' => self::OP_EQ,
- '==' => self::OP_EQ,
- '<' => self::OP_LT,
- '<=' => self::OP_LE,
- '>' => self::OP_GT,
- '>=' => self::OP_GE,
- '<>' => self::OP_NE,
- '!=' => self::OP_NE,
- );
-
- /**
- * Integer to operator translation table.
- *
- * @var array
- */
- private static $transOpInt = array(
- self::OP_EQ => '==',
- self::OP_LT => '<',
- self::OP_LE => '<=',
- self::OP_GT => '>',
- self::OP_GE => '>=',
- self::OP_NE => '!=',
- );
-
- /** @var string */
- protected $operator;
-
- /** @var string */
- protected $version;
-
- /** @var string */
- protected $prettyString;
-
- /**
- * @param ConstraintInterface $provider
- *
- * @return bool
- */
- public function matches(ConstraintInterface $provider)
- {
- if ($provider instanceof $this) {
- return $this->matchSpecific($provider);
- }
-
- // turn matching around to find a match
- return $provider->matches($this);
- }
-
- /**
- * @param string $prettyString
- */
- public function setPrettyString($prettyString)
- {
- $this->prettyString = $prettyString;
- }
-
- /**
- * @return string
- */
- public function getPrettyString()
- {
- if ($this->prettyString) {
- return $this->prettyString;
- }
-
- return $this->__toString();
- }
-
- /**
- * Get all supported comparison operators.
- *
- * @return array
- */
- public static function getSupportedOperators()
- {
- return array_keys(self::$transOpStr);
- }
-
- /**
- * Sets operator and version to compare with.
- *
- * @param string $operator
- * @param string $version
- *
- * @throws \InvalidArgumentException if invalid operator is given.
- */
- public function __construct($operator, $version)
- {
- if (!isset(self::$transOpStr[$operator])) {
- throw new \InvalidArgumentException(sprintf(
- 'Invalid operator "%s" given, expected one of: %s',
- $operator,
- implode(', ', self::getSupportedOperators())
- ));
- }
-
- $this->operator = self::$transOpStr[$operator];
- $this->version = $version;
- }
-
- /**
- * @param string $a
- * @param string $b
- * @param string $operator
- * @param bool $compareBranches
- *
- * @throws \InvalidArgumentException if invalid operator is given.
- *
- * @return bool
- */
- public function versionCompare($a, $b, $operator, $compareBranches = false)
- {
- if (!isset(self::$transOpStr[$operator])) {
- throw new \InvalidArgumentException(sprintf(
- 'Invalid operator "%s" given, expected one of: %s',
- $operator,
- implode(', ', self::getSupportedOperators())
- ));
- }
-
- $aIsBranch = 'dev-' === substr($a, 0, 4);
- $bIsBranch = 'dev-' === substr($b, 0, 4);
-
- if ($aIsBranch && $bIsBranch) {
- return $operator === '==' && $a === $b;
- }
-
- // when branches are not comparable, we make sure dev branches never match anything
- if (!$compareBranches && ($aIsBranch || $bIsBranch)) {
- return false;
- }
-
- return version_compare($a, $b, $operator);
- }
-
- /**
- * @param Constraint $provider
- * @param bool $compareBranches
- *
- * @return bool
- */
- public function matchSpecific(Constraint $provider, $compareBranches = false)
- {
- $noEqualOp = str_replace('=', '', self::$transOpInt[$this->operator]);
- $providerNoEqualOp = str_replace('=', '', self::$transOpInt[$provider->operator]);
-
- $isEqualOp = self::OP_EQ === $this->operator;
- $isNonEqualOp = self::OP_NE === $this->operator;
- $isProviderEqualOp = self::OP_EQ === $provider->operator;
- $isProviderNonEqualOp = self::OP_NE === $provider->operator;
-
- // '!=' operator is match when other operator is not '==' operator or version is not match
- // these kinds of comparisons always have a solution
- if ($isNonEqualOp || $isProviderNonEqualOp) {
- return !$isEqualOp && !$isProviderEqualOp
- || $this->versionCompare($provider->version, $this->version, '!=', $compareBranches);
- }
-
- // an example for the condition is <= 2.0 & < 1.0
- // these kinds of comparisons always have a solution
- if ($this->operator !== self::OP_EQ && $noEqualOp === $providerNoEqualOp) {
- return true;
- }
-
- if ($this->versionCompare($provider->version, $this->version, self::$transOpInt[$this->operator], $compareBranches)) {
- // special case, e.g. require >= 1.0 and provide < 1.0
- // 1.0 >= 1.0 but 1.0 is outside of the provided interval
- if ($provider->version === $this->version
- && self::$transOpInt[$provider->operator] === $providerNoEqualOp
- && self::$transOpInt[$this->operator] !== $noEqualOp) {
- return false;
- }
-
- return true;
- }
-
- return false;
- }
-
- /**
- * @return string
- */
- public function __toString()
- {
- return self::$transOpInt[$this->operator] . ' ' . $this->version;
- }
-}
diff --git a/vendor/composer/semver/src/Constraint/ConstraintInterface.php b/vendor/composer/semver/src/Constraint/ConstraintInterface.php
deleted file mode 100644
index 7cb13b6a8..000000000
--- a/vendor/composer/semver/src/Constraint/ConstraintInterface.php
+++ /dev/null
@@ -1,32 +0,0 @@
-
- *
- * For the full copyright and license information, please view
- * the LICENSE file that was distributed with this source code.
- */
-
-namespace Composer\Semver\Constraint;
-
-interface ConstraintInterface
-{
- /**
- * @param ConstraintInterface $provider
- *
- * @return bool
- */
- public function matches(ConstraintInterface $provider);
-
- /**
- * @return string
- */
- public function getPrettyString();
-
- /**
- * @return string
- */
- public function __toString();
-}
diff --git a/vendor/composer/semver/src/Constraint/EmptyConstraint.php b/vendor/composer/semver/src/Constraint/EmptyConstraint.php
deleted file mode 100644
index faba56bf0..000000000
--- a/vendor/composer/semver/src/Constraint/EmptyConstraint.php
+++ /dev/null
@@ -1,59 +0,0 @@
-
- *
- * For the full copyright and license information, please view
- * the LICENSE file that was distributed with this source code.
- */
-
-namespace Composer\Semver\Constraint;
-
-/**
- * Defines the absence of a constraint.
- */
-class EmptyConstraint implements ConstraintInterface
-{
- /** @var string */
- protected $prettyString;
-
- /**
- * @param ConstraintInterface $provider
- *
- * @return bool
- */
- public function matches(ConstraintInterface $provider)
- {
- return true;
- }
-
- /**
- * @param $prettyString
- */
- public function setPrettyString($prettyString)
- {
- $this->prettyString = $prettyString;
- }
-
- /**
- * @return string
- */
- public function getPrettyString()
- {
- if ($this->prettyString) {
- return $this->prettyString;
- }
-
- return $this->__toString();
- }
-
- /**
- * @return string
- */
- public function __toString()
- {
- return '[]';
- }
-}
diff --git a/vendor/composer/semver/src/Constraint/MultiConstraint.php b/vendor/composer/semver/src/Constraint/MultiConstraint.php
deleted file mode 100644
index 0c547afd4..000000000
--- a/vendor/composer/semver/src/Constraint/MultiConstraint.php
+++ /dev/null
@@ -1,120 +0,0 @@
-
- *
- * For the full copyright and license information, please view
- * the LICENSE file that was distributed with this source code.
- */
-
-namespace Composer\Semver\Constraint;
-
-/**
- * Defines a conjunctive or disjunctive set of constraints.
- */
-class MultiConstraint implements ConstraintInterface
-{
- /** @var ConstraintInterface[] */
- protected $constraints;
-
- /** @var string */
- protected $prettyString;
-
- /** @var bool */
- protected $conjunctive;
-
- /**
- * @param ConstraintInterface[] $constraints A set of constraints
- * @param bool $conjunctive Whether the constraints should be treated as conjunctive or disjunctive
- */
- public function __construct(array $constraints, $conjunctive = true)
- {
- $this->constraints = $constraints;
- $this->conjunctive = $conjunctive;
- }
-
- /**
- * @return ConstraintInterface[]
- */
- public function getConstraints()
- {
- return $this->constraints;
- }
-
- /**
- * @return bool
- */
- public function isConjunctive()
- {
- return $this->conjunctive;
- }
-
- /**
- * @return bool
- */
- public function isDisjunctive()
- {
- return !$this->conjunctive;
- }
-
- /**
- * @param ConstraintInterface $provider
- *
- * @return bool
- */
- public function matches(ConstraintInterface $provider)
- {
- if (false === $this->conjunctive) {
- foreach ($this->constraints as $constraint) {
- if ($constraint->matches($provider)) {
- return true;
- }
- }
-
- return false;
- }
-
- foreach ($this->constraints as $constraint) {
- if (!$constraint->matches($provider)) {
- return false;
- }
- }
-
- return true;
- }
-
- /**
- * @param string $prettyString
- */
- public function setPrettyString($prettyString)
- {
- $this->prettyString = $prettyString;
- }
-
- /**
- * @return string
- */
- public function getPrettyString()
- {
- if ($this->prettyString) {
- return $this->prettyString;
- }
-
- return $this->__toString();
- }
-
- /**
- * @return string
- */
- public function __toString()
- {
- $constraints = array();
- foreach ($this->constraints as $constraint) {
- $constraints[] = (string) $constraint;
- }
-
- return '[' . implode($this->conjunctive ? ' ' : ' || ', $constraints) . ']';
- }
-}
diff --git a/vendor/composer/semver/src/Semver.php b/vendor/composer/semver/src/Semver.php
deleted file mode 100644
index 0225bb55a..000000000
--- a/vendor/composer/semver/src/Semver.php
+++ /dev/null
@@ -1,127 +0,0 @@
-
- *
- * For the full copyright and license information, please view
- * the LICENSE file that was distributed with this source code.
- */
-
-namespace Composer\Semver;
-
-use Composer\Semver\Constraint\Constraint;
-
-class Semver
-{
- const SORT_ASC = 1;
- const SORT_DESC = -1;
-
- /** @var VersionParser */
- private static $versionParser;
-
- /**
- * Determine if given version satisfies given constraints.
- *
- * @param string $version
- * @param string $constraints
- *
- * @return bool
- */
- public static function satisfies($version, $constraints)
- {
- if (null === self::$versionParser) {
- self::$versionParser = new VersionParser();
- }
-
- $versionParser = self::$versionParser;
- $provider = new Constraint('==', $versionParser->normalize($version));
- $constraints = $versionParser->parseConstraints($constraints);
-
- return $constraints->matches($provider);
- }
-
- /**
- * Return all versions that satisfy given constraints.
- *
- * @param array $versions
- * @param string $constraints
- *
- * @return array
- */
- public static function satisfiedBy(array $versions, $constraints)
- {
- $versions = array_filter($versions, function ($version) use ($constraints) {
- return Semver::satisfies($version, $constraints);
- });
-
- return array_values($versions);
- }
-
- /**
- * Sort given array of versions.
- *
- * @param array $versions
- *
- * @return array
- */
- public static function sort(array $versions)
- {
- return self::usort($versions, self::SORT_ASC);
- }
-
- /**
- * Sort given array of versions in reverse.
- *
- * @param array $versions
- *
- * @return array
- */
- public static function rsort(array $versions)
- {
- return self::usort($versions, self::SORT_DESC);
- }
-
- /**
- * @param array $versions
- * @param int $direction
- *
- * @return array
- */
- private static function usort(array $versions, $direction)
- {
- if (null === self::$versionParser) {
- self::$versionParser = new VersionParser();
- }
-
- $versionParser = self::$versionParser;
- $normalized = array();
-
- // Normalize outside of usort() scope for minor performance increase.
- // Creates an array of arrays: [[normalized, key], ...]
- foreach ($versions as $key => $version) {
- $normalized[] = array($versionParser->normalize($version), $key);
- }
-
- usort($normalized, function (array $left, array $right) use ($direction) {
- if ($left[0] === $right[0]) {
- return 0;
- }
-
- if (Comparator::lessThan($left[0], $right[0])) {
- return -$direction;
- }
-
- return $direction;
- });
-
- // Recreate input array, using the original indexes which are now in sorted order.
- $sorted = array();
- foreach ($normalized as $item) {
- $sorted[] = $versions[$item[1]];
- }
-
- return $sorted;
- }
-}
diff --git a/vendor/composer/semver/src/VersionParser.php b/vendor/composer/semver/src/VersionParser.php
deleted file mode 100644
index 359c18c46..000000000
--- a/vendor/composer/semver/src/VersionParser.php
+++ /dev/null
@@ -1,548 +0,0 @@
-
- *
- * For the full copyright and license information, please view
- * the LICENSE file that was distributed with this source code.
- */
-
-namespace Composer\Semver;
-
-use Composer\Semver\Constraint\ConstraintInterface;
-use Composer\Semver\Constraint\EmptyConstraint;
-use Composer\Semver\Constraint\MultiConstraint;
-use Composer\Semver\Constraint\Constraint;
-
-/**
- * Version parser.
- *
- * @author Jordi Boggiano
- */
-class VersionParser
-{
- /**
- * Regex to match pre-release data (sort of).
- *
- * Due to backwards compatibility:
- * - Instead of enforcing hyphen, an underscore, dot or nothing at all are also accepted.
- * - Only stabilities as recognized by Composer are allowed to precede a numerical identifier.
- * - Numerical-only pre-release identifiers are not supported, see tests.
- *
- * |--------------|
- * [major].[minor].[patch] -[pre-release] +[build-metadata]
- *
- * @var string
- */
- private static $modifierRegex = '[._-]?(?:(stable|beta|b|RC|alpha|a|patch|pl|p)((?:[.-]?\d+)*+)?)?([.-]?dev)?';
-
- /** @var array */
- private static $stabilities = array('stable', 'RC', 'beta', 'alpha', 'dev');
-
- /**
- * Returns the stability of a version.
- *
- * @param string $version
- *
- * @return string
- */
- public static function parseStability($version)
- {
- $version = preg_replace('{#.+$}i', '', $version);
-
- if ('dev-' === substr($version, 0, 4) || '-dev' === substr($version, -4)) {
- return 'dev';
- }
-
- preg_match('{' . self::$modifierRegex . '(?:\+.*)?$}i', strtolower($version), $match);
- if (!empty($match[3])) {
- return 'dev';
- }
-
- if (!empty($match[1])) {
- if ('beta' === $match[1] || 'b' === $match[1]) {
- return 'beta';
- }
- if ('alpha' === $match[1] || 'a' === $match[1]) {
- return 'alpha';
- }
- if ('rc' === $match[1]) {
- return 'RC';
- }
- }
-
- return 'stable';
- }
-
- /**
- * @param string $stability
- *
- * @return string
- */
- public static function normalizeStability($stability)
- {
- $stability = strtolower($stability);
-
- return $stability === 'rc' ? 'RC' : $stability;
- }
-
- /**
- * Normalizes a version string to be able to perform comparisons on it.
- *
- * @param string $version
- * @param string $fullVersion optional complete version string to give more context
- *
- * @throws \UnexpectedValueException
- *
- * @return string
- */
- public function normalize($version, $fullVersion = null)
- {
- $version = trim($version);
- if (null === $fullVersion) {
- $fullVersion = $version;
- }
-
- // strip off aliasing
- if (preg_match('{^([^,\s]++) ++as ++([^,\s]++)$}', $version, $match)) {
- $version = $match[1];
- }
-
- // match master-like branches
- if (preg_match('{^(?:dev-)?(?:master|trunk|default)$}i', $version)) {
- return '9999999-dev';
- }
-
- // if requirement is branch-like, use full name
- if ('dev-' === strtolower(substr($version, 0, 4))) {
- return 'dev-' . substr($version, 4);
- }
-
- // strip off build metadata
- if (preg_match('{^([^,\s+]++)\+[^\s]++$}', $version, $match)) {
- $version = $match[1];
- }
-
- // match classical versioning
- if (preg_match('{^v?(\d{1,5})(\.\d++)?(\.\d++)?(\.\d++)?' . self::$modifierRegex . '$}i', $version, $matches)) {
- $version = $matches[1]
- . (!empty($matches[2]) ? $matches[2] : '.0')
- . (!empty($matches[3]) ? $matches[3] : '.0')
- . (!empty($matches[4]) ? $matches[4] : '.0');
- $index = 5;
- // match date(time) based versioning
- } elseif (preg_match('{^v?(\d{4}(?:[.:-]?\d{2}){1,6}(?:[.:-]?\d{1,3})?)' . self::$modifierRegex . '$}i', $version, $matches)) {
- $version = preg_replace('{\D}', '.', $matches[1]);
- $index = 2;
- }
-
- // add version modifiers if a version was matched
- if (isset($index)) {
- if (!empty($matches[$index])) {
- if ('stable' === $matches[$index]) {
- return $version;
- }
- $version .= '-' . $this->expandStability($matches[$index]) . (!empty($matches[$index + 1]) ? ltrim($matches[$index + 1], '.-') : '');
- }
-
- if (!empty($matches[$index + 2])) {
- $version .= '-dev';
- }
-
- return $version;
- }
-
- // match dev branches
- if (preg_match('{(.*?)[.-]?dev$}i', $version, $match)) {
- try {
- return $this->normalizeBranch($match[1]);
- } catch (\Exception $e) {
- }
- }
-
- $extraMessage = '';
- if (preg_match('{ +as +' . preg_quote($version) . '$}', $fullVersion)) {
- $extraMessage = ' in "' . $fullVersion . '", the alias must be an exact version';
- } elseif (preg_match('{^' . preg_quote($version) . ' +as +}', $fullVersion)) {
- $extraMessage = ' in "' . $fullVersion . '", the alias source must be an exact version, if it is a branch name you should prefix it with dev-';
- }
-
- throw new \UnexpectedValueException('Invalid version string "' . $version . '"' . $extraMessage);
- }
-
- /**
- * Extract numeric prefix from alias, if it is in numeric format, suitable for version comparison.
- *
- * @param string $branch Branch name (e.g. 2.1.x-dev)
- *
- * @return string|false Numeric prefix if present (e.g. 2.1.) or false
- */
- public function parseNumericAliasPrefix($branch)
- {
- if (preg_match('{^(?P(\d++\\.)*\d++)(?:\.x)?-dev$}i', $branch, $matches)) {
- return $matches['version'] . '.';
- }
-
- return false;
- }
-
- /**
- * Normalizes a branch name to be able to perform comparisons on it.
- *
- * @param string $name
- *
- * @return string
- */
- public function normalizeBranch($name)
- {
- $name = trim($name);
-
- if (in_array($name, array('master', 'trunk', 'default'))) {
- return $this->normalize($name);
- }
-
- if (preg_match('{^v?(\d++)(\.(?:\d++|[xX*]))?(\.(?:\d++|[xX*]))?(\.(?:\d++|[xX*]))?$}i', $name, $matches)) {
- $version = '';
- for ($i = 1; $i < 5; ++$i) {
- $version .= isset($matches[$i]) ? str_replace(array('*', 'X'), 'x', $matches[$i]) : '.x';
- }
-
- return str_replace('x', '9999999', $version) . '-dev';
- }
-
- return 'dev-' . $name;
- }
-
- /**
- * Parses a constraint string into MultiConstraint and/or Constraint objects.
- *
- * @param string $constraints
- *
- * @return ConstraintInterface
- */
- public function parseConstraints($constraints)
- {
- $prettyConstraint = $constraints;
-
- if (preg_match('{^([^,\s]*?)@(' . implode('|', self::$stabilities) . ')$}i', $constraints, $match)) {
- $constraints = empty($match[1]) ? '*' : $match[1];
- }
-
- if (preg_match('{^(dev-[^,\s@]+?|[^,\s@]+?\.x-dev)#.+$}i', $constraints, $match)) {
- $constraints = $match[1];
- }
-
- $orConstraints = preg_split('{\s*\|\|?\s*}', trim($constraints));
- $orGroups = array();
- foreach ($orConstraints as $constraints) {
- $andConstraints = preg_split('{(?< ,]) *(? 1) {
- $constraintObjects = array();
- foreach ($andConstraints as $constraint) {
- foreach ($this->parseConstraint($constraint) as $parsedConstraint) {
- $constraintObjects[] = $parsedConstraint;
- }
- }
- } else {
- $constraintObjects = $this->parseConstraint($andConstraints[0]);
- }
-
- if (1 === count($constraintObjects)) {
- $constraint = $constraintObjects[0];
- } else {
- $constraint = new MultiConstraint($constraintObjects);
- }
-
- $orGroups[] = $constraint;
- }
-
- if (1 === count($orGroups)) {
- $constraint = $orGroups[0];
- } elseif (2 === count($orGroups)
- // parse the two OR groups and if they are contiguous we collapse
- // them into one constraint
- && $orGroups[0] instanceof MultiConstraint
- && $orGroups[1] instanceof MultiConstraint
- && 2 === count($orGroups[0]->getConstraints())
- && 2 === count($orGroups[1]->getConstraints())
- && ($a = (string) $orGroups[0])
- && substr($a, 0, 3) === '[>=' && (false !== ($posA = strpos($a, '<', 4)))
- && ($b = (string) $orGroups[1])
- && substr($b, 0, 3) === '[>=' && (false !== ($posB = strpos($b, '<', 4)))
- && substr($a, $posA + 2, -1) === substr($b, 4, $posB - 5)
- ) {
- $constraint = new MultiConstraint(array(
- new Constraint('>=', substr($a, 4, $posA - 5)),
- new Constraint('<', substr($b, $posB + 2, -1)),
- ));
- } else {
- $constraint = new MultiConstraint($orGroups, false);
- }
-
- $constraint->setPrettyString($prettyConstraint);
-
- return $constraint;
- }
-
- /**
- * @param string $constraint
- *
- * @throws \UnexpectedValueException
- *
- * @return array
- */
- private function parseConstraint($constraint)
- {
- if (preg_match('{^([^,\s]+?)@(' . implode('|', self::$stabilities) . ')$}i', $constraint, $match)) {
- $constraint = $match[1];
- if ($match[2] !== 'stable') {
- $stabilityModifier = $match[2];
- }
- }
-
- if (preg_match('{^v?[xX*](\.[xX*])*$}i', $constraint)) {
- return array(new EmptyConstraint());
- }
-
- $versionRegex = 'v?(\d++)(?:\.(\d++))?(?:\.(\d++))?(?:\.(\d++))?' . self::$modifierRegex . '(?:\+[^\s]+)?';
-
- // Tilde Range
- //
- // Like wildcard constraints, unsuffixed tilde constraints say that they must be greater than the previous
- // version, to ensure that unstable instances of the current version are allowed. However, if a stability
- // suffix is added to the constraint, then a >= match on the current version is used instead.
- if (preg_match('{^~>?' . $versionRegex . '$}i', $constraint, $matches)) {
- if (substr($constraint, 0, 2) === '~>') {
- throw new \UnexpectedValueException(
- 'Could not parse version constraint ' . $constraint . ': ' .
- 'Invalid operator "~>", you probably meant to use the "~" operator'
- );
- }
-
- // Work out which position in the version we are operating at
- if (isset($matches[4]) && '' !== $matches[4]) {
- $position = 4;
- } elseif (isset($matches[3]) && '' !== $matches[3]) {
- $position = 3;
- } elseif (isset($matches[2]) && '' !== $matches[2]) {
- $position = 2;
- } else {
- $position = 1;
- }
-
- // Calculate the stability suffix
- $stabilitySuffix = '';
- if (!empty($matches[5])) {
- $stabilitySuffix .= '-' . $this->expandStability($matches[5]) . (!empty($matches[6]) ? $matches[6] : '');
- }
-
- if (!empty($matches[7])) {
- $stabilitySuffix .= '-dev';
- }
-
- if (!$stabilitySuffix) {
- $stabilitySuffix = '-dev';
- }
-
- $lowVersion = $this->manipulateVersionString($matches, $position, 0) . $stabilitySuffix;
- $lowerBound = new Constraint('>=', $lowVersion);
-
- // For upper bound, we increment the position of one more significance,
- // but highPosition = 0 would be illegal
- $highPosition = max(1, $position - 1);
- $highVersion = $this->manipulateVersionString($matches, $highPosition, 1) . '-dev';
- $upperBound = new Constraint('<', $highVersion);
-
- return array(
- $lowerBound,
- $upperBound,
- );
- }
-
- // Caret Range
- //
- // Allows changes that do not modify the left-most non-zero digit in the [major, minor, patch] tuple.
- // In other words, this allows patch and minor updates for versions 1.0.0 and above, patch updates for
- // versions 0.X >=0.1.0, and no updates for versions 0.0.X
- if (preg_match('{^\^' . $versionRegex . '($)}i', $constraint, $matches)) {
- // Work out which position in the version we are operating at
- if ('0' !== $matches[1] || '' === $matches[2]) {
- $position = 1;
- } elseif ('0' !== $matches[2] || '' === $matches[3]) {
- $position = 2;
- } else {
- $position = 3;
- }
-
- // Calculate the stability suffix
- $stabilitySuffix = '';
- if (empty($matches[5]) && empty($matches[7])) {
- $stabilitySuffix .= '-dev';
- }
-
- $lowVersion = $this->normalize(substr($constraint . $stabilitySuffix, 1));
- $lowerBound = new Constraint('>=', $lowVersion);
-
- // For upper bound, we increment the position of one more significance,
- // but highPosition = 0 would be illegal
- $highVersion = $this->manipulateVersionString($matches, $position, 1) . '-dev';
- $upperBound = new Constraint('<', $highVersion);
-
- return array(
- $lowerBound,
- $upperBound,
- );
- }
-
- // X Range
- //
- // Any of X, x, or * may be used to "stand in" for one of the numeric values in the [major, minor, patch] tuple.
- // A partial version range is treated as an X-Range, so the special character is in fact optional.
- if (preg_match('{^v?(\d++)(?:\.(\d++))?(?:\.(\d++))?(?:\.[xX*])++$}', $constraint, $matches)) {
- if (isset($matches[3]) && '' !== $matches[3]) {
- $position = 3;
- } elseif (isset($matches[2]) && '' !== $matches[2]) {
- $position = 2;
- } else {
- $position = 1;
- }
-
- $lowVersion = $this->manipulateVersionString($matches, $position) . '-dev';
- $highVersion = $this->manipulateVersionString($matches, $position, 1) . '-dev';
-
- if ($lowVersion === '0.0.0.0-dev') {
- return array(new Constraint('<', $highVersion));
- }
-
- return array(
- new Constraint('>=', $lowVersion),
- new Constraint('<', $highVersion),
- );
- }
-
- // Hyphen Range
- //
- // Specifies an inclusive set. If a partial version is provided as the first version in the inclusive range,
- // then the missing pieces are replaced with zeroes. If a partial version is provided as the second version in
- // the inclusive range, then all versions that start with the supplied parts of the tuple are accepted, but
- // nothing that would be greater than the provided tuple parts.
- if (preg_match('{^(?P' . $versionRegex . ') +- +(?P' . $versionRegex . ')($)}i', $constraint, $matches)) {
- // Calculate the stability suffix
- $lowStabilitySuffix = '';
- if (empty($matches[6]) && empty($matches[8])) {
- $lowStabilitySuffix = '-dev';
- }
-
- $lowVersion = $this->normalize($matches['from']);
- $lowerBound = new Constraint('>=', $lowVersion . $lowStabilitySuffix);
-
- $empty = function ($x) {
- return ($x === 0 || $x === '0') ? false : empty($x);
- };
-
- if ((!$empty($matches[11]) && !$empty($matches[12])) || !empty($matches[14]) || !empty($matches[16])) {
- $highVersion = $this->normalize($matches['to']);
- $upperBound = new Constraint('<=', $highVersion);
- } else {
- $highMatch = array('', $matches[10], $matches[11], $matches[12], $matches[13]);
- $highVersion = $this->manipulateVersionString($highMatch, $empty($matches[11]) ? 1 : 2, 1) . '-dev';
- $upperBound = new Constraint('<', $highVersion);
- }
-
- return array(
- $lowerBound,
- $upperBound,
- );
- }
-
- // Basic Comparators
- if (preg_match('{^(<>|!=|>=?|<=?|==?)?\s*(.*)}', $constraint, $matches)) {
- try {
- $version = $this->normalize($matches[2]);
-
- if (!empty($stabilityModifier) && $this->parseStability($version) === 'stable') {
- $version .= '-' . $stabilityModifier;
- } elseif ('<' === $matches[1] || '>=' === $matches[1]) {
- if (!preg_match('/-' . self::$modifierRegex . '$/', strtolower($matches[2]))) {
- if (substr($matches[2], 0, 4) !== 'dev-') {
- $version .= '-dev';
- }
- }
- }
-
- return array(new Constraint($matches[1] ?: '=', $version));
- } catch (\Exception $e) {
- }
- }
-
- $message = 'Could not parse version constraint ' . $constraint;
- if (isset($e)) {
- $message .= ': ' . $e->getMessage();
- }
-
- throw new \UnexpectedValueException($message);
- }
-
- /**
- * Increment, decrement, or simply pad a version number.
- *
- * Support function for {@link parseConstraint()}
- *
- * @param array $matches Array with version parts in array indexes 1,2,3,4
- * @param int $position 1,2,3,4 - which segment of the version to increment/decrement
- * @param int $increment
- * @param string $pad The string to pad version parts after $position
- *
- * @return string The new version
- */
- private function manipulateVersionString($matches, $position, $increment = 0, $pad = '0')
- {
- for ($i = 4; $i > 0; --$i) {
- if ($i > $position) {
- $matches[$i] = $pad;
- } elseif ($i === $position && $increment) {
- $matches[$i] += $increment;
- // If $matches[$i] was 0, carry the decrement
- if ($matches[$i] < 0) {
- $matches[$i] = $pad;
- --$position;
-
- // Return null on a carry overflow
- if ($i === 1) {
- return;
- }
- }
- }
- }
-
- return $matches[1] . '.' . $matches[2] . '.' . $matches[3] . '.' . $matches[4];
- }
-
- /**
- * Expand shorthand stability string to long version.
- *
- * @param string $stability
- *
- * @return string
- */
- private function expandStability($stability)
- {
- $stability = strtolower($stability);
-
- switch ($stability) {
- case 'a':
- return 'alpha';
- case 'b':
- return 'beta';
- case 'p':
- case 'pl':
- return 'patch';
- case 'rc':
- return 'RC';
- default:
- return $stability;
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/.editorconfig b/vendor/consolidation/annotated-command/.editorconfig
deleted file mode 100644
index 095771e67..000000000
--- a/vendor/consolidation/annotated-command/.editorconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is for unifying the coding style for different editors and IDEs
-# editorconfig.org
-
-root = true
-
-[*]
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-
-[**.php]
-indent_style = space
-indent_size = 4
-
diff --git a/vendor/consolidation/annotated-command/.scenarios.lock/install b/vendor/consolidation/annotated-command/.scenarios.lock/install
deleted file mode 100755
index 16c69e107..000000000
--- a/vendor/consolidation/annotated-command/.scenarios.lock/install
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-
-SCENARIO=$1
-DEPENDENCIES=${2-install}
-
-# Convert the aliases 'highest', 'lowest' and 'lock' to
-# the corresponding composer command to run.
-case $DEPENDENCIES in
- highest)
- DEPENDENCIES=update
- ;;
- lowest)
- DEPENDENCIES='update --prefer-lowest'
- ;;
- lock|default|"")
- DEPENDENCIES=install
- ;;
-esac
-
-original_name=scenarios
-recommended_name=".scenarios.lock"
-
-base="$original_name"
-if [ -d "$recommended_name" ] ; then
- base="$recommended_name"
-fi
-
-# If scenario is not specified, install the lockfile at
-# the root of the project.
-dir="$base/${SCENARIO}"
-if [ -z "$SCENARIO" ] || [ "$SCENARIO" == "default" ] ; then
- SCENARIO=default
- dir=.
-fi
-
-# Test to make sure that the selected scenario exists.
-if [ ! -d "$dir" ] ; then
- echo "Requested scenario '${SCENARIO}' does not exist."
- exit 1
-fi
-
-echo
-echo "::"
-echo ":: Switch to ${SCENARIO} scenario"
-echo "::"
-echo
-
-set -ex
-
-composer -n validate --working-dir=$dir --no-check-all --ansi
-composer -n --working-dir=$dir ${DEPENDENCIES} --prefer-dist --no-scripts
-
-# If called from a CI context, print out some extra information about
-# what we just installed.
-if [[ -n "$CI" ]] ; then
- composer -n --working-dir=$dir info
-fi
diff --git a/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/.gitignore b/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/.gitignore
deleted file mode 100644
index 5657f6ea7..000000000
--- a/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-vendor
\ No newline at end of file
diff --git a/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/composer.json b/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/composer.json
deleted file mode 100644
index 38e81b70e..000000000
--- a/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/composer.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "name": "consolidation/annotated-command",
- "description": "Initialize Symfony Console commands from annotated command class methods.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload": {
- "psr-4": {
- "Consolidation\\AnnotatedCommand\\": "../../src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "../../tests/src"
- }
- },
- "require": {
- "php": ">=5.4.0",
- "consolidation/output-formatters": "^3.4",
- "psr/log": "^1",
- "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.36",
- "g1a/composer-test-scenarios": "^3",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "config": {
- "platform": {
- "php": "5.4.8"
- },
- "optimize-autoloader": true,
- "sort-packages": true,
- "vendor-dir": "../../vendor"
- },
- "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"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/composer.lock b/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/composer.lock
deleted file mode 100644
index 77446fb75..000000000
--- a/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/composer.lock
+++ /dev/null
@@ -1,1624 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "723b5d626d913974b37f32f832bc72d9",
- "packages": [
- {
- "name": "consolidation/output-formatters",
- "version": "3.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/output-formatters.git",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/a942680232094c4a5b21c0b7e54c20cce623ae19",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^5.7.27",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7",
- "symfony/console": "3.2.3",
- "symfony/var-dumper": "^2.8|^3|^4",
- "victorjonsson/markdowndocs": "^1.3"
- },
- "suggest": {
- "symfony/var-dumper": "For using the var_dump formatter"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\OutputFormatters\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Format text by applying transformations provided by plug-in formatters.",
- "time": "2018-10-19T22:35:38+00:00"
- },
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ],
- "time": "2017-01-20T21:14:22+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v2.8.47",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "48ed63767c4add573fb3e9e127d3426db27f78e8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/48ed63767c4add573fb3e9e127d3426db27f78e8",
- "reference": "48ed63767c4add573fb3e9e127d3426db27f78e8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "symfony/debug": "^2.7.2|~3.0.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/event-dispatcher": "~2.1|~3.0.0",
- "symfony/process": "~2.1|~3.0.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-30T14:26:34+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v2.8.47",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "6a198c52b662fa825382f5e65c0c4a56bdaca98e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/6a198c52b662fa825382f5e65c0c4a56bdaca98e",
- "reference": "6a198c52b662fa825382f5e65c0c4a56bdaca98e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/class-loader": "~2.2|~3.0.0",
- "symfony/http-kernel": "~2.3.24|~2.5.9|^2.6.2|~3.0.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-30T16:24:01+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v2.8.47",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "76494bc38ff38d90d01913d23b5271acd4d78dd3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/76494bc38ff38d90d01913d23b5271acd4d78dd3",
- "reference": "76494bc38ff38d90d01913d23b5271acd4d78dd3",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "^2.0.5|~3.0.0",
- "symfony/dependency-injection": "~2.6|~3.0.0",
- "symfony/expression-language": "~2.6|~3.0.0",
- "symfony/stopwatch": "~2.3|~3.0.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-20T23:16:31+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v2.8.47",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "5ebb438d1aabe9dba93099dd06e0500f97817a6e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/5ebb438d1aabe9dba93099dd06e0500f97817a6e",
- "reference": "5ebb438d1aabe9dba93099dd06e0500f97817a6e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2018-09-21T12:46:38+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T13:07:52+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "2a7156f1572898888ea50ad1d48a6b4d3f9fbf78"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/2a7156f1572898888ea50ad1d48a6b4d3f9fbf78",
- "reference": "2a7156f1572898888ea50ad1d48a6b4d3f9fbf78",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "composer/composer": "^1.7",
- "php-coveralls/php-coveralls": "^1.0",
- "phpunit/phpunit": "^4.8.36|^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "bin": [
- "scripts/dependency-licenses"
- ],
- "type": "composer-plugin",
- "extra": {
- "class": "ComposerTestScenarios\\Plugin",
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "ComposerTestScenarios\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-11-22T05:10:20+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "2.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/e6a969a640b00d8daa3c66518b0405fb41ae0c4b",
- "reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "suggest": {
- "dflydev/markdown": "~1.0",
- "erusev/parsedown": "~1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "phpDocumentor": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "mike.vanriel@naenius.com"
- }
- ],
- "time": "2016-01-25T08:17:30+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.12",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-12-04T08:55:13+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.36",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-06-21T08:07:12+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2018-11-07T22:31:41+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v2.8.47",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "0e16589861f192dbffb19b06683ce3ef58f7f99d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/0e16589861f192dbffb19b06683ce3ef58f7f99d",
- "reference": "0e16589861f192dbffb19b06683ce3ef58f7f99d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-02T16:27:16+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "5.4.8"
- }
-}
diff --git a/vendor/consolidation/annotated-command/.scenarios.lock/symfony2/.gitignore b/vendor/consolidation/annotated-command/.scenarios.lock/symfony2/.gitignore
deleted file mode 100644
index 88e99d50d..000000000
--- a/vendor/consolidation/annotated-command/.scenarios.lock/symfony2/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-vendor
-composer.lock
\ No newline at end of file
diff --git a/vendor/consolidation/annotated-command/.scenarios.lock/symfony2/composer.json b/vendor/consolidation/annotated-command/.scenarios.lock/symfony2/composer.json
deleted file mode 100644
index c72199a79..000000000
--- a/vendor/consolidation/annotated-command/.scenarios.lock/symfony2/composer.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "name": "consolidation/annotated-command",
- "description": "Initialize Symfony Console commands from annotated command class methods.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload": {
- "psr-4": {
- "Consolidation\\AnnotatedCommand\\": "../../src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "../../tests/src"
- }
- },
- "require": {
- "symfony/console": "^2.8",
- "php": ">=5.4.0",
- "consolidation/output-formatters": "^3.4",
- "psr/log": "^1",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36",
- "g1a/composer-test-scenarios": "^3",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "config": {
- "platform": {
- "php": "5.4.8"
- },
- "optimize-autoloader": true,
- "sort-packages": true,
- "vendor-dir": "../../vendor"
- },
- "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"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/.gitignore b/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/.gitignore
deleted file mode 100644
index 5657f6ea7..000000000
--- a/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-vendor
\ No newline at end of file
diff --git a/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/composer.json b/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/composer.json
deleted file mode 100644
index 781c918af..000000000
--- a/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/composer.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "name": "consolidation/annotated-command",
- "description": "Initialize Symfony Console commands from annotated command class methods.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload": {
- "psr-4": {
- "Consolidation\\AnnotatedCommand\\": "../../src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "../../tests/src"
- }
- },
- "require": {
- "symfony/console": "^4.0",
- "php": ">=5.4.0",
- "consolidation/output-formatters": "^3.4",
- "psr/log": "^1",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "phpunit/phpunit": "^6",
- "php-coveralls/php-coveralls": "^1",
- "g1a/composer-test-scenarios": "^3",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- },
- "optimize-autoloader": true,
- "sort-packages": true,
- "vendor-dir": "../../vendor"
- },
- "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"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/composer.lock b/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/composer.lock
deleted file mode 100644
index 6d4e53a6a..000000000
--- a/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/composer.lock
+++ /dev/null
@@ -1,2448 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "a8431cdfea28a47d1862fb421ae77412",
- "packages": [
- {
- "name": "consolidation/output-formatters",
- "version": "3.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/output-formatters.git",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/a942680232094c4a5b21c0b7e54c20cce623ae19",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^5.7.27",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7",
- "symfony/console": "3.2.3",
- "symfony/var-dumper": "^2.8|^3|^4",
- "victorjonsson/markdowndocs": "^1.3"
- },
- "suggest": {
- "symfony/var-dumper": "For using the var_dump formatter"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\OutputFormatters\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Format text by applying transformations provided by plug-in formatters.",
- "time": "2018-10-19T22:35:38+00:00"
- },
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ],
- "time": "2017-01-20T21:14:22+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v4.1.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "432122af37d8cd52fba1b294b11976e0d20df595"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/432122af37d8cd52fba1b294b11976e0d20df595",
- "reference": "432122af37d8cd52fba1b294b11976e0d20df595",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~3.4|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.4|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-31T09:30:44+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v4.1.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "552541dad078c85d9414b09c041ede488b456cd5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/552541dad078c85d9414b09c041ede488b456cd5",
- "reference": "552541dad078c85d9414b09c041ede488b456cd5",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/expression-language": "~3.4|~4.0",
- "symfony/stopwatch": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-10T13:52:42+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v4.1.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "1f17195b44543017a9c9b2d437c670627e96ad06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/1f17195b44543017a9c9b2d437c670627e96ad06",
- "reference": "1f17195b44543017a9c9b2d437c670627e96ad06",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-03T08:47:56+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T13:07:52+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "^6.2.3",
- "squizlabs/php_codesniffer": "^3.0.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2017-07-22T11:58:36+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "2a7156f1572898888ea50ad1d48a6b4d3f9fbf78"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/2a7156f1572898888ea50ad1d48a6b4d3f9fbf78",
- "reference": "2a7156f1572898888ea50ad1d48a6b4d3f9fbf78",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "composer/composer": "^1.7",
- "php-coveralls/php-coveralls": "^1.0",
- "phpunit/phpunit": "^4.8.36|^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "bin": [
- "scripts/dependency-licenses"
- ],
- "type": "composer-plugin",
- "extra": {
- "class": "ComposerTestScenarios\\Plugin",
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "ComposerTestScenarios\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-11-22T05:10:20+00:00"
- },
- {
- "name": "guzzle/guzzle",
- "version": "v3.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": ">=2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "*",
- "monolog/monolog": "1.*",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "1.0.*",
- "symfony/class-loader": "*",
- "zendframework/zend-cache": "<2.3",
- "zendframework/zend-log": "<2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.8-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "abandoned": "guzzlehttp/guzzle",
- "time": "2014-01-28T22:29:15+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "replace": {
- "myclabs/deep-copy": "self.version"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2018-06-11T23:09:50+00:00"
- },
- {
- "name": "phar-io/manifest",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/manifest.git",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-phar": "*",
- "phar-io/version": "^1.0.1",
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2017-03-05T18:14:27+00:00"
- },
- {
- "name": "phar-io/version",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/version.git",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Library for handling version information and constraints",
- "time": "2017-03-05T17:38:23+00:00"
- },
- {
- "name": "php-coveralls/php-coveralls",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzle/guzzle": "^2.8 || ^3.0",
- "php": "^5.3.3 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/coveralls"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "Satooshi\\": "src/Satooshi/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "time": "2017-12-06T23:17:56+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "4.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-30T07:14:17+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "5.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c89677919c5dd6d3b3852f230a663118762218ac",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0",
- "phpunit/php-file-iterator": "^1.4.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^2.0.1",
- "sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^3.0",
- "sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "suggest": {
- "ext-xdebug": "^2.5.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2018-04-06T15:36:58+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "791198a2c6254db10131eecfe8c06670700904db"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db",
- "reference": "791198a2c6254db10131eecfe8c06670700904db",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-11-27T05:48:46+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "6.5.13",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693",
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "^1.6.1",
- "phar-io/manifest": "^1.0.1",
- "phar-io/version": "^1.0",
- "php": "^7.0",
- "phpspec/prophecy": "^1.7",
- "phpunit/php-code-coverage": "^5.3",
- "phpunit/php-file-iterator": "^1.4.3",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^1.0.9",
- "phpunit/phpunit-mock-objects": "^5.0.9",
- "sebastian/comparator": "^2.1",
- "sebastian/diff": "^2.0",
- "sebastian/environment": "^3.1",
- "sebastian/exporter": "^3.1",
- "sebastian/global-state": "^2.0",
- "sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^1.0",
- "sebastian/version": "^2.0.1"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2",
- "phpunit/dbunit": "<3.0"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "^1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.5.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-09-08T15:10:43+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "5.0.10",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.5",
- "php": "^7.0",
- "phpunit/php-text-template": "^1.2.1",
- "sebastian/exporter": "^3.1"
- },
- "conflict": {
- "phpunit/phpunit": "<6.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.5.11"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2018-08-09T05:50:03+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "2.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/diff": "^2.0 || ^3.0",
- "sebastian/exporter": "^3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "https://github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2018-02-01T13:46:46+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-08-03T08:09:46+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2017-07-01T08:51:00+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2017-04-03T13:19:02+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2017-04-27T15:39:26+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
- },
- {
- "name": "sebastian/object-reflector",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Allows reflection of object attributes, including inherited and non-public ones",
- "homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2018-11-07T22:31:41+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v4.1.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "991fec8bbe77367fc8b48ecbaa8a4bd6e905a238"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/991fec8bbe77367fc8b48ecbaa8a4bd6e905a238",
- "reference": "991fec8bbe77367fc8b48ecbaa8a4bd6e905a238",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/filesystem": "~3.4|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/finder": "<3.4"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~3.4|~4.0",
- "symfony/finder": "~3.4|~4.0",
- "symfony/yaml": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-31T09:09:42+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v4.1.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "fd7bd6535beb1f0a0a9e3ee960666d0598546981"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/fd7bd6535beb1f0a0a9e3ee960666d0598546981",
- "reference": "fd7bd6535beb1f0a0a9e3ee960666d0598546981",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-30T13:18:25+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v4.1.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "5bfc064125b73ff81229e19381ce1c34d3416f4b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/5bfc064125b73ff81229e19381ce1c34d3416f4b",
- "reference": "5bfc064125b73ff81229e19381ce1c34d3416f4b",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-02T12:40:59+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v4.1.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "367e689b2fdc19965be435337b50bc8adf2746c9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/367e689b2fdc19965be435337b50bc8adf2746c9",
- "reference": "367e689b2fdc19965be435337b50bc8adf2746c9",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-02T16:36:10+00:00"
- },
- {
- "name": "theseer/tokenizer",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/theseer/tokenizer.git",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- }
- ],
- "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2017-04-07T12:08:54+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-01-29T19:49:41+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "7.1.3"
- }
-}
diff --git a/vendor/consolidation/annotated-command/CHANGELOG.md b/vendor/consolidation/annotated-command/CHANGELOG.md
deleted file mode 100644
index ae4ca9efe..000000000
--- a/vendor/consolidation/annotated-command/CHANGELOG.md
+++ /dev/null
@@ -1,184 +0,0 @@
-# Change Log
-
-### 2.11.0
-
-- Make injection of InputInterface / OutputInterface general-purpose (#179)
-
-### 2.10.2 - 20 Dec 2018
-
-- Fix commands that have a @param annotation for their InputInterface/OutputInterface params (#176)
-
-### 2.10.1 - 13 Dec 2018
-
-- Add stdin handler convenience class
-- Add setter to AnnotationData to suppliment existing array acces
-- Update to Composer Test Scenarios 3
-
-### 2.10.0 - 14 Nov 2018
-
-- Add a new data type, CommandResult (#167)
-
-### 2.9.0 & 2.9.1 - 19 Sept 2018
-
-- Improve commandfile discovery for extensions installed via Composer. (#156)
-
-### 2.8.5 - 18 Aug 2018
-
-- Add dependencies.yml for dependencies.io
-- Fix warning in AnnotatedCommandFactory when getCommandInfoListFromCache called with null.
-
-### 2.8.4 - 25 May 2018
-
-- Use g1a/composer-test-scenarios for better PHP version matrix testing.
-
-### 2.8.3 - 23 Feb 2018
-
-- BUGFIX: Do not shift off the command name unless it is there. (#139)
-- Use test scenarios to test multiple versions of Symfony. (#136, #137)
-
-### 2.8.2 - 29 Nov 2017
-
-- Allow Symfony 4 components.
-
-### 2.8.1 - 16 Oct 2017
-
-- Add hook methods to allow Symfony command events to be added directly to the hook manager, givig better control of hook order. (#131)
-
-### 2.8.0 - 13 Oct 2017
-
-- Remove phpdocumentor/reflection-docblock in favor of using a bespoke parser (#130)
-
-### 2.7.0 - 18 Sept 2017
-
-- Add support for options with a default value of 'true' (#119)
-- BUGFIX: Improve handling of options with optional values, which previously was not working correctly. (#118)
-
-### 2.6.1 - 18 Sep 2017
-
-- Reverts to contents of the 2.4.13 release.
-
-### 2.5.0 & 2.5.1 - 17 Sep 2017
-
-- BACKED OUT. These releases accidentally introduced breaking changes.
-
-### 2.4.13 - 28 Aug 2017
-
-- Add a followLinks() method (#108)
-
-### 2.4.12 - 24 Aug 2017
-
-- BUGFIX: Allow annotated commands to directly use InputInterface and OutputInterface (#106)
-
-### 2.4.11 - 27 July 2017
-
-- Back out #102: do not change behavior of word wrap based on STDOUT redirection.
-
-### 2.4.10 - 21 July 2017
-
-- Add a method CommandProcessor::setPassExceptions() to allow applicationsto prevent the command processor from catching exceptions thrown by command methods and hooks. (#103)
-
-### 2.4.9 - 20 Jul 2017
-
-- Automatically disable wordwrap when the terminal is not connected to STDOUT (#102)
-
-### 2.4.8 - 3 Apr 2017
-
-- Allow multiple annotations with the same key. These are returned as a csv, or, alternately, can be accessed as an array via the new accessor.
-- Unprotect two methods for benefit of Drush help. (#99)
-- BUGFIX: Remove symfony/console pin (#100)
-
-### 2.4.7 & 2.4.6 - 17 Mar 2017
-
-- Avoid wrapping help text (#93)
-- Pin symfony/console to version < 3.2.5 (#94)
-- Add getExampleUsages() to AnnotatedCommand. (#92)
-
-### 2.4.5 - 28 Feb 2017
-
-- Ensure that placeholder entries are written into the commandfile cache. (#86)
-
-### 2.4.4 - 27 Feb 2017
-
-- BUGFIX: Avoid rewriting the command cache unless something has changed.
-- BUGFIX: Ensure that the default value of options are correctly cached.
-
-### 2.4.2 - 24 Feb 2017
-
-- Add SimpleCacheInterface as a documentation interface (not enforced).
-
-### 2.4.1 - 20 Feb 2017
-
-- Support array options: multiple options on the commandline may be passed in to options array as an array of values.
-- Add php 7.1 to the test matrix.
-
-### 2.4.0 - 3 Feb 2017
-
-- Automatically rebuild cached commandfile data when commandfile changes.
-- Provide path to command file in AnnotationData objects.
-- Bugfix: Add dynamic options when user runs '--help my:command' (previously, only 'help my:command' worked).
-- Bugfix: Include description of last parameter in help (was omitted if no options present)
-- Add Windows testing with Appveyor
-
-
-### 2.3.0 - 19 Jan 2017
-
-- Add a command info cache to improve performance of applications with many commands
-- Bugfix: Allow trailing backslashes in namespaces in CommandFileDiscovery
-- Bugfix: Rename @topic to @topics
-
-
-### 2.2.0 - 23 November 2016
-
-- Support custom events
-- Add xml and json output for replacement help command. Text / html format for replacement help command not available yet.
-
-
-### 2.1.0 - 14 November 2016
-
-- Add support for output formatter wordwrapping
-- Fix version requirement for output-formatters in composer.json
-- Use output-formatters ~3
-- Move php_codesniffer back to require-dev (moved to require by mistake)
-
-
-### 2.0.0 - 30 September 2016
-
-- **Breaking** Hooks with no command name now apply to all commands defined in the same class. This is a change of behavior from the 1.x branch, where hooks with no command name applied to a command with the same method name in a *different* class.
-- **Breaking** The interfaces ValidatorInterface, ProcessResultInterface and AlterResultInterface have been updated to be passed a CommandData object, which contains an Input and Output object, plus the AnnotationData.
-- **Breaking** The Symfony Command Event hook has been renamed to COMMAND_EVENT. There is a new COMMAND hook that behaves like the existing Drush command hook (i.e. the post-command event is called after the primary command method runs).
-- Add an accessor function AnnotatedCommandFactory::setIncludeAllPublicMethods() to control whether all public methods of a command class, or only those with a @command annotation will be treated as commands. Default remains to treat all public methods as commands. The parameters to AnnotatedCommandFactory::createCommandsFromClass() and AnnotatedCommandFactory::createCommandsFromClassInfo() still behave the same way, but are deprecated. If omitted, the value set by the accessor will be used.
-- @option and @usage annotations provided with @hook methods will be added to the help text of the command they hook. This should be done if a hook needs to add a new option, e.g. to control the behavior of the hook.
-- @option annotations can now be either `@option type $name description`, or just `@option name description`.
-- `@hook option` can be used to programatically add options to a command.
-- A CommandInfoAltererInterface can be added via AnnotatedCommandFactory::addCommandInfoAlterer(); it will be given the opportunity to adjust every CommandInfo object parsed from a command file prior to the creation of commands.
-- AnnotatedCommandFactory::setIncludeAllPublicMethods(false) may be used to require methods to be annotated with @commnad in order to be considered commands. This is in preference to the existing parameters of various command-creation methods of AnnotatedCommandFactory, which are now all deprecated in favor of this setter function.
-- If a --field option is given, it will also force the output format to 'string'.
-- Setter methods more consistently return $this.
-- Removed PassThroughArgsInput. This class was unnecessary.
-
-
-### 1.4.0 - 13 September 2016
-
-- Add basic annotation hook capability, to allow hook functions to be attached to commands with arbitrary annotations.
-
-
-### 1.3.0 - 8 September 2016
-
-- Add ComandFileDiscovery::setSearchDepth(). The search depth applies to each search location, unless there are no search locations, in which case it applies to the base directory.
-
-
-### 1.2.0 - 2 August 2016
-
-- Support both the 2.x and 3.x versions of phpdocumentor/reflection-docblock.
-- Support php 5.4.
-- **Bug** Do not allow an @param docblock comment for the options to override the meaning of the options.
-
-
-### 1.1.0 - 6 July 2016
-
-- Introduce AnnotatedCommandFactory::createSelectedCommandsFromClassInfo() method.
-
-
-### 1.0.0 - 20 May 2016
-
-- First stable release.
diff --git a/vendor/consolidation/annotated-command/CONTRIBUTING.md b/vendor/consolidation/annotated-command/CONTRIBUTING.md
deleted file mode 100644
index 7a526eb50..000000000
--- a/vendor/consolidation/annotated-command/CONTRIBUTING.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Contributing to Consolidation
-
-Thank you for your interest in contributing to the Consolidation effort! Consolidation aims to provide reusable, loosely-coupled components useful for building command-line tools. Consolidation is built on top of Symfony Console, but aims to separate the tool from the implementation details of Symfony.
-
-Here are some of the guidelines you should follow to make the most of your efforts:
-
-## Code Style Guidelines
-
-Consolidation adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code.
-
-## Pull Request Guidelines
-
-Every pull request is run through:
-
- - phpcs -n --standard=PSR2 src
- - phpunit
- - [Scrutinizer](https://scrutinizer-ci.com/g/consolidation/annotated-command/)
-
-It is easy to run the unit tests and code sniffer locally; just run:
-
- - composer cs
-
-To run the code beautifier, which will fix many of the problems reported by phpcs:
-
- - composer cbf
-
-These two commands (`composer cs` and `composer cbf`) are defined in the `scripts` section of [composer.json](composer.json).
-
-After submitting a pull request, please examine the Scrutinizer report. It is not required to fix all Scrutinizer issues; you may ignore recommendations that you disagree with. The spacing patches produced by Scrutinizer do not conform to PSR2 standards, and therefore should never be applied. DocBlock patches may be applied at your discression. Things that Scrutinizer identifies as a bug nearly always need to be addressed.
-
-Pull requests must pass phpcs and phpunit in order to be merged; ideally, new functionality will also include new unit tests.
diff --git a/vendor/consolidation/annotated-command/LICENSE b/vendor/consolidation/annotated-command/LICENSE
deleted file mode 100644
index 878fb292c..000000000
--- a/vendor/consolidation/annotated-command/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2016-2018 Consolidation Org Developers
-
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-DEPENDENCY LICENSES:
-
-Name Version License
-consolidation/output-formatters 3.4.0 MIT
-dflydev/dot-access-data v1.1.0 MIT
-psr/log 1.1.0 MIT
-symfony/console v2.8.47 MIT
-symfony/debug v2.8.47 MIT
-symfony/event-dispatcher v2.8.47 MIT
-symfony/finder v2.8.47 MIT
-symfony/polyfill-mbstring v1.10.0 MIT
\ No newline at end of file
diff --git a/vendor/consolidation/annotated-command/README.md b/vendor/consolidation/annotated-command/README.md
deleted file mode 100644
index efcba14b4..000000000
--- a/vendor/consolidation/annotated-command/README.md
+++ /dev/null
@@ -1,595 +0,0 @@
-# Consolidation\AnnotatedCommand
-
-Initialize Symfony Console commands from annotated command class methods.
-
-[![Travis CI](https://travis-ci.org/consolidation/annotated-command.svg?branch=master)](https://travis-ci.org/consolidation/annotated-command)
-[![Windows CI](https://ci.appveyor.com/api/projects/status/c2c4lcf43ux4c30p?svg=true)](https://ci.appveyor.com/project/greg-1-anderson/annotated-command)
-[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/consolidation/annotated-command/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/consolidation/annotated-command/?branch=master)
-[![Coverage Status](https://coveralls.io/repos/github/consolidation/annotated-command/badge.svg?branch=master)](https://coveralls.io/github/consolidation/annotated-command?branch=master)
-[![License](https://poser.pugx.org/consolidation/annotated-command/license)](https://packagist.org/packages/consolidation/annotated-command)
-
-## Component Status
-
-Currently in use in [Robo](https://github.com/consolidation/Robo) (1.x+), [Drush](https://github.com/drush-ops/drush) (9.x+) and [Terminus](https://github.com/pantheon-systems/terminus) (1.x+).
-
-## Motivation
-
-Symfony Console provides a set of classes that are widely used to implement command line tools. Increasingly, it is becoming popular to use annotations to describe the characteristics of the command (e.g. its arguments, options and so on) implemented by the annotated method.
-
-Extant commandline tools that utilize this technique include:
-
-- [Robo](https://github.com/consolidation/Robo)
-- [wp-cli](https://github.com/wp-cli/wp-cli)
-- [Pantheon Terminus](https://github.com/pantheon-systems/terminus)
-
-This library provides routines to produce the Symfony\Component\Console\Command\Command from all public methods defined in the provided class.
-
-**Note** If you are looking for a very fast way to write a Symfony Console-base command-line tool, you should consider using [Robo](https://github.com/consolidation/Robo), which is built on top of this library, and adds additional conveniences to get you going quickly. Use [g1a/starter](https://github.com/g1a/starter) to quickly scaffold a new commandline tool. See [Using Robo as a Framework](http://robo.li/framework/). It is possible to use this project without Robo if desired, of course.
-
-## Library Usage
-
-This is a library intended to be used in some other project. Require from your composer.json file:
-```
- "require": {
- "consolidation/annotated-command": "^2"
- },
-```
-
-## Example Annotated Command Class
-The public methods of the command class define its commands, and the parameters of each method define its arguments and options. The command options, if any, are declared as the last parameter of the methods. The options will be passed in as an associative array; the default options of the last parameter should list the options recognized by the command.
-
-The rest of the parameters are arguments. Parameters with a default value are optional; those without a default value are required.
-```php
-class MyCommandClass
-{
- /**
- * This is the my:echo command
- *
- * This command will concatenate two parameters. If the --flip flag
- * is provided, then the result is the concatenation of two and one.
- *
- * @command my:echo
- * @param integer $one The first parameter.
- * @param integer $two The other parameter.
- * @option arr An option that takes multiple values.
- * @option flip Whether or not the second parameter should come first in the result.
- * @aliases c
- * @usage bet alpha --flip
- * Concatenate "alpha" and "bet".
- */
- public function myEcho($one, $two, $options = ['flip' => false])
- {
- if ($options['flip']) {
- return "{$two}{$one}";
- }
- return "{$one}{$two}";
- }
-}
-```
-## Option Default Values
-
-The `$options` array must be an associative array whose key is the name of the option, and whose value is one of:
-
-- The boolean value `false`, which indicates that the option takes no value.
-- A **string** containing the default value for options that may be provided a value, but are not required to.
-- The special value InputOption::VALUE_REQUIRED, which indicates that the user must provide a value for the option whenever it is used.
-- The special value InputOption::VALUE_OPTIONAL, which produces the following behavior:
- - If the option is given a value (e.g. `--foo=bar`), then the value will be a string.
- - If the option exists on the commandline, but has no value (e.g. `--foo`), then the value will be `true`.
- - If the option does not exist on the commandline at all, then the value will be `null`.
- - If the user explicitly sets `--foo=0`, then the value will be converted to `false`.
- - LIMITATION: If any Input object other than ArgvInput (or a subclass thereof) is used, then the value will be `null` for both the no-value case (`--foo`) and the no-option case. When using a StringInput, use `--foo=1` instead of `--foo` to avoid this problem.
-- The special value `true` produces the following behavior:
- - If the option is given a value (e.g. `--foo=bar`), then the value will be a string.
- - If the option exists on the commandline, but has no value (e.g. `--foo`), then the value will be `true`.
- - If the option does not exist on the commandline at all, then the value will also be `true`.
- - If the user explicitly sets `--foo=0`, then the value will be converted to `false`.
- - If the user adds `--no-foo` on the commandline, then the value of `foo` will be `false`.
-- An empty array, which indicates that the option may appear multiple times on the command line.
-
-No other values should be used for the default value. For example, `$options = ['a' => 1]` is **incorrect**; instead, use `$options = ['a' => '1']`.
-
-Default values for options may also be provided via the `@default` annotation. See hook alter, below.
-
-## Hooks
-
-Commandfiles may provide hooks in addition to commands. A commandfile method that contains a @hook annotation is registered as a hook instead of a command. The format of the hook annotation is:
-```
-@hook type target
-```
-The hook **type** determines when during the command lifecycle this hook will be called. The available hook types are described in detail below.
-
-The hook **target** specifies which command or commands the hook will be attached to. There are several different ways to specify the hook target.
-
-- The command's primary name (e.g. `my:command`) or the command's method name (e.g. myCommand) will attach the hook to only that command.
-- An annotation (e.g. `@foo`) will attach the hook to any command that is annotated with the given label.
-- If the target is specified as `*`, then the hook will be attached to all commands.
-- If the target is omitted, then the hook will be attached to every command defined in the same class as the hook implementation.
-
-There are ten types of hooks in the command processing request flow:
-
-- [Command Event](#command-event-hook) (Symfony)
- - @pre-command-event
- - @command-event
- - @post-command-event
-- [Option](#option-event-hook)
- - @pre-option
- - @option
- - @post-option
-- [Initialize](#initialize-hook) (Symfony)
- - @pre-init
- - @init
- - @post-init
-- [Interact](#interact-hook) (Symfony)
- - @pre-interact
- - @interact
- - @post-interact
-- [Validate](#validate-hook)
- - @pre-validate
- - @validate
- - @post-validate
-- [Command](#command-hook)
- - @pre-command
- - @command
- - @command-init
-- [Process](#process-hook)
- - @pre-process
- - @process
- - @post-process
-- [Alter](#alter-hook)
- - @pre-alter
- - @alter
- - @post-alter
-- [Status](#status-hook)
- - @status
-- [Extract](#extract-hook)
- - @extract
-
-In addition to these, there are two more hooks available:
-
-- [On-event](#on-event-hook)
- - @on-event
-- [Replace Command](#replace-command-hook)
- - @replace-command
-
-The "pre" and "post" varieties of these hooks, where avalable, give more flexibility vis-a-vis hook ordering (and for consistency). Within one type of hook, the running order is undefined and not guaranteed. Note that many validate, process and alter hooks may run, but the first status or extract hook that successfully returns a result will halt processing of further hooks of the same type.
-
-Each hook has an interface that defines its calling conventions; however, any callable may be used when registering a hook, which is convenient if versions of PHP prior to 7.0 (with no anonymous classes) need to be supported.
-
-### Command Event Hook
-
-The command-event hook is called via the Symfony Console command event notification callback mechanism. This happens prior to event dispatching and command / option validation. Note that Symfony does not allow the $input object to be altered in this hook; any change made here will be reset, as Symfony re-parses the object. Changes to arguments and options should be done in the initialize hook (non-interactive alterations) or the interact hook (which is naturally for interactive alterations).
-
-### Option Event Hook
-
-The option event hook ([OptionHookInterface](src/Hooks/OptionHookInterface.php)) is called for a specific command, whenever it is executed, or its help command is called. Any additional options for the command may be added here by calling the `addOption` method of the provided `$command` object. Note that the option hook is only necessary for calculating dynamic options. Static options may be added via the @option annotation on any hook that uses them. See the [Alter Hook](https://github.com/consolidation/annotated-command#alter-hook) documentation below for an example.
-```
-use Consolidation\AnnotatedCommand\AnnotationData;
-use Symfony\Component\Console\Command\Command;
-
-/**
- * @hook option some:command
- */
-public function additionalOption(Command $command, AnnotationData $annotationData)
-{
- $command->addOption(
- 'dynamic',
- '',
- InputOption::VALUE_NONE,
- 'Option added by @hook option some:command'
- );
-}
-```
-
-### Initialize Hook
-
-The initialize hook ([InitializeHookInterface](src/Hooks/InitializeHookInterface.php)) runs prior to the interact hook. It may supply command arguments and options from a configuration file or other sources. It should never do any user interaction.
-
-The [consolidation/config](https://github.com/consolidation/config) project (which is used in [Robo PHP](https://github.com/consolidation/robo)) uses `@hook init` to automatically inject values from `config.yml` configuration files for options that were not provided on the command line.
-```
-use Consolidation\AnnotatedCommand\AnnotationData;
-use Symfony\Component\Console\Input\InputInterface;
-
-/**
- * @hook init some:command
- */
-public function initSomeCommand(InputInterface $input, AnnotationData $annotationData)
-{
- $value = $input->getOption('some-option');
- if (!$value) {
- $input->setOption('some-option', $this->generateRandomOptionValue());
- }
-}
-```
-
-You may alter the AnnotationData here by using simple array syntax. Below, we
-add an additional display field label for a Property List.
-
-```
-use Consolidation\AnnotatedCommand\AnnotationData;
-use Symfony\Component\Console\Input\InputInterface;
-
-/**
- * @hook init some:command
- */
-public function initSomeCommand(InputInterface $input, AnnotationData $annotationData)
-{
- $annotationData['field-labels'] .= "\n" . "new_field: My new field";
-}
-```
-
-Alternately, you may use the `set()` or `append()` methods on the AnnotationData
-class.
-
-```
-use Consolidation\AnnotatedCommand\AnnotationData;
-use Symfony\Component\Console\Input\InputInterface;
-
-/**
- * @hook init some:command
- */
-public function initSomeCommand(InputInterface $input, AnnotationData $annotationData)
-{
- // Add a line to the field labels.
- $annotationData->append('field-labels', "\n" . "new_field: My new field");
- // Replace all field labels.
- $annotationData->set('field-labels', "one_field: My only field");
-
-}
-```
-
-### Interact Hook
-
-The interact hook ([InteractorInterface](src/Hooks/InteractorInterface.php)) runs prior to argument and option validation. Required arguments and options not supplied on the command line may be provided during this phase by prompting the user. Note that the interact hook is not called if the --no-interaction flag is supplied, whereas the command-event hook and the init hook are.
-```
-use Consolidation\AnnotatedCommand\AnnotationData;
-use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Output\OutputInterface;
-use Symfony\Component\Console\Style\SymfonyStyle;
-
-/**
- * @hook interact some:command
- */
-public function interact(InputInterface $input, OutputInterface $output, AnnotationData $annotationData)
-{
- $io = new SymfonyStyle($input, $output);
-
- // If the user did not specify a password, then prompt for one.
- $password = $input->getOption('password');
- if (empty($password)) {
- $password = $io->askHidden("Enter a password:", function ($value) { return $value; });
- $input->setOption('password', $password);
- }
-}
-```
-
-### Validate Hook
-
-The purpose of the validate hook ([ValidatorInterface](src/Hooks/ValidatorInterface.php)) is to ensure the state of the targets of the current command are usabe in the context required by that command. Symfony has already validated the arguments and options prior to this hook. It is possible to alter the values of the arguments and options if necessary, although this is better done in the configure hook. A validation hook may take one of several actions:
-
-- Do nothing. This indicates that validation succeeded.
-- Return a CommandError. Validation fails, and execution stops. The CommandError contains a status result code and a message, which is printed.
-- Throw an exception. The exception is converted into a CommandError.
-- Return false. Message is empty, and status is 1. Deprecated.
-
-The validate hook may change the arguments and options of the command by modifying the Input object in the provided CommandData parameter. Any number of validation hooks may run, but if any fails, then execution of the command stops.
-```
-use Consolidation\AnnotatedCommand\CommandData;
-
-/**
- * @hook validate some:command
- */
-public function validatePassword(CommandData $commandData)
-{
- $input = $commandData->input();
- $password = $input->getOption('password');
-
- if (strpbrk($password, '!;$`') === false) {
- throw new \Exception("Your password MUST contain at least one of the characters ! ; ` or $, for no rational reason whatsoever.");
- }
-}
-```
-
-### Command Hook
-
-The command hook is provided for semantic purposes. The pre-command and command hooks are equivalent to the post-validate hook, and should confirm to the interface ([ValidatorInterface](src/Hooks/ValidatorInterface.php)). All of the post-validate hooks will be called before the first pre-command hook is called. Similarly, the post-command hook is equivalent to the pre-process hook, and should implement the interface ([ProcessResultInterface](src/Hooks/ProcessResultInterface.php)).
-
-The command callback itself (the method annotated @command) is called after the last command hook, and prior to the first post-command hook.
-```
-use Consolidation\AnnotatedCommand\CommandData;
-
-/**
- * @hook pre-command some:command
- */
-public function preCommand(CommandData $commandData)
-{
- // Do something before some:command
-}
-
-/**
- * @hook post-command some:command
- */
-public function postCommand($result, CommandData $commandData)
-{
- // Do something after some:command
-}
-```
-
-### Process Hook
-
-The process hook ([ProcessResultInterface](src/Hooks/ProcessResultInterface.php)) is specifically designed to convert a series of processing instructions into a final result. An example of this is implemented in Robo in the [CollectionProcessHook](https://github.com/consolidation/Robo/blob/master/src/Collection/CollectionProcessHook.php) class; if a Robo command returns a TaskInterface, then a Robo process hook will execute the task and return the result. This allows a pre-process hook to alter the task, e.g. by adding more operations to a task collection.
-
-The process hook should not be used for other purposes.
-```
-use Consolidation\AnnotatedCommand\CommandData;
-
-/**
- * @hook process some:command
- */
-public function process($result, CommandData $commandData)
-{
- if ($result instanceof MyInterimType) {
- $result = $this->convertInterimResult($result);
- }
-}
-```
-
-### Alter Hook
-
-An alter hook ([AlterResultInterface](src/Hooks/AlterResultInterface.php)) changes the result object. Alter hooks should only operate on result objects of a type they explicitly recognize. They may return an object of the same type, or they may convert the object to some other type.
-
-If something goes wrong, and the alter hooks wishes to force the command to fail, then it may either return a CommandError object, or throw an exception.
-```
-use Consolidation\AnnotatedCommand\CommandData;
-
-/**
- * Demonstrate an alter hook with an option
- *
- * @hook alter some:command
- * @option $alteration Alter the result of the command in some way.
- * @usage some:command --alteration
- */
-public function alterSomeCommand($result, CommandData $commandData)
-{
- if ($commandData->input()->getOption('alteration')) {
- $result[] = $this->getOneMoreRow();
- }
-
- return $result;
-}
-```
-
-If an option needs to be provided with a default value, that may be done via the `@default` annotation.
-
-```
-use Consolidation\AnnotatedCommand\CommandData;
-
-/**
- * Demonstrate an alter hook with an option that has a default value
- *
- * @hook alter some:command
- * @option $name Give the result a name.
- * @default $name George
- * @usage some:command --name=George
- */
-public function nameSomeCommand($result, CommandData $commandData)
-{
- $result['name'] = $commandData->input()->getOption('name')
-
- return $result;
-}
-```
-
-### Status Hook
-
-**DEPRECATED**
-
-Instead of using a Status Determiner hook, commands should simply return their exit code and result data separately using a CommandResult object.
-
-The status hook ([StatusDeterminerInterface](src/Hooks/StatusDeterminerInterface.php)) is responsible for determing whether a command succeeded (status code 0) or failed (status code > 0). The result object returned by a command may be a compound object that contains multiple bits of information about the command result. If the result object implements [ExitCodeInterface](ExitCodeInterface.php), then the `getExitCode()` method of the result object is called to determine what the status result code for the command should be. If ExitCodeInterface is not implemented, then all of the status hooks attached to this command are executed; the first one that successfully returns a result will stop further execution of status hooks, and the result it returned will be used as the status result code for this operation.
-
-If no status hook returns any result, then success is presumed.
-
-### Extract Hook
-
-**DEPRECATED**
-
-See [RowsOfFieldsWithMetadata in output-formatters](https://github.com/consolidation/output-formatters/blob/master/src/StructuredData/RowsOfFieldsWithMetadata.php) for an alternative that is more flexible for most use cases.
-
-The extract hook ([ExtractOutputInterface](src/Hooks/ExtractOutputInterface.php)) is responsible for determining what the actual rendered output for the command should be. The result object returned by a command may be a compound object that contains multiple bits of information about the command result. If the result object implements [OutputDataInterface](OutputDataInterface.php), then the `getOutputData()` method of the result object is called to determine what information should be displayed to the user as a result of the command's execution. If OutputDataInterface is not implemented, then all of the extract hooks attached to this command are executed; the first one that successfully returns output data will stop further execution of extract hooks.
-
-If no extract hook returns any data, then the result object itself is printed if it is a string; otherwise, no output is emitted (other than any produced by the command itself).
-
-### On-Event hook
-
-Commands can define their own custom events; to do so, they need only implement the CustomEventAwareInterface, and use the CustomEventAwareTrait. Event handlers for each custom event can then be defined using the on-event hook.
-
-A handler using an on-event hook looks something like the following:
-```
-/**
- * @hook on-event custom-event
- */
-public function handlerForCustomEvent(/* arbitrary parameters, as defined by custom-event */)
-{
- // do the needful, return what custom-event expects
-}
-```
-Then, to utilize this in a command:
-```
-class MyCommands implements CustomEventAwareInterface
-{
- use CustomEventAwareTrait;
-
- /**
- * @command my-command
- */
- public myCommand($options = [])
- {
- $handlers = $this->getCustomEventHandlers('custom-event');
- // iterate and call $handlers
- }
-}
-```
-It is up to the command that defines the custom event to declare what the expected parameters for the callback function should be, and what the return value is and how it should be used.
-
-### Replace Command Hook
-
-The replace-command ([ReplaceCommandHookInterface](src/Hooks/ReplaceCommandHookInterface.php)) hook permits you to replace a command's method with another method of your own.
-
-For instance, if you'd like to replace the `foo:bar` command, you could utilize the following code:
-
-```php
-input(), $commandData->output());
- }
-}
-```
-Then, an instance of 'MySymfonyStyle' will be provided to any command handler method that takes a SymfonyStyle parameter if the SymfonyStyleInjector is registered in your application's initialization code like so:
-```
-$commandProcessor->parameterInjection()->register('Symfony\Component\Console\Style\SymfonyStyle', new SymfonyStyleInjector);
-```
-
-## Handling Standard Input
-
-Any Symfony command may use the provides StdinHandler to imlement commands that read from standard input.
-
-```php
- /**
- * @command example
- * @option string $file
- * @default $file -
- */
- public function example(InputInterface $input)
- {
- $data = StdinHandler::selectStream($input, 'file')->contents();
- }
-```
-This example will read all of the data available from the stdin stream into $data, or, alternately, will read the entire contents of the file specified via the `--file=/path` option.
-
-For more details, including examples of using the StdinHandle with a DI container, see the comments in [StdinHandler.php](src/Input/StdinHandler.php).
-
-## API Usage
-
-If you would like to use Annotated Commands to build a commandline tool, it is recommended that you use [Robo as a framework](http://robo.li/framework), as it will set up all of the various command classes for you. If you would like to integrate Annotated Commands into some other framework, see the sections below.
-
-### Set up Command Factory and Instantiate Commands
-
-To use annotated commands in an application, pass an instance of your command class in to AnnotatedCommandFactory::createCommandsFromClass(). The result will be a list of Commands that may be added to your application.
-```php
-$myCommandClassInstance = new MyCommandClass();
-$commandFactory = new AnnotatedCommandFactory();
-$commandFactory->setIncludeAllPublicMethods(true);
-$commandFactory->commandProcessor()->setFormatterManager(new FormatterManager());
-$commandList = $commandFactory->createCommandsFromClass($myCommandClassInstance);
-foreach ($commandList as $command) {
- $application->add($command);
-}
-```
-You may have more than one command class, if you wish. If so, simply call AnnotatedCommandFactory::createCommandsFromClass() multiple times.
-
-If you do not wish every public method in your classes to be added as commands, use `AnnotatedCommandFactory::setIncludeAllPublicMethods(false)`, and only methods annotated with @command will become commands.
-
-Note that the `setFormatterManager()` operation is optional; omit this if not using [Consolidation/OutputFormatters](https://github.com/consolidation/output-formatters).
-
-A CommandInfoAltererInterface can be added via AnnotatedCommandFactory::addCommandInfoAlterer(); it will be given the opportunity to adjust every CommandInfo object parsed from a command file prior to the creation of commands.
-
-### Command File Discovery
-
-A discovery class, CommandFileDiscovery, is also provided to help find command files on the filesystem. Usage is as follows:
-```php
-$discovery = new CommandFileDiscovery();
-$myCommandFiles = $discovery->discover($path, '\Drupal');
-foreach ($myCommandFiles as $myCommandClass) {
- $myCommandClassInstance = new $myCommandClass();
- // ... as above
-}
-```
-For a discussion on command file naming conventions and search locations, see https://github.com/consolidation/annotated-command/issues/12.
-
-If different namespaces are used at different command file paths, change the call to discover as follows:
-```php
-$myCommandFiles = $discovery->discover(['\Ns1' => $path1, '\Ns2' => $path2]);
-```
-As a shortcut for the above, the method `discoverNamespaced()` will take the last directory name of each path, and append it to the base namespace provided. This matches the conventions used by Drupal modules, for example.
-
-### Configuring Output Formatts (e.g. to enable wordwrap)
-
-The Output Formatters project supports automatic formatting of tabular output. In order for wordwrapping to work correctly, the terminal width must be passed in to the Output Formatters handlers via `FormatterOptions::setWidth()`.
-
-In the Annotated Commands project, this is done via dependency injection. If a `PrepareFormatter` object is passed to `CommandProcessor::addPrepareFormatter()`, then it will be given an opportunity to set properties on the `FormatterOptions` when it is created.
-
-A `PrepareTerminalWidthOption` class is provided to use the Symfony Application class to fetch the terminal width, and provide it to the FormatterOptions. It is injected as follows:
-```php
-$terminalWidthOption = new PrepareTerminalWidthOption();
-$terminalWidthOption->setApplication($application);
-$commandFactory->commandProcessor()->addPrepareFormatter($terminalWidthOption);
-```
-To provide greater control over the width used, create your own `PrepareTerminalWidthOption` subclass, and adjust the width as needed.
-
-## Other Callbacks
-
-In addition to the hooks provided by the hook manager, there are additional callbacks available to alter the way the annotated command library operates.
-
-### Factory Listeners
-
-Factory listeners are notified every time a command file instance is used to create annotated commands.
-```
-public function AnnotatedCommandFactory::addListener(CommandCreationListenerInterface $listener);
-```
-Listeners can be used to construct command file instances as they are provided to the command factory.
-
-### Option Providers
-
-An option provider is given an opportunity to add options to a command as it is being constructed.
-```
-public function AnnotatedCommandFactory::addAutomaticOptionProvider(AutomaticOptionsProviderInterface $listener);
-```
-The complete CommandInfo record with all of the annotation data is available, so you can, for example, add an option `--foo` to every command whose method is annotated `@fooable`.
-
-### CommandInfo Alterers
-
-CommandInfo alterers can adjust information about a command immediately before it is created. Typically, these will be used to supply default values for annotations custom to the command, or take other actions based on the interfaces implemented by the commandfile instance.
-```
-public function alterCommandInfo(CommandInfo $commandInfo, $commandFileInstance);
-```
diff --git a/vendor/consolidation/annotated-command/composer.json b/vendor/consolidation/annotated-command/composer.json
deleted file mode 100644
index 25baa6fcb..000000000
--- a/vendor/consolidation/annotated-command/composer.json
+++ /dev/null
@@ -1,105 +0,0 @@
-{
- "name": "consolidation/annotated-command",
- "description": "Initialize Symfony Console commands from annotated command class methods.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload":{
- "psr-4":{
- "Consolidation\\AnnotatedCommand\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "tests/src"
- }
- },
- "require": {
- "php": ">=5.4.0",
- "consolidation/output-formatters": "^3.4",
- "psr/log": "^1",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "phpunit/phpunit": "^6",
- "php-coveralls/php-coveralls": "^1",
- "g1a/composer-test-scenarios": "^3",
- "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"
- ]
- },
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- },
- "scenario-options": {
- "create-lockfile": "false"
- }
- },
- "phpunit4": {
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- }
- },
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/composer.lock b/vendor/consolidation/annotated-command/composer.lock
deleted file mode 100644
index ce2d5ad04..000000000
--- a/vendor/consolidation/annotated-command/composer.lock
+++ /dev/null
@@ -1,2503 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "3c6b3e869447a986290d067cbf905c6f",
- "packages": [
- {
- "name": "consolidation/output-formatters",
- "version": "3.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/output-formatters.git",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/a942680232094c4a5b21c0b7e54c20cce623ae19",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^5.7.27",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7",
- "symfony/console": "3.2.3",
- "symfony/var-dumper": "^2.8|^3|^4",
- "victorjonsson/markdowndocs": "^1.3"
- },
- "suggest": {
- "symfony/var-dumper": "For using the var_dump formatter"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\OutputFormatters\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Format text by applying transformations provided by plug-in formatters.",
- "time": "2018-10-19T22:35:38+00:00"
- },
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ],
- "time": "2017-01-20T21:14:22+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.4.18",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "1d228fb4602047d7b26a0554e0d3efd567da5803"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/1d228fb4602047d7b26a0554e0d3efd567da5803",
- "reference": "1d228fb4602047d7b26a0554e0d3efd567da5803",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/debug": "~2.8|~3.0|~4.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.3|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-30T16:50:50+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.4.18",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "fe9793af008b651c5441bdeab21ede8172dab097"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/fe9793af008b651c5441bdeab21ede8172dab097",
- "reference": "fe9793af008b651c5441bdeab21ede8172dab097",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0|~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-31T09:06:03+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v3.4.18",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "db9e829c8f34c3d35cf37fcd4cdb4293bc4a2f14"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/db9e829c8f34c3d35cf37fcd4cdb4293bc4a2f14",
- "reference": "db9e829c8f34c3d35cf37fcd4cdb4293bc4a2f14",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0|~4.0",
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/expression-language": "~2.8|~3.0|~4.0",
- "symfony/stopwatch": "~2.8|~3.0|~4.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-30T16:50:50+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v3.4.18",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/54ba444dddc5bd5708a34bd095ea67c6eb54644d",
- "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-03T08:46:40+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T13:07:52+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "2a7156f1572898888ea50ad1d48a6b4d3f9fbf78"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/2a7156f1572898888ea50ad1d48a6b4d3f9fbf78",
- "reference": "2a7156f1572898888ea50ad1d48a6b4d3f9fbf78",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "composer/composer": "^1.7",
- "php-coveralls/php-coveralls": "^1.0",
- "phpunit/phpunit": "^4.8.36|^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "bin": [
- "scripts/dependency-licenses"
- ],
- "type": "composer-plugin",
- "extra": {
- "class": "ComposerTestScenarios\\Plugin",
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "ComposerTestScenarios\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-11-22T05:10:20+00:00"
- },
- {
- "name": "guzzle/guzzle",
- "version": "v3.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": ">=2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "*",
- "monolog/monolog": "1.*",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "1.0.*",
- "symfony/class-loader": "*",
- "zendframework/zend-cache": "<2.3",
- "zendframework/zend-log": "<2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.8-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "abandoned": "guzzlehttp/guzzle",
- "time": "2014-01-28T22:29:15+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2017-10-19T19:58:43+00:00"
- },
- {
- "name": "phar-io/manifest",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/manifest.git",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-phar": "*",
- "phar-io/version": "^1.0.1",
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2017-03-05T18:14:27+00:00"
- },
- {
- "name": "phar-io/version",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/version.git",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Library for handling version information and constraints",
- "time": "2017-03-05T17:38:23+00:00"
- },
- {
- "name": "php-coveralls/php-coveralls",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzle/guzzle": "^2.8 || ^3.0",
- "php": "^5.3.3 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/coveralls"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "Satooshi\\": "src/Satooshi/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "time": "2017-12-06T23:17:56+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "4.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-30T07:14:17+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "5.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c89677919c5dd6d3b3852f230a663118762218ac",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0",
- "phpunit/php-file-iterator": "^1.4.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^2.0.1",
- "sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^3.0",
- "sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "suggest": {
- "ext-xdebug": "^2.5.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2018-04-06T15:36:58+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "791198a2c6254db10131eecfe8c06670700904db"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db",
- "reference": "791198a2c6254db10131eecfe8c06670700904db",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-11-27T05:48:46+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "6.5.13",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693",
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "^1.6.1",
- "phar-io/manifest": "^1.0.1",
- "phar-io/version": "^1.0",
- "php": "^7.0",
- "phpspec/prophecy": "^1.7",
- "phpunit/php-code-coverage": "^5.3",
- "phpunit/php-file-iterator": "^1.4.3",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^1.0.9",
- "phpunit/phpunit-mock-objects": "^5.0.9",
- "sebastian/comparator": "^2.1",
- "sebastian/diff": "^2.0",
- "sebastian/environment": "^3.1",
- "sebastian/exporter": "^3.1",
- "sebastian/global-state": "^2.0",
- "sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^1.0",
- "sebastian/version": "^2.0.1"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2",
- "phpunit/dbunit": "<3.0"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "^1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.5.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-09-08T15:10:43+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "5.0.10",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.5",
- "php": "^7.0",
- "phpunit/php-text-template": "^1.2.1",
- "sebastian/exporter": "^3.1"
- },
- "conflict": {
- "phpunit/phpunit": "<6.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.5.11"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2018-08-09T05:50:03+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "2.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/diff": "^2.0 || ^3.0",
- "sebastian/exporter": "^3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "https://github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2018-02-01T13:46:46+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-08-03T08:09:46+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2017-07-01T08:51:00+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2017-04-03T13:19:02+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2017-04-27T15:39:26+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
- },
- {
- "name": "sebastian/object-reflector",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Allows reflection of object attributes, including inherited and non-public ones",
- "homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2018-11-07T22:31:41+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v3.4.18",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "99b2fa8acc244e656cdf324ff419fbe6fd300a4d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/99b2fa8acc244e656cdf324ff419fbe6fd300a4d",
- "reference": "99b2fa8acc244e656cdf324ff419fbe6fd300a4d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/filesystem": "~2.8|~3.0|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3",
- "symfony/finder": "<3.3"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/event-dispatcher": "~3.3|~4.0",
- "symfony/finder": "~3.3|~4.0",
- "symfony/yaml": "~3.0|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-31T09:06:03+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.4.18",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "d69930fc337d767607267d57c20a7403d0a822a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/d69930fc337d767607267d57c20a7403d0a822a4",
- "reference": "d69930fc337d767607267d57c20a7403d0a822a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-02T12:28:39+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v3.4.18",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "05e52a39de52ba690aebaed462b2bc8a9649f0a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/05e52a39de52ba690aebaed462b2bc8a9649f0a4",
- "reference": "05e52a39de52ba690aebaed462b2bc8a9649f0a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-02T12:28:39+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.4.18",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "640b6c27fed4066d64b64d5903a86043f4a4de7f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/640b6c27fed4066d64b64d5903a86043f4a4de7f",
- "reference": "640b6c27fed4066d64b64d5903a86043f4a4de7f",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-02T16:33:53+00:00"
- },
- {
- "name": "theseer/tokenizer",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/theseer/tokenizer.git",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- }
- ],
- "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2017-04-07T12:08:54+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-01-29T19:49:41+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "7.0.8"
- }
-}
diff --git a/vendor/consolidation/annotated-command/dependencies.yml b/vendor/consolidation/annotated-command/dependencies.yml
deleted file mode 100644
index e6bc6c7ee..000000000
--- a/vendor/consolidation/annotated-command/dependencies.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-version: 2
-dependencies:
-- type: php
- path: /
- settings:
- composer_options: ""
- manifest_updates:
- filters:
- - name: ".*"
- versions: "L.Y.Y"
diff --git a/vendor/consolidation/annotated-command/infection.json.dist b/vendor/consolidation/annotated-command/infection.json.dist
deleted file mode 100644
index b883a216b..000000000
--- a/vendor/consolidation/annotated-command/infection.json.dist
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "timeout": 10,
- "source": {
- "directories": [
- "src"
- ]
- },
- "logs": {
- "text": "infection-log.txt"
- }
-}
\ No newline at end of file
diff --git a/vendor/consolidation/annotated-command/phpunit.xml.dist b/vendor/consolidation/annotated-command/phpunit.xml.dist
deleted file mode 100644
index e680109d1..000000000
--- a/vendor/consolidation/annotated-command/phpunit.xml.dist
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- tests
-
-
-
-
-
-
-
-
- src
-
-
-
diff --git a/vendor/consolidation/annotated-command/src/AnnotatedCommand.php b/vendor/consolidation/annotated-command/src/AnnotatedCommand.php
deleted file mode 100644
index 40d26af5c..000000000
--- a/vendor/consolidation/annotated-command/src/AnnotatedCommand.php
+++ /dev/null
@@ -1,350 +0,0 @@
-getName();
- }
- }
- parent::__construct($name);
- if ($commandInfo && $commandInfo->hasAnnotation('command')) {
- $this->setCommandInfo($commandInfo);
- $this->setCommandOptions($commandInfo);
- }
- }
-
- public function setCommandCallback($commandCallback)
- {
- $this->commandCallback = $commandCallback;
- return $this;
- }
-
- public function setCommandProcessor($commandProcessor)
- {
- $this->commandProcessor = $commandProcessor;
- return $this;
- }
-
- public function commandProcessor()
- {
- // If someone is using an AnnotatedCommand, and is NOT getting
- // it from an AnnotatedCommandFactory OR not correctly injecting
- // a command processor via setCommandProcessor() (ideally via the
- // DI container), then we'll just give each annotated command its
- // own command processor. This is not ideal; preferably, there would
- // only be one instance of the command processor in the application.
- if (!isset($this->commandProcessor)) {
- $this->commandProcessor = new CommandProcessor(new HookManager());
- }
- return $this->commandProcessor;
- }
-
- public function getReturnType()
- {
- return $this->returnType;
- }
-
- public function setReturnType($returnType)
- {
- $this->returnType = $returnType;
- return $this;
- }
-
- public function getAnnotationData()
- {
- return $this->annotationData;
- }
-
- public function setAnnotationData($annotationData)
- {
- $this->annotationData = $annotationData;
- return $this;
- }
-
- public function getTopics()
- {
- return $this->topics;
- }
-
- public function setTopics($topics)
- {
- $this->topics = $topics;
- return $this;
- }
-
- public function setCommandInfo($commandInfo)
- {
- $this->setDescription($commandInfo->getDescription());
- $this->setHelp($commandInfo->getHelp());
- $this->setAliases($commandInfo->getAliases());
- $this->setAnnotationData($commandInfo->getAnnotations());
- $this->setTopics($commandInfo->getTopics());
- foreach ($commandInfo->getExampleUsages() as $usage => $description) {
- $this->addUsageOrExample($usage, $description);
- }
- $this->setCommandArguments($commandInfo);
- $this->setReturnType($commandInfo->getReturnType());
- // Hidden commands available since Symfony 3.2
- // http://symfony.com/doc/current/console/hide_commands.html
- if (method_exists($this, 'setHidden')) {
- $this->setHidden($commandInfo->getHidden());
- }
- return $this;
- }
-
- public function getExampleUsages()
- {
- return $this->examples;
- }
-
- protected function addUsageOrExample($usage, $description)
- {
- $this->addUsage($usage);
- if (!empty($description)) {
- $this->examples[$usage] = $description;
- }
- }
-
- public function helpAlter(\DomDocument $originalDom)
- {
- return HelpDocumentBuilder::alter($originalDom, $this);
- }
-
- protected function setCommandArguments($commandInfo)
- {
- $this->injectedClasses = $commandInfo->getInjectedClasses();
- $this->setCommandArgumentsFromParameters($commandInfo);
- return $this;
- }
-
- protected function setCommandArgumentsFromParameters($commandInfo)
- {
- $args = $commandInfo->arguments()->getValues();
- foreach ($args as $name => $defaultValue) {
- $description = $commandInfo->arguments()->getDescription($name);
- $hasDefault = $commandInfo->arguments()->hasDefault($name);
- $parameterMode = $this->getCommandArgumentMode($hasDefault, $defaultValue);
- $this->addArgument($name, $parameterMode, $description, $defaultValue);
- }
- return $this;
- }
-
- protected function getCommandArgumentMode($hasDefault, $defaultValue)
- {
- if (!$hasDefault) {
- return InputArgument::REQUIRED;
- }
- if (is_array($defaultValue)) {
- return InputArgument::IS_ARRAY;
- }
- return InputArgument::OPTIONAL;
- }
-
- public function setCommandOptions($commandInfo, $automaticOptions = [])
- {
- $inputOptions = $commandInfo->inputOptions();
-
- $this->addOptions($inputOptions + $automaticOptions, $automaticOptions);
- return $this;
- }
-
- public function addOptions($inputOptions, $automaticOptions = [])
- {
- foreach ($inputOptions as $name => $inputOption) {
- $description = $inputOption->getDescription();
-
- if (empty($description) && isset($automaticOptions[$name])) {
- $description = $automaticOptions[$name]->getDescription();
- $inputOption = static::inputOptionSetDescription($inputOption, $description);
- }
- $this->getDefinition()->addOption($inputOption);
- }
- }
-
- protected static function inputOptionSetDescription($inputOption, $description)
- {
- // Recover the 'mode' value, because Symfony is stubborn
- $mode = 0;
- if ($inputOption->isValueRequired()) {
- $mode |= InputOption::VALUE_REQUIRED;
- }
- if ($inputOption->isValueOptional()) {
- $mode |= InputOption::VALUE_OPTIONAL;
- }
- if ($inputOption->isArray()) {
- $mode |= InputOption::VALUE_IS_ARRAY;
- }
- if (!$mode) {
- $mode = InputOption::VALUE_NONE;
- }
-
- $inputOption = new InputOption(
- $inputOption->getName(),
- $inputOption->getShortcut(),
- $mode,
- $description,
- $inputOption->getDefault()
- );
- return $inputOption;
- }
-
- /**
- * Returns all of the hook names that may be called for this command.
- *
- * @return array
- */
- public function getNames()
- {
- return HookManager::getNames($this, $this->commandCallback);
- }
-
- /**
- * Add any options to this command that are defined by hook implementations
- */
- public function optionsHook()
- {
- $this->commandProcessor()->optionsHook(
- $this,
- $this->getNames(),
- $this->annotationData
- );
- }
-
- public function optionsHookForHookAnnotations($commandInfoList)
- {
- foreach ($commandInfoList as $commandInfo) {
- $inputOptions = $commandInfo->inputOptions();
- $this->addOptions($inputOptions);
- foreach ($commandInfo->getExampleUsages() as $usage => $description) {
- if (!in_array($usage, $this->getUsages())) {
- $this->addUsageOrExample($usage, $description);
- }
- }
- }
- }
-
- /**
- * {@inheritdoc}
- */
- protected function interact(InputInterface $input, OutputInterface $output)
- {
- $this->commandProcessor()->interact(
- $input,
- $output,
- $this->getNames(),
- $this->annotationData
- );
- }
-
- protected function initialize(InputInterface $input, OutputInterface $output)
- {
- // Allow the hook manager a chance to provide configuration values,
- // if there are any registered hooks to do that.
- $this->commandProcessor()->initializeHook($input, $this->getNames(), $this->annotationData);
- }
-
- /**
- * {@inheritdoc}
- */
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- // Validate, run, process, alter, handle results.
- return $this->commandProcessor()->process(
- $output,
- $this->getNames(),
- $this->commandCallback,
- $this->createCommandData($input, $output)
- );
- }
-
- /**
- * This function is available for use by a class that may
- * wish to extend this class rather than use annotations to
- * define commands. Using this technique does allow for the
- * use of annotations to define hooks.
- */
- public function processResults(InputInterface $input, OutputInterface $output, $results)
- {
- $commandData = $this->createCommandData($input, $output);
- $commandProcessor = $this->commandProcessor();
- $names = $this->getNames();
- $results = $commandProcessor->processResults(
- $names,
- $results,
- $commandData
- );
- return $commandProcessor->handleResults(
- $output,
- $names,
- $results,
- $commandData
- );
- }
-
- protected function createCommandData(InputInterface $input, OutputInterface $output)
- {
- $commandData = new CommandData(
- $this->annotationData,
- $input,
- $output
- );
-
- // Fetch any classes (e.g. InputInterface / OutputInterface) that
- // this command's callback wants passed as a parameter and inject
- // it into the command data.
- $this->commandProcessor()->injectIntoCommandData($commandData, $this->injectedClasses);
-
- // Allow the commandData to cache the list of options with
- // special default values ('null' and 'true'), as these will
- // need special handling. @see CommandData::options().
- $commandData->cacheSpecialDefaults($this->getDefinition());
-
- return $commandData;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/AnnotatedCommandFactory.php b/vendor/consolidation/annotated-command/src/AnnotatedCommandFactory.php
deleted file mode 100644
index 9f67ef648..000000000
--- a/vendor/consolidation/annotated-command/src/AnnotatedCommandFactory.php
+++ /dev/null
@@ -1,461 +0,0 @@
-dataStore = new NullCache();
- $this->commandProcessor = new CommandProcessor(new HookManager());
- $this->addAutomaticOptionProvider($this);
- }
-
- public function setCommandProcessor(CommandProcessor $commandProcessor)
- {
- $this->commandProcessor = $commandProcessor;
- return $this;
- }
-
- /**
- * @return CommandProcessor
- */
- public function commandProcessor()
- {
- return $this->commandProcessor;
- }
-
- /**
- * Set the 'include all public methods flag'. If true (the default), then
- * every public method of each commandFile will be used to create commands.
- * If it is false, then only those public methods annotated with @command
- * or @name (deprecated) will be used to create commands.
- */
- public function setIncludeAllPublicMethods($includeAllPublicMethods)
- {
- $this->includeAllPublicMethods = $includeAllPublicMethods;
- return $this;
- }
-
- public function getIncludeAllPublicMethods()
- {
- return $this->includeAllPublicMethods;
- }
-
- /**
- * @return HookManager
- */
- public function hookManager()
- {
- return $this->commandProcessor()->hookManager();
- }
-
- /**
- * Add a listener that is notified immediately before the command
- * factory creates commands from a commandFile instance. This
- * listener can use this opportunity to do more setup for the commandFile,
- * and so on.
- *
- * @param CommandCreationListenerInterface $listener
- */
- public function addListener(CommandCreationListenerInterface $listener)
- {
- $this->listeners[] = $listener;
- return $this;
- }
-
- /**
- * Add a listener that's just a simple 'callable'.
- * @param callable $listener
- */
- public function addListernerCallback(callable $listener)
- {
- $this->addListener(new CommandCreationListener($listener));
- return $this;
- }
-
- /**
- * Call all command creation listeners
- *
- * @param object $commandFileInstance
- */
- protected function notify($commandFileInstance)
- {
- foreach ($this->listeners as $listener) {
- $listener->notifyCommandFileAdded($commandFileInstance);
- }
- }
-
- public function addAutomaticOptionProvider(AutomaticOptionsProviderInterface $optionsProvider)
- {
- $this->automaticOptionsProviderList[] = $optionsProvider;
- }
-
- public function addCommandInfoAlterer(CommandInfoAltererInterface $alterer)
- {
- $this->commandInfoAlterers[] = $alterer;
- }
-
- /**
- * n.b. This registers all hooks from the commandfile instance as a side-effect.
- */
- public function createCommandsFromClass($commandFileInstance, $includeAllPublicMethods = null)
- {
- // Deprecated: avoid using the $includeAllPublicMethods in favor of the setIncludeAllPublicMethods() accessor.
- if (!isset($includeAllPublicMethods)) {
- $includeAllPublicMethods = $this->getIncludeAllPublicMethods();
- }
- $this->notify($commandFileInstance);
- $commandInfoList = $this->getCommandInfoListFromClass($commandFileInstance);
- $this->registerCommandHooksFromClassInfo($commandInfoList, $commandFileInstance);
- return $this->createCommandsFromClassInfo($commandInfoList, $commandFileInstance, $includeAllPublicMethods);
- }
-
- public function getCommandInfoListFromClass($commandFileInstance)
- {
- $cachedCommandInfoList = $this->getCommandInfoListFromCache($commandFileInstance);
- $commandInfoList = $this->createCommandInfoListFromClass($commandFileInstance, $cachedCommandInfoList);
- if (!empty($commandInfoList)) {
- $cachedCommandInfoList = array_merge($commandInfoList, $cachedCommandInfoList);
- $this->storeCommandInfoListInCache($commandFileInstance, $cachedCommandInfoList);
- }
- return $cachedCommandInfoList;
- }
-
- protected function storeCommandInfoListInCache($commandFileInstance, $commandInfoList)
- {
- if (!$this->hasDataStore()) {
- return;
- }
- $cache_data = [];
- $serializer = new CommandInfoSerializer();
- foreach ($commandInfoList as $i => $commandInfo) {
- $cache_data[$i] = $serializer->serialize($commandInfo);
- }
- $className = get_class($commandFileInstance);
- $this->getDataStore()->set($className, $cache_data);
- }
-
- /**
- * Get the command info list from the cache
- *
- * @param mixed $commandFileInstance
- * @return array
- */
- protected function getCommandInfoListFromCache($commandFileInstance)
- {
- $commandInfoList = [];
- if (!is_object($commandFileInstance)) {
- return [];
- }
- $className = get_class($commandFileInstance);
- if (!$this->getDataStore()->has($className)) {
- return [];
- }
- $deserializer = new CommandInfoDeserializer();
-
- $cache_data = $this->getDataStore()->get($className);
- foreach ($cache_data as $i => $data) {
- if (CommandInfoDeserializer::isValidSerializedData((array)$data)) {
- $commandInfoList[$i] = $deserializer->deserialize((array)$data);
- }
- }
- return $commandInfoList;
- }
-
- /**
- * Check to see if this factory has a cache datastore.
- * @return boolean
- */
- public function hasDataStore()
- {
- return !($this->dataStore instanceof NullCache);
- }
-
- /**
- * Set a cache datastore for this factory. Any object with 'set' and
- * 'get' methods is acceptable. The key is the classname being cached,
- * and the value is a nested associative array of strings.
- *
- * TODO: Typehint this to SimpleCacheInterface
- *
- * This is not done currently to allow clients to use a generic cache
- * store that does not itself depend on the annotated-command library.
- *
- * @param Mixed $dataStore
- * @return type
- */
- public function setDataStore($dataStore)
- {
- if (!($dataStore instanceof SimpleCacheInterface)) {
- $dataStore = new CacheWrapper($dataStore);
- }
- $this->dataStore = $dataStore;
- return $this;
- }
-
- /**
- * Get the data store attached to this factory.
- */
- public function getDataStore()
- {
- return $this->dataStore;
- }
-
- protected function createCommandInfoListFromClass($classNameOrInstance, $cachedCommandInfoList)
- {
- $commandInfoList = [];
-
- // Ignore special functions, such as __construct and __call, which
- // can never be commands.
- $commandMethodNames = array_filter(
- get_class_methods($classNameOrInstance) ?: [],
- function ($m) use ($classNameOrInstance) {
- $reflectionMethod = new \ReflectionMethod($classNameOrInstance, $m);
- return !$reflectionMethod->isStatic() && !preg_match('#^_#', $m);
- }
- );
-
- foreach ($commandMethodNames as $commandMethodName) {
- if (!array_key_exists($commandMethodName, $cachedCommandInfoList)) {
- $commandInfo = CommandInfo::create($classNameOrInstance, $commandMethodName);
- if (!static::isCommandOrHookMethod($commandInfo, $this->getIncludeAllPublicMethods())) {
- $commandInfo->invalidate();
- }
- $commandInfoList[$commandMethodName] = $commandInfo;
- }
- }
-
- return $commandInfoList;
- }
-
- public function createCommandInfo($classNameOrInstance, $commandMethodName)
- {
- return CommandInfo::create($classNameOrInstance, $commandMethodName);
- }
-
- public function createCommandsFromClassInfo($commandInfoList, $commandFileInstance, $includeAllPublicMethods = null)
- {
- // Deprecated: avoid using the $includeAllPublicMethods in favor of the setIncludeAllPublicMethods() accessor.
- if (!isset($includeAllPublicMethods)) {
- $includeAllPublicMethods = $this->getIncludeAllPublicMethods();
- }
- return $this->createSelectedCommandsFromClassInfo(
- $commandInfoList,
- $commandFileInstance,
- function ($commandInfo) use ($includeAllPublicMethods) {
- return static::isCommandMethod($commandInfo, $includeAllPublicMethods);
- }
- );
- }
-
- public function createSelectedCommandsFromClassInfo($commandInfoList, $commandFileInstance, callable $commandSelector)
- {
- $commandInfoList = $this->filterCommandInfoList($commandInfoList, $commandSelector);
- return array_map(
- function ($commandInfo) use ($commandFileInstance) {
- return $this->createCommand($commandInfo, $commandFileInstance);
- },
- $commandInfoList
- );
- }
-
- protected function filterCommandInfoList($commandInfoList, callable $commandSelector)
- {
- return array_filter($commandInfoList, $commandSelector);
- }
-
- public static function isCommandOrHookMethod($commandInfo, $includeAllPublicMethods)
- {
- return static::isHookMethod($commandInfo) || static::isCommandMethod($commandInfo, $includeAllPublicMethods);
- }
-
- public static function isHookMethod($commandInfo)
- {
- return $commandInfo->hasAnnotation('hook');
- }
-
- public static function isCommandMethod($commandInfo, $includeAllPublicMethods)
- {
- // Ignore everything labeled @hook
- if (static::isHookMethod($commandInfo)) {
- return false;
- }
- // Include everything labeled @command
- if ($commandInfo->hasAnnotation('command')) {
- return true;
- }
- // Skip anything that has a missing or invalid name.
- $commandName = $commandInfo->getName();
- if (empty($commandName) || preg_match('#[^a-zA-Z0-9:_-]#', $commandName)) {
- return false;
- }
- // Skip anything named like an accessor ('get' or 'set')
- if (preg_match('#^(get[A-Z]|set[A-Z])#', $commandInfo->getMethodName())) {
- return false;
- }
-
- // Default to the setting of 'include all public methods'.
- return $includeAllPublicMethods;
- }
-
- public function registerCommandHooksFromClassInfo($commandInfoList, $commandFileInstance)
- {
- foreach ($commandInfoList as $commandInfo) {
- if (static::isHookMethod($commandInfo)) {
- $this->registerCommandHook($commandInfo, $commandFileInstance);
- }
- }
- }
-
- /**
- * Register a command hook given the CommandInfo for a method.
- *
- * The hook format is:
- *
- * @hook type name type
- *
- * For example, the pre-validate hook for the core:init command is:
- *
- * @hook pre-validate core:init
- *
- * If no command name is provided, then this hook will affect every
- * command that is defined in the same file.
- *
- * If no hook is provided, then we will presume that ALTER_RESULT
- * is intended.
- *
- * @param CommandInfo $commandInfo Information about the command hook method.
- * @param object $commandFileInstance An instance of the CommandFile class.
- */
- public function registerCommandHook(CommandInfo $commandInfo, $commandFileInstance)
- {
- // Ignore if the command info has no @hook
- if (!static::isHookMethod($commandInfo)) {
- return;
- }
- $hookData = $commandInfo->getAnnotation('hook');
- $hook = $this->getNthWord($hookData, 0, HookManager::ALTER_RESULT);
- $commandName = $this->getNthWord($hookData, 1);
-
- // Register the hook
- $callback = [$commandFileInstance, $commandInfo->getMethodName()];
- $this->commandProcessor()->hookManager()->add($callback, $hook, $commandName);
-
- // If the hook has options, then also register the commandInfo
- // with the hook manager, so that we can add options and such to
- // the commands they hook.
- if (!$commandInfo->options()->isEmpty()) {
- $this->commandProcessor()->hookManager()->recordHookOptions($commandInfo, $commandName);
- }
- }
-
- protected function getNthWord($string, $n, $default = '', $delimiter = ' ')
- {
- $words = explode($delimiter, $string);
- if (!empty($words[$n])) {
- return $words[$n];
- }
- return $default;
- }
-
- public function createCommand(CommandInfo $commandInfo, $commandFileInstance)
- {
- $this->alterCommandInfo($commandInfo, $commandFileInstance);
- $command = new AnnotatedCommand($commandInfo->getName());
- $commandCallback = [$commandFileInstance, $commandInfo->getMethodName()];
- $command->setCommandCallback($commandCallback);
- $command->setCommandProcessor($this->commandProcessor);
- $command->setCommandInfo($commandInfo);
- $automaticOptions = $this->callAutomaticOptionsProviders($commandInfo);
- $command->setCommandOptions($commandInfo, $automaticOptions);
- // Annotation commands are never bootstrap-aware, but for completeness
- // we will notify on every created command, as some clients may wish to
- // use this notification for some other purpose.
- $this->notify($command);
- return $command;
- }
-
- /**
- * Give plugins an opportunity to update the commandInfo
- */
- public function alterCommandInfo(CommandInfo $commandInfo, $commandFileInstance)
- {
- foreach ($this->commandInfoAlterers as $alterer) {
- $alterer->alterCommandInfo($commandInfo, $commandFileInstance);
- }
- }
-
- /**
- * Get the options that are implied by annotations, e.g. @fields implies
- * that there should be a --fields and a --format option.
- *
- * @return InputOption[]
- */
- public function callAutomaticOptionsProviders(CommandInfo $commandInfo)
- {
- $automaticOptions = [];
- foreach ($this->automaticOptionsProviderList as $automaticOptionsProvider) {
- $automaticOptions += $automaticOptionsProvider->automaticOptions($commandInfo);
- }
- return $automaticOptions;
- }
-
- /**
- * Get the options that are implied by annotations, e.g. @fields implies
- * that there should be a --fields and a --format option.
- *
- * @return InputOption[]
- */
- public function automaticOptions(CommandInfo $commandInfo)
- {
- $automaticOptions = [];
- $formatManager = $this->commandProcessor()->formatterManager();
- if ($formatManager) {
- $annotationData = $commandInfo->getAnnotations()->getArrayCopy();
- $formatterOptions = new FormatterOptions($annotationData);
- $dataType = $commandInfo->getReturnType();
- $automaticOptions = $formatManager->automaticOptions($formatterOptions, $dataType);
- }
- return $automaticOptions;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/AnnotationData.php b/vendor/consolidation/annotated-command/src/AnnotationData.php
deleted file mode 100644
index ad7523aac..000000000
--- a/vendor/consolidation/annotated-command/src/AnnotationData.php
+++ /dev/null
@@ -1,44 +0,0 @@
-has($key) ? CsvUtils::toString($this[$key]) : $default;
- }
-
- public function getList($key, $default = [])
- {
- return $this->has($key) ? CsvUtils::toList($this[$key]) : $default;
- }
-
- public function has($key)
- {
- return isset($this[$key]);
- }
-
- public function keys()
- {
- return array_keys($this->getArrayCopy());
- }
-
- public function set($key, $value = '')
- {
- $this->offsetSet($key, $value);
- return $this;
- }
-
- public function append($key, $value = '')
- {
- $data = $this->offsetGet($key);
- if (is_array($data)) {
- $this->offsetSet($key, array_merge($data, $value));
- } elseif (is_scalar($data)) {
- $this->offsetSet($key, $data . $value);
- }
- return $this;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Cache/CacheWrapper.php b/vendor/consolidation/annotated-command/src/Cache/CacheWrapper.php
deleted file mode 100644
index ed5a5eeed..000000000
--- a/vendor/consolidation/annotated-command/src/Cache/CacheWrapper.php
+++ /dev/null
@@ -1,49 +0,0 @@
-dataStore = $dataStore;
- }
-
- /**
- * Test for an entry from the cache
- * @param string $key
- * @return boolean
- */
- public function has($key)
- {
- if (method_exists($this->dataStore, 'has')) {
- return $this->dataStore->has($key);
- }
- $test = $this->dataStore->get($key);
- return !empty($test);
- }
-
- /**
- * Get an entry from the cache
- * @param string $key
- * @return array
- */
- public function get($key)
- {
- return (array) $this->dataStore->get($key);
- }
-
- /**
- * Store an entry in the cache
- * @param string $key
- * @param array $data
- */
- public function set($key, $data)
- {
- $this->dataStore->set($key, $data);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Cache/NullCache.php b/vendor/consolidation/annotated-command/src/Cache/NullCache.php
deleted file mode 100644
index 22906b299..000000000
--- a/vendor/consolidation/annotated-command/src/Cache/NullCache.php
+++ /dev/null
@@ -1,37 +0,0 @@
-listener = $listener;
- }
-
- public function notifyCommandFileAdded($command)
- {
- call_user_func($this->listener, $command);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/CommandCreationListenerInterface.php b/vendor/consolidation/annotated-command/src/CommandCreationListenerInterface.php
deleted file mode 100644
index f3a50eae3..000000000
--- a/vendor/consolidation/annotated-command/src/CommandCreationListenerInterface.php
+++ /dev/null
@@ -1,15 +0,0 @@
-annotationData = $annotationData;
- $this->input = $input;
- $this->output = $output;
- $this->includeOptionsInArgs = true;
- }
-
- /**
- * For internal use only; inject an instance to be passed back
- * to the command callback as a parameter.
- */
- public function injectInstance($injectedInstance)
- {
- array_unshift($this->injectedInstances, $injectedInstance);
- return $this;
- }
-
- /**
- * Provide a reference to the instances that will be added to the
- * beginning of the parameter list when the command callback is invoked.
- */
- public function injectedInstances()
- {
- return $this->injectedInstances;
- }
-
- /**
- * For backwards-compatibility mode only: disable addition of
- * options on the end of the arguments list.
- */
- public function setIncludeOptionsInArgs($includeOptionsInArgs)
- {
- $this->includeOptionsInArgs = $includeOptionsInArgs;
- return $this;
- }
-
- public function annotationData()
- {
- return $this->annotationData;
- }
-
- public function formatterOptions()
- {
- return $this->formatterOptions;
- }
-
- public function setFormatterOptions($formatterOptions)
- {
- $this->formatterOptions = $formatterOptions;
- }
-
- public function input()
- {
- return $this->input;
- }
-
- public function output()
- {
- return $this->output;
- }
-
- public function arguments()
- {
- return $this->input->getArguments();
- }
-
- public function options()
- {
- // We cannot tell the difference between '--foo' (an option without
- // a value) and the absence of '--foo' when the option has an optional
- // value, and the current vallue of the option is 'null' using only
- // the public methods of InputInterface. We'll try to figure out
- // which is which by other means here.
- $options = $this->getAdjustedOptions();
-
- // Make two conversions here:
- // --foo=0 wil convert $value from '0' to 'false' for binary options.
- // --foo with $value of 'true' will be forced to 'false' if --no-foo exists.
- foreach ($options as $option => $value) {
- if ($this->shouldConvertOptionToFalse($options, $option, $value)) {
- $options[$option] = false;
- }
- }
-
- return $options;
- }
-
- /**
- * Use 'hasParameterOption()' to attempt to disambiguate option states.
- */
- protected function getAdjustedOptions()
- {
- $options = $this->input->getOptions();
-
- // If Input isn't an ArgvInput, then return the options as-is.
- if (!$this->input instanceof ArgvInput) {
- return $options;
- }
-
- // If we have an ArgvInput, then we can determine if options
- // are missing from the command line. If the option value is
- // missing from $input, then we will keep the value `null`.
- // If it is present, but has no explicit value, then change it its
- // value to `true`.
- foreach ($options as $option => $value) {
- if (($value === null) && ($this->input->hasParameterOption("--$option"))) {
- $options[$option] = true;
- }
- }
-
- return $options;
- }
-
- protected function shouldConvertOptionToFalse($options, $option, $value)
- {
- // If the value is 'true' (e.g. the option is '--foo'), then convert
- // it to false if there is also an option '--no-foo'. n.b. if the
- // commandline has '--foo=bar' then $value will not be 'true', and
- // --no-foo will be ignored.
- if ($value === true) {
- // Check if the --no-* option exists. Note that none of the other
- // alteration apply in the $value == true case, so we can exit early here.
- $negation_key = 'no-' . $option;
- return array_key_exists($negation_key, $options) && $options[$negation_key];
- }
-
- // If the option is '--foo=0', convert the '0' to 'false' when appropriate.
- if ($value !== '0') {
- return false;
- }
-
- // The '--foo=0' convertion is only applicable when the default value
- // is not in the special defaults list. i.e. you get a literal '0'
- // when your default is a string.
- return in_array($option, $this->specialDefaults);
- }
-
- public function cacheSpecialDefaults($definition)
- {
- foreach ($definition->getOptions() as $option => $inputOption) {
- $defaultValue = $inputOption->getDefault();
- if (($defaultValue === null) || ($defaultValue === true)) {
- $this->specialDefaults[] = $option;
- }
- }
- }
-
- public function getArgsWithoutAppName()
- {
- $args = $this->arguments();
-
- // When called via the Application, the first argument
- // will be the command name. The Application alters the
- // input definition to match, adding a 'command' argument
- // to the beginning.
- if ($this->input->hasArgument('command')) {
- array_shift($args);
- }
-
- return $args;
- }
-
- public function getArgsAndOptions()
- {
- // Get passthrough args, and add the options on the end.
- $args = $this->getArgsWithoutAppName();
- if ($this->includeOptionsInArgs) {
- $args['options'] = $this->options();
- }
- return $args;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/CommandError.php b/vendor/consolidation/annotated-command/src/CommandError.php
deleted file mode 100644
index bfe257bd2..000000000
--- a/vendor/consolidation/annotated-command/src/CommandError.php
+++ /dev/null
@@ -1,32 +0,0 @@
-message = $message;
- // Ensure the exit code is non-zero. The exit code may have
- // come from an exception, and those often default to zero if
- // a specific value is not provided.
- $this->exitCode = $exitCode == 0 ? 1 : $exitCode;
- }
- public function getExitCode()
- {
- return $this->exitCode;
- }
-
- public function getOutputData()
- {
- return $this->message;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/CommandFileDiscovery.php b/vendor/consolidation/annotated-command/src/CommandFileDiscovery.php
deleted file mode 100644
index bdcce7408..000000000
--- a/vendor/consolidation/annotated-command/src/CommandFileDiscovery.php
+++ /dev/null
@@ -1,468 +0,0 @@
-discoverNamespaced($moduleList, '\Drupal');
- *
- * To discover global commands:
- *
- * $commandFiles = $discovery->discover($drupalRoot, '\Drupal');
- *
- * WARNING:
- *
- * This class is deprecated. Commandfile discovery is complicated, and does
- * not work from within phar files. It is recommended to instead use a static
- * list of command classes as shown in https://github.com/g1a/starter/blob/master/example
- *
- * For a better alternative when implementing a plugin mechanism, see
- * https://robo.li/extending/#register-command-files-via-psr-4-autoloading
- */
-class CommandFileDiscovery
-{
- /** @var string[] */
- protected $excludeList;
- /** @var string[] */
- protected $searchLocations;
- /** @var string */
- protected $searchPattern = '*Commands.php';
- /** @var boolean */
- protected $includeFilesAtBase = true;
- /** @var integer */
- protected $searchDepth = 2;
- /** @var bool */
- protected $followLinks = false;
- /** @var string[] */
- protected $strippedNamespaces;
-
- public function __construct()
- {
- $this->excludeList = ['Exclude'];
- $this->searchLocations = [
- 'Command',
- 'CliTools', // TODO: Maybe remove
- ];
- }
-
- /**
- * Specify whether to search for files at the base directory
- * ($directoryList parameter to discover and discoverNamespaced
- * methods), or only in the directories listed in the search paths.
- *
- * @param boolean $includeFilesAtBase
- */
- public function setIncludeFilesAtBase($includeFilesAtBase)
- {
- $this->includeFilesAtBase = $includeFilesAtBase;
- return $this;
- }
-
- /**
- * Set the list of excludes to add to the finder, replacing
- * whatever was there before.
- *
- * @param array $excludeList The list of directory names to skip when
- * searching for command files.
- */
- public function setExcludeList($excludeList)
- {
- $this->excludeList = $excludeList;
- return $this;
- }
-
- /**
- * Add one more location to the exclude list.
- *
- * @param string $exclude One directory name to skip when searching
- * for command files.
- */
- public function addExclude($exclude)
- {
- $this->excludeList[] = $exclude;
- return $this;
- }
-
- /**
- * Set the search depth. By default, fills immediately in the
- * base directory are searched, plus all of the search locations
- * to this specified depth. If the search locations is set to
- * an empty array, then the base directory is searched to this
- * depth.
- */
- public function setSearchDepth($searchDepth)
- {
- $this->searchDepth = $searchDepth;
- return $this;
- }
-
- /**
- * Specify that the discovery object should follow symlinks. By
- * default, symlinks are not followed.
- */
- public function followLinks($followLinks = true)
- {
- $this->followLinks = $followLinks;
- return $this;
- }
-
- /**
- * Set the list of search locations to examine in each directory where
- * command files may be found. This replaces whatever was there before.
- *
- * @param array $searchLocations The list of locations to search for command files.
- */
- public function setSearchLocations($searchLocations)
- {
- $this->searchLocations = $searchLocations;
- return $this;
- }
-
- /**
- * Set a particular namespace part to ignore. This is useful in plugin
- * mechanisms where the plugin is placed by Composer.
- *
- * For example, Drush extensions are placed in `./drush/Commands`.
- * If the Composer installer path is `"drush/Commands/contrib/{$name}": ["type:drupal-drush"]`,
- * then Composer will place the command files in `drush/Commands/contrib`.
- * The namespace should not be any different in this instance than if
- * the extension were placed in `drush/Commands`, though, so Drush therefore
- * calls `ignoreNamespacePart('contrib', 'Commands')`. This causes the
- * `contrib` component to be removed from the namespace if it follows
- * the namespace `Commands`. If the '$base' parameter is not specified, then
- * the ignored portion of the namespace may appear anywhere in the path.
- */
- public function ignoreNamespacePart($ignore, $base = '')
- {
- $replacementPart = '\\';
- if (!empty($base)) {
- $replacementPart .= $base . '\\';
- }
- $ignoredPart = $replacementPart . $ignore . '\\';
- $this->strippedNamespaces[$ignoredPart] = $replacementPart;
-
- return $this;
- }
-
- /**
- * Add one more location to the search location list.
- *
- * @param string $location One more relative path to search
- * for command files.
- */
- public function addSearchLocation($location)
- {
- $this->searchLocations[] = $location;
- return $this;
- }
-
- /**
- * Specify the pattern / regex used by the finder to search for
- * command files.
- */
- public function setSearchPattern($searchPattern)
- {
- $this->searchPattern = $searchPattern;
- return $this;
- }
-
- /**
- * Given a list of directories, e.g. Drupal modules like:
- *
- * core/modules/block
- * core/modules/dblog
- * modules/default_content
- *
- * Discover command files in any of these locations.
- *
- * @param string|string[] $directoryList Places to search for commands.
- *
- * @return array
- */
- public function discoverNamespaced($directoryList, $baseNamespace = '')
- {
- return $this->discover($this->convertToNamespacedList((array)$directoryList), $baseNamespace);
- }
-
- /**
- * Given a simple list containing paths to directories, where
- * the last component of the path should appear in the namespace,
- * after the base namespace, this function will return an
- * associative array mapping the path's basename (e.g. the module
- * name) to the directory path.
- *
- * Module names must be unique.
- *
- * @param string[] $directoryList A list of module locations
- *
- * @return array
- */
- public function convertToNamespacedList($directoryList)
- {
- $namespacedArray = [];
- foreach ((array)$directoryList as $directory) {
- $namespacedArray[basename($directory)] = $directory;
- }
- return $namespacedArray;
- }
-
- /**
- * Search for command files in the specified locations. This is the function that
- * should be used for all locations that are NOT modules of a framework.
- *
- * @param string|string[] $directoryList Places to search for commands.
- * @return array
- */
- public function discover($directoryList, $baseNamespace = '')
- {
- $commandFiles = [];
- foreach ((array)$directoryList as $key => $directory) {
- $itemsNamespace = $this->joinNamespace([$baseNamespace, $key]);
- $commandFiles = array_merge(
- $commandFiles,
- $this->discoverCommandFiles($directory, $itemsNamespace),
- $this->discoverCommandFiles("$directory/src", $itemsNamespace)
- );
- }
- return $this->fixNamespaces($commandFiles);
- }
-
- /**
- * fixNamespaces will alter the namespaces in the commandFiles
- * result to remove the Composer placement directory, if any.
- */
- protected function fixNamespaces($commandFiles)
- {
- // Do nothing unless the client told us to remove some namespace components.
- if (empty($this->strippedNamespaces)) {
- return $commandFiles;
- }
-
- // Strip out any part of the namespace the client did not want.
- // @see CommandFileDiscovery::ignoreNamespacePart
- return array_map(
- function ($fqcn) {
- return str_replace(
- array_keys($this->strippedNamespaces),
- array_values($this->strippedNamespaces),
- $fqcn
- );
- },
- $commandFiles
- );
- }
-
- /**
- * Search for command files in specific locations within a single directory.
- *
- * In each location, we will accept only a few places where command files
- * can be found. This will reduce the need to search through many unrelated
- * files.
- *
- * The default search locations include:
- *
- * .
- * CliTools
- * src/CliTools
- *
- * The pattern we will look for is any file whose name ends in 'Commands.php'.
- * A list of paths to found files will be returned.
- */
- protected function discoverCommandFiles($directory, $baseNamespace)
- {
- $commandFiles = [];
- // In the search location itself, we will search for command files
- // immediately inside the directory only.
- if ($this->includeFilesAtBase) {
- $commandFiles = $this->discoverCommandFilesInLocation(
- $directory,
- $this->getBaseDirectorySearchDepth(),
- $baseNamespace
- );
- }
-
- // In the other search locations,
- foreach ($this->searchLocations as $location) {
- $itemsNamespace = $this->joinNamespace([$baseNamespace, $location]);
- $commandFiles = array_merge(
- $commandFiles,
- $this->discoverCommandFilesInLocation(
- "$directory/$location",
- $this->getSearchDepth(),
- $itemsNamespace
- )
- );
- }
- return $commandFiles;
- }
-
- /**
- * Return a Finder search depth appropriate for our selected search depth.
- *
- * @return string
- */
- protected function getSearchDepth()
- {
- return $this->searchDepth <= 0 ? '== 0' : '<= ' . $this->searchDepth;
- }
-
- /**
- * Return a Finder search depth for the base directory. If the
- * searchLocations array has been populated, then we will only search
- * for files immediately inside the base directory; no traversal into
- * deeper directories will be done, as that would conflict with the
- * specification provided by the search locations. If there is no
- * search location, then we will search to whatever depth was specified
- * by the client.
- *
- * @return string
- */
- protected function getBaseDirectorySearchDepth()
- {
- if (!empty($this->searchLocations)) {
- return '== 0';
- }
- return $this->getSearchDepth();
- }
-
- /**
- * Search for command files in just one particular location. Returns
- * an associative array mapping from the pathname of the file to the
- * classname that it contains. The pathname may be ignored if the search
- * location is included in the autoloader.
- *
- * @param string $directory The location to search
- * @param string $depth How deep to search (e.g. '== 0' or '< 2')
- * @param string $baseNamespace Namespace to prepend to each classname
- *
- * @return array
- */
- protected function discoverCommandFilesInLocation($directory, $depth, $baseNamespace)
- {
- if (!is_dir($directory)) {
- return [];
- }
- $finder = $this->createFinder($directory, $depth);
-
- $commands = [];
- foreach ($finder as $file) {
- $relativePathName = $file->getRelativePathname();
- $relativeNamespaceAndClassname = str_replace(
- ['/', '-', '.php'],
- ['\\', '_', ''],
- $relativePathName
- );
- $classname = $this->joinNamespace([$baseNamespace, $relativeNamespaceAndClassname]);
- $commandFilePath = $this->joinPaths([$directory, $relativePathName]);
- $commands[$commandFilePath] = $classname;
- }
-
- return $commands;
- }
-
- /**
- * Create a Finder object for use in searching a particular directory
- * location.
- *
- * @param string $directory The location to search
- * @param string $depth The depth limitation
- *
- * @return Finder
- */
- protected function createFinder($directory, $depth)
- {
- $finder = new Finder();
- $finder->files()
- ->name($this->searchPattern)
- ->in($directory)
- ->depth($depth);
-
- foreach ($this->excludeList as $item) {
- $finder->exclude($item);
- }
-
- if ($this->followLinks) {
- $finder->followLinks();
- }
-
- return $finder;
- }
-
- /**
- * Combine the items of the provied array into a backslash-separated
- * namespace string. Empty and numeric items are omitted.
- *
- * @param array $namespaceParts List of components of a namespace
- *
- * @return string
- */
- protected function joinNamespace(array $namespaceParts)
- {
- return $this->joinParts(
- '\\',
- $namespaceParts,
- function ($item) {
- return !is_numeric($item) && !empty($item);
- }
- );
- }
-
- /**
- * Combine the items of the provied array into a slash-separated
- * pathname. Empty items are omitted.
- *
- * @param array $pathParts List of components of a path
- *
- * @return string
- */
- protected function joinPaths(array $pathParts)
- {
- $path = $this->joinParts(
- '/',
- $pathParts,
- function ($item) {
- return !empty($item);
- }
- );
- return str_replace(DIRECTORY_SEPARATOR, '/', $path);
- }
-
- /**
- * Simple wrapper around implode and array_filter.
- *
- * @param string $delimiter
- * @param array $parts
- * @param callable $filterFunction
- */
- protected function joinParts($delimiter, $parts, $filterFunction)
- {
- $parts = array_map(
- function ($item) use ($delimiter) {
- return rtrim($item, $delimiter);
- },
- $parts
- );
- return implode(
- $delimiter,
- array_filter($parts, $filterFunction)
- );
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/CommandInfoAltererInterface.php b/vendor/consolidation/annotated-command/src/CommandInfoAltererInterface.php
deleted file mode 100644
index 55376d148..000000000
--- a/vendor/consolidation/annotated-command/src/CommandInfoAltererInterface.php
+++ /dev/null
@@ -1,9 +0,0 @@
-hookManager = $hookManager;
- }
-
- /**
- * Return the hook manager
- * @return HookManager
- */
- public function hookManager()
- {
- return $this->hookManager;
- }
-
- public function resultWriter()
- {
- if (!$this->resultWriter) {
- $this->setResultWriter(new ResultWriter());
- }
- return $this->resultWriter;
- }
-
- public function setResultWriter($resultWriter)
- {
- $this->resultWriter = $resultWriter;
- }
-
- public function parameterInjection()
- {
- if (!$this->parameterInjection) {
- $this->setParameterInjection(new ParameterInjection());
- }
- return $this->parameterInjection;
- }
-
- public function setParameterInjection($parameterInjection)
- {
- $this->parameterInjection = $parameterInjection;
- }
-
- public function addPrepareFormatter(PrepareFormatter $preparer)
- {
- $this->prepareOptionsList[] = $preparer;
- }
-
- public function setFormatterManager(FormatterManager $formatterManager)
- {
- $this->formatterManager = $formatterManager;
- $this->resultWriter()->setFormatterManager($formatterManager);
- return $this;
- }
-
- public function setDisplayErrorFunction(callable $fn)
- {
- $this->resultWriter()->setDisplayErrorFunction($fn);
- }
-
- /**
- * Set a mode to make the annotated command library re-throw
- * any exception that it catches while processing a command.
- *
- * The default behavior in the current (2.x) branch is to catch
- * the exception and replace it with a CommandError object that
- * may be processed by the normal output processing passthrough.
- *
- * In the 3.x branch, exceptions will never be caught; they will
- * be passed through, as if setPassExceptions(true) were called.
- * This is the recommended behavior.
- */
- public function setPassExceptions($passExceptions)
- {
- $this->passExceptions = $passExceptions;
- return $this;
- }
-
- public function commandErrorForException(\Exception $e)
- {
- if ($this->passExceptions) {
- throw $e;
- }
- return new CommandError($e->getMessage(), $e->getCode());
- }
-
- /**
- * Return the formatter manager
- * @return FormatterManager
- */
- public function formatterManager()
- {
- return $this->formatterManager;
- }
-
- public function initializeHook(
- InputInterface $input,
- $names,
- AnnotationData $annotationData
- ) {
- $initializeDispatcher = new InitializeHookDispatcher($this->hookManager(), $names);
- return $initializeDispatcher->initialize($input, $annotationData);
- }
-
- public function optionsHook(
- AnnotatedCommand $command,
- $names,
- AnnotationData $annotationData
- ) {
- $optionsDispatcher = new OptionsHookDispatcher($this->hookManager(), $names);
- $optionsDispatcher->getOptions($command, $annotationData);
- }
-
- public function interact(
- InputInterface $input,
- OutputInterface $output,
- $names,
- AnnotationData $annotationData
- ) {
- $interactDispatcher = new InteractHookDispatcher($this->hookManager(), $names);
- return $interactDispatcher->interact($input, $output, $annotationData);
- }
-
- public function process(
- OutputInterface $output,
- $names,
- $commandCallback,
- CommandData $commandData
- ) {
- $result = [];
- try {
- $result = $this->validateRunAndAlter(
- $names,
- $commandCallback,
- $commandData
- );
- return $this->handleResults($output, $names, $result, $commandData);
- } catch (\Exception $e) {
- $result = $this->commandErrorForException($e);
- return $this->handleResults($output, $names, $result, $commandData);
- }
- }
-
- public function validateRunAndAlter(
- $names,
- $commandCallback,
- CommandData $commandData
- ) {
- // Validators return any object to signal a validation error;
- // if the return an array, it replaces the arguments.
- $validateDispatcher = new ValidateHookDispatcher($this->hookManager(), $names);
- $validated = $validateDispatcher->validate($commandData);
- if (is_object($validated)) {
- return $validated;
- }
-
- // Once we have validated the optins, create the formatter options.
- $this->createFormatterOptions($commandData);
-
- $replaceDispatcher = new ReplaceCommandHookDispatcher($this->hookManager(), $names);
- if ($this->logger) {
- $replaceDispatcher->setLogger($this->logger);
- }
- if ($replaceDispatcher->hasReplaceCommandHook()) {
- $commandCallback = $replaceDispatcher->getReplacementCommand($commandData);
- }
-
- // Run the command, alter the results, and then handle output and status
- $result = $this->runCommandCallback($commandCallback, $commandData);
- return $this->processResults($names, $result, $commandData);
- }
-
- public function processResults($names, $result, CommandData $commandData)
- {
- $processDispatcher = new ProcessResultHookDispatcher($this->hookManager(), $names);
- return $processDispatcher->process($result, $commandData);
- }
-
- /**
- * Create a FormatterOptions object for use in writing the formatted output.
- * @param CommandData $commandData
- * @return FormatterOptions
- */
- protected function createFormatterOptions($commandData)
- {
- $options = $commandData->input()->getOptions();
- $formatterOptions = new FormatterOptions($commandData->annotationData()->getArrayCopy(), $options);
- foreach ($this->prepareOptionsList as $preparer) {
- $preparer->prepare($commandData, $formatterOptions);
- }
- $commandData->setFormatterOptions($formatterOptions);
- return $formatterOptions;
- }
-
- /**
- * Handle the result output and status code calculation.
- */
- public function handleResults(OutputInterface $output, $names, $result, CommandData $commandData)
- {
- $statusCodeDispatcher = new StatusDeterminerHookDispatcher($this->hookManager(), $names);
- $extractDispatcher = new ExtracterHookDispatcher($this->hookManager(), $names);
-
- return $this->resultWriter()->handle($output, $result, $commandData, $statusCodeDispatcher, $extractDispatcher);
- }
-
- /**
- * Run the main command callback
- */
- protected function runCommandCallback($commandCallback, CommandData $commandData)
- {
- $result = false;
- try {
- $args = $this->parameterInjection()->args($commandData);
- $result = call_user_func_array($commandCallback, $args);
- } catch (\Exception $e) {
- $result = $this->commandErrorForException($e);
- }
- return $result;
- }
-
- public function injectIntoCommandData($commandData, $injectedClasses)
- {
- $this->parameterInjection()->injectIntoCommandData($commandData, $injectedClasses);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/CommandResult.php b/vendor/consolidation/annotated-command/src/CommandResult.php
deleted file mode 100644
index 6b1a3f80b..000000000
--- a/vendor/consolidation/annotated-command/src/CommandResult.php
+++ /dev/null
@@ -1,71 +0,0 @@
-data = $data;
- $this->exitCode = $exitCode;
- }
-
- public static function exitCode($exitCode)
- {
- return new self(null, $exitCode);
- }
-
- public static function data($data)
- {
- return new self($data);
- }
-
- public static function dataWithExitCode($data, $exitCode)
- {
- return new self($data, $exitCode);
- }
-
- public function getExitCode()
- {
- return $this->exitCode;
- }
-
- public function getOutputData()
- {
- return $this->data;
- }
-
- public function setOutputData($data)
- {
- $this->data = $data;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Events/CustomEventAwareInterface.php b/vendor/consolidation/annotated-command/src/Events/CustomEventAwareInterface.php
deleted file mode 100644
index 806b55dfc..000000000
--- a/vendor/consolidation/annotated-command/src/Events/CustomEventAwareInterface.php
+++ /dev/null
@@ -1,20 +0,0 @@
-hookManager = $hookManager;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCustomEventHandlers($eventName)
- {
- if (!$this->hookManager) {
- return [];
- }
- return $this->hookManager->getHook($eventName, HookManager::ON_EVENT);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/ExitCodeInterface.php b/vendor/consolidation/annotated-command/src/ExitCodeInterface.php
deleted file mode 100644
index bec902bb6..000000000
--- a/vendor/consolidation/annotated-command/src/ExitCodeInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-application = $application;
- }
-
- public function getApplication()
- {
- return $this->application;
- }
-
- /**
- * Run the help command
- *
- * @command my-help
- * @return \Consolidation\AnnotatedCommand\Help\HelpDocument
- */
- public function help($commandName = 'help')
- {
- $command = $this->getApplication()->find($commandName);
-
- $helpDocument = $this->getHelpDocument($command);
- return $helpDocument;
- }
-
- /**
- * Create a help document.
- */
- protected function getHelpDocument($command)
- {
- return new HelpDocument($command);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Help/HelpDocument.php b/vendor/consolidation/annotated-command/src/Help/HelpDocument.php
deleted file mode 100644
index 67609d65e..000000000
--- a/vendor/consolidation/annotated-command/src/Help/HelpDocument.php
+++ /dev/null
@@ -1,65 +0,0 @@
-generateBaseHelpDom($command);
- $dom = $this->alterHelpDocument($command, $dom);
-
- $this->command = $command;
- $this->dom = $dom;
- }
-
- /**
- * Convert data into a \DomDocument.
- *
- * @return \DomDocument
- */
- public function getDomData()
- {
- return $this->dom;
- }
-
- /**
- * Create the base help DOM prior to alteration by the Command object.
- * @param Command $command
- * @return \DomDocument
- */
- protected function generateBaseHelpDom(Command $command)
- {
- // Use Symfony to generate xml text. If other formats are
- // requested, convert from xml to the desired form.
- $descriptor = new XmlDescriptor();
- return $descriptor->getCommandDocument($command);
- }
-
- /**
- * Alter the DOM document per the command object
- * @param Command $command
- * @param \DomDocument $dom
- * @return \DomDocument
- */
- protected function alterHelpDocument(Command $command, \DomDocument $dom)
- {
- if ($command instanceof HelpDocumentAlter) {
- $dom = $command->helpAlter($dom);
- }
- return $dom;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Help/HelpDocumentAlter.php b/vendor/consolidation/annotated-command/src/Help/HelpDocumentAlter.php
deleted file mode 100644
index 0d7f49c72..000000000
--- a/vendor/consolidation/annotated-command/src/Help/HelpDocumentAlter.php
+++ /dev/null
@@ -1,7 +0,0 @@
-appendChild($commandXML = $dom->createElement('command'));
- $commandXML->setAttribute('id', $command->getName());
- $commandXML->setAttribute('name', $command->getName());
-
- // Get the original element and its top-level elements.
- $originalCommandXML = static::getSingleElementByTagName($dom, $originalDom, 'command');
- $originalUsagesXML = static::getSingleElementByTagName($dom, $originalCommandXML, 'usages');
- $originalDescriptionXML = static::getSingleElementByTagName($dom, $originalCommandXML, 'description');
- $originalHelpXML = static::getSingleElementByTagName($dom, $originalCommandXML, 'help');
- $originalArgumentsXML = static::getSingleElementByTagName($dom, $originalCommandXML, 'arguments');
- $originalOptionsXML = static::getSingleElementByTagName($dom, $originalCommandXML, 'options');
-
- // Keep only the first of the elements
- $newUsagesXML = $dom->createElement('usages');
- $firstUsageXML = static::getSingleElementByTagName($dom, $originalUsagesXML, 'usage');
- $newUsagesXML->appendChild($firstUsageXML);
-
- // Create our own elements
- $newExamplesXML = $dom->createElement('examples');
- foreach ($command->getExampleUsages() as $usage => $description) {
- $newExamplesXML->appendChild($exampleXML = $dom->createElement('example'));
- $exampleXML->appendChild($usageXML = $dom->createElement('usage', $usage));
- $exampleXML->appendChild($descriptionXML = $dom->createElement('description', $description));
- }
-
- // Create our own elements
- $newAliasesXML = $dom->createElement('aliases');
- foreach ($command->getAliases() as $alias) {
- $newAliasesXML->appendChild($dom->createElement('alias', $alias));
- }
-
- // Create our own elements
- $newTopicsXML = $dom->createElement('topics');
- foreach ($command->getTopics() as $topic) {
- $newTopicsXML->appendChild($topicXML = $dom->createElement('topic', $topic));
- }
-
- // Place the different elements into the element in the desired order
- $commandXML->appendChild($newUsagesXML);
- $commandXML->appendChild($newExamplesXML);
- $commandXML->appendChild($originalDescriptionXML);
- $commandXML->appendChild($originalArgumentsXML);
- $commandXML->appendChild($originalOptionsXML);
- $commandXML->appendChild($originalHelpXML);
- $commandXML->appendChild($newAliasesXML);
- $commandXML->appendChild($newTopicsXML);
-
- return $dom;
- }
-
-
- protected static function getSingleElementByTagName($dom, $parent, $tagName)
- {
- // There should always be exactly one '' element.
- $elements = $parent->getElementsByTagName($tagName);
- $result = $elements->item(0);
-
- $result = $dom->importNode($result, true);
-
- return $result;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/AlterResultInterface.php b/vendor/consolidation/annotated-command/src/Hooks/AlterResultInterface.php
deleted file mode 100644
index a94f4723f..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/AlterResultInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-getHooks($hooks);
- foreach ($commandEventHooks as $commandEvent) {
- if ($commandEvent instanceof EventDispatcherInterface) {
- $commandEvent->dispatch(ConsoleEvents::COMMAND, $event);
- }
- if (is_callable($commandEvent)) {
- $commandEvent($event);
- }
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ExtracterHookDispatcher.php b/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ExtracterHookDispatcher.php
deleted file mode 100644
index 26bb1d2ed..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ExtracterHookDispatcher.php
+++ /dev/null
@@ -1,47 +0,0 @@
-getOutputData();
- }
-
- $hooks = [
- HookManager::EXTRACT_OUTPUT,
- ];
- $extractors = $this->getHooks($hooks);
- foreach ($extractors as $extractor) {
- $structuredOutput = $this->callExtractor($extractor, $result);
- if (isset($structuredOutput)) {
- return $structuredOutput;
- }
- }
-
- return $result;
- }
-
- protected function callExtractor($extractor, $result)
- {
- if ($extractor instanceof ExtractOutputInterface) {
- return $extractor->extractOutput($result);
- }
- if (is_callable($extractor)) {
- return $extractor($result);
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/HookDispatcher.php b/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/HookDispatcher.php
deleted file mode 100644
index aa850eabe..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/HookDispatcher.php
+++ /dev/null
@@ -1,27 +0,0 @@
-hookManager = $hookManager;
- $this->names = $names;
- }
-
- public function getHooks($hooks, $annotationData = null)
- {
- return $this->hookManager->getHooks($this->names, $hooks, $annotationData);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php b/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php
deleted file mode 100644
index dd12d500d..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php
+++ /dev/null
@@ -1,40 +0,0 @@
-getHooks($hooks, $annotationData);
- foreach ($providers as $provider) {
- $this->callInitializeHook($provider, $input, $annotationData);
- }
- }
-
- protected function callInitializeHook($provider, $input, AnnotationData $annotationData)
- {
- if ($provider instanceof InitializeHookInterface) {
- return $provider->initialize($input, $annotationData);
- }
- if (is_callable($provider)) {
- return $provider($input, $annotationData);
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InteractHookDispatcher.php b/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InteractHookDispatcher.php
deleted file mode 100644
index 6de718dde..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InteractHookDispatcher.php
+++ /dev/null
@@ -1,41 +0,0 @@
-getHooks($hooks, $annotationData);
- foreach ($interactors as $interactor) {
- $this->callInteractor($interactor, $input, $output, $annotationData);
- }
- }
-
- protected function callInteractor($interactor, $input, $output, AnnotationData $annotationData)
- {
- if ($interactor instanceof InteractorInterface) {
- return $interactor->interact($input, $output, $annotationData);
- }
- if (is_callable($interactor)) {
- return $interactor($input, $output, $annotationData);
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/OptionsHookDispatcher.php b/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/OptionsHookDispatcher.php
deleted file mode 100644
index 59752266a..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/OptionsHookDispatcher.php
+++ /dev/null
@@ -1,44 +0,0 @@
-getHooks($hooks, $annotationData);
- foreach ($optionHooks as $optionHook) {
- $this->callOptionHook($optionHook, $command, $annotationData);
- }
- $commandInfoList = $this->hookManager->getHookOptionsForCommand($command);
- if ($command instanceof AnnotatedCommand) {
- $command->optionsHookForHookAnnotations($commandInfoList);
- }
- }
-
- protected function callOptionHook($optionHook, $command, AnnotationData $annotationData)
- {
- if ($optionHook instanceof OptionHookInterface) {
- return $optionHook->getOptions($command, $annotationData);
- }
- if (is_callable($optionHook)) {
- return $optionHook($command, $annotationData);
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ProcessResultHookDispatcher.php b/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ProcessResultHookDispatcher.php
deleted file mode 100644
index dca2b2301..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ProcessResultHookDispatcher.php
+++ /dev/null
@@ -1,53 +0,0 @@
-getHooks($hooks, $commandData->annotationData());
- foreach ($processors as $processor) {
- $result = $this->callProcessor($processor, $result, $commandData);
- }
-
- return $result;
- }
-
- protected function callProcessor($processor, $result, CommandData $commandData)
- {
- $processed = null;
- if ($processor instanceof ProcessResultInterface) {
- $processed = $processor->process($result, $commandData);
- }
- if (is_callable($processor)) {
- $processed = $processor($result, $commandData);
- }
- if (isset($processed)) {
- return $processed;
- }
- return $result;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ReplaceCommandHookDispatcher.php b/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ReplaceCommandHookDispatcher.php
deleted file mode 100644
index 1687a96a0..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ReplaceCommandHookDispatcher.php
+++ /dev/null
@@ -1,66 +0,0 @@
-getReplaceCommandHooks());
- }
-
- /**
- * @return \callable[]
- */
- public function getReplaceCommandHooks()
- {
- $hooks = [
- HookManager::REPLACE_COMMAND_HOOK,
- ];
- $replaceCommandHooks = $this->getHooks($hooks);
-
- return $replaceCommandHooks;
- }
-
- /**
- * @param \Consolidation\AnnotatedCommand\CommandData $commandData
- *
- * @return callable
- */
- public function getReplacementCommand(CommandData $commandData)
- {
- $replaceCommandHooks = $this->getReplaceCommandHooks();
-
- // We only take the first hook implementation of "replace-command" as the replacement. Commands shouldn't have
- // more than one replacement.
- $replacementCommand = reset($replaceCommandHooks);
-
- if ($this->logger && count($replaceCommandHooks) > 1) {
- $command_name = $commandData->annotationData()->get('command', 'unknown');
- $message = "Multiple implementations of the \"replace - command\" hook exist for the \"$command_name\" command.\n";
- foreach ($replaceCommandHooks as $replaceCommandHook) {
- $class = get_class($replaceCommandHook[0]);
- $method = $replaceCommandHook[1];
- $hook_name = "$class->$method";
- $message .= " - $hook_name\n";
- }
- $this->logger->warning($message);
- }
-
- return $replacementCommand;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/StatusDeterminerHookDispatcher.php b/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/StatusDeterminerHookDispatcher.php
deleted file mode 100644
index 911dcb1de..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/StatusDeterminerHookDispatcher.php
+++ /dev/null
@@ -1,51 +0,0 @@
-getExitCode();
- }
-
- $hooks = [
- HookManager::STATUS_DETERMINER,
- ];
- // If the result does not implement ExitCodeInterface,
- // then we'll see if there is a determiner that can
- // extract a status code from the result.
- $determiners = $this->getHooks($hooks);
- foreach ($determiners as $determiner) {
- $status = $this->callDeterminer($determiner, $result);
- if (isset($status)) {
- return $status;
- }
- }
- }
-
- protected function callDeterminer($determiner, $result)
- {
- if ($determiner instanceof StatusDeterminerInterface) {
- return $determiner->determineStatusCode($result);
- }
- if (is_callable($determiner)) {
- return $determiner($result);
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ValidateHookDispatcher.php b/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ValidateHookDispatcher.php
deleted file mode 100644
index fb4f489f2..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/ValidateHookDispatcher.php
+++ /dev/null
@@ -1,46 +0,0 @@
-getHooks($hooks, $commandData->annotationData());
- foreach ($validators as $validator) {
- $validated = $this->callValidator($validator, $commandData);
- if ($validated === false) {
- return new CommandError();
- }
- if (is_object($validated)) {
- return $validated;
- }
- }
- }
-
- protected function callValidator($validator, CommandData $commandData)
- {
- if ($validator instanceof ValidatorInterface) {
- return $validator->validate($commandData);
- }
- if (is_callable($validator)) {
- return $validator($commandData);
- }
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/ExtractOutputInterface.php b/vendor/consolidation/annotated-command/src/Hooks/ExtractOutputInterface.php
deleted file mode 100644
index ad0cdb696..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/ExtractOutputInterface.php
+++ /dev/null
@@ -1,14 +0,0 @@
-hooks;
- }
-
- /**
- * Add a hook
- *
- * @param mixed $callback The callback function to call
- * @param string $hook The name of the hook to add
- * @param string $name The name of the command to hook
- * ('*' for all)
- */
- public function add(callable $callback, $hook, $name = '*')
- {
- if (empty($name)) {
- $name = static::getClassNameFromCallback($callback);
- }
- $this->hooks[$name][$hook][] = $callback;
- return $this;
- }
-
- public function recordHookOptions($commandInfo, $name)
- {
- $this->hookOptions[$name][] = $commandInfo;
- return $this;
- }
-
- public static function getNames($command, $callback)
- {
- return array_filter(
- array_merge(
- static::getNamesUsingCommands($command),
- [static::getClassNameFromCallback($callback)]
- )
- );
- }
-
- protected static function getNamesUsingCommands($command)
- {
- return array_merge(
- [$command->getName()],
- $command->getAliases()
- );
- }
-
- /**
- * If a command hook does not specify any particular command
- * name that it should be attached to, then it will be applied
- * to every command that is defined in the same class as the hook.
- * This is controlled by using the namespace + class name of
- * the implementing class of the callback hook.
- */
- protected static function getClassNameFromCallback($callback)
- {
- if (!is_array($callback)) {
- return '';
- }
- $reflectionClass = new \ReflectionClass($callback[0]);
- return $reflectionClass->getName();
- }
-
- /**
- * Add a replace command hook
- *
- * @param type ReplaceCommandHookInterface $provider
- * @param type string $command_name The name of the command to replace
- */
- public function addReplaceCommandHook(ReplaceCommandHookInterface $replaceCommandHook, $name)
- {
- $this->hooks[$name][self::REPLACE_COMMAND_HOOK][] = $replaceCommandHook;
- return $this;
- }
-
- public function addPreCommandEventDispatcher(EventDispatcherInterface $eventDispatcher, $name = '*')
- {
- $this->hooks[$name][self::PRE_COMMAND_EVENT][] = $eventDispatcher;
- return $this;
- }
-
- public function addCommandEventDispatcher(EventDispatcherInterface $eventDispatcher, $name = '*')
- {
- $this->hooks[$name][self::COMMAND_EVENT][] = $eventDispatcher;
- return $this;
- }
-
- public function addPostCommandEventDispatcher(EventDispatcherInterface $eventDispatcher, $name = '*')
- {
- $this->hooks[$name][self::POST_COMMAND_EVENT][] = $eventDispatcher;
- return $this;
- }
-
- public function addCommandEvent(EventSubscriberInterface $eventSubscriber)
- {
- // Wrap the event subscriber in a dispatcher and add it
- $dispatcher = new EventDispatcher();
- $dispatcher->addSubscriber($eventSubscriber);
- return $this->addCommandEventDispatcher($dispatcher);
- }
-
- /**
- * Add an configuration provider hook
- *
- * @param type InitializeHookInterface $provider
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addInitializeHook(InitializeHookInterface $initializeHook, $name = '*')
- {
- $this->hooks[$name][self::INITIALIZE][] = $initializeHook;
- return $this;
- }
-
- /**
- * Add an option hook
- *
- * @param type ValidatorInterface $validator
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addOptionHook(OptionHookInterface $interactor, $name = '*')
- {
- $this->hooks[$name][self::INTERACT][] = $interactor;
- return $this;
- }
-
- /**
- * Add an interact hook
- *
- * @param type ValidatorInterface $validator
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addInteractor(InteractorInterface $interactor, $name = '*')
- {
- $this->hooks[$name][self::INTERACT][] = $interactor;
- return $this;
- }
-
- /**
- * Add a pre-validator hook
- *
- * @param type ValidatorInterface $validator
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addPreValidator(ValidatorInterface $validator, $name = '*')
- {
- $this->hooks[$name][self::PRE_ARGUMENT_VALIDATOR][] = $validator;
- return $this;
- }
-
- /**
- * Add a validator hook
- *
- * @param type ValidatorInterface $validator
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addValidator(ValidatorInterface $validator, $name = '*')
- {
- $this->hooks[$name][self::ARGUMENT_VALIDATOR][] = $validator;
- return $this;
- }
-
- /**
- * Add a pre-command hook. This is the same as a validator hook, except
- * that it will run after all of the post-validator hooks.
- *
- * @param type ValidatorInterface $preCommand
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addPreCommandHook(ValidatorInterface $preCommand, $name = '*')
- {
- $this->hooks[$name][self::PRE_COMMAND_HOOK][] = $preCommand;
- return $this;
- }
-
- /**
- * Add a post-command hook. This is the same as a pre-process hook,
- * except that it will run before the first pre-process hook.
- *
- * @param type ProcessResultInterface $postCommand
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addPostCommandHook(ProcessResultInterface $postCommand, $name = '*')
- {
- $this->hooks[$name][self::POST_COMMAND_HOOK][] = $postCommand;
- return $this;
- }
-
- /**
- * Add a result processor.
- *
- * @param type ProcessResultInterface $resultProcessor
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addResultProcessor(ProcessResultInterface $resultProcessor, $name = '*')
- {
- $this->hooks[$name][self::PROCESS_RESULT][] = $resultProcessor;
- return $this;
- }
-
- /**
- * Add a result alterer. After a result is processed
- * by a result processor, an alter hook may be used
- * to convert the result from one form to another.
- *
- * @param type AlterResultInterface $resultAlterer
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addAlterResult(AlterResultInterface $resultAlterer, $name = '*')
- {
- $this->hooks[$name][self::ALTER_RESULT][] = $resultAlterer;
- return $this;
- }
-
- /**
- * Add a status determiner. Usually, a command should return
- * an integer on error, or a result object on success (which
- * implies a status code of zero). If a result contains the
- * status code in some other field, then a status determiner
- * can be used to call the appropriate accessor method to
- * determine the status code. This is usually not necessary,
- * though; a command that fails may return a CommandError
- * object, which contains a status code and a result message
- * to display.
- * @see CommandError::getExitCode()
- *
- * @param type StatusDeterminerInterface $statusDeterminer
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addStatusDeterminer(StatusDeterminerInterface $statusDeterminer, $name = '*')
- {
- $this->hooks[$name][self::STATUS_DETERMINER][] = $statusDeterminer;
- return $this;
- }
-
- /**
- * Add an output extractor. If a command returns an object
- * object, by default it is passed directly to the output
- * formatter (if in use) for rendering. If the result object
- * contains more information than just the data to render, though,
- * then an output extractor can be used to call the appopriate
- * accessor method of the result object to get the data to
- * rendered. This is usually not necessary, though; it is preferable
- * to have complex result objects implement the OutputDataInterface.
- * @see OutputDataInterface::getOutputData()
- *
- * @param type ExtractOutputInterface $outputExtractor
- * @param type $name The name of the command to hook
- * ('*' for all)
- */
- public function addOutputExtractor(ExtractOutputInterface $outputExtractor, $name = '*')
- {
- $this->hooks[$name][self::EXTRACT_OUTPUT][] = $outputExtractor;
- return $this;
- }
-
- public function getHookOptionsForCommand($command)
- {
- $names = $this->addWildcardHooksToNames($command->getNames(), $command->getAnnotationData());
- return $this->getHookOptions($names);
- }
-
- /**
- * @return CommandInfo[]
- */
- public function getHookOptions($names)
- {
- $result = [];
- foreach ($names as $name) {
- if (isset($this->hookOptions[$name])) {
- $result = array_merge($result, $this->hookOptions[$name]);
- }
- }
- return $result;
- }
-
- /**
- * Get a set of hooks with the provided name(s). Include the
- * pre- and post- hooks, and also include the global hooks ('*')
- * in addition to the named hooks provided.
- *
- * @param string|array $names The name of the function being hooked.
- * @param string[] $hooks A list of hooks (e.g. [HookManager::ALTER_RESULT])
- *
- * @return callable[]
- */
- public function getHooks($names, $hooks, $annotationData = null)
- {
- return $this->get($this->addWildcardHooksToNames($names, $annotationData), $hooks);
- }
-
- protected function addWildcardHooksToNames($names, $annotationData = null)
- {
- $names = array_merge(
- (array)$names,
- ($annotationData == null) ? [] : array_map(function ($item) {
- return "@$item";
- }, $annotationData->keys())
- );
- $names[] = '*';
- return array_unique($names);
- }
-
- /**
- * Get a set of hooks with the provided name(s).
- *
- * @param string|array $names The name of the function being hooked.
- * @param string[] $hooks The list of hook names (e.g. [HookManager::ALTER_RESULT])
- *
- * @return callable[]
- */
- public function get($names, $hooks)
- {
- $result = [];
- foreach ((array)$hooks as $hook) {
- foreach ((array)$names as $name) {
- $result = array_merge($result, $this->getHook($name, $hook));
- }
- }
- return $result;
- }
-
- /**
- * Get a single named hook.
- *
- * @param string $name The name of the hooked method
- * @param string $hook The specific hook name (e.g. alter)
- *
- * @return callable[]
- */
- public function getHook($name, $hook)
- {
- if (isset($this->hooks[$name][$hook])) {
- return $this->hooks[$name][$hook];
- }
- return [];
- }
-
- /**
- * Call the command event hooks.
- *
- * TODO: This should be moved to CommandEventHookDispatcher, which
- * should become the class that implements EventSubscriberInterface.
- * This change would break all clients, though, so postpone until next
- * major release.
- *
- * @param ConsoleCommandEvent $event
- */
- public function callCommandEventHooks(ConsoleCommandEvent $event)
- {
- /* @var Command $command */
- $command = $event->getCommand();
- $dispatcher = new CommandEventHookDispatcher($this, [$command->getName()]);
- $dispatcher->callCommandEventHooks($event);
- }
-
- /**
- * @{@inheritdoc}
- */
- public static function getSubscribedEvents()
- {
- return [ConsoleEvents::COMMAND => 'callCommandEventHooks'];
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Hooks/InitializeHookInterface.php b/vendor/consolidation/annotated-command/src/Hooks/InitializeHookInterface.php
deleted file mode 100644
index 5d261478d..000000000
--- a/vendor/consolidation/annotated-command/src/Hooks/InitializeHookInterface.php
+++ /dev/null
@@ -1,15 +0,0 @@
-stdinHandler = $stdin;
- }
-
- /**
- * @inheritdoc
- */
- public function stdin()
- {
- if (!$this->stdinHandler) {
- $this->stdinHandler = new StdinHandler();
- }
- return $this->stdinHandler;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Input/StdinHandler.php b/vendor/consolidation/annotated-command/src/Input/StdinHandler.php
deleted file mode 100644
index 473458109..000000000
--- a/vendor/consolidation/annotated-command/src/Input/StdinHandler.php
+++ /dev/null
@@ -1,247 +0,0 @@
-stdin()->contents());
- * }
- * }
- *
- * Command that reads from stdin or file via an option:
- *
- * /**
- * * @command cat
- * * @param string $file
- * * @default $file -
- * * /
- * public function cat(InputInterface $input)
- * {
- * $data = $this->stdin()->select($input, 'file')->contents();
- * }
- *
- * Command that reads from stdin or file via an option:
- *
- * /**
- * * @command cat
- * * @option string $file
- * * @default $file -
- * * /
- * public function cat(InputInterface $input)
- * {
- * $data = $this->stdin()->select($input, 'file')->contents();
- * }
- *
- * It is also possible to inject the selected stream into the input object,
- * e.g. if you want the contents of the source file to be fed to any Question
- * helper et. al. that the $input object is used with.
- *
- * /**
- * * @command example
- * * @option string $file
- * * @default $file -
- * * /
- * public function example(InputInterface $input)
- * {
- * $this->stdin()->setStream($input, 'file');
- * }
- *
- *
- * Inject an alternate source for standard input in tests. Presumes that
- * the object under test gets a reference to the StdinHandler via dependency
- * injection from the container.
- *
- * $container->get('stdinHandler')->redirect($pathToTestStdinFileFixture);
- *
- * You may also inject your stdin file fixture stream into the $input object
- * as usual, and then use it with 'select()' or 'setStream()' as shown above.
- *
- * Finally, this class may also be used in absence of a dependency injection
- * container by using the static 'selectStream()' method:
- *
- * /**
- * * @command example
- * * @option string $file
- * * @default $file -
- * * /
- * public function example(InputInterface $input)
- * {
- * $data = StdinHandler::selectStream($input, 'file')->contents();
- * }
- *
- * To test a method that uses this technique, simply inject your stdin
- * fixture into the $input object in your test:
- *
- * $input->setStream(fopen($pathToFixture, 'r'));
- */
-class StdinHandler
-{
- protected $path;
- protected $stream;
-
- public static function selectStream(InputInterface $input, $optionOrArg)
- {
- $handler = new Self();
-
- return $handler->setStream($input, $optionOrArg);
- }
-
- /**
- * hasPath returns 'true' if the stdin handler has a path to a file.
- *
- * @return bool
- */
- public function hasPath()
- {
- // Once the stream has been opened, we mask the existence of the path.
- return !$this->hasStream() && !empty($this->path);
- }
-
- /**
- * hasStream returns 'true' if the stdin handler has opened a stream.
- *
- * @return bool
- */
- public function hasStream()
- {
- return !empty($this->stream);
- }
-
- /**
- * path returns the path to any file that was set as a redirection
- * source, or `php://stdin` if none have been.
- *
- * @return string
- */
- public function path()
- {
- return $this->path ?: 'php://stdin';
- }
-
- /**
- * close closes the input stream if it was opened.
- */
- public function close()
- {
- if ($this->hasStream()) {
- fclose($this->stream);
- $this->stream = null;
- }
- return $this;
- }
-
- /**
- * redirect specifies a path to a file that should serve as the
- * source to read from. If the input path is '-' or empty,
- * then output will be taken from php://stdin (or whichever source
- * was provided via the 'redirect' method).
- *
- * @return $this
- */
- public function redirect($path)
- {
- if ($this->pathProvided($path)) {
- $this->path = $path;
- }
-
- return $this;
- }
-
- /**
- * select chooses the source of the input stream based on whether or
- * not the user provided the specified option or argument on the commandline.
- * Stdin is selected if there is no user selection.
- *
- * @param InputInterface $input
- * @param string $optionOrArg
- * @return $this
- */
- public function select(InputInterface $input, $optionOrArg)
- {
- $this->redirect($this->getOptionOrArg($input, $optionOrArg));
- if (!$this->hasPath() && ($input instanceof StreamableInputInterface)) {
- $this->stream = $input->getStream();
- }
-
- return $this;
- }
-
- /**
- * getStream opens and returns the stdin stream (or redirect file).
- */
- public function getStream()
- {
- if (!$this->hasStream()) {
- $this->stream = fopen($this->path(), 'r');
- }
- return $this->stream;
- }
-
- /**
- * setStream functions like 'select', and also sets up the $input
- * object to read from the selected input stream e.g. when used
- * with a question helper.
- */
- public function setStream(InputInterface $input, $optionOrArg)
- {
- $this->select($input, $optionOrArg);
- if ($input instanceof StreamableInputInterface) {
- $stream = $this->getStream();
- $input->setStream($stream);
- }
- return $this;
- }
-
- /**
- * contents reads the entire contents of the standard input stream.
- *
- * @return string
- */
- public function contents()
- {
- // Optimization: use file_get_contents if we have a path to a file
- // and the stream has not been opened yet.
- if (!$this->hasStream()) {
- return file_get_contents($this->path());
- }
- $stream = $this->getStream();
- stream_set_blocking($stream, false); // TODO: We did this in backend invoke. Necessary here?
- $contents = stream_get_contents($stream);
- $this->close();
-
- return $contents;
- }
-
- /**
- * Returns 'true' if a path was specfied, and that path was not '-'.
- */
- protected function pathProvided($path)
- {
- return !empty($path) && ($path != '-');
- }
-
- protected function getOptionOrArg(InputInterface $input, $optionOrArg)
- {
- if ($input->hasOption($optionOrArg)) {
- return $input->getOption($optionOrArg);
- }
- return $input->getArgument($optionOrArg);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Options/AlterOptionsCommandEvent.php b/vendor/consolidation/annotated-command/src/Options/AlterOptionsCommandEvent.php
deleted file mode 100644
index b16a8eda3..000000000
--- a/vendor/consolidation/annotated-command/src/Options/AlterOptionsCommandEvent.php
+++ /dev/null
@@ -1,92 +0,0 @@
-application = $application;
- }
-
- /**
- * @param ConsoleCommandEvent $event
- */
- public function alterCommandOptions(ConsoleCommandEvent $event)
- {
- /* @var Command $command */
- $command = $event->getCommand();
- $input = $event->getInput();
- if ($command->getName() == 'help') {
- // Symfony 3.x prepares $input for us; Symfony 2.x, on the other
- // hand, passes it in prior to binding with the command definition,
- // so we have to go to a little extra work. It may be inadvisable
- // to do these steps for commands other than 'help'.
- if (!$input->hasArgument('command_name')) {
- $command->ignoreValidationErrors();
- $command->mergeApplicationDefinition();
- $input->bind($command->getDefinition());
- }
-
- // Symfony Console helpfully swaps 'command_name' and 'command'
- // depending on whether the user entered `help foo` or `--help foo`.
- // One of these is always `help`, and the other is the command we
- // are actually interested in.
- $nameOfCommandToDescribe = $event->getInput()->getArgument('command_name');
- if ($nameOfCommandToDescribe == 'help') {
- $nameOfCommandToDescribe = $event->getInput()->getArgument('command');
- }
- $commandToDescribe = $this->application->find($nameOfCommandToDescribe);
- $this->findAndAddHookOptions($commandToDescribe);
- } else {
- $this->findAndAddHookOptions($command);
- }
- }
-
- public function findAndAddHookOptions($command)
- {
- if (!$command instanceof AnnotatedCommand) {
- return;
- }
- $command->optionsHook();
- }
-
-
- /**
- * @{@inheritdoc}
- */
- public static function getSubscribedEvents()
- {
- return [ConsoleEvents::COMMAND => 'alterCommandOptions'];
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Options/AutomaticOptionsProviderInterface.php b/vendor/consolidation/annotated-command/src/Options/AutomaticOptionsProviderInterface.php
deleted file mode 100644
index 1349fe795..000000000
--- a/vendor/consolidation/annotated-command/src/Options/AutomaticOptionsProviderInterface.php
+++ /dev/null
@@ -1,21 +0,0 @@
-defaultWidth = $defaultWidth;
- }
-
- public function setApplication(Application $application)
- {
- $this->application = $application;
- }
-
- public function setTerminal($terminal)
- {
- $this->terminal = $terminal;
- }
-
- public function getTerminal()
- {
- if (!$this->terminal && class_exists('\Symfony\Component\Console\Terminal')) {
- $this->terminal = new \Symfony\Component\Console\Terminal();
- }
- return $this->terminal;
- }
-
- public function enableWrap($shouldWrap)
- {
- $this->shouldWrap = $shouldWrap;
- }
-
- public function prepare(CommandData $commandData, FormatterOptions $options)
- {
- $width = $this->getTerminalWidth();
- if (!$width) {
- $width = $this->defaultWidth;
- }
-
- // Enforce minimum and maximum widths
- $width = min($width, $this->getMaxWidth($commandData));
- $width = max($width, $this->getMinWidth($commandData));
-
- $options->setWidth($width);
- }
-
- protected function getTerminalWidth()
- {
- // Don't wrap if wrapping has been disabled.
- if (!$this->shouldWrap) {
- return 0;
- }
-
- $terminal = $this->getTerminal();
- if ($terminal) {
- return $terminal->getWidth();
- }
-
- return $this->getTerminalWidthViaApplication();
- }
-
- protected function getTerminalWidthViaApplication()
- {
- if (!$this->application) {
- return 0;
- }
- $dimensions = $this->application->getTerminalDimensions();
- if ($dimensions[0] == null) {
- return 0;
- }
-
- return $dimensions[0];
- }
-
- protected function getMaxWidth(CommandData $commandData)
- {
- return $this->maxWidth;
- }
-
- protected function getMinWidth(CommandData $commandData)
- {
- return $this->minWidth;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/OutputDataInterface.php b/vendor/consolidation/annotated-command/src/OutputDataInterface.php
deleted file mode 100644
index 9102764db..000000000
--- a/vendor/consolidation/annotated-command/src/OutputDataInterface.php
+++ /dev/null
@@ -1,13 +0,0 @@
-register('Symfony\Component\Console\Input\InputInterface', $this);
- $this->register('Symfony\Component\Console\Output\OutputInterface', $this);
- }
-
- public function register($interfaceName, ParameterInjector $injector)
- {
- $this->injectors[$interfaceName] = $injector;
- }
-
- public function args($commandData)
- {
- return array_merge(
- $commandData->injectedInstances(),
- $commandData->getArgsAndOptions()
- );
- }
-
- public function injectIntoCommandData($commandData, $injectedClasses)
- {
- foreach ($injectedClasses as $injectedClass) {
- $injectedInstance = $this->getInstanceToInject($commandData, $injectedClass);
- $commandData->injectInstance($injectedInstance);
- }
- }
-
- protected function getInstanceToInject(CommandData $commandData, $interfaceName)
- {
- if (!isset($this->injectors[$interfaceName])) {
- return null;
- }
-
- return $this->injectors[$interfaceName]->get($commandData, $interfaceName);
- }
-
- public function get(CommandData $commandData, $interfaceName)
- {
- switch ($interfaceName) {
- case 'Symfony\Component\Console\Input\InputInterface':
- return $commandData->input();
- case 'Symfony\Component\Console\Output\OutputInterface':
- return $commandData->output();
- }
-
- return null;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/ParameterInjector.php b/vendor/consolidation/annotated-command/src/ParameterInjector.php
deleted file mode 100644
index 2f2346f62..000000000
--- a/vendor/consolidation/annotated-command/src/ParameterInjector.php
+++ /dev/null
@@ -1,10 +0,0 @@
-reflection = new \ReflectionMethod($classNameOrInstance, $methodName);
- $this->methodName = $methodName;
- $this->arguments = new DefaultsWithDescriptions();
- $this->options = new DefaultsWithDescriptions();
-
- // If the cache came from a newer version, ignore it and
- // regenerate the cached information.
- if (!empty($cache) && CommandInfoDeserializer::isValidSerializedData($cache) && !$this->cachedFileIsModified($cache)) {
- $deserializer = new CommandInfoDeserializer();
- $deserializer->constructFromCache($this, $cache);
- $this->docBlockIsParsed = true;
- } else {
- $this->constructFromClassAndMethod($classNameOrInstance, $methodName);
- }
- }
-
- public static function create($classNameOrInstance, $methodName)
- {
- return new self($classNameOrInstance, $methodName);
- }
-
- public static function deserialize($cache)
- {
- $cache = (array)$cache;
- return new self($cache['class'], $cache['method_name'], $cache);
- }
-
- public function cachedFileIsModified($cache)
- {
- $path = $this->reflection->getFileName();
- return filemtime($path) != $cache['mtime'];
- }
-
- protected function constructFromClassAndMethod($classNameOrInstance, $methodName)
- {
- $this->otherAnnotations = new AnnotationData();
- // Set up a default name for the command from the method name.
- // This can be overridden via @command or @name annotations.
- $this->name = $this->convertName($methodName);
- $this->options = new DefaultsWithDescriptions($this->determineOptionsFromParameters(), false);
- $this->arguments = $this->determineAgumentClassifications();
- }
-
- /**
- * Recover the method name provided to the constructor.
- *
- * @return string
- */
- public function getMethodName()
- {
- return $this->methodName;
- }
-
- /**
- * Return the primary name for this command.
- *
- * @return string
- */
- public function getName()
- {
- $this->parseDocBlock();
- return $this->name;
- }
-
- /**
- * Set the primary name for this command.
- *
- * @param string $name
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * Return whether or not this method represents a valid command
- * or hook.
- */
- public function valid()
- {
- return !empty($this->name);
- }
-
- /**
- * If higher-level code decides that this CommandInfo is not interesting
- * or useful (if it is not a command method or a hook method), then
- * we will mark it as invalid to prevent it from being created as a command.
- * We still cache a placeholder record for invalid methods, so that we
- * do not need to re-parse the method again later simply to determine that
- * it is invalid.
- */
- public function invalidate()
- {
- $this->name = '';
- }
-
- public function getReturnType()
- {
- $this->parseDocBlock();
- return $this->returnType;
- }
-
- public function getInjectedClasses()
- {
- $this->parseDocBlock();
- return $this->injectedClasses;
- }
-
- public function setReturnType($returnType)
- {
- $this->returnType = $returnType;
- return $this;
- }
-
- /**
- * Get any annotations included in the docblock comment for the
- * implementation method of this command that are not already
- * handled by the primary methods of this class.
- *
- * @return AnnotationData
- */
- public function getRawAnnotations()
- {
- $this->parseDocBlock();
- return $this->otherAnnotations;
- }
-
- /**
- * Replace the annotation data.
- */
- public function replaceRawAnnotations($annotationData)
- {
- $this->otherAnnotations = new AnnotationData((array) $annotationData);
- return $this;
- }
-
- /**
- * Get any annotations included in the docblock comment,
- * also including default values such as @command. We add
- * in the default @command annotation late, and only in a
- * copy of the annotation data because we use the existance
- * of a @command to indicate that this CommandInfo is
- * a command, and not a hook or anything else.
- *
- * @return AnnotationData
- */
- public function getAnnotations()
- {
- // Also provide the path to the commandfile that these annotations
- // were pulled from and the classname of that file.
- $path = $this->reflection->getFileName();
- $className = $this->reflection->getDeclaringClass()->getName();
- return new AnnotationData(
- $this->getRawAnnotations()->getArrayCopy() +
- [
- 'command' => $this->getName(),
- '_path' => $path,
- '_classname' => $className,
- ]
- );
- }
-
- /**
- * Return a specific named annotation for this command as a list.
- *
- * @param string $name The name of the annotation.
- * @return array|null
- */
- public function getAnnotationList($name)
- {
- // hasAnnotation parses the docblock
- if (!$this->hasAnnotation($name)) {
- return null;
- }
- return $this->otherAnnotations->getList($name);
- ;
- }
-
- /**
- * Return a specific named annotation for this command as a string.
- *
- * @param string $name The name of the annotation.
- * @return string|null
- */
- public function getAnnotation($name)
- {
- // hasAnnotation parses the docblock
- if (!$this->hasAnnotation($name)) {
- return null;
- }
- return $this->otherAnnotations->get($name);
- }
-
- /**
- * Check to see if the specified annotation exists for this command.
- *
- * @param string $annotation The name of the annotation.
- * @return boolean
- */
- public function hasAnnotation($annotation)
- {
- $this->parseDocBlock();
- return isset($this->otherAnnotations[$annotation]);
- }
-
- /**
- * Save any tag that we do not explicitly recognize in the
- * 'otherAnnotations' map.
- */
- public function addAnnotation($name, $content)
- {
- // Convert to an array and merge if there are multiple
- // instances of the same annotation defined.
- if (isset($this->otherAnnotations[$name])) {
- $content = array_merge((array) $this->otherAnnotations[$name], (array)$content);
- }
- $this->otherAnnotations[$name] = $content;
- }
-
- /**
- * Remove an annotation that was previoudly set.
- */
- public function removeAnnotation($name)
- {
- unset($this->otherAnnotations[$name]);
- }
-
- /**
- * Get the synopsis of the command (~first line).
- *
- * @return string
- */
- public function getDescription()
- {
- $this->parseDocBlock();
- return $this->description;
- }
-
- /**
- * Set the command description.
- *
- * @param string $description The description to set.
- */
- public function setDescription($description)
- {
- $this->description = str_replace("\n", ' ', $description);
- return $this;
- }
-
- /**
- * Get the help text of the command (the description)
- */
- public function getHelp()
- {
- $this->parseDocBlock();
- return $this->help;
- }
- /**
- * Set the help text for this command.
- *
- * @param string $help The help text.
- */
- public function setHelp($help)
- {
- $this->help = $help;
- return $this;
- }
-
- /**
- * Return the list of aliases for this command.
- * @return string[]
- */
- public function getAliases()
- {
- $this->parseDocBlock();
- return $this->aliases;
- }
-
- /**
- * Set aliases that can be used in place of the command's primary name.
- *
- * @param string|string[] $aliases
- */
- public function setAliases($aliases)
- {
- if (is_string($aliases)) {
- $aliases = explode(',', static::convertListToCommaSeparated($aliases));
- }
- $this->aliases = array_filter($aliases);
- return $this;
- }
-
- /**
- * Get hidden status for the command.
- * @return bool
- */
- public function getHidden()
- {
- $this->parseDocBlock();
- return $this->hasAnnotation('hidden');
- }
-
- /**
- * Set hidden status. List command omits hidden commands.
- *
- * @param bool $hidden
- */
- public function setHidden($hidden)
- {
- $this->hidden = $hidden;
- return $this;
- }
-
- /**
- * Return the examples for this command. This is @usage instead of
- * @example because the later is defined by the phpdoc standard to
- * be example method calls.
- *
- * @return string[]
- */
- public function getExampleUsages()
- {
- $this->parseDocBlock();
- return $this->exampleUsage;
- }
-
- /**
- * Add an example usage for this command.
- *
- * @param string $usage An example of the command, including the command
- * name and all of its example arguments and options.
- * @param string $description An explanation of what the example does.
- */
- public function setExampleUsage($usage, $description)
- {
- $this->exampleUsage[$usage] = $description;
- return $this;
- }
-
- /**
- * Overwrite all example usages
- */
- public function replaceExampleUsages($usages)
- {
- $this->exampleUsage = $usages;
- return $this;
- }
-
- /**
- * Return the topics for this command.
- *
- * @return string[]
- */
- public function getTopics()
- {
- if (!$this->hasAnnotation('topics')) {
- return [];
- }
- $topics = $this->getAnnotation('topics');
- return explode(',', trim($topics));
- }
-
- /**
- * Return the list of refleaction parameters.
- *
- * @return ReflectionParameter[]
- */
- public function getParameters()
- {
- return $this->reflection->getParameters();
- }
-
- /**
- * Descriptions of commandline arguements for this command.
- *
- * @return DefaultsWithDescriptions
- */
- public function arguments()
- {
- return $this->arguments;
- }
-
- /**
- * Descriptions of commandline options for this command.
- *
- * @return DefaultsWithDescriptions
- */
- public function options()
- {
- return $this->options;
- }
-
- /**
- * Get the inputOptions for the options associated with this CommandInfo
- * object, e.g. via @option annotations, or from
- * $options = ['someoption' => 'defaultvalue'] in the command method
- * parameter list.
- *
- * @return InputOption[]
- */
- public function inputOptions()
- {
- if (!isset($this->inputOptions)) {
- $this->inputOptions = $this->createInputOptions();
- }
- return $this->inputOptions;
- }
-
- protected function addImplicitNoOptions()
- {
- $opts = $this->options()->getValues();
- foreach ($opts as $name => $defaultValue) {
- if ($defaultValue === true) {
- $key = 'no-' . $name;
- if (!array_key_exists($key, $opts)) {
- $description = "Negate --$name option.";
- $this->options()->add($key, $description, false);
- }
- }
- }
- }
-
- protected function createInputOptions()
- {
- $explicitOptions = [];
- $this->addImplicitNoOptions();
-
- $opts = $this->options()->getValues();
- foreach ($opts as $name => $defaultValue) {
- $description = $this->options()->getDescription($name);
-
- $fullName = $name;
- $shortcut = '';
- if (strpos($name, '|')) {
- list($fullName, $shortcut) = explode('|', $name, 2);
- }
-
- // Treat the following two cases identically:
- // - 'foo' => InputOption::VALUE_OPTIONAL
- // - 'foo' => null
- // The first form is preferred, but we will convert the value
- // to 'null' for storage as the option default value.
- if ($defaultValue === InputOption::VALUE_OPTIONAL) {
- $defaultValue = null;
- }
-
- if ($defaultValue === false) {
- $explicitOptions[$fullName] = new InputOption($fullName, $shortcut, InputOption::VALUE_NONE, $description);
- } elseif ($defaultValue === InputOption::VALUE_REQUIRED) {
- $explicitOptions[$fullName] = new InputOption($fullName, $shortcut, InputOption::VALUE_REQUIRED, $description);
- } elseif (is_array($defaultValue)) {
- $optionality = count($defaultValue) ? InputOption::VALUE_OPTIONAL : InputOption::VALUE_REQUIRED;
- $explicitOptions[$fullName] = new InputOption(
- $fullName,
- $shortcut,
- InputOption::VALUE_IS_ARRAY | $optionality,
- $description,
- count($defaultValue) ? $defaultValue : null
- );
- } else {
- $explicitOptions[$fullName] = new InputOption($fullName, $shortcut, InputOption::VALUE_OPTIONAL, $description, $defaultValue);
- }
- }
-
- return $explicitOptions;
- }
-
- /**
- * An option might have a name such as 'silent|s'. In this
- * instance, we will allow the @option or @default tag to
- * reference the option only by name (e.g. 'silent' or 's'
- * instead of 'silent|s').
- *
- * @param string $optionName
- * @return string
- */
- public function findMatchingOption($optionName)
- {
- // Exit fast if there's an exact match
- if ($this->options->exists($optionName)) {
- return $optionName;
- }
- $existingOptionName = $this->findExistingOption($optionName);
- if (isset($existingOptionName)) {
- return $existingOptionName;
- }
- return $this->findOptionAmongAlternatives($optionName);
- }
-
- /**
- * @param string $optionName
- * @return string
- */
- protected function findOptionAmongAlternatives($optionName)
- {
- // Check the other direction: if the annotation contains @silent|s
- // and the options array has 'silent|s'.
- $checkMatching = explode('|', $optionName);
- if (count($checkMatching) > 1) {
- foreach ($checkMatching as $checkName) {
- if ($this->options->exists($checkName)) {
- $this->options->rename($checkName, $optionName);
- return $optionName;
- }
- }
- }
- return $optionName;
- }
-
- /**
- * @param string $optionName
- * @return string|null
- */
- protected function findExistingOption($optionName)
- {
- // Check to see if we can find the option name in an existing option,
- // e.g. if the options array has 'silent|s' => false, and the annotation
- // is @silent.
- foreach ($this->options()->getValues() as $name => $default) {
- if (in_array($optionName, explode('|', $name))) {
- return $name;
- }
- }
- }
-
- /**
- * Examine the parameters of the method for this command, and
- * build a list of commandline arguements for them.
- *
- * @return array
- */
- protected function determineAgumentClassifications()
- {
- $result = new DefaultsWithDescriptions();
- $params = $this->reflection->getParameters();
- $optionsFromParameters = $this->determineOptionsFromParameters();
- if ($this->lastParameterIsOptionsArray()) {
- array_pop($params);
- }
- while (!empty($params) && ($params[0]->getClass() != null)) {
- $param = array_shift($params);
- $injectedClass = $param->getClass()->getName();
- array_unshift($this->injectedClasses, $injectedClass);
- }
- foreach ($params as $param) {
- $this->addParameterToResult($result, $param);
- }
- return $result;
- }
-
- /**
- * Examine the provided parameter, and determine whether it
- * is a parameter that will be filled in with a positional
- * commandline argument.
- */
- protected function addParameterToResult($result, $param)
- {
- // Commandline arguments must be strings, so ignore any
- // parameter that is typehinted to any non-primative class.
- if ($param->getClass() != null) {
- return;
- }
- $result->add($param->name);
- if ($param->isDefaultValueAvailable()) {
- $defaultValue = $param->getDefaultValue();
- if (!$this->isAssoc($defaultValue)) {
- $result->setDefaultValue($param->name, $defaultValue);
- }
- } elseif ($param->isArray()) {
- $result->setDefaultValue($param->name, []);
- }
- }
-
- /**
- * Examine the parameters of the method for this command, and determine
- * the disposition of the options from them.
- *
- * @return array
- */
- protected function determineOptionsFromParameters()
- {
- $params = $this->reflection->getParameters();
- if (empty($params)) {
- return [];
- }
- $param = end($params);
- if (!$param->isDefaultValueAvailable()) {
- return [];
- }
- if (!$this->isAssoc($param->getDefaultValue())) {
- return [];
- }
- return $param->getDefaultValue();
- }
-
- /**
- * Determine if the last argument contains $options.
- *
- * Two forms indicate options:
- * - $options = []
- * - $options = ['flag' => 'default-value']
- *
- * Any other form, including `array $foo`, is not options.
- */
- protected function lastParameterIsOptionsArray()
- {
- $params = $this->reflection->getParameters();
- if (empty($params)) {
- return [];
- }
- $param = end($params);
- if (!$param->isDefaultValueAvailable()) {
- return [];
- }
- return is_array($param->getDefaultValue());
- }
-
- /**
- * Helper; determine if an array is associative or not. An array
- * is not associative if its keys are numeric, and numbered sequentially
- * from zero. All other arrays are considered to be associative.
- *
- * @param array $arr The array
- * @return boolean
- */
- protected function isAssoc($arr)
- {
- if (!is_array($arr)) {
- return false;
- }
- return array_keys($arr) !== range(0, count($arr) - 1);
- }
-
- /**
- * Convert from a method name to the corresponding command name. A
- * method 'fooBar' will become 'foo:bar', and 'fooBarBazBoz' will
- * become 'foo:bar-baz-boz'.
- *
- * @param string $camel method name.
- * @return string
- */
- protected function convertName($camel)
- {
- $splitter="-";
- $camel=preg_replace('/(?!^)[[:upper:]][[:lower:]]/', '$0', preg_replace('/(?!^)[[:upper:]]+/', $splitter.'$0', $camel));
- $camel = preg_replace("/$splitter/", ':', $camel, 1);
- return strtolower($camel);
- }
-
- /**
- * Parse the docBlock comment for this command, and set the
- * fields of this class with the data thereby obtained.
- */
- protected function parseDocBlock()
- {
- if (!$this->docBlockIsParsed) {
- // The parse function will insert data from the provided method
- // into this object, using our accessors.
- CommandDocBlockParserFactory::parse($this, $this->reflection);
- $this->docBlockIsParsed = true;
- }
- }
-
- /**
- * Given a list that might be 'a b c' or 'a, b, c' or 'a,b,c',
- * convert the data into the last of these forms.
- */
- protected static function convertListToCommaSeparated($text)
- {
- return preg_replace('#[ \t\n\r,]+#', ',', $text);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Parser/CommandInfoDeserializer.php b/vendor/consolidation/annotated-command/src/Parser/CommandInfoDeserializer.php
deleted file mode 100644
index ed193cb54..000000000
--- a/vendor/consolidation/annotated-command/src/Parser/CommandInfoDeserializer.php
+++ /dev/null
@@ -1,87 +0,0 @@
- 0) &&
- ($cache['schema'] <= CommandInfo::SERIALIZATION_SCHEMA_VERSION) &&
- self::cachedMethodExists($cache);
- }
-
- public function constructFromCache(CommandInfo $commandInfo, $info_array)
- {
- $info_array += $this->defaultSerializationData();
-
- $commandInfo
- ->setName($info_array['name'])
- ->replaceRawAnnotations($info_array['annotations'])
- ->setAliases($info_array['aliases'])
- ->setHelp($info_array['help'])
- ->setDescription($info_array['description'])
- ->replaceExampleUsages($info_array['example_usages'])
- ->setReturnType($info_array['return_type'])
- ;
-
- $this->constructDefaultsWithDescriptions($commandInfo->arguments(), (array)$info_array['arguments']);
- $this->constructDefaultsWithDescriptions($commandInfo->options(), (array)$info_array['options']);
- }
-
- protected function constructDefaultsWithDescriptions(DefaultsWithDescriptions $defaults, $data)
- {
- foreach ($data as $key => $info) {
- $info = (array)$info;
- $defaults->add($key, $info['description']);
- if (array_key_exists('default', $info)) {
- $defaults->setDefaultValue($key, $info['default']);
- }
- }
- }
-
-
- /**
- * Default data. Everything should be provided during serialization;
- * this is just as a fallback for unusual circumstances.
- * @return array
- */
- protected function defaultSerializationData()
- {
- return [
- 'name' => '',
- 'description' => '',
- 'help' => '',
- 'aliases' => [],
- 'annotations' => [],
- 'example_usages' => [],
- 'return_type' => [],
- 'parameters' => [],
- 'arguments' => [],
- 'options' => [],
- 'mtime' => 0,
- ];
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Parser/CommandInfoSerializer.php b/vendor/consolidation/annotated-command/src/Parser/CommandInfoSerializer.php
deleted file mode 100644
index cab6993d3..000000000
--- a/vendor/consolidation/annotated-command/src/Parser/CommandInfoSerializer.php
+++ /dev/null
@@ -1,59 +0,0 @@
-getAnnotations();
- $path = $allAnnotations['_path'];
- $className = $allAnnotations['_classname'];
-
- // Include the minimum information for command info (including placeholder records)
- $info = [
- 'schema' => CommandInfo::SERIALIZATION_SCHEMA_VERSION,
- 'class' => $className,
- 'method_name' => $commandInfo->getMethodName(),
- 'mtime' => filemtime($path),
- ];
-
- // If this is a valid method / hook, then add more information.
- if ($commandInfo->valid()) {
- $info += [
- 'name' => $commandInfo->getName(),
- 'description' => $commandInfo->getDescription(),
- 'help' => $commandInfo->getHelp(),
- 'aliases' => $commandInfo->getAliases(),
- 'annotations' => $commandInfo->getRawAnnotations()->getArrayCopy(),
- 'example_usages' => $commandInfo->getExampleUsages(),
- 'return_type' => $commandInfo->getReturnType(),
- ];
- $info['arguments'] = $this->serializeDefaultsWithDescriptions($commandInfo->arguments());
- $info['options'] = $this->serializeDefaultsWithDescriptions($commandInfo->options());
- }
-
- return $info;
- }
-
- protected function serializeDefaultsWithDescriptions(DefaultsWithDescriptions $defaults)
- {
- $result = [];
- foreach ($defaults->getValues() as $key => $val) {
- $result[$key] = [
- 'description' => $defaults->getDescription($key),
- ];
- if ($defaults->hasDefault($key)) {
- $result[$key]['default'] = $val;
- }
- }
- return $result;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Parser/DefaultsWithDescriptions.php b/vendor/consolidation/annotated-command/src/Parser/DefaultsWithDescriptions.php
deleted file mode 100644
index d37fc51b1..000000000
--- a/vendor/consolidation/annotated-command/src/Parser/DefaultsWithDescriptions.php
+++ /dev/null
@@ -1,162 +0,0 @@
-values = $values;
- $this->hasDefault = array_filter($this->values, function ($value) {
- return isset($value);
- });
- $this->descriptions = [];
- $this->defaultDefault = $defaultDefault;
- }
-
- /**
- * Return just the key : default values mapping
- *
- * @return array
- */
- public function getValues()
- {
- return $this->values;
- }
-
- /**
- * Return true if this set of options is empty
- *
- * @return
- */
- public function isEmpty()
- {
- return empty($this->values);
- }
-
- /**
- * Check to see whether the speicifed key exists in the collection.
- *
- * @param string $key
- * @return boolean
- */
- public function exists($key)
- {
- return array_key_exists($key, $this->values);
- }
-
- /**
- * Get the value of one entry.
- *
- * @param string $key The key of the item.
- * @return string
- */
- public function get($key)
- {
- if (array_key_exists($key, $this->values)) {
- return $this->values[$key];
- }
- return $this->defaultDefault;
- }
-
- /**
- * Get the description of one entry.
- *
- * @param string $key The key of the item.
- * @return string
- */
- public function getDescription($key)
- {
- if (array_key_exists($key, $this->descriptions)) {
- return $this->descriptions[$key];
- }
- return '';
- }
-
- /**
- * Add another argument to this command.
- *
- * @param string $key Name of the argument.
- * @param string $description Help text for the argument.
- * @param mixed $defaultValue The default value for the argument.
- */
- public function add($key, $description = '', $defaultValue = null)
- {
- if (!$this->exists($key) || isset($defaultValue)) {
- $this->values[$key] = isset($defaultValue) ? $defaultValue : $this->defaultDefault;
- }
- unset($this->descriptions[$key]);
- if (!empty($description)) {
- $this->descriptions[$key] = $description;
- }
- }
-
- /**
- * Change the default value of an entry.
- *
- * @param string $key
- * @param mixed $defaultValue
- */
- public function setDefaultValue($key, $defaultValue)
- {
- $this->values[$key] = $defaultValue;
- $this->hasDefault[$key] = true;
- return $this;
- }
-
- /**
- * Check to see if the named argument definitively has a default value.
- *
- * @param string $key
- * @return bool
- */
- public function hasDefault($key)
- {
- return array_key_exists($key, $this->hasDefault);
- }
-
- /**
- * Remove an entry
- *
- * @param string $key The entry to remove
- */
- public function clear($key)
- {
- unset($this->values[$key]);
- unset($this->descriptions[$key]);
- }
-
- /**
- * Rename an existing option to something else.
- */
- public function rename($oldName, $newName)
- {
- $this->add($newName, $this->getDescription($oldName), $this->get($oldName));
- $this->clear($oldName);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Parser/Internal/BespokeDocBlockParser.php b/vendor/consolidation/annotated-command/src/Parser/Internal/BespokeDocBlockParser.php
deleted file mode 100644
index 964d411a8..000000000
--- a/vendor/consolidation/annotated-command/src/Parser/Internal/BespokeDocBlockParser.php
+++ /dev/null
@@ -1,347 +0,0 @@
- 'processCommandTag',
- 'name' => 'processCommandTag',
- 'arg' => 'processArgumentTag',
- 'param' => 'processParamTag',
- 'return' => 'processReturnTag',
- 'option' => 'processOptionTag',
- 'default' => 'processDefaultTag',
- 'aliases' => 'processAliases',
- 'usage' => 'processUsageTag',
- 'description' => 'processAlternateDescriptionTag',
- 'desc' => 'processAlternateDescriptionTag',
- ];
-
- public function __construct(CommandInfo $commandInfo, \ReflectionMethod $reflection, $fqcnCache = null)
- {
- $this->commandInfo = $commandInfo;
- $this->reflection = $reflection;
- $this->fqcnCache = $fqcnCache ?: new FullyQualifiedClassCache();
- }
-
- /**
- * Parse the docBlock comment for this command, and set the
- * fields of this class with the data thereby obtained.
- */
- public function parse()
- {
- $doc = $this->reflection->getDocComment();
- $this->parseDocBlock($doc);
- }
-
- /**
- * Save any tag that we do not explicitly recognize in the
- * 'otherAnnotations' map.
- */
- protected function processGenericTag($tag)
- {
- $this->commandInfo->addAnnotation($tag->getTag(), $tag->getContent());
- }
-
- /**
- * Set the name of the command from a @command or @name annotation.
- */
- protected function processCommandTag($tag)
- {
- if (!$tag->hasWordAndDescription($matches)) {
- throw new \Exception('Could not determine command name from tag ' . (string)$tag);
- }
- $commandName = $matches['word'];
- $this->commandInfo->setName($commandName);
- // We also store the name in the 'other annotations' so that is is
- // possible to determine if the method had a @command annotation.
- $this->commandInfo->addAnnotation($tag->getTag(), $commandName);
- }
-
- /**
- * The @description and @desc annotations may be used in
- * place of the synopsis (which we call 'description').
- * This is discouraged.
- *
- * @deprecated
- */
- protected function processAlternateDescriptionTag($tag)
- {
- $this->commandInfo->setDescription($tag->getContent());
- }
-
- /**
- * Store the data from a @param annotation in our argument descriptions.
- */
- protected function processParamTag($tag)
- {
- if ($tag->hasTypeVariableAndDescription($matches)) {
- if ($this->ignoredParamType($matches['type'])) {
- return;
- }
- }
- return $this->processArgumentTag($tag);
- }
-
- protected function ignoredParamType($paramType)
- {
- // TODO: We should really only allow a couple of types here,
- // e.g. 'string', 'array', 'bool'. Blacklist things we do not
- // want for now to avoid breaking commands with weird types.
- // Fix in the next major version.
- //
- // This works:
- // return !in_array($paramType, ['string', 'array', 'integer', 'bool']);
- return preg_match('#(InputInterface|OutputInterface)$#', $paramType);
- }
-
- /**
- * Store the data from a @arg annotation in our argument descriptions.
- */
- protected function processArgumentTag($tag)
- {
- if (!$tag->hasVariable($matches)) {
- throw new \Exception('Could not determine argument name from tag ' . (string)$tag);
- }
- if ($matches['variable'] == $this->optionParamName()) {
- return;
- }
- $this->addOptionOrArgumentTag($tag, $this->commandInfo->arguments(), $matches['variable'], $matches['description']);
- }
-
- /**
- * Store the data from an @option annotation in our option descriptions.
- */
- protected function processOptionTag($tag)
- {
- if (!$tag->hasVariable($matches)) {
- throw new \Exception('Could not determine option name from tag ' . (string)$tag);
- }
- $this->addOptionOrArgumentTag($tag, $this->commandInfo->options(), $matches['variable'], $matches['description']);
- }
-
- protected function addOptionOrArgumentTag($tag, DefaultsWithDescriptions $set, $name, $description)
- {
- $variableName = $this->commandInfo->findMatchingOption($name);
- $description = static::removeLineBreaks($description);
- $set->add($variableName, $description);
- }
-
- /**
- * Store the data from a @default annotation in our argument or option store,
- * as appropriate.
- */
- protected function processDefaultTag($tag)
- {
- if (!$tag->hasVariable($matches)) {
- throw new \Exception('Could not determine parameter name for default value from tag ' . (string)$tag);
- }
- $variableName = $matches['variable'];
- $defaultValue = $this->interpretDefaultValue($matches['description']);
- if ($this->commandInfo->arguments()->exists($variableName)) {
- $this->commandInfo->arguments()->setDefaultValue($variableName, $defaultValue);
- return;
- }
- $variableName = $this->commandInfo->findMatchingOption($variableName);
- if ($this->commandInfo->options()->exists($variableName)) {
- $this->commandInfo->options()->setDefaultValue($variableName, $defaultValue);
- }
- }
-
- /**
- * Store the data from a @usage annotation in our example usage list.
- */
- protected function processUsageTag($tag)
- {
- $lines = explode("\n", $tag->getContent());
- $usage = trim(array_shift($lines));
- $description = static::removeLineBreaks(implode("\n", array_map(function ($line) {
- return trim($line);
- }, $lines)));
-
- $this->commandInfo->setExampleUsage($usage, $description);
- }
-
- /**
- * Process the comma-separated list of aliases
- */
- protected function processAliases($tag)
- {
- $this->commandInfo->setAliases((string)$tag->getContent());
- }
-
- /**
- * Store the data from a @return annotation in our argument descriptions.
- */
- protected function processReturnTag($tag)
- {
- // The return type might be a variable -- '$this'. It will
- // usually be a type, like RowsOfFields, or \Namespace\RowsOfFields.
- if (!$tag->hasVariableAndDescription($matches)) {
- throw new \Exception('Could not determine return type from tag ' . (string)$tag);
- }
- // Look at namespace and `use` statments to make returnType a fqdn
- $returnType = $matches['variable'];
- $returnType = $this->findFullyQualifiedClass($returnType);
- $this->commandInfo->setReturnType($returnType);
- }
-
- protected function findFullyQualifiedClass($className)
- {
- if (strpos($className, '\\') !== false) {
- return $className;
- }
-
- return $this->fqcnCache->qualify($this->reflection->getFileName(), $className);
- }
-
- private function parseDocBlock($doc)
- {
- // Remove the leading /** and the trailing */
- $doc = preg_replace('#^\s*/\*+\s*#', '', $doc);
- $doc = preg_replace('#\s*\*+/\s*#', '', $doc);
-
- // Nothing left? Exit.
- if (empty($doc)) {
- return;
- }
-
- $tagFactory = new TagFactory();
- $lines = [];
-
- foreach (explode("\n", $doc) as $row) {
- // Remove trailing whitespace and leading space + '*'s
- $row = rtrim($row);
- $row = preg_replace('#^[ \t]*\**#', '', $row);
-
- if (!$tagFactory->parseLine($row)) {
- $lines[] = $row;
- }
- }
-
- $this->processDescriptionAndHelp($lines);
- $this->processAllTags($tagFactory->getTags());
- }
-
- protected function processDescriptionAndHelp($lines)
- {
- // Trim all of the lines individually.
- $lines =
- array_map(
- function ($line) {
- return trim($line);
- },
- $lines
- );
-
- // Everything up to the first blank line goes in the description.
- $description = array_shift($lines);
- while ($this->nextLineIsNotEmpty($lines)) {
- $description .= ' ' . array_shift($lines);
- }
-
- // Everything else goes in the help.
- $help = trim(implode("\n", $lines));
-
- $this->commandInfo->setDescription($description);
- $this->commandInfo->setHelp($help);
- }
-
- protected function nextLineIsNotEmpty($lines)
- {
- if (empty($lines)) {
- return false;
- }
-
- $nextLine = trim($lines[0]);
- return !empty($nextLine);
- }
-
- protected function processAllTags($tags)
- {
- // Iterate over all of the tags, and process them as necessary.
- foreach ($tags as $tag) {
- $processFn = [$this, 'processGenericTag'];
- if (array_key_exists($tag->getTag(), $this->tagProcessors)) {
- $processFn = [$this, $this->tagProcessors[$tag->getTag()]];
- }
- $processFn($tag);
- }
- }
-
- protected function lastParameterName()
- {
- $params = $this->commandInfo->getParameters();
- $param = end($params);
- if (!$param) {
- return '';
- }
- return $param->name;
- }
-
- /**
- * Return the name of the last parameter if it holds the options.
- */
- public function optionParamName()
- {
- // Remember the name of the last parameter, if it holds the options.
- // We will use this information to ignore @param annotations for the options.
- if (!isset($this->optionParamName)) {
- $this->optionParamName = '';
- $options = $this->commandInfo->options();
- if (!$options->isEmpty()) {
- $this->optionParamName = $this->lastParameterName();
- }
- }
-
- return $this->optionParamName;
- }
-
- protected function interpretDefaultValue($defaultValue)
- {
- $defaults = [
- 'null' => null,
- 'true' => true,
- 'false' => false,
- "''" => '',
- '[]' => [],
- ];
- foreach ($defaults as $defaultName => $defaultTypedValue) {
- if ($defaultValue == $defaultName) {
- return $defaultTypedValue;
- }
- }
- return $defaultValue;
- }
-
- /**
- * Given a list that might be 'a b c' or 'a, b, c' or 'a,b,c',
- * convert the data into the last of these forms.
- */
- protected static function convertListToCommaSeparated($text)
- {
- return preg_replace('#[ \t\n\r,]+#', ',', $text);
- }
-
- /**
- * Take a multiline description and convert it into a single
- * long unbroken line.
- */
- protected static function removeLineBreaks($text)
- {
- return trim(preg_replace('#[ \t\n\r]+#', ' ', $text));
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Parser/Internal/CommandDocBlockParserFactory.php b/vendor/consolidation/annotated-command/src/Parser/Internal/CommandDocBlockParserFactory.php
deleted file mode 100644
index 3421b7493..000000000
--- a/vendor/consolidation/annotated-command/src/Parser/Internal/CommandDocBlockParserFactory.php
+++ /dev/null
@@ -1,20 +0,0 @@
-parse();
- }
-
- private static function create(CommandInfo $commandInfo, \ReflectionMethod $reflection)
- {
- return new BespokeDocBlockParser($commandInfo, $reflection);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Parser/Internal/CsvUtils.php b/vendor/consolidation/annotated-command/src/Parser/Internal/CsvUtils.php
deleted file mode 100644
index 88ed3891f..000000000
--- a/vendor/consolidation/annotated-command/src/Parser/Internal/CsvUtils.php
+++ /dev/null
@@ -1,49 +0,0 @@
-[^\s$]+)[\s]*';
- const VARIABLE_REGEX = '\\$(?P[^\s$]+)[\s]*';
- const VARIABLE_OR_WORD_REGEX = '\\$?(?P[^\s$]+)[\s]*';
- const TYPE_REGEX = '(?P[^\s$]+)[\s]*';
- const WORD_REGEX = '(?P[^\s$]+)[\s]*';
- const DESCRIPTION_REGEX = '(?P.*)';
- const IS_TAG_REGEX = '/^[*\s]*@/';
-
- /**
- * Check if the provided string begins with a tag
- * @param string $subject
- * @return bool
- */
- public static function isTag($subject)
- {
- return preg_match(self::IS_TAG_REGEX, $subject);
- }
-
- /**
- * Use a regular expression to separate the tag from the content.
- *
- * @param string $subject
- * @param string[] &$matches Sets $matches['tag'] and $matches['description']
- * @return bool
- */
- public static function splitTagAndContent($subject, &$matches)
- {
- $regex = '/' . self::TAG_REGEX . self::DESCRIPTION_REGEX . '/s';
- return preg_match($regex, $subject, $matches);
- }
-
- /**
- * DockblockTag constructor
- */
- public function __construct($tag, $content = null)
- {
- $this->tag = $tag;
- $this->content = $content;
- }
-
- /**
- * Add more content onto a tag during parsing.
- */
- public function appendContent($line)
- {
- $this->content .= "\n$line";
- }
-
- /**
- * Return the tag - e.g. "@foo description" returns 'foo'
- *
- * @return string
- */
- public function getTag()
- {
- return $this->tag;
- }
-
- /**
- * Return the content portion of the tag - e.g. "@foo bar baz boz" returns
- * "bar baz boz"
- *
- * @return string
- */
- public function getContent()
- {
- return $this->content;
- }
-
- /**
- * Convert tag back into a string.
- */
- public function __toString()
- {
- return '@' . $this->getTag() . ' ' . $this->getContent();
- }
-
- /**
- * Determine if tag is one of:
- * - "@tag variable description"
- * - "@tag $variable description"
- * - "@tag type $variable description"
- *
- * @param string $subject
- * @param string[] &$matches Sets $matches['variable'] and
- * $matches['description']; might set $matches['type'].
- * @return bool
- */
- public function hasVariable(&$matches)
- {
- return
- $this->hasTypeVariableAndDescription($matches) ||
- $this->hasVariableAndDescription($matches);
- }
-
- /**
- * Determine if tag is "@tag $variable description"
- * @param string $subject
- * @param string[] &$matches Sets $matches['variable'] and
- * $matches['description']
- * @return bool
- */
- public function hasVariableAndDescription(&$matches)
- {
- $regex = '/^\s*' . self::VARIABLE_OR_WORD_REGEX . self::DESCRIPTION_REGEX . '/s';
- return preg_match($regex, $this->getContent(), $matches);
- }
-
- /**
- * Determine if tag is "@tag type $variable description"
- *
- * @param string $subject
- * @param string[] &$matches Sets $matches['variable'],
- * $matches['description'] and $matches['type'].
- * @return bool
- */
- public function hasTypeVariableAndDescription(&$matches)
- {
- $regex = '/^\s*' . self::TYPE_REGEX . self::VARIABLE_REGEX . self::DESCRIPTION_REGEX . '/s';
- return preg_match($regex, $this->getContent(), $matches);
- }
-
- /**
- * Determine if tag is "@tag word description"
- * @param string $subject
- * @param string[] &$matches Sets $matches['word'] and
- * $matches['description']
- * @return bool
- */
- public function hasWordAndDescription(&$matches)
- {
- $regex = '/^\s*' . self::WORD_REGEX . self::DESCRIPTION_REGEX . '/s';
- return preg_match($regex, $this->getContent(), $matches);
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Parser/Internal/FullyQualifiedClassCache.php b/vendor/consolidation/annotated-command/src/Parser/Internal/FullyQualifiedClassCache.php
deleted file mode 100644
index b247e9da0..000000000
--- a/vendor/consolidation/annotated-command/src/Parser/Internal/FullyQualifiedClassCache.php
+++ /dev/null
@@ -1,106 +0,0 @@
-primeCache($filename, $className);
- return $this->cached($filename, $className);
- }
-
- protected function cached($filename, $className)
- {
- return isset($this->classCache[$filename][$className]) ? $this->classCache[$filename][$className] : $className;
- }
-
- protected function primeCache($filename, $className)
- {
- // If the cache has already been primed, do no further work
- if (isset($this->namespaceCache[$filename])) {
- return false;
- }
-
- $handle = fopen($filename, "r");
- if (!$handle) {
- return false;
- }
-
- $namespaceName = $this->primeNamespaceCache($filename, $handle);
- $this->primeUseCache($filename, $handle);
-
- // If there is no 'use' statement for the className, then
- // generate an effective classname from the namespace
- if (!isset($this->classCache[$filename][$className])) {
- $this->classCache[$filename][$className] = $namespaceName . '\\' . $className;
- }
-
- fclose($handle);
- }
-
- protected function primeNamespaceCache($filename, $handle)
- {
- $namespaceName = $this->readNamespace($handle);
- if (!$namespaceName) {
- return false;
- }
- $this->namespaceCache[$filename] = $namespaceName;
- return $namespaceName;
- }
-
- protected function primeUseCache($filename, $handle)
- {
- $usedClasses = $this->readUseStatements($handle);
- if (empty($usedClasses)) {
- return false;
- }
- $this->classCache[$filename] = $usedClasses;
- }
-
- protected function readNamespace($handle)
- {
- $namespaceRegex = '#^\s*namespace\s+#';
- $line = $this->readNextRelevantLine($handle);
- if (!$line || !preg_match($namespaceRegex, $line)) {
- return false;
- }
-
- $namespaceName = preg_replace($namespaceRegex, '', $line);
- $namespaceName = rtrim($namespaceName, ';');
- return $namespaceName;
- }
-
- protected function readUseStatements($handle)
- {
- $useRegex = '#^\s*use\s+#';
- $result = [];
- while (true) {
- $line = $this->readNextRelevantLine($handle);
- if (!$line || !preg_match($useRegex, $line)) {
- return $result;
- }
- $usedClass = preg_replace($useRegex, '', $line);
- $usedClass = rtrim($usedClass, ';');
- $unqualifiedClass = preg_replace('#.*\\\\#', '', $usedClass);
- // If this is an aliased class, 'use \Foo\Bar as Baz', then adjust
- if (strpos($usedClass, ' as ')) {
- $unqualifiedClass = preg_replace('#.*\sas\s+#', '', $usedClass);
- $usedClass = preg_replace('#[a-zA-Z0-9]+\s+as\s+#', '', $usedClass);
- }
- $result[$unqualifiedClass] = $usedClass;
- }
- }
-
- protected function readNextRelevantLine($handle)
- {
- while (($line = fgets($handle)) !== false) {
- if (preg_match('#^\s*\w#', $line)) {
- return trim($line);
- }
- }
- return false;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/Parser/Internal/TagFactory.php b/vendor/consolidation/annotated-command/src/Parser/Internal/TagFactory.php
deleted file mode 100644
index 4c48679d5..000000000
--- a/vendor/consolidation/annotated-command/src/Parser/Internal/TagFactory.php
+++ /dev/null
@@ -1,67 +0,0 @@
-current = null;
- $this->tags = [];
- }
-
- public function parseLine($line)
- {
- if (DocblockTag::isTag($line)) {
- return $this->createTag($line);
- }
- if (empty($line)) {
- return $this->storeCurrentTag();
- }
- return $this->accumulateContent($line);
- }
-
- public function getTags()
- {
- $this->storeCurrentTag();
- return $this->tags;
- }
-
- protected function createTag($line)
- {
- DocblockTag::splitTagAndContent($line, $matches);
- $this->storeCurrentTag();
- $this->current = new DocblockTag($matches['tag'], $matches['description']);
- return true;
- }
-
- protected function storeCurrentTag()
- {
- if (!$this->current) {
- return false;
- }
- $this->tags[] = $this->current;
- $this->current = false;
- return true;
- }
-
- protected function accumulateContent($line)
- {
- if (!$this->current) {
- return false;
- }
- $this->current->appendContent($line);
- return true;
- }
-}
diff --git a/vendor/consolidation/annotated-command/src/ResultWriter.php b/vendor/consolidation/annotated-command/src/ResultWriter.php
deleted file mode 100644
index a256384e8..000000000
--- a/vendor/consolidation/annotated-command/src/ResultWriter.php
+++ /dev/null
@@ -1,210 +0,0 @@
-formatterManager = $formatterManager;
- return $this;
- }
-
- /**
- * Return the formatter manager
- * @return FormatterManager
- */
- public function formatterManager()
- {
- return $this->formatterManager;
- }
-
- public function setDisplayErrorFunction(callable $fn)
- {
- $this->displayErrorFunction = $fn;
- return $this;
- }
-
- /**
- * Handle the result output and status code calculation.
- */
- public function handle(OutputInterface $output, $result, CommandData $commandData, $statusCodeDispatcher = null, $extractDispatcher = null)
- {
- // A little messy, for backwards compatibility: if the result implements
- // ExitCodeInterface, then use that as the exit code. If a status code
- // dispatcher returns a non-zero result, then we will never print a
- // result.
- $status = null;
- if ($result instanceof ExitCodeInterface) {
- $status = $result->getExitCode();
- } elseif (isset($statusCodeDispatcher)) {
- $status = $statusCodeDispatcher->determineStatusCode($result);
- if (isset($status) && ($status != 0)) {
- return $status;
- }
- }
- // If the result is an integer and no separate status code was provided, then use the result as the status and do no output.
- if (is_integer($result) && !isset($status)) {
- return $result;
- }
- $status = $this->interpretStatusCode($status);
-
- // Get the structured output, the output stream and the formatter
- $structuredOutput = $result;
- if (isset($extractDispatcher)) {
- $structuredOutput = $extractDispatcher->extractOutput($result);
- }
- if (($status != 0) && is_string($structuredOutput)) {
- $output = $this->chooseOutputStream($output, $status);
- return $this->writeErrorMessage($output, $status, $structuredOutput, $result);
- }
- if ($this->dataCanBeFormatted($structuredOutput) && isset($this->formatterManager)) {
- return $this->writeUsingFormatter($output, $structuredOutput, $commandData, $status);
- }
- return $this->writeCommandOutput($output, $structuredOutput, $status);
- }
-
- protected function dataCanBeFormatted($structuredOutput)
- {
- if (!isset($this->formatterManager)) {
- return false;
- }
- return
- is_object($structuredOutput) ||
- is_array($structuredOutput);
- }
-
- /**
- * Determine the formatter that should be used to render
- * output.
- *
- * If the user specified a format via the --format option,
- * then always return that. Otherwise, return the default
- * format, unless --pipe was specified, in which case
- * return the default pipe format, format-pipe.
- *
- * n.b. --pipe is a handy option introduced in Drush 2
- * (or perhaps even Drush 1) that indicates that the command
- * should select the output format that is most appropriate
- * for use in scripts (e.g. to pipe to another command).
- *
- * @return string
- */
- protected function getFormat(FormatterOptions $options)
- {
- // In Symfony Console, there is no way for us to differentiate
- // between the user specifying '--format=table', and the user
- // not specifying --format when the default value is 'table'.
- // Therefore, we must make --field always override --format; it
- // cannot become the default value for --format.
- if ($options->get('field')) {
- return 'string';
- }
- $defaults = [];
- if ($options->get('pipe')) {
- return $options->get('pipe-format', [], 'tsv');
- }
- return $options->getFormat($defaults);
- }
-
- /**
- * Determine whether we should use stdout or stderr.
- */
- protected function chooseOutputStream(OutputInterface $output, $status)
- {
- // If the status code indicates an error, then print the
- // result to stderr rather than stdout
- if ($status && ($output instanceof ConsoleOutputInterface)) {
- return $output->getErrorOutput();
- }
- return $output;
- }
-
- /**
- * Call the formatter to output the provided data.
- */
- protected function writeUsingFormatter(OutputInterface $output, $structuredOutput, CommandData $commandData, $status = 0)
- {
- $formatterOptions = $commandData->formatterOptions();
- $format = $this->getFormat($formatterOptions);
- $this->formatterManager->write(
- $output,
- $format,
- $structuredOutput,
- $formatterOptions
- );
- return $status;
- }
-
- /**
- * Description
- * @param OutputInterface $output
- * @param int $status
- * @param string $structuredOutput
- * @param mixed $originalResult
- * @return type
- */
- protected function writeErrorMessage($output, $status, $structuredOutput, $originalResult)
- {
- if (isset($this->displayErrorFunction)) {
- call_user_func($this->displayErrorFunction, $output, $structuredOutput, $status, $originalResult);
- } else {
- $this->writeCommandOutput($output, $structuredOutput);
- }
- return $status;
- }
-
- /**
- * If the result object is a string, then print it.
- */
- protected function writeCommandOutput(
- OutputInterface $output,
- $structuredOutput,
- $status = 0
- ) {
- // If there is no formatter, we will print strings,
- // but can do no more than that.
- if (is_string($structuredOutput)) {
- $output->writeln($structuredOutput);
- }
- return $status;
- }
-
- /**
- * If a status code was set, then return it; otherwise,
- * presume success.
- */
- protected function interpretStatusCode($status)
- {
- if (isset($status)) {
- return $status;
- }
- return 0;
- }
-}
diff --git a/vendor/consolidation/config/.editorconfig b/vendor/consolidation/config/.editorconfig
deleted file mode 100644
index 095771e67..000000000
--- a/vendor/consolidation/config/.editorconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is for unifying the coding style for different editors and IDEs
-# editorconfig.org
-
-root = true
-
-[*]
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-
-[**.php]
-indent_style = space
-indent_size = 4
-
diff --git a/vendor/consolidation/config/CHANGELOG.md b/vendor/consolidation/config/CHANGELOG.md
deleted file mode 100644
index 1fd965e2c..000000000
--- a/vendor/consolidation/config/CHANGELOG.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# Changelog
-
-### 1.0.11 2018-05-26
-
-* BUGFIX: Ensure that duplicate keys added to different contexts in a config overlay only appear once in the final export. (#21)
-
-### 1.0.10 2018-05-25
-
-* Rename g-1-a/composer-test-scenarios to g1a/composer-test-scenarios (#20)
-
-### 1.0.9 2017-12-22
-
-* Make yaml component optional. (#17)
-
-### 1.0.8 2017-12-16
-
-* Use test scenarios to test multiple versions of Symfony. (#14) & (#15)
-* Fix defaults to work with DotAccessData by thomscode (#13)
-
-### 1.0.7 2017-10-24
-
-* Deprecate Config::import(); recommand Config::replace() instead.
-
-### 1.0.6 10/17/2017
-
-* Add a 'Config::combine()' method for importing without overwriting.
-* Factor out ArrayUtil as a reusable utility class.
-
-### 1.0.4 10/16/2017
-
-* BUGFIX: Go back to injecting boolean options only if their value is 'true'.
-
-### 1.0.3 10/04/2017
-
-* Add an EnvConfig utility class.
-* BUGFIX: Fix bug in envKey calculation: it was missing its prefix.
-* BUGFIX: Export must always return something.
-* BUGFIX: Pass reference array through to Expander class.
-
-### 1.0.2 09/16/2017
-
-* BUGFIX: Allow global boolean options to have either `true` or `false` initial values.
-
-### 1.0.1 07/28/2017
-
-* Inject default values into InputOption objects when 'help' command executed.
-
-### 1.0.0 06/28/2017
-
-* Initial release
-
diff --git a/vendor/consolidation/config/CONTRIBUTING.md b/vendor/consolidation/config/CONTRIBUTING.md
deleted file mode 100644
index 006062d50..000000000
--- a/vendor/consolidation/config/CONTRIBUTING.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Contributing to Consolidation
-
-Thank you for your interest in contributing to the Consolidation effort! Consolidation aims to provide reusable, loosely-coupled components useful for building command-line tools. Consolidation is built on top of Symfony Console, but aims to separate the tool from the implementation details of Symfony.
-
-Here are some of the guidelines you should follow to make the most of your efforts:
-
-## Code Style Guidelines
-
-Consolidation adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code.
-
-## Pull Request Guidelines
-
-Every pull request is run through:
-
- - phpcs -n --standard=PSR2 src
- - phpunit
- - [Scrutinizer](https://scrutinizer-ci.com/g/consolidation/config/)
-
-It is easy to run the unit tests and code sniffer locally; just run:
-
- - composer cs
-
-To run the code beautifier, which will fix many of the problems reported by phpcs:
-
- - composer cbf
-
-These two commands (`composer cs` and `composer cbf`) are defined in the `scripts` section of [composer.json](composer.json).
-
-After submitting a pull request, please examine the Scrutinizer report. It is not required to fix all Scrutinizer issues; you may ignore recommendations that you disagree with. The spacing patches produced by Scrutinizer do not conform to PSR2 standards, and therefore should never be applied. DocBlock patches may be applied at your discression. Things that Scrutinizer identifies as a bug nearly always need to be addressed.
-
-Pull requests must pass phpcs and phpunit in order to be merged; ideally, new functionality will also include new unit tests.
diff --git a/vendor/consolidation/config/LICENSE b/vendor/consolidation/config/LICENSE
deleted file mode 100644
index cecf81d77..000000000
--- a/vendor/consolidation/config/LICENSE
+++ /dev/null
@@ -1,8 +0,0 @@
-Copyright (c) 2017 Consolidation Developers
-
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/vendor/consolidation/config/README.md b/vendor/consolidation/config/README.md
deleted file mode 100644
index 7108cd6ec..000000000
--- a/vendor/consolidation/config/README.md
+++ /dev/null
@@ -1,224 +0,0 @@
-# Consolidation\Config
-
-Manage configuration for a commandline tool.
-
-[![Travis CI](https://travis-ci.org/consolidation/config.svg?branch=master)](https://travis-ci.org/consolidation/config)
-[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/consolidation/config/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/consolidation/config/?branch=master)
-[![Coverage Status](https://coveralls.io/repos/github/consolidation/config/badge.svg?branch=master)](https://coveralls.io/github/consolidation/config?branch=master)
-[![License](https://poser.pugx.org/consolidation/config/license)](https://packagist.org/packages/consolidation/config)
-
-This component is designed to provide the components needed to manage configuration options from different sources, including:
-
-- Commandline options
-- Configuration files
-- Alias files (special configuration files that identify a specific target site)
-- Default values (provided by command)
-
-Symfony Console is used to provide the framework for the commandline tool, and the Symfony Configuration component is used to load and merge configuration files. This project provides the glue that binds the components together in an easy-to-use package.
-
-If your goal is to be able to quickly write configurable commandline tools, you might want to consider using [Robo as a Framework](https://robo.li/framework), as the work for setting up this component is already done in that project. Consolidation/Config may be used with any Symfony Console application, though.
-
-## Component Status
-
-In use in Robo (1.x), Terminus (1.x) and Drush (9.x).
-
-## Motivation
-
-Provide a simple Config class that can be injected where needed to provide configuration values in non-command classes, and make configuration settings a no-op for command classes by automatically initializing the Input object from configuration as needed.
-
-## Configuration File Usage
-
-Configuration files are simple hierarchical yaml files.
-
-### Providing Command Options
-
-Command options are defined by creating an entry for each command name under the `command:` section of the configuration file. The options for the command should be defined within an `options:` section. For example, to set a configuration value `red` for the option `--color` in the `example` command:
-```
-command:
- example:
- options:
- color: red
-```
-If a command name contains a `:`, then each section of the command name defines another level of heirarchy in the command option configuration. For example, to set a configuration value `George` for the option `--name` of the command `my:foo`:
-```
-command:
- my:
- foo:
- options:
- name: George
-```
-Furthermore, every level of the command name heirarchy may contain options. For example, to define a configuration value for the option `--dir` for any command that begins with `my:`:
-```
-command:
- my:
- options:
- dir: '/base/path'
- foo:
- options:
- name: George
- bar:
- options:
- priority: high
-```
-
-### Providing Global Options
-
-If your Symfony Console application defines global options, like so (from a method in an extension of the Application class):
-```
-$this->getDefinition()
- ->addOption(
- new InputOption('--simulate', null, InputOption::VALUE_NONE, 'Run in simulated mode (show what would have happened).')
- );
-```
-Default values for global options can then be declared in the global options section:
-```
-options:
- simulate: false
-```
-If this is done, then global option values set on the command line will be used to alter the value of the configuration item at runtime. For example, `$config->get('options.simulate')` will return `false` when the `--simulate` global option is not used, and will return `true` when it is.
-
-See the section "Set Up Command Option Configuration Injection", below, for instructions on how to enable this setup.
-
-### Configuration Value Substitution
-
-It is possible to define values in a configuration file that will be substituted in wherever used. For example:
-```
-common:
- path: '/shared/path'
-command:
- my:
- options:
- dir: '${common.path}'
- foo:
- options:
- name: George
-```
-
-[grasmash/yaml-expander](https://github.com/grasmash/expander) is used to provide this capability.
-
-## API Usage
-
-The easiest way to utilize the capabilities of this project is to use [Robo as a framework](https://robo.li/framework) to create your commandline tools. Using Robo is optional, though, as this project will work with any Symfony Console application.
-
-### Load Configuration Files with Provided Loader
-
-Consolidation/config includes a built-in yaml loader / processor. To use it directly, use a YamlConfigLoader to load each of your configuration files, and a ConfigProcessor to merge them together. Then, export the result from the configuration processor, and import it into a Config object.
-```
-use Consolidation\Config\Config;
-use Consolidation\Config\YamlConfigLoader;
-use Consolidation\Config\ConfigProcessor;
-
-$config = new Config();
-$loader = new YamlConfigLoader();
-$processor = new ConfigProcessor();
-$processor->extend($loader->load('defaults.yml'));
-$processor->extend($loader->load('myconf.yml'));
-$config->import($processor->export());
-```
-
-### Set Up Command Option Configuration Injection
-
-The command option configuration feature described above in the section `Providing Command Options` is provided via a configuration injection class. All that you need to do to use this feature as attach this object to your Symfony Console application's event dispatcher:
-```
-$application = new Symfony\Component\Console\Application($name, $version);
-$configInjector = new \Consolidation\Config\Inject\ConfigForCommand($config);
-$configInjector->setApplication($application);
-
-$eventDispatcher = new \Symfony\Component\EventDispatcher\EventDispatcher();
-$eventDispatcher->addSubscriber($configInjector);
-$application->setDispatcher($eventDispatcher);
-```
-
-
-### Get Configuration Values
-
-If you have a configuration file that looks like this:
-```
-a:
- b:
- c: foo
-```
-Then you can fetch the value of the configuration option `c` via:
-```
-$value = $config->get('a.b.c');
-```
-[dflydev/dot-access-data](https://github.com/dflydev/dot-access-data) is leveraged to provide this capability.
-
-### Interpolation
-
-Interpolation allows configuration values to be injected into a string with tokens. The tokens are used as keys that are looked up in the config object; the resulting configuration values will be used to replace the tokens in the provided string.
-
-For example, using the same configuration file shown above:
-```
-$result = $config->interpolate('The value is: {{a.b.c}}')
-```
-In this example, the `$result` string would be:
-```
-The value is: foo
-```
-
-### Configuration Overlays
-
-Optionally, you may use the ConfigOverlay class to combine multiple configuration objects implamenting ConfigInterface into a single, prioritized configuration object. It is not necessary to use a configuration overlay; if your only goal is to merge configuration from multiple files, you may follow the example above to extend a processor with multiple configuration files, and then import the result into a single configuration object. This will cause newer configuration items to overwrite any existing values stored under the same key.
-
-A configuration overlay can achieve the same end result without overwriting any config values. The advantage of doing this is that different configuration overlays could be used to create separate "views" on different collections of configuration. A configuration overlay is also useful if you wish to temporarily override some configuration values, and then put things back the way they were by removing the overlay.
-```
-use Consolidation\Config\Config;
-use Consolidation\Config\YamlConfigLoader;
-use Consolidation\Config\ConfigProcessor;
-use Consolidation\Config\Util\ConfigOverlay;
-
-$config1 = new Config();
-$config2 = new Config();
-$loader = new YamlConfigLoader();
-$processor = new ConfigProcessor();
-$processor->extend($loader->load('c1.yml'));
-$config1->import($processor->export());
-$processor = new ConfigProcessor();
-$processor->extend($loader->load('c2.yml'));
-$config2->import($processor->export());
-
-$configOverlay = (new ConfigOverlay())
- ->addContext('one', $config1)
- ->addContext('two', $config2);
-
-$value = $configOverlay->get('key');
-
-$configOverlay->removeContext('two');
-
-$value = $configOverlay->get('key');
-```
-The first call to `$configOverlay->get('key')`, above, will return the value from `key` in `$config2`, if it exists, or from `$config1` otherwise. The second call to the same function, after `$config2` is removed, will only consider configuration values stored in `$config1`.
-
-## External Examples
-
-### Load Configuration Files with Symfony/Config
-
-The [Symfony Config](http://symfony.com/doc/current/components/config.html) component provides the capability to locate configuration file, load them from either YAML or XML sources, and validate that they match a certain defined schema. Classes to find configuration files are also available.
-
-If these features are needed, the results from `Symfony\Component\Config\Definition\Processor::processConfiguration()` may be provided directly to the `Consolidation\Config\Config::import()` method.
-
-### Use Configuration to Call Setter Methods
-
-[Robo](https://robo.li) provides a facility for configuration files to [define default values for task setter methods](http://robo.li/getting-started/#configuration-for-task-settings). This is done via the `ConfigForSetters::apply()` method.
-```
-$taskClass = static::configClassIdentifier($taskClass);
-$configurationApplier = new \Consolidation\Config\Inject\ConfigForSetters($this->getConfig(), $taskClass, 'task.');
-$configurationApplier->apply($task, 'settings');
-```
-The `configClassIdentifier` method converts `\`-separated class and namespace names into `.`-separated identifiers; it is provided by ConfigAwareTrait:
-```
-protected static function configClassIdentifier($classname)
-{
- $configIdentifier = strtr($classname, '\\', '.');
- $configIdentifier = preg_replace('#^(.*\.Task\.|\.)#', '', $configIdentifier);
-
- return $configIdentifier;
-}
-```
-A similar pattern may be used in other applications that may wish to inject values into objects using their setter methods.
-
-## Comparison to Existing Solutions
-
-Drush has an existing procedural mechanism for loading configuration values from multiple files, and overlaying the results in priority order. Command-specific options from configuration files and site aliases may also be applied.
-
diff --git a/vendor/consolidation/config/composer.json b/vendor/consolidation/config/composer.json
deleted file mode 100644
index d2587a8cb..000000000
--- a/vendor/consolidation/config/composer.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "name": "consolidation/config",
- "description": "Provide configuration services for a commandline tool.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload":{
- "psr-4":{
- "Consolidation\\Config\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "tests/src"
- }
- },
- "require": {
- "php": ">=5.4.0",
- "dflydev/dot-access-data": "^1.1.0",
- "grasmash/expander": "^1"
- },
- "require-dev": {
- "phpunit/phpunit": "^5",
- "g1a/composer-test-scenarios": "^1",
- "symfony/console": "^2.5|^3|^4",
- "symfony/yaml": "^2.8.11|^3|^4",
- "satooshi/php-coveralls": "^1.0",
- "squizlabs/php_codesniffer": "2.*"
- },
- "suggest": {
- "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
- },
- "config": {
- "optimize-autoloader": true,
- "sort-packages": true,
- "platform": {
- "php": "5.6"
- }
- },
- "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'",
- "create-scenario symfony2 'symfony/console:^2.8' 'phpunit/phpunit:^4' --platform-php '5.4' --no-lockfile"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- }
-}
diff --git a/vendor/consolidation/config/composer.lock b/vendor/consolidation/config/composer.lock
deleted file mode 100644
index 2693898f2..000000000
--- a/vendor/consolidation/config/composer.lock
+++ /dev/null
@@ -1,2231 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "dcc7263b0eaf52329ae98d72955e992e",
- "packages": [
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ],
- "time": "2017-01-20T21:14:22+00:00"
- },
- {
- "name": "grasmash/expander",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/expander.git",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/expander/zipball/95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\Expander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in PHP arrays file.",
- "time": "2017-12-21T22:14:55+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "1.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "240841a15f332750d5f0499371f880e9ea5b18cc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/240841a15f332750d5f0499371f880e9ea5b18cc",
- "reference": "240841a15f332750d5f0499371f880e9ea5b18cc",
- "shasum": ""
- },
- "bin": [
- "scripts/create-scenario",
- "scripts/dependency-licenses",
- "scripts/install-scenario"
- ],
- "type": "library",
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-03-07T21:36:05+00:00"
- },
- {
- "name": "guzzle/guzzle",
- "version": "v3.9.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle3.git",
- "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9",
- "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": "~2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "~1.3",
- "monolog/monolog": "~1.0",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "~1.0",
- "symfony/class-loader": "~2.1",
- "zendframework/zend-cache": "2.*,<2.3",
- "zendframework/zend-log": "2.*,<2.3"
- },
- "suggest": {
- "guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.9-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "abandoned": "guzzlehttp/guzzle",
- "time": "2015-03-18T18:23:50+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2017-10-19T19:58:43+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-10T14:09:06+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "4.0.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^5.6 || ^7.0",
- "phpunit/php-file-iterator": "^1.3",
- "phpunit/php-text-template": "^1.2",
- "phpunit/php-token-stream": "^1.4.2 || ^2.0",
- "sebastian/code-unit-reverse-lookup": "^1.0",
- "sebastian/environment": "^1.3.2 || ^2.0",
- "sebastian/version": "^1.0 || ^2.0"
- },
- "require-dev": {
- "ext-xdebug": "^2.1.4",
- "phpunit/phpunit": "^5.7"
- },
- "suggest": {
- "ext-xdebug": "^2.5.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2017-04-02T07:44:40+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.12",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-12-04T08:55:13+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "5.7.27",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "~1.3",
- "php": "^5.6 || ^7.0",
- "phpspec/prophecy": "^1.6.2",
- "phpunit/php-code-coverage": "^4.0.4",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "^3.2",
- "sebastian/comparator": "^1.2.4",
- "sebastian/diff": "^1.4.3",
- "sebastian/environment": "^1.3.4 || ^2.0",
- "sebastian/exporter": "~2.0",
- "sebastian/global-state": "^1.1",
- "sebastian/object-enumerator": "~2.0",
- "sebastian/resource-operations": "~1.0",
- "sebastian/version": "^1.0.6|^2.0.1",
- "symfony/yaml": "~2.1|~3.0|~4.0"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.7.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-02-01T05:50:59+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "3.4.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.6 || ^7.0",
- "phpunit/php-text-template": "^1.2",
- "sebastian/exporter": "^1.2 || ^2.0"
- },
- "conflict": {
- "phpunit/phpunit": "<5.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2017-06-30T09:13:00+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "satooshi/php-coveralls",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzle/guzzle": "^2.8 || ^3.0",
- "php": "^5.3.3 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/coveralls"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "Satooshi\\": "src/Satooshi/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "abandoned": "php-coveralls/php-coveralls",
- "time": "2017-12-06T23:17:56+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-11-26T07:53:53+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-11-19T08:54:04+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-02-18T15:18:39+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-11-19T07:33:16+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2017-05-22T02:43:20+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v3.4.14",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "7b08223b7f6abd859651c56bcabf900d1627d085"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/7b08223b7f6abd859651c56bcabf900d1627d085",
- "reference": "7b08223b7f6abd859651c56bcabf900d1627d085",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/filesystem": "~2.8|~3.0|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3",
- "symfony/finder": "<3.3"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/event-dispatcher": "~3.3|~4.0",
- "symfony/finder": "~3.3|~4.0",
- "symfony/yaml": "~3.0|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.4.14",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "6b217594552b9323bcdcfc14f8a0ce126e84cd73"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/6b217594552b9323bcdcfc14f8a0ce126e84cd73",
- "reference": "6b217594552b9323bcdcfc14f8a0ce126e84cd73",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/debug": "~2.8|~3.0|~4.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.3|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.4.14",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "d5a058ff6ecad26b30c1ba452241306ea34c65cc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/d5a058ff6ecad26b30c1ba452241306ea34c65cc",
- "reference": "d5a058ff6ecad26b30c1ba452241306ea34c65cc",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0|~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v2.8.44",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "84ae343f39947aa084426ed1138bb96bf94d1f12"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/84ae343f39947aa084426ed1138bb96bf94d1f12",
- "reference": "84ae343f39947aa084426ed1138bb96bf94d1f12",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "^2.0.5|~3.0.0",
- "symfony/dependency-injection": "~2.6|~3.0.0",
- "symfony/expression-language": "~2.6|~3.0.0",
- "symfony/stopwatch": "~2.3|~3.0.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T09:03:18+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.4.14",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "a59f917e3c5d82332514cb4538387638f5bde2d6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/a59f917e3c5d82332514cb4538387638f5bde2d6",
- "reference": "a59f917e3c5d82332514cb4538387638f5bde2d6",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v3.4.14",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "deda2765e8dab2fc38492e926ea690f2a681f59d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/deda2765e8dab2fc38492e926ea690f2a681f59d",
- "reference": "deda2765e8dab2fc38492e926ea690f2a681f59d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T10:03:52+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.4.14",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "810af2d35fc72b6cf5c01116806d2b65ccaaf2e2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/810af2d35fc72b6cf5c01116806d2b65ccaaf2e2",
- "reference": "810af2d35fc72b6cf5c01116806d2b65ccaaf2e2",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-01-29T19:49:41+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "5.6"
- }
-}
diff --git a/vendor/consolidation/config/phpunit.xml.dist b/vendor/consolidation/config/phpunit.xml.dist
deleted file mode 100644
index 90be6e2e6..000000000
--- a/vendor/consolidation/config/phpunit.xml.dist
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- tests
-
-
-
-
-
-
-
-
- src
-
-
-
diff --git a/vendor/consolidation/config/src/Config.php b/vendor/consolidation/config/src/Config.php
deleted file mode 100644
index 3b9827f57..000000000
--- a/vendor/consolidation/config/src/Config.php
+++ /dev/null
@@ -1,160 +0,0 @@
-config = new Data($data);
- $this->setDefaults(new Data());
- }
-
- /**
- * {@inheritdoc}
- */
- public function has($key)
- {
- return ($this->config->has($key));
- }
-
- /**
- * {@inheritdoc}
- */
- public function get($key, $defaultFallback = null)
- {
- if ($this->has($key)) {
- return $this->config->get($key);
- }
- return $this->getDefault($key, $defaultFallback);
- }
-
- /**
- * {@inheritdoc}
- */
- public function set($key, $value)
- {
- $this->config->set($key, $value);
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function import($data)
- {
- return $this->replace($data);
- }
-
- /**
- * {@inheritdoc}
- */
- public function replace($data)
- {
- $this->config = new Data($data);
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function combine($data)
- {
- if (!empty($data)) {
- $this->config->import($data, true);
- }
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function export()
- {
- return $this->config->export();
- }
-
- /**
- * {@inheritdoc}
- */
- public function hasDefault($key)
- {
- return $this->getDefaults()->has($key);
- }
-
- /**
- * {@inheritdoc}
- */
- public function getDefault($key, $defaultFallback = null)
- {
- return $this->hasDefault($key) ? $this->getDefaults()->get($key) : $defaultFallback;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setDefault($key, $value)
- {
- $this->getDefaults()->set($key, $value);
- return $this;
- }
-
- /**
- * Return the class $defaults property and ensure it's a Data object
- * TODO: remove Data object validation in 2.0
- *
- * @return Data
- */
- protected function getDefaults()
- {
- // Ensure $this->defaults is a Data object (not an array)
- if (!$this->defaults instanceof Data) {
- $this->setDefaults($this->defaults);
- }
- return $this->defaults;
- }
-
- /**
- * Sets the $defaults class parameter
- * TODO: remove support for array in 2.0 as this would currently break backward compatibility
- *
- * @param Data|array $defaults
- *
- * @throws \Exception
- */
- protected function setDefaults($defaults)
- {
- if (is_array($defaults)) {
- $this->defaults = new Data($defaults);
- } elseif ($defaults instanceof Data) {
- $this->defaults = $defaults;
- } else {
- throw new \Exception("Unknown type provided for \$defaults");
- }
- }
-}
diff --git a/vendor/consolidation/config/src/ConfigInterface.php b/vendor/consolidation/config/src/ConfigInterface.php
deleted file mode 100644
index 5124ea1fc..000000000
--- a/vendor/consolidation/config/src/ConfigInterface.php
+++ /dev/null
@@ -1,105 +0,0 @@
- default-value
- */
- public function getGlobalOptionDefaultValues();
-}
diff --git a/vendor/consolidation/config/src/Inject/ConfigForCommand.php b/vendor/consolidation/config/src/Inject/ConfigForCommand.php
deleted file mode 100644
index ce2646e1b..000000000
--- a/vendor/consolidation/config/src/Inject/ConfigForCommand.php
+++ /dev/null
@@ -1,127 +0,0 @@
-config = $config;
- }
-
- public function setApplication(Application $application)
- {
- $this->application = $application;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function getSubscribedEvents()
- {
- return [ConsoleEvents::COMMAND => 'injectConfiguration'];
- }
-
- /**
- * Before a Console command runs, inject configuration settings
- * for this command into the default value of the options of
- * this command.
- *
- * @param \Symfony\Component\Console\Event\ConsoleCommandEvent $event
- */
- public function injectConfiguration(ConsoleCommandEvent $event)
- {
- $command = $event->getCommand();
- $this->injectConfigurationForGlobalOptions($event->getInput());
- $this->injectConfigurationForCommand($command, $event->getInput());
-
- $targetOfHelpCommand = $this->getHelpCommandTarget($command, $event->getInput());
- if ($targetOfHelpCommand) {
- $this->injectConfigurationForCommand($targetOfHelpCommand, $event->getInput());
- }
- }
-
- protected function injectConfigurationForGlobalOptions($input)
- {
- if (!$this->application) {
- return;
- }
-
- $configGroup = new ConfigFallback($this->config, 'options');
-
- $definition = $this->application->getDefinition();
- $options = $definition->getOptions();
-
- return $this->injectConfigGroupIntoOptions($configGroup, $options, $input);
- }
-
- protected function injectConfigurationForCommand($command, $input)
- {
- $commandName = $command->getName();
- $commandName = str_replace(':', '.', $commandName);
- $configGroup = new ConfigFallback($this->config, $commandName, 'command.', '.options.');
-
- $definition = $command->getDefinition();
- $options = $definition->getOptions();
-
- return $this->injectConfigGroupIntoOptions($configGroup, $options, $input);
- }
-
- protected function injectConfigGroupIntoOptions($configGroup, $options, $input)
- {
- foreach ($options as $option => $inputOption) {
- $key = str_replace('.', '-', $option);
- $value = $configGroup->get($key);
- if ($value !== null) {
- if (is_bool($value) && ($value == true)) {
- $input->setOption($key, $value);
- } elseif ($inputOption->acceptValue()) {
- $inputOption->setDefault($value);
- }
- }
- }
- }
-
- protected function getHelpCommandTarget($command, $input)
- {
- if (($command->getName() != 'help') || (!isset($this->application))) {
- return false;
- }
-
- $this->fixInputForSymfony2($command, $input);
-
- // Symfony Console helpfully swaps 'command_name' and 'command'
- // depending on whether the user entered `help foo` or `--help foo`.
- // One of these is always `help`, and the other is the command we
- // are actually interested in.
- $nameOfCommandToDescribe = $input->getArgument('command_name');
- if ($nameOfCommandToDescribe == 'help') {
- $nameOfCommandToDescribe = $input->getArgument('command');
- }
- return $this->application->find($nameOfCommandToDescribe);
- }
-
- protected function fixInputForSymfony2($command, $input)
- {
- // Symfony 3.x prepares $input for us; Symfony 2.x, on the other
- // hand, passes it in prior to binding with the command definition,
- // so we have to go to a little extra work. It may be inadvisable
- // to do these steps for commands other than 'help'.
- if (!$input->hasArgument('command_name')) {
- $command->ignoreValidationErrors();
- $command->mergeApplicationDefinition();
- $input->bind($command->getDefinition());
- }
- }
-}
diff --git a/vendor/consolidation/config/src/Inject/ConfigForSetters.php b/vendor/consolidation/config/src/Inject/ConfigForSetters.php
deleted file mode 100644
index 5ec870429..000000000
--- a/vendor/consolidation/config/src/Inject/ConfigForSetters.php
+++ /dev/null
@@ -1,47 +0,0 @@
-config = new ConfigMerge($config, $group, $prefix, $postfix);
- }
-
- public function apply($object, $configurationKey)
- {
- $settings = $this->config->get($configurationKey);
- foreach ($settings as $setterMethod => $args) {
- $fn = [$object, $setterMethod];
- if (is_callable($fn)) {
- $result = call_user_func_array($fn, (array)$args);
-
- // We require that $fn must only be used with setter methods.
- // Setter methods are required to always return $this so that
- // they may be chained. We will therefore throw an exception
- // for any setter that returns something else.
- if ($result != $object) {
- $methodDescription = get_class($object) . "::$setterMethod";
- $propertyDescription = $this->config->describe($configurationKey);
- throw new \Exception("$methodDescription did not return '\$this' when processing $propertyDescription.");
- }
- }
- }
- }
-}
diff --git a/vendor/consolidation/config/src/Loader/ConfigLoader.php b/vendor/consolidation/config/src/Loader/ConfigLoader.php
deleted file mode 100644
index ecc6f64f2..000000000
--- a/vendor/consolidation/config/src/Loader/ConfigLoader.php
+++ /dev/null
@@ -1,35 +0,0 @@
-source;
- }
-
- protected function setSourceName($source)
- {
- $this->source = $source;
- return $this;
- }
-
- public function export()
- {
- return $this->config;
- }
-
- public function keys()
- {
- return array_keys($this->config);
- }
-
- abstract public function load($path);
-}
diff --git a/vendor/consolidation/config/src/Loader/ConfigLoaderInterface.php b/vendor/consolidation/config/src/Loader/ConfigLoaderInterface.php
deleted file mode 100644
index 9b155c1b9..000000000
--- a/vendor/consolidation/config/src/Loader/ConfigLoaderInterface.php
+++ /dev/null
@@ -1,29 +0,0 @@
-expander = $expander ?: new Expander();
- }
-
- /**
- * By default, string config items always REPLACE, not MERGE when added
- * from different sources. This method will allow applications to alter
- * this behavior for specific items so that strings from multiple sources
- * will be merged together into an array instead.
- */
- public function useMergeStrategyForKeys($itemName)
- {
- if (is_array($itemName)) {
- $this->nameOfItemsToMerge = array_merge($this->nameOfItemsToMerge, $itemName);
- return $this;
- }
- $this->nameOfItemsToMerge[] = $itemName;
- return $this;
- }
-
- /**
- * Extend the configuration to be processed with the
- * configuration provided by the specified loader.
- *
- * @param ConfigLoaderInterface $loader
- */
- public function extend(ConfigLoaderInterface $loader)
- {
- return $this->addFromSource($loader->export(), $loader->getSourceName());
- }
-
- /**
- * Extend the configuration to be processed with
- * the provided nested array.
- *
- * @param array $data
- */
- public function add($data)
- {
- $this->unprocessedConfig[] = $data;
- return $this;
- }
-
- /**
- * Extend the configuration to be processed with
- * the provided nested array. Also record the name
- * of the data source, if applicable.
- *
- * @param array $data
- * @param string $source
- */
- protected function addFromSource($data, $source = '')
- {
- if (empty($source)) {
- return $this->add($data);
- }
- $this->unprocessedConfig[$source] = $data;
- return $this;
- }
-
- /**
- * Process all of the configuration that has been collected,
- * and return a nested array.
- *
- * @return array
- */
- public function export($referenceArray = [])
- {
- if (!empty($this->unprocessedConfig)) {
- $this->processedConfig = $this->process(
- $this->processedConfig,
- $this->fetchUnprocessed(),
- $referenceArray
- );
- }
- return $this->processedConfig;
- }
-
- /**
- * To aid in debugging: return the source of each configuration item.
- * n.b. Must call this function *before* export and save the result
- * if persistence is desired.
- */
- public function sources()
- {
- $sources = [];
- foreach ($this->unprocessedConfig as $sourceName => $config) {
- if (!empty($sourceName)) {
- $configSources = ArrayUtil::fillRecursive($config, $sourceName);
- $sources = ArrayUtil::mergeRecursiveDistinct($sources, $configSources);
- }
- }
- return $sources;
- }
-
- /**
- * Get the configuration to be processed, and clear out the
- * 'unprocessed' list.
- *
- * @return array
- */
- protected function fetchUnprocessed()
- {
- $toBeProcessed = $this->unprocessedConfig;
- $this->unprocessedConfig = [];
- return $toBeProcessed;
- }
-
- /**
- * Use a map-reduce to evaluate the items to be processed,
- * and merge them into the processed array.
- *
- * @param array $processed
- * @param array $toBeProcessed
- * @return array
- */
- protected function process(array $processed, array $toBeProcessed, $referenceArray = [])
- {
- $toBeReduced = array_map([$this, 'preprocess'], $toBeProcessed);
- $reduced = array_reduce($toBeReduced, [$this, 'reduceOne'], $processed);
- return $this->evaluate($reduced, $referenceArray);
- }
-
- /**
- * Process a single configuration file from the 'to be processed'
- * list. By default this is a no-op. Override this method to
- * provide any desired configuration preprocessing, e.g. dot-notation
- * expansion of the configuration keys, etc.
- *
- * @param array $config
- * @return array
- */
- protected function preprocess(array $config)
- {
- return $config;
- }
-
- /**
- * Evaluate one item in the 'to be evaluated' list, and then
- * merge it into the processed configuration (the 'carry').
- *
- * @param array $processed
- * @param array $config
- * @return array
- */
- protected function reduceOne(array $processed, array $config)
- {
- return ArrayUtil::mergeRecursiveSelect($processed, $config, $this->nameOfItemsToMerge);
- }
-
- /**
- * Evaluate one configuration item.
- *
- * @param array $processed
- * @param array $config
- * @return array
- */
- protected function evaluate(array $config, $referenceArray = [])
- {
- return $this->expander->expandArrayProperties(
- $config,
- $referenceArray
- );
- }
-}
diff --git a/vendor/consolidation/config/src/Loader/YamlConfigLoader.php b/vendor/consolidation/config/src/Loader/YamlConfigLoader.php
deleted file mode 100644
index 457056627..000000000
--- a/vendor/consolidation/config/src/Loader/YamlConfigLoader.php
+++ /dev/null
@@ -1,26 +0,0 @@
-setSourceName($path);
-
- // We silently skip any nonexistent config files, so that
- // clients may simply `load` all of their candidates.
- if (!file_exists($path)) {
- $this->config = [];
- return $this;
- }
- $this->config = (array) Yaml::parse(file_get_contents($path));
- return $this;
- }
-}
diff --git a/vendor/consolidation/config/src/Util/ArrayUtil.php b/vendor/consolidation/config/src/Util/ArrayUtil.php
deleted file mode 100644
index d5748a7a2..000000000
--- a/vendor/consolidation/config/src/Util/ArrayUtil.php
+++ /dev/null
@@ -1,122 +0,0 @@
- &$value) {
- $merged[$key] = self::mergeRecursiveValue($merged, $key, $value);
- }
- return $merged;
- }
-
- /**
- * Process the value in an mergeRecursiveDistinct - make a recursive
- * call if needed.
- */
- protected static function mergeRecursiveValue(&$merged, $key, $value)
- {
- if (is_array($value) && isset($merged[$key]) && is_array($merged[$key])) {
- return self::mergeRecursiveDistinct($merged[$key], $value);
- }
- return $value;
- }
-
-
- /**
- * Merges arrays recursively while preserving.
- *
- * @param array $array1
- * @param array $array2
- *
- * @return array
- *
- * @see http://php.net/manual/en/function.array-merge-recursive.php#92195
- * @see https://github.com/grasmash/bolt/blob/robo-rebase/src/Robo/Common/ArrayManipulator.php#L22
- */
- public static function mergeRecursiveSelect(
- array &$array1,
- array &$array2,
- array $selectionList,
- $keyPrefix = ''
- ) {
- $merged = $array1;
- foreach ($array2 as $key => &$value) {
- $merged[$key] = self::mergeRecursiveSelectValue($merged, $key, $value, $selectionList, $keyPrefix);
- }
- return $merged;
- }
-
- /**
- * Process the value in an mergeRecursiveDistinct - make a recursive
- * call if needed.
- */
- protected static function mergeRecursiveSelectValue(&$merged, $key, $value, $selectionList, $keyPrefix)
- {
- if (is_array($value) && isset($merged[$key]) && is_array($merged[$key])) {
- if (self::selectMerge($keyPrefix, $key, $selectionList)) {
- return array_merge_recursive($merged[$key], $value);
- } else {
- return self::mergeRecursiveSelect($merged[$key], $value, $selectionList, "${keyPrefix}${key}.");
- }
- }
- return $value;
- }
-
- protected static function selectMerge($keyPrefix, $key, $selectionList)
- {
- return in_array("${keyPrefix}${key}", $selectionList);
- }
-
-
- /**
- * Fills all of the leaf-node values of a nested array with the
- * provided replacement value.
- */
- public static function fillRecursive(array $data, $fill)
- {
- $result = [];
- foreach ($data as $key => $value) {
- $result[$key] = $fill;
- if (self::isAssociative($value)) {
- $result[$key] = self::fillRecursive($value, $fill);
- }
- }
- return $result;
- }
-
- /**
- * Return true if the provided parameter is an array, and at least
- * one key is non-numeric.
- */
- public static function isAssociative($testArray)
- {
- if (!is_array($testArray)) {
- return false;
- }
- foreach (array_keys($testArray) as $key) {
- if (!is_numeric($key)) {
- return true;
- }
- }
- return false;
- }
-}
diff --git a/vendor/consolidation/config/src/Util/ConfigFallback.php b/vendor/consolidation/config/src/Util/ConfigFallback.php
deleted file mode 100644
index 9f9972f60..000000000
--- a/vendor/consolidation/config/src/Util/ConfigFallback.php
+++ /dev/null
@@ -1,51 +0,0 @@
-getWithFallback($key, $this->group, $this->prefix, $this->postfix);
- }
-
- /**
- * Fetch an option value from a given key, or, if that specific key does
- * not contain a value, then consult various fallback options until a
- * value is found.
- *
- */
- protected function getWithFallback($key, $group, $prefix = '', $postfix = '.')
- {
- $configKey = "{$prefix}{$group}${postfix}{$key}";
- if ($this->config->has($configKey)) {
- return $this->config->get($configKey);
- }
- if ($this->config->hasDefault($configKey)) {
- return $this->config->getDefault($configKey);
- }
- $moreGeneralGroupname = $this->moreGeneralGroupName($group);
- if ($moreGeneralGroupname) {
- return $this->getWithFallback($key, $moreGeneralGroupname, $prefix, $postfix);
- }
- return null;
- }
-}
diff --git a/vendor/consolidation/config/src/Util/ConfigGroup.php b/vendor/consolidation/config/src/Util/ConfigGroup.php
deleted file mode 100644
index 24b29dd8e..000000000
--- a/vendor/consolidation/config/src/Util/ConfigGroup.php
+++ /dev/null
@@ -1,61 +0,0 @@
-config = $config;
- $this->group = $group;
- $this->prefix = $prefix;
- $this->postfix = $postfix;
- }
-
- /**
- * Return a description of the configuration group (with prefix and postfix).
- */
- public function describe($property)
- {
- return $this->prefix . $this->group . $this->postfix . $property;
- }
-
- /**
- * Get the requested configuration key from the most specific configuration
- * group that contains it.
- */
- abstract public function get($key);
-
- /**
- * Given a group name, such as "foo.bar.baz", return the next configuration
- * group in the fallback hierarchy, e.g. "foo.bar".
- */
- protected function moreGeneralGroupName($group)
- {
- $result = preg_replace('#\.[^.]*$#', '', $group);
- if ($result != $group) {
- return $result;
- }
- return false;
- }
-}
diff --git a/vendor/consolidation/config/src/Util/ConfigInterpolatorInterface.php b/vendor/consolidation/config/src/Util/ConfigInterpolatorInterface.php
deleted file mode 100644
index dd2f88b52..000000000
--- a/vendor/consolidation/config/src/Util/ConfigInterpolatorInterface.php
+++ /dev/null
@@ -1,37 +0,0 @@
-interpolator)) {
- $this->interpolator = new Interpolator();
- }
- return $this->interpolator;
- }
- /**
- * @inheritdoc
- */
- public function interpolate($message, $default = '')
- {
- return $this->getInterpolator()->interpolate($this, $message, $default);
- }
-
- /**
- * @inheritdoc
- */
- public function mustInterpolate($message)
- {
- return $this->getInterpolator()->mustInterpolate($this, $message);
- }
-}
diff --git a/vendor/consolidation/config/src/Util/ConfigMerge.php b/vendor/consolidation/config/src/Util/ConfigMerge.php
deleted file mode 100644
index 65fccf72a..000000000
--- a/vendor/consolidation/config/src/Util/ConfigMerge.php
+++ /dev/null
@@ -1,34 +0,0 @@
-getWithMerge($key, $this->group, $this->prefix, $this->postfix);
- }
-
- /**
- * Merge available configuration from each configuration group.
- */
- public function getWithMerge($key, $group, $prefix = '', $postfix = '.')
- {
- $configKey = "{$prefix}{$group}${postfix}{$key}";
- $result = $this->config->get($configKey, []);
- if (!is_array($result)) {
- throw new \UnexpectedValueException($configKey . ' must be a list of settings to apply.');
- }
- $moreGeneralGroupname = $this->moreGeneralGroupName($group);
- if ($moreGeneralGroupname) {
- $result += $this->getWithMerge($key, $moreGeneralGroupname, $prefix, $postfix);
- }
- return $result;
- }
-}
diff --git a/vendor/consolidation/config/src/Util/ConfigOverlay.php b/vendor/consolidation/config/src/Util/ConfigOverlay.php
deleted file mode 100644
index 2257ef615..000000000
--- a/vendor/consolidation/config/src/Util/ConfigOverlay.php
+++ /dev/null
@@ -1,228 +0,0 @@
-contexts[self::DEFAULT_CONTEXT] = new Config();
- $this->contexts[self::PROCESS_CONTEXT] = new Config();
- }
-
- /**
- * Add a named configuration object to the configuration overlay.
- * Configuration objects added LAST have HIGHEST priority, with the
- * exception of the fact that the process context always has the
- * highest priority.
- *
- * If a context has already been added, its priority will not change.
- */
- public function addContext($name, ConfigInterface $config)
- {
- $process = $this->contexts[self::PROCESS_CONTEXT];
- unset($this->contexts[self::PROCESS_CONTEXT]);
- $this->contexts[$name] = $config;
- $this->contexts[self::PROCESS_CONTEXT] = $process;
-
- return $this;
- }
-
- /**
- * Add a placeholder context that will be prioritized higher than
- * existing contexts. This is done to ensure that contexts added
- * later will maintain a higher priority if the placeholder context
- * is later relaced with a different configuration set via addContext().
- *
- * @param string $name
- * @return $this
- */
- public function addPlaceholder($name)
- {
- return $this->addContext($name, new Config());
- }
-
- /**
- * Increase the priority of the named context such that it is higher
- * in priority than any existing context except for the 'process'
- * context.
- *
- * @param string $name
- * @return $this
- */
- public function increasePriority($name)
- {
- $config = $this->getContext($name);
- unset($this->contexts[$name]);
- return $this->addContext($name, $config);
- }
-
- public function hasContext($name)
- {
- return isset($this->contexts[$name]);
- }
-
- public function getContext($name)
- {
- if ($this->hasContext($name)) {
- return $this->contexts[$name];
- }
- return new Config();
- }
-
- public function removeContext($name)
- {
- unset($this->contexts[$name]);
- }
-
- /**
- * Determine if a non-default config value exists.
- */
- public function findContext($key)
- {
- foreach (array_reverse($this->contexts) as $name => $config) {
- if ($config->has($key)) {
- return $config;
- }
- }
- return false;
- }
-
- /**
- * @inheritdoc
- */
- public function has($key)
- {
- return $this->findContext($key) != false;
- }
-
- /**
- * @inheritdoc
- */
- public function get($key, $default = null)
- {
- if (is_array($default)) {
- return $this->getUnion($key);
- }
- return $this->getSingle($key, $default);
- }
-
- public function getSingle($key, $default = null)
- {
- $context = $this->findContext($key);
- if ($context) {
- return $context->get($key, $default);
- }
- return $default;
- }
-
- public function getUnion($key)
- {
- $result = [];
- foreach (array_reverse($this->contexts) as $name => $config) {
- $item = (array) $config->get($key, []);
- if ($item !== null) {
- $result = array_merge($result, $item);
- }
- }
- return $result;
- }
-
- /**
- * @inheritdoc
- */
- public function set($key, $value)
- {
- $this->contexts[self::PROCESS_CONTEXT]->set($key, $value);
- return $this;
- }
-
- /**
- * @inheritdoc
- */
- public function import($data)
- {
- $this->unsupported(__FUNCTION__);
- }
-
- /**
- * @inheritdoc
- */
- public function replace($data)
- {
- $this->unsupported(__FUNCTION__);
- }
-
- /**
- * @inheritdoc
- */
- public function combine($data)
- {
- $this->unsupported(__FUNCTION__);
- }
-
- /**
- * @inheritdoc
- */
- protected function unsupported($fn)
- {
- throw new \Exception("The method '$fn' is not supported for the ConfigOverlay class.");
- }
-
- /**
- * @inheritdoc
- */
- public function export()
- {
- $export = [];
- foreach ($this->contexts as $name => $config) {
- $exportToMerge = $config->export();
- $export = \array_replace_recursive($export, $exportToMerge);
- }
- return $export;
- }
-
- /**
- * @inheritdoc
- */
- public function hasDefault($key)
- {
- return $this->contexts[self::DEFAULT_CONTEXT]->has($key);
- }
-
- /**
- * @inheritdoc
- */
- public function getDefault($key, $default = null)
- {
- return $this->contexts[self::DEFAULT_CONTEXT]->get($key, $default);
- }
-
- /**
- * @inheritdoc
- */
- public function setDefault($key, $value)
- {
- $this->contexts[self::DEFAULT_CONTEXT]->set($key, $value);
- return $this;
- }
-}
diff --git a/vendor/consolidation/config/src/Util/EnvConfig.php b/vendor/consolidation/config/src/Util/EnvConfig.php
deleted file mode 100644
index 05f8d2a82..000000000
--- a/vendor/consolidation/config/src/Util/EnvConfig.php
+++ /dev/null
@@ -1,96 +0,0 @@
-prefix = strtoupper(rtrim($prefix, '_')) . '_';
- }
-
- /**
- * @inheritdoc
- */
- public function has($key)
- {
- return $this->get($key) !== null;
- }
-
- /**
- * @inheritdoc
- */
- public function get($key, $defaultFallback = null)
- {
- $envKey = $this->prefix . strtoupper(strtr($key, '.-', '__'));
- $envKey = str_replace($this->prefix . $this->prefix, $this->prefix, $envKey);
- return getenv($envKey) ?: $defaultFallback;
- }
-
- /**
- * @inheritdoc
- */
- public function set($key, $value)
- {
- throw new \Exception('Cannot call "set" on environmental configuration.');
- }
-
- /**
- * @inheritdoc
- */
- public function import($data)
- {
- // no-op
- }
-
- /**
- * @inheritdoc
- */
- public function export()
- {
- return [];
- }
-
- /**
- * @inheritdoc
- */
- public function hasDefault($key)
- {
- return false;
- }
-
- /**
- * @inheritdoc
- */
- public function getDefault($key, $defaultFallback = null)
- {
- return $defaultFallback;
- }
-
- /**
- * @inheritdoc
- */
- public function setDefault($key, $value)
- {
- throw new \Exception('Cannot call "setDefault" on environmental configuration.');
- }
-}
diff --git a/vendor/consolidation/config/src/Util/Interpolator.php b/vendor/consolidation/config/src/Util/Interpolator.php
deleted file mode 100644
index 38ce45257..000000000
--- a/vendor/consolidation/config/src/Util/Interpolator.php
+++ /dev/null
@@ -1,97 +0,0 @@
-replacements($data, $message, $default);
- return strtr($message, $replacements);
- }
-
- /**
- * @inheritdoc
- */
- public function mustInterpolate($data, $message)
- {
- $result = $this->interpolate($data, $message, false);
- $tokens = $this->findTokens($result);
- if (!empty($tokens)) {
- throw new \Exception('The following required keys were not found in configuration: ' . implode(',', $tokens));
- }
- return $result;
- }
-
- /**
- * findTokens finds all of the tokens in the provided message
- *
- * @param string $message String with tokens
- * @return string[] map of token to key, e.g. {{key}} => key
- */
- public function findTokens($message)
- {
- if (!preg_match_all('#{{([a-zA-Z0-9._-]+)}}#', $message, $matches, PREG_SET_ORDER)) {
- return [];
- }
- $tokens = [];
- foreach ($matches as $matchSet) {
- list($sourceText, $key) = $matchSet;
- $tokens[$sourceText] = $key;
- }
- return $tokens;
- }
-
- /**
- * Replacements looks up all of the replacements in the configuration
- * object, given the token keys from the provided message. Keys that
- * do not exist in the configuration are replaced with the default value.
- */
- public function replacements($data, $message, $default = '')
- {
- $tokens = $this->findTokens($message);
-
- $replacements = [];
- foreach ($tokens as $sourceText => $key) {
- $replacementText = $this->get($data, $key, $default);
- if ($replacementText !== false) {
- $replacements[$sourceText] = $replacementText;
- }
- }
- return $replacements;
- }
-
- protected function get($data, $key, $default)
- {
- if (is_array($data)) {
- return array_key_exists($key, $data) ? $data[$key] : $default;
- }
- if ($data instanceof ConfigInterface) {
- return $data->get($key, $default);
- }
- throw new \Exception('Bad data type provided to Interpolator');
- }
-}
diff --git a/vendor/consolidation/log/.editorconfig b/vendor/consolidation/log/.editorconfig
deleted file mode 100644
index 095771e67..000000000
--- a/vendor/consolidation/log/.editorconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is for unifying the coding style for different editors and IDEs
-# editorconfig.org
-
-root = true
-
-[*]
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-
-[**.php]
-indent_style = space
-indent_size = 4
-
diff --git a/vendor/consolidation/log/.gitignore b/vendor/consolidation/log/.gitignore
deleted file mode 100644
index 8d609f191..000000000
--- a/vendor/consolidation/log/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-.DS_Store
-vendor
-build
-dependencies/*/vendor
diff --git a/vendor/consolidation/log/.scenarios.lock/install b/vendor/consolidation/log/.scenarios.lock/install
deleted file mode 100755
index 16c69e107..000000000
--- a/vendor/consolidation/log/.scenarios.lock/install
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-
-SCENARIO=$1
-DEPENDENCIES=${2-install}
-
-# Convert the aliases 'highest', 'lowest' and 'lock' to
-# the corresponding composer command to run.
-case $DEPENDENCIES in
- highest)
- DEPENDENCIES=update
- ;;
- lowest)
- DEPENDENCIES='update --prefer-lowest'
- ;;
- lock|default|"")
- DEPENDENCIES=install
- ;;
-esac
-
-original_name=scenarios
-recommended_name=".scenarios.lock"
-
-base="$original_name"
-if [ -d "$recommended_name" ] ; then
- base="$recommended_name"
-fi
-
-# If scenario is not specified, install the lockfile at
-# the root of the project.
-dir="$base/${SCENARIO}"
-if [ -z "$SCENARIO" ] || [ "$SCENARIO" == "default" ] ; then
- SCENARIO=default
- dir=.
-fi
-
-# Test to make sure that the selected scenario exists.
-if [ ! -d "$dir" ] ; then
- echo "Requested scenario '${SCENARIO}' does not exist."
- exit 1
-fi
-
-echo
-echo "::"
-echo ":: Switch to ${SCENARIO} scenario"
-echo "::"
-echo
-
-set -ex
-
-composer -n validate --working-dir=$dir --no-check-all --ansi
-composer -n --working-dir=$dir ${DEPENDENCIES} --prefer-dist --no-scripts
-
-# If called from a CI context, print out some extra information about
-# what we just installed.
-if [[ -n "$CI" ]] ; then
- composer -n --working-dir=$dir info
-fi
diff --git a/vendor/consolidation/log/.scenarios.lock/phpunit4/.gitignore b/vendor/consolidation/log/.scenarios.lock/phpunit4/.gitignore
deleted file mode 100644
index 5657f6ea7..000000000
--- a/vendor/consolidation/log/.scenarios.lock/phpunit4/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-vendor
\ No newline at end of file
diff --git a/vendor/consolidation/log/.scenarios.lock/phpunit4/composer.json b/vendor/consolidation/log/.scenarios.lock/phpunit4/composer.json
deleted file mode 100644
index 36656fdbe..000000000
--- a/vendor/consolidation/log/.scenarios.lock/phpunit4/composer.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "consolidation/log",
- "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload": {
- "psr-4": {
- "Consolidation\\Log\\": "../../src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "../../tests/src"
- }
- },
- "require": {
- "php": ">=5.4.5",
- "psr/log": "^1.0",
- "symfony/console": "^2.8|^3|^4"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36",
- "g1a/composer-test-scenarios": "^3",
- "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"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "config": {
- "platform": {
- "php": "5.4.8"
- },
- "optimize-autoloader": true,
- "sort-packages": true,
- "vendor-dir": "../../vendor"
- }
-}
diff --git a/vendor/consolidation/log/.scenarios.lock/phpunit4/composer.lock b/vendor/consolidation/log/.scenarios.lock/phpunit4/composer.lock
deleted file mode 100644
index 906c62553..000000000
--- a/vendor/consolidation/log/.scenarios.lock/phpunit4/composer.lock
+++ /dev/null
@@ -1,1400 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "97e24b2269f52d961357d35073057c1d",
- "packages": [
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v2.8.49",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12",
- "reference": "cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "symfony/debug": "^2.7.2|~3.0.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/event-dispatcher": "~2.1|~3.0.0",
- "symfony/process": "~2.1|~3.0.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-20T15:55:20+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v2.8.49",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "74251c8d50dd3be7c4ce0c7b862497cdc641a5d0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/74251c8d50dd3be7c4ce0c7b862497cdc641a5d0",
- "reference": "74251c8d50dd3be7c4ce0c7b862497cdc641a5d0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/class-loader": "~2.2|~3.0.0",
- "symfony/http-kernel": "~2.3.24|~2.5.9|^2.6.2|~3.0.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T11:18:13+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T13:07:52+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/224531e20d13a07942a989a70759f726cd2df9a1",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "composer/composer": "^1.7",
- "php-coveralls/php-coveralls": "^1.0",
- "phpunit/phpunit": "^4.8.36|^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "bin": [
- "scripts/dependency-licenses"
- ],
- "type": "composer-plugin",
- "extra": {
- "class": "ComposerTestScenarios\\Plugin",
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "ComposerTestScenarios\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-11-27T05:58:39+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "2.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/e6a969a640b00d8daa3c66518b0405fb41ae0c4b",
- "reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "suggest": {
- "dflydev/markdown": "~1.0",
- "erusev/parsedown": "~1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "phpDocumentor": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "mike.vanriel@naenius.com"
- }
- ],
- "time": "2016-01-25T08:17:30+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.12",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-12-04T08:55:13+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.36",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-06-21T08:07:12+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2018-11-07T22:31:41+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v2.8.49",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "02c1859112aa779d9ab394ae4f3381911d84052b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/02c1859112aa779d9ab394ae4f3381911d84052b",
- "reference": "02c1859112aa779d9ab394ae4f3381911d84052b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T11:18:13+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4.5"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "5.4.8"
- }
-}
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony2/.gitignore b/vendor/consolidation/log/.scenarios.lock/symfony2/.gitignore
deleted file mode 100644
index 5657f6ea7..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony2/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-vendor
\ No newline at end of file
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony2/composer.json b/vendor/consolidation/log/.scenarios.lock/symfony2/composer.json
deleted file mode 100644
index 798de23b6..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony2/composer.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "consolidation/log",
- "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload": {
- "psr-4": {
- "Consolidation\\Log\\": "../../src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "../../tests/src"
- }
- },
- "require": {
- "symfony/console": "^2.8",
- "php": ">=5.4.5",
- "psr/log": "^1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36",
- "g1a/composer-test-scenarios": "^3",
- "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"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "config": {
- "platform": {
- "php": "5.4.8"
- },
- "optimize-autoloader": true,
- "sort-packages": true,
- "vendor-dir": "../../vendor"
- }
-}
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony2/composer.lock b/vendor/consolidation/log/.scenarios.lock/symfony2/composer.lock
deleted file mode 100644
index 2880c8434..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony2/composer.lock
+++ /dev/null
@@ -1,1400 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "37f310dc1c6bdc40e1048349aef71467",
- "packages": [
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v2.8.49",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12",
- "reference": "cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "symfony/debug": "^2.7.2|~3.0.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/event-dispatcher": "~2.1|~3.0.0",
- "symfony/process": "~2.1|~3.0.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-20T15:55:20+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v2.8.49",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "74251c8d50dd3be7c4ce0c7b862497cdc641a5d0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/74251c8d50dd3be7c4ce0c7b862497cdc641a5d0",
- "reference": "74251c8d50dd3be7c4ce0c7b862497cdc641a5d0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/class-loader": "~2.2|~3.0.0",
- "symfony/http-kernel": "~2.3.24|~2.5.9|^2.6.2|~3.0.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T11:18:13+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T13:07:52+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/224531e20d13a07942a989a70759f726cd2df9a1",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "composer/composer": "^1.7",
- "php-coveralls/php-coveralls": "^1.0",
- "phpunit/phpunit": "^4.8.36|^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "bin": [
- "scripts/dependency-licenses"
- ],
- "type": "composer-plugin",
- "extra": {
- "class": "ComposerTestScenarios\\Plugin",
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "ComposerTestScenarios\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-11-27T05:58:39+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "2.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/e6a969a640b00d8daa3c66518b0405fb41ae0c4b",
- "reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "suggest": {
- "dflydev/markdown": "~1.0",
- "erusev/parsedown": "~1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "phpDocumentor": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "mike.vanriel@naenius.com"
- }
- ],
- "time": "2016-01-25T08:17:30+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.12",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-12-04T08:55:13+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.36",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-06-21T08:07:12+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2018-11-07T22:31:41+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v2.8.49",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "02c1859112aa779d9ab394ae4f3381911d84052b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/02c1859112aa779d9ab394ae4f3381911d84052b",
- "reference": "02c1859112aa779d9ab394ae4f3381911d84052b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T11:18:13+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4.5"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "5.4.8"
- }
-}
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony2/src b/vendor/consolidation/log/.scenarios.lock/symfony2/src
deleted file mode 120000
index 929cb3dc9..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony2/src
+++ /dev/null
@@ -1 +0,0 @@
-../../src
\ No newline at end of file
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony2/tests b/vendor/consolidation/log/.scenarios.lock/symfony2/tests
deleted file mode 120000
index c2ebfe530..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony2/tests
+++ /dev/null
@@ -1 +0,0 @@
-../../tests
\ No newline at end of file
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony4/.gitignore b/vendor/consolidation/log/.scenarios.lock/symfony4/.gitignore
deleted file mode 100644
index 5657f6ea7..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony4/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-vendor
\ No newline at end of file
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony4/composer.json b/vendor/consolidation/log/.scenarios.lock/symfony4/composer.json
deleted file mode 100644
index aaa666985..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony4/composer.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "name": "consolidation/log",
- "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload": {
- "psr-4": {
- "Consolidation\\Log\\": "../../src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "../../tests/src"
- }
- },
- "require": {
- "symfony/console": "^4.0",
- "php": ">=5.4.5",
- "psr/log": "^1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6",
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^1",
- "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"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- },
- "optimize-autoloader": true,
- "sort-packages": true,
- "vendor-dir": "../../vendor"
- }
-}
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony4/composer.lock b/vendor/consolidation/log/.scenarios.lock/symfony4/composer.lock
deleted file mode 100644
index 76d663254..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony4/composer.lock
+++ /dev/null
@@ -1,2355 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "5643ded858bacea7c5860071008675f9",
- "packages": [
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "4dff24e5d01e713818805c1862d2e3f901ee7dd0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/4dff24e5d01e713818805c1862d2e3f901ee7dd0",
- "reference": "4dff24e5d01e713818805c1862d2e3f901ee7dd0",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/contracts": "^1.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~3.4|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.4|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-27T07:40:44+00:00"
- },
- {
- "name": "symfony/contracts",
- "version": "v1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/contracts.git",
- "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/contracts/zipball/1aa7ab2429c3d594dd70689604b5cf7421254cdf",
- "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3"
- },
- "require-dev": {
- "psr/cache": "^1.0",
- "psr/container": "^1.0"
- },
- "suggest": {
- "psr/cache": "When using the Cache contracts",
- "psr/container": "When using the Service contracts",
- "symfony/cache-contracts-implementation": "",
- "symfony/service-contracts-implementation": "",
- "symfony/translation-contracts-implementation": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Contracts\\": ""
- },
- "exclude-from-classmap": [
- "**/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "A set of abstractions extracted out of the Symfony components",
- "homepage": "https://symfony.com",
- "keywords": [
- "abstractions",
- "contracts",
- "decoupling",
- "interfaces",
- "interoperability",
- "standards"
- ],
- "time": "2018-12-05T08:06:11+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T13:07:52+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "^6.2.3",
- "squizlabs/php_codesniffer": "^3.0.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2017-07-22T11:58:36+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/224531e20d13a07942a989a70759f726cd2df9a1",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "composer/composer": "^1.7",
- "php-coveralls/php-coveralls": "^1.0",
- "phpunit/phpunit": "^4.8.36|^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "bin": [
- "scripts/dependency-licenses"
- ],
- "type": "composer-plugin",
- "extra": {
- "class": "ComposerTestScenarios\\Plugin",
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "ComposerTestScenarios\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-11-27T05:58:39+00:00"
- },
- {
- "name": "guzzle/guzzle",
- "version": "v3.9.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle3.git",
- "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9",
- "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": "~2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "~1.3",
- "monolog/monolog": "~1.0",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "~1.0",
- "symfony/class-loader": "~2.1",
- "zendframework/zend-cache": "2.*,<2.3",
- "zendframework/zend-log": "2.*,<2.3"
- },
- "suggest": {
- "guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.9-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "abandoned": "guzzlehttp/guzzle",
- "time": "2015-03-18T18:23:50+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "replace": {
- "myclabs/deep-copy": "self.version"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2018-06-11T23:09:50+00:00"
- },
- {
- "name": "phar-io/manifest",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/manifest.git",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-phar": "*",
- "phar-io/version": "^1.0.1",
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2017-03-05T18:14:27+00:00"
- },
- {
- "name": "phar-io/version",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/version.git",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Library for handling version information and constraints",
- "time": "2017-03-05T17:38:23+00:00"
- },
- {
- "name": "php-coveralls/php-coveralls",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzle/guzzle": "^2.8 || ^3.0",
- "php": "^5.3.3 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/coveralls"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "Satooshi\\": "src/Satooshi/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "time": "2017-12-06T23:17:56+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "4.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-30T07:14:17+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "5.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c89677919c5dd6d3b3852f230a663118762218ac",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0",
- "phpunit/php-file-iterator": "^1.4.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^2.0.1",
- "sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^3.0",
- "sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "suggest": {
- "ext-xdebug": "^2.5.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2018-04-06T15:36:58+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "791198a2c6254db10131eecfe8c06670700904db"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db",
- "reference": "791198a2c6254db10131eecfe8c06670700904db",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-11-27T05:48:46+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "6.5.13",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693",
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "^1.6.1",
- "phar-io/manifest": "^1.0.1",
- "phar-io/version": "^1.0",
- "php": "^7.0",
- "phpspec/prophecy": "^1.7",
- "phpunit/php-code-coverage": "^5.3",
- "phpunit/php-file-iterator": "^1.4.3",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^1.0.9",
- "phpunit/phpunit-mock-objects": "^5.0.9",
- "sebastian/comparator": "^2.1",
- "sebastian/diff": "^2.0",
- "sebastian/environment": "^3.1",
- "sebastian/exporter": "^3.1",
- "sebastian/global-state": "^2.0",
- "sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^1.0",
- "sebastian/version": "^2.0.1"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2",
- "phpunit/dbunit": "<3.0"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "^1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.5.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-09-08T15:10:43+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "5.0.10",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.5",
- "php": "^7.0",
- "phpunit/php-text-template": "^1.2.1",
- "sebastian/exporter": "^3.1"
- },
- "conflict": {
- "phpunit/phpunit": "<6.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.5.11"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2018-08-09T05:50:03+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "2.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/diff": "^2.0 || ^3.0",
- "sebastian/exporter": "^3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "https://github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2018-02-01T13:46:46+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-08-03T08:09:46+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2017-07-01T08:51:00+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2017-04-03T13:19:02+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2017-04-27T15:39:26+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
- },
- {
- "name": "sebastian/object-reflector",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Allows reflection of object attributes, including inherited and non-public ones",
- "homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2018-11-07T22:31:41+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "005d9a083d03f588677d15391a716b1ac9b887c0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/005d9a083d03f588677d15391a716b1ac9b887c0",
- "reference": "005d9a083d03f588677d15391a716b1ac9b887c0",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/filesystem": "~3.4|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/finder": "<3.4"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~3.4|~4.0",
- "symfony/finder": "~3.4|~4.0",
- "symfony/yaml": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-30T22:21:14+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v2.8.49",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "a77e974a5fecb4398833b0709210e3d5e334ffb0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a77e974a5fecb4398833b0709210e3d5e334ffb0",
- "reference": "a77e974a5fecb4398833b0709210e3d5e334ffb0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "^2.0.5|~3.0.0",
- "symfony/dependency-injection": "~2.6|~3.0.0",
- "symfony/expression-language": "~2.6|~3.0.0",
- "symfony/stopwatch": "~2.3|~3.0.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-21T14:20:20+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "2f4c8b999b3b7cadb2a69390b01af70886753710"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/2f4c8b999b3b7cadb2a69390b01af70886753710",
- "reference": "2f4c8b999b3b7cadb2a69390b01af70886753710",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:52:12+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "ec076716412274e51f8a7ea675d9515e5c311123"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/ec076716412274e51f8a7ea675d9515e5c311123",
- "reference": "ec076716412274e51f8a7ea675d9515e5c311123",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/contracts": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:52:12+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "c41175c801e3edfda90f32e292619d10c27103d7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/c41175c801e3edfda90f32e292619d10c27103d7",
- "reference": "c41175c801e3edfda90f32e292619d10c27103d7",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:52:12+00:00"
- },
- {
- "name": "theseer/tokenizer",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/theseer/tokenizer.git",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- }
- ],
- "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2017-04-07T12:08:54+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0",
- "symfony/polyfill-ctype": "^1.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-12-25T11:19:39+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4.5"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "7.1.3"
- }
-}
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony4/src b/vendor/consolidation/log/.scenarios.lock/symfony4/src
deleted file mode 120000
index 929cb3dc9..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony4/src
+++ /dev/null
@@ -1 +0,0 @@
-../../src
\ No newline at end of file
diff --git a/vendor/consolidation/log/.scenarios.lock/symfony4/tests b/vendor/consolidation/log/.scenarios.lock/symfony4/tests
deleted file mode 120000
index c2ebfe530..000000000
--- a/vendor/consolidation/log/.scenarios.lock/symfony4/tests
+++ /dev/null
@@ -1 +0,0 @@
-../../tests
\ No newline at end of file
diff --git a/vendor/consolidation/log/.travis.yml b/vendor/consolidation/log/.travis.yml
deleted file mode 100644
index 1459fa5dc..000000000
--- a/vendor/consolidation/log/.travis.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-language: php
-
-branches:
- # Only test the master branch and SemVer tags.
- only:
- - master
- - /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/
-
-matrix:
- include:
- - php: 7.2
- env: 'SCENARIO=symfony4 DEPENDENCIES=highest'
- - php: 7.1
- env: 'SCENARIO=symfony4'
- - php: 7.0
- env: 'DEPENDENCIES=highest'
- - php: 7.0
- - php: 5.6
- env: 'SCENARIO=phpunit4'
- - php: 5.5
- env: 'SCENARIO=phpunit4'
- - php: 5.4
- env: 'SCENARIO=symfony2 DEPENDENCIES=lowest'
-
-sudo: false
-
-cache:
- directories:
- - vendor
- - $HOME/.composer/cache
-
-install:
- - '.scenarios.lock/install "${SCENARIO}" "${DEPENDENCIES}"'
-
-script:
- - composer test
-
-after_success:
- - 'travis_retry php vendor/bin/php-coveralls -v'
diff --git a/vendor/consolidation/log/CHANGELOG.md b/vendor/consolidation/log/CHANGELOG.md
deleted file mode 100644
index f247ace87..000000000
--- a/vendor/consolidation/log/CHANGELOG.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# Change Log
-
-### 1.1.1: 2019-1-1
-
-- Allow logger manager to manage a global style for loggers (#12)
-
-### 1.1.0: 2018-12-29
-
-- Add a logger manager (#11)
-- Update to Composer Test Scenarios 3 (#10)
-
-### 1.0.6: 2018-05-25
-
-- Use g1a/composer-test-scenarios (#9)
-
-### 1.0.5: 2017-11-28
-
-- Test Symfony version 2, 3 and 4 with different versions of php. (#5)
-
-### 1.0.4: 2017-11-18
-
-- Support for Symfony 4 by Tobias Nyholm (#4)
-
-### 1.0.3: 2016-03-23
-
-- Split up the log() method a bit.
-- Run code sniffer prior to running tests to ensure PSR-2 compliance.
-
-### 1.0.2: 2016-03-22
-
-- Remove unused components accidentally left in composer.json.
-
-### 1.0.1: 2016-03-19
-
-- Add a license file.
diff --git a/vendor/consolidation/log/CONTRIBUTING.md b/vendor/consolidation/log/CONTRIBUTING.md
deleted file mode 100644
index 1bbf57361..000000000
--- a/vendor/consolidation/log/CONTRIBUTING.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# Contributing to Consolidation
-
-Thank you for your interest in contributing to the Consolidation effort! Consolidation aims to provide reusable, loosely-coupled components useful for building command-line tools. Consolidation is built on top of Symfony Console, but aims to separate the tool from the implementation details of Symfony.
-
-Here are some of the guidelines you should follow to make the most of your efforts:
-
-## Code Style Guidelines
-
-Consolidation adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code.
-
-## Pull Request Guidelines
-
-Every pull request is run through:
-
- - phpcs -n --standard=PSR2 src
- - phpunit
- - [Scrutinizer](https://scrutinizer-ci.com/g/consolidation-org/log/)
-
-It is easy to run the unit tests and code sniffer locally; simply ensure that `./vendor/bin` is in your `$PATH`, cd to the root of the project directory, and run `phpcs` and `phpunit` as shown above. To automatically fix coding standard errors, run:
-
- - phpcbf --standard=PSR2 src
-
-After submitting a pull request, please examine the Scrutinizer report. It is not required to fix all Scrutinizer issues; you may ignore recommendations that you disagree with. The spacing patches produced by Scrutinizer do not conform to PSR2 standards, and therefore should never be applied. DocBlock patches may be applied at your discression. Things that Scrutinizer identifies as a bug nearly always needs to be addressed.
-
-Pull requests must pass phpcs and phpunit in order to be merged; ideally, new functionality will also include new unit tests.
diff --git a/vendor/consolidation/log/LICENSE b/vendor/consolidation/log/LICENSE
deleted file mode 100644
index dfcef0282..000000000
--- a/vendor/consolidation/log/LICENSE
+++ /dev/null
@@ -1,16 +0,0 @@
-Copyright (c) 2016-2018 Consolidation Org Developers
-
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-DEPENDENCY LICENSES:
-
-Name Version License
-psr/log 1.1.0 MIT
-symfony/console v2.8.49 MIT
-symfony/debug v2.8.49 MIT
-symfony/polyfill-mbstring v1.10.0 MIT
\ No newline at end of file
diff --git a/vendor/consolidation/log/README.md b/vendor/consolidation/log/README.md
deleted file mode 100644
index ecc8cf349..000000000
--- a/vendor/consolidation/log/README.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# Consolidation\Log
-
-Improved [PSR-3](http://www.php-fig.org/psr/psr-3/) [Psr\Log](https://github.com/php-fig/log) logger based on Symfony Console components.
-
-[![Travis CI](https://travis-ci.org/consolidation/log.svg?branch=master)](https://travis-ci.org/consolidation/log) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/consolidation/log/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/consolidation/log/?branch=master) [![Coverage Status](https://coveralls.io/repos/github/consolidation/log/badge.svg?branch=master)](https://coveralls.io/github/consolidation/log?branch=master) [![License](https://poser.pugx.org/consolidation/log/license)](https://packagist.org/packages/consolidation/log)
-
-## Component Status
-
-In use in [Robo](https://github.com/Codegyre/Robo).
-
-## Motivation
-
-Consolidation\Log provides a PSR-3 compatible logger that provides styled log output to the standard error (stderr) stream. By default, styling is provided by the SymfonyStyle class from the Symfony Console component; however, alternative stylers may be provided if desired.
-
-## Usage
-```
-$logger = new \Consolidation\Log\Logger($output);
-$logger->setLogOutputStyler(new LogOutputStyler()); // optional
-$logger->warning('The file {name} does not exist.', ['name' => $filename]);
-```
-String interpolation -- that is, the substitution of replacements, such as `{name}` in the example above, is not required by PSR-3, and is not implemented by default in the Psr\Log project. However, it is recommended by PRS-3, and is often done, e.g. in the Symfony Console logger.
-
-Consolidation\Log supports string interpolation.
-
-A logger manager can be used to delegate all log messages to one or more loggers.
-```
-$logger = new \Consolidation\Log\LoggerManager();
-$logger->add('default', new \Consolidation\Log\Logger($output));
-```
-This is useful if, for example, you need to inject a logger into application objects early (e.g. into a dependency injection container), but the output object to log to will not be available until later.
-
-## Comparison to Existing Solutions
-
-Many Symfony Console compoenents use SymfonyStyle to format their output messages. This helper class has methods named things like `success` and `warning`, making it seem like a natural choice for reporting status.
-
-However, in practice it is much more convenient to use an actual Psr-3 logger for logging. Doing this allows a Symfony Console component to call an external library that may not need to depend on Symfony Style. Having the Psr\Log\LoggerInterface serve as the only shared IO-related interface in common between the console tool and the libraries it depends on promots loose coupling, allowing said libraries to be re-used in other contexts which may wish to log in different ways.
-
-Symfony Console provides the ConsoleLogger to fill this need; however, ConsoleLogger does not provide any facility for styling output, leaving SymfonyStyle as the preferred logging mechanism for style-conscienscious console coders.
-
-Consolidation\Log provides the benefits of both classes, allowing for code that both behaved technically correctly (redirecting to stderr) without sacrificing on style.
-
-Monlog also provides a full-featured Console logger that might be applicable for some use cases.
diff --git a/vendor/consolidation/log/composer.json b/vendor/consolidation/log/composer.json
deleted file mode 100644
index 708e6d97b..000000000
--- a/vendor/consolidation/log/composer.json
+++ /dev/null
@@ -1,100 +0,0 @@
-{
- "name": "consolidation/log",
- "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload":{
- "psr-4":{
- "Consolidation\\Log\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "tests/src"
- }
- },
- "require": {
- "php": ">=5.4.5",
- "psr/log": "^1.0",
- "symfony/console": "^2.8|^3|^4"
- },
- "require-dev": {
- "phpunit/phpunit": "^6",
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^1",
- "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"
- ]
- },
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- },
- "phpunit4": {
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- }
- },
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "config": {
- "optimize-autoloader": true,
- "sort-packages": true,
- "platform": {
- "php": "7.0.8"
- }
- }
-}
diff --git a/vendor/consolidation/log/composer.lock b/vendor/consolidation/log/composer.lock
deleted file mode 100644
index 45b0a32d9..000000000
--- a/vendor/consolidation/log/composer.lock
+++ /dev/null
@@ -1,2340 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "c49e4b63e4960c38c6bf13a0929eff93",
- "packages": [
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "8f80fc39bbc3b7c47ee54ba7aa2653521ace94bb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/8f80fc39bbc3b7c47ee54ba7aa2653521ace94bb",
- "reference": "8f80fc39bbc3b7c47ee54ba7aa2653521ace94bb",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/debug": "~2.8|~3.0|~4.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.3|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-26T12:48:07+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "a2233f555ddf55e5600f386fba7781cea1cb82d3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/a2233f555ddf55e5600f386fba7781cea1cb82d3",
- "reference": "a2233f555ddf55e5600f386fba7781cea1cb82d3",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0|~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-27T12:43:10+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T13:07:52+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/224531e20d13a07942a989a70759f726cd2df9a1",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "composer/composer": "^1.7",
- "php-coveralls/php-coveralls": "^1.0",
- "phpunit/phpunit": "^4.8.36|^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "bin": [
- "scripts/dependency-licenses"
- ],
- "type": "composer-plugin",
- "extra": {
- "class": "ComposerTestScenarios\\Plugin",
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "ComposerTestScenarios\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-11-27T05:58:39+00:00"
- },
- {
- "name": "guzzle/guzzle",
- "version": "v3.9.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle3.git",
- "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9",
- "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": "~2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "~1.3",
- "monolog/monolog": "~1.0",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "~1.0",
- "symfony/class-loader": "~2.1",
- "zendframework/zend-cache": "2.*,<2.3",
- "zendframework/zend-log": "2.*,<2.3"
- },
- "suggest": {
- "guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.9-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "abandoned": "guzzlehttp/guzzle",
- "time": "2015-03-18T18:23:50+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2017-10-19T19:58:43+00:00"
- },
- {
- "name": "phar-io/manifest",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/manifest.git",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-phar": "*",
- "phar-io/version": "^1.0.1",
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2017-03-05T18:14:27+00:00"
- },
- {
- "name": "phar-io/version",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/version.git",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Library for handling version information and constraints",
- "time": "2017-03-05T17:38:23+00:00"
- },
- {
- "name": "php-coveralls/php-coveralls",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzle/guzzle": "^2.8 || ^3.0",
- "php": "^5.3.3 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/coveralls"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "Satooshi\\": "src/Satooshi/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "time": "2017-12-06T23:17:56+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "4.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-30T07:14:17+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "5.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c89677919c5dd6d3b3852f230a663118762218ac",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0",
- "phpunit/php-file-iterator": "^1.4.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^2.0.1",
- "sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^3.0",
- "sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "suggest": {
- "ext-xdebug": "^2.5.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2018-04-06T15:36:58+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "791198a2c6254db10131eecfe8c06670700904db"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db",
- "reference": "791198a2c6254db10131eecfe8c06670700904db",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-11-27T05:48:46+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "6.5.13",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693",
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "^1.6.1",
- "phar-io/manifest": "^1.0.1",
- "phar-io/version": "^1.0",
- "php": "^7.0",
- "phpspec/prophecy": "^1.7",
- "phpunit/php-code-coverage": "^5.3",
- "phpunit/php-file-iterator": "^1.4.3",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^1.0.9",
- "phpunit/phpunit-mock-objects": "^5.0.9",
- "sebastian/comparator": "^2.1",
- "sebastian/diff": "^2.0",
- "sebastian/environment": "^3.1",
- "sebastian/exporter": "^3.1",
- "sebastian/global-state": "^2.0",
- "sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^1.0",
- "sebastian/version": "^2.0.1"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2",
- "phpunit/dbunit": "<3.0"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "^1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.5.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-09-08T15:10:43+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "5.0.10",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.5",
- "php": "^7.0",
- "phpunit/php-text-template": "^1.2.1",
- "sebastian/exporter": "^3.1"
- },
- "conflict": {
- "phpunit/phpunit": "<6.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.5.11"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2018-08-09T05:50:03+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "2.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/diff": "^2.0 || ^3.0",
- "sebastian/exporter": "^3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "https://github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2018-02-01T13:46:46+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-08-03T08:09:46+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2017-07-01T08:51:00+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2017-04-03T13:19:02+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2017-04-27T15:39:26+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
- },
- {
- "name": "sebastian/object-reflector",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Allows reflection of object attributes, including inherited and non-public ones",
- "homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2018-11-07T22:31:41+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "8a660daeb65dedbe0b099529f65e61866c055081"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/8a660daeb65dedbe0b099529f65e61866c055081",
- "reference": "8a660daeb65dedbe0b099529f65e61866c055081",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/filesystem": "~2.8|~3.0|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3",
- "symfony/finder": "<3.3"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/event-dispatcher": "~3.3|~4.0",
- "symfony/finder": "~3.3|~4.0",
- "symfony/yaml": "~3.0|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-26T10:17:44+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v2.8.49",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "a77e974a5fecb4398833b0709210e3d5e334ffb0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a77e974a5fecb4398833b0709210e3d5e334ffb0",
- "reference": "a77e974a5fecb4398833b0709210e3d5e334ffb0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "^2.0.5|~3.0.0",
- "symfony/dependency-injection": "~2.6|~3.0.0",
- "symfony/expression-language": "~2.6|~3.0.0",
- "symfony/stopwatch": "~2.3|~3.0.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-21T14:20:20+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "b49b1ca166bd109900e6a1683d9bb1115727ef2d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/b49b1ca166bd109900e6a1683d9bb1115727ef2d",
- "reference": "b49b1ca166bd109900e6a1683d9bb1115727ef2d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:48:54+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "0f43969ab2718de55c1c1158dce046668079788d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/0f43969ab2718de55c1c1158dce046668079788d",
- "reference": "0f43969ab2718de55c1c1158dce046668079788d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:48:54+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "291e13d808bec481eab83f301f7bff3e699ef603"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/291e13d808bec481eab83f301f7bff3e699ef603",
- "reference": "291e13d808bec481eab83f301f7bff3e699ef603",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:48:54+00:00"
- },
- {
- "name": "theseer/tokenizer",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/theseer/tokenizer.git",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- }
- ],
- "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2017-04-07T12:08:54+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0",
- "symfony/polyfill-ctype": "^1.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-12-25T11:19:39+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4.5"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "7.0.8"
- }
-}
diff --git a/vendor/consolidation/log/phpunit.xml.dist b/vendor/consolidation/log/phpunit.xml.dist
deleted file mode 100644
index 2820535a6..000000000
--- a/vendor/consolidation/log/phpunit.xml.dist
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- tests
-
-
-
-
-
-
-
- src
-
-
-
diff --git a/vendor/consolidation/log/src/ConsoleLogLevel.php b/vendor/consolidation/log/src/ConsoleLogLevel.php
deleted file mode 100644
index 013e9737b..000000000
--- a/vendor/consolidation/log/src/ConsoleLogLevel.php
+++ /dev/null
@@ -1,25 +0,0 @@
-
- */
-class ConsoleLogLevel extends \Psr\Log\LogLevel
-{
- /**
- * Command successfully completed some operation.
- * Displayed at VERBOSITY_NORMAL.
- */
- const SUCCESS = 'success';
-}
diff --git a/vendor/consolidation/log/src/LogOutputStyler.php b/vendor/consolidation/log/src/LogOutputStyler.php
deleted file mode 100644
index 5788215b5..000000000
--- a/vendor/consolidation/log/src/LogOutputStyler.php
+++ /dev/null
@@ -1,115 +0,0 @@
- LogLevel::INFO,
- ];
- protected $labelStyles = [
- LogLevel::EMERGENCY => self::TASK_STYLE_ERROR,
- LogLevel::ALERT => self::TASK_STYLE_ERROR,
- LogLevel::CRITICAL => self::TASK_STYLE_ERROR,
- LogLevel::ERROR => self::TASK_STYLE_ERROR,
- LogLevel::WARNING => self::TASK_STYLE_WARNING,
- LogLevel::NOTICE => self::TASK_STYLE_INFO,
- LogLevel::INFO => self::TASK_STYLE_INFO,
- LogLevel::DEBUG => self::TASK_STYLE_INFO,
- ConsoleLogLevel::SUCCESS => self::TASK_STYLE_SUCCESS,
- ];
- protected $messageStyles = [
- LogLevel::EMERGENCY => self::TASK_STYLE_ERROR,
- LogLevel::ALERT => self::TASK_STYLE_ERROR,
- LogLevel::CRITICAL => self::TASK_STYLE_ERROR,
- LogLevel::ERROR => self::TASK_STYLE_ERROR,
- LogLevel::WARNING => '',
- LogLevel::NOTICE => '',
- LogLevel::INFO => '',
- LogLevel::DEBUG => '',
- ConsoleLogLevel::SUCCESS => '',
- ];
-
- public function __construct($labelStyles = [], $messageStyles = [])
- {
- $this->labelStyles = $labelStyles + $this->labelStyles;
- $this->messageStyles = $messageStyles + $this->messageStyles;
- }
-
- /**
- * {@inheritdoc}
- */
- public function defaultStyles()
- {
- return $this->defaultStyles;
- }
-
- /**
- * {@inheritdoc}
- */
- public function style($context)
- {
- $context += ['_style' => []];
- $context['_style'] += $this->defaultStyles();
- foreach ($context as $key => $value) {
- $styleKey = $key;
- if (!isset($context['_style'][$styleKey])) {
- $styleKey = '*';
- }
- if (is_string($value) && isset($context['_style'][$styleKey])) {
- $style = $context['_style'][$styleKey];
- $context[$key] = $this->wrapFormatString($context[$key], $style);
- }
- }
- return $context;
- }
-
- /**
- * Wrap a string in a format element.
- */
- protected function wrapFormatString($string, $style)
- {
- if ($style) {
- return "<{$style}>$string>";
- }
- return $string;
- }
-
- /**
- * Look up the label and message styles for the specified log level,
- * and use the log level as the label for the log message.
- */
- protected function formatMessageByLevel($level, $message, $context)
- {
- $label = $level;
- return $this->formatMessage($label, $message, $context, $this->labelStyles[$level], $this->messageStyles[$level]);
- }
-
- /**
- * Apply styling with the provided label and message styles.
- */
- protected function formatMessage($label, $message, $context, $labelStyle, $messageStyle = '')
- {
- if (!empty($messageStyle)) {
- $message = $this->wrapFormatString(" $message ", $messageStyle);
- }
- if (!empty($label)) {
- $message = ' ' . $this->wrapFormatString("[$label]", $labelStyle) . ' ' . $message;
- }
-
- return $message;
- }
-}
diff --git a/vendor/consolidation/log/src/LogOutputStylerInterface.php b/vendor/consolidation/log/src/LogOutputStylerInterface.php
deleted file mode 100644
index ff2e420f0..000000000
--- a/vendor/consolidation/log/src/LogOutputStylerInterface.php
+++ /dev/null
@@ -1,105 +0,0 @@
- 'pwd']
- * default styles: ['*' => 'info']
- * result: 'Running pwd>'
- */
- public function defaultStyles();
-
- /**
- * Apply styles specified in the STYLE_CONTEXT_KEY context variable to
- * the other named variables stored in the context. The styles from
- * the context are unioned with the default styles.
- */
- public function style($context);
-
- /**
- * Create a wrapper object for the output stream. If this styler
- * does not require an output wrapper, it should just return
- * its $output parameter.
- */
- public function createOutputWrapper(OutputInterface $output);
-
- /**
- * Print an ordinary log message, usually unstyled.
- */
- public function log($output, $level, $message, $context);
-
- /**
- * Print a success message.
- */
- public function success($output, $level, $message, $context);
-
- /**
- * Print an error message. Used when log level is:
- * - LogLevel::EMERGENCY
- * - LogLevel::ALERT
- * - LogLevel::CRITICAL
- * - LogLevel::ERROR
- */
- public function error($output, $level, $message, $context);
-
- /**
- * Print a warning message. Used when log level is:
- * - LogLevel::WARNING
- */
- public function warning($output, $level, $message, $context);
-
- /**
- * Print a note. Similar to 'text', but may contain additional
- * styling (e.g. the task name). Used when log level is:
- * - LogLevel::NOTICE
- * - LogLevel::INFO
- * - LogLevel::DEBUG
- *
- * IMPORTANT: Symfony loggers only display LogLevel::NOTICE when the
- * the verbosity level is VERBOSITY_VERBOSE, unless overridden in the
- * constructor. Robo\Common\Logger emits LogLevel::NOTICE at
- * VERBOSITY_NORMAL so that these messages will always be displayed.
- */
- public function note($output, $level, $message, $context);
-
- /**
- * Print an error message. Not used by default by StyledConsoleLogger.
- */
- public function caution($output, $level, $message, $context);
-}
diff --git a/vendor/consolidation/log/src/Logger.php b/vendor/consolidation/log/src/Logger.php
deleted file mode 100644
index 9d3cf5aff..000000000
--- a/vendor/consolidation/log/src/Logger.php
+++ /dev/null
@@ -1,268 +0,0 @@
-
- */
-class Logger extends AbstractLogger implements StylableLoggerInterface // extends ConsoleLogger
-{
- /**
- * @var OutputInterface
- */
- protected $output;
- /**
- * @var OutputInterface
- */
- protected $error;
- /**
- * @var LogOutputStylerInterface
- */
- protected $outputStyler;
- /**
- * @var OutputInterface|SymfonyStyle|other
- */
- protected $outputStreamWrapper;
- protected $errorStreamWrapper;
-
- protected $formatFunctionMap = [
- LogLevel::EMERGENCY => 'error',
- LogLevel::ALERT => 'error',
- LogLevel::CRITICAL => 'error',
- LogLevel::ERROR => 'error',
- LogLevel::WARNING => 'warning',
- LogLevel::NOTICE => 'note',
- LogLevel::INFO => 'note',
- LogLevel::DEBUG => 'note',
- ConsoleLogLevel::SUCCESS => 'success',
- ];
-
- /**
- * @param OutputInterface $output
- * @param array $verbosityLevelMap
- * @param array $formatLevelMap
- * @param array $formatFunctionMap
- */
- public function __construct(OutputInterface $output, array $verbosityLevelMap = array(), array $formatLevelMap = array(), array $formatFunctionMap = array())
- {
- $this->output = $output;
-
- $this->verbosityLevelMap = $verbosityLevelMap + $this->verbosityLevelMap;
- $this->formatLevelMap = $formatLevelMap + $this->formatLevelMap;
- $this->formatFunctionMap = $formatFunctionMap + $this->formatFunctionMap;
- }
-
- public function setLogOutputStyler(LogOutputStylerInterface $outputStyler, array $formatFunctionMap = array())
- {
- $this->outputStyler = $outputStyler;
- $this->formatFunctionMap = $formatFunctionMap + $this->formatFunctionMap;
- $this->outputStreamWrapper = null;
- $this->errorStreamWrapper = null;
- }
-
- public function getLogOutputStyler()
- {
- if (!isset($this->outputStyler)) {
- $this->outputStyler = new SymfonyLogOutputStyler();
- }
- return $this->outputStyler;
- }
-
- protected function getOutputStream()
- {
- return $this->output;
- }
-
- protected function getErrorStream()
- {
- if (!isset($this->error)) {
- $output = $this->getOutputStream();
- if ($output instanceof ConsoleOutputInterface) {
- $output = $output->getErrorOutput();
- }
- $this->error = $output;
- }
- return $this->error;
- }
-
- public function setOutputStream($output)
- {
- $this->output = $output;
- $this->outputStreamWrapper = null;
- }
-
- public function setErrorStream($error)
- {
- $this->error = $error;
- $this->errorStreamWrapper = null;
- }
-
- protected function getOutputStreamWrapper()
- {
- if (!isset($this->outputStreamWrapper)) {
- $this->outputStreamWrapper = $this->getLogOutputStyler()->createOutputWrapper($this->getOutputStream());
- }
- return $this->outputStreamWrapper;
- }
-
- protected function getErrorStreamWrapper()
- {
- if (!isset($this->errorStreamWrapper)) {
- $this->errorStreamWrapper = $this->getLogOutputStyler()->createOutputWrapper($this->getErrorStream());
- }
- return $this->errorStreamWrapper;
- }
-
- protected function getOutputStreamForLogLevel($level)
- {
- // Write to the error output if necessary and available.
- // Usually, loggers that log to a terminal should send
- // all log messages to stderr.
- if (array_key_exists($level, $this->formatLevelMap) && ($this->formatLevelMap[$level] !== self::ERROR)) {
- return $this->getOutputStreamWrapper();
- }
- return $this->getErrorStreamWrapper();
- }
-
- /**
- * {@inheritdoc}
- */
- public function log($level, $message, array $context = array())
- {
- // We use the '_level' context variable to allow log messages
- // to be logged at one level (e.g. NOTICE) and formatted at another
- // level (e.g. SUCCESS). This helps in instances where we want
- // to style log messages at a custom log level that might not
- // be available in all loggers. If the logger does not recognize
- // the log level, then it is treated like the original log level.
- if (array_key_exists('_level', $context) && array_key_exists($context['_level'], $this->verbosityLevelMap)) {
- $level = $context['_level'];
- }
- // It is a runtime error if someone logs at a log level that
- // we do not recognize.
- if (!isset($this->verbosityLevelMap[$level])) {
- throw new InvalidArgumentException(sprintf('The log level "%s" does not exist.', $level));
- }
-
- // Write to the error output if necessary and available.
- // Usually, loggers that log to a terminal should send
- // all log messages to stderr.
- $outputStreamWrapper = $this->getOutputStreamForLogLevel($level);
-
- // Ignore messages that are not at the right verbosity level
- if ($this->getOutputStream()->getVerbosity() >= $this->verbosityLevelMap[$level]) {
- $this->doLog($outputStreamWrapper, $level, $message, $context);
- }
- }
-
- /**
- * Interpolate and style the message, and then send it to the log.
- */
- protected function doLog($outputStreamWrapper, $level, $message, $context)
- {
- $formatFunction = 'log';
- if (array_key_exists($level, $this->formatFunctionMap)) {
- $formatFunction = $this->formatFunctionMap[$level];
- }
- $interpolated = $this->interpolate(
- $message,
- $this->getLogOutputStyler()->style($context)
- );
- $this->getLogOutputStyler()->$formatFunction(
- $outputStreamWrapper,
- $level,
- $interpolated,
- $context
- );
- }
-
- public function success($message, array $context = array())
- {
- $this->log(ConsoleLogLevel::SUCCESS, $message, $context);
- }
-
- // The functions below could be eliminated if made `protected` intead
- // of `private` in ConsoleLogger
-
- const INFO = 'info';
- const ERROR = 'error';
-
- /**
- * @var OutputInterface
- */
- //private $output;
- /**
- * @var array
- */
- private $verbosityLevelMap = [
- LogLevel::EMERGENCY => OutputInterface::VERBOSITY_NORMAL,
- LogLevel::ALERT => OutputInterface::VERBOSITY_NORMAL,
- LogLevel::CRITICAL => OutputInterface::VERBOSITY_NORMAL,
- LogLevel::ERROR => OutputInterface::VERBOSITY_NORMAL,
- LogLevel::WARNING => OutputInterface::VERBOSITY_NORMAL,
- LogLevel::NOTICE => OutputInterface::VERBOSITY_VERBOSE,
- LogLevel::INFO => OutputInterface::VERBOSITY_VERY_VERBOSE,
- LogLevel::DEBUG => OutputInterface::VERBOSITY_DEBUG,
- ConsoleLogLevel::SUCCESS => OutputInterface::VERBOSITY_NORMAL,
- ];
-
- /**
- * @var array
- *
- * Send all log messages to stderr. Symfony should have the same default.
- * See: https://en.wikipedia.org/wiki/Standard_streams
- * "Standard error was added to Unix after several wasted phototypesetting runs ended with error messages being typeset instead of displayed on the user's terminal."
- */
- private $formatLevelMap = [
- LogLevel::EMERGENCY => self::ERROR,
- LogLevel::ALERT => self::ERROR,
- LogLevel::CRITICAL => self::ERROR,
- LogLevel::ERROR => self::ERROR,
- LogLevel::WARNING => self::ERROR,
- LogLevel::NOTICE => self::ERROR,
- LogLevel::INFO => self::ERROR,
- LogLevel::DEBUG => self::ERROR,
- ConsoleLogLevel::SUCCESS => self::ERROR,
- ];
-
- /**
- * Interpolates context values into the message placeholders.
- *
- * @author PHP Framework Interoperability Group
- *
- * @param string $message
- * @param array $context
- *
- * @return string
- */
- private function interpolate($message, array $context)
- {
- // build a replacement array with braces around the context keys
- $replace = array();
- foreach ($context as $key => $val) {
- if (!is_array($val) && (!is_object($val) || method_exists($val, '__toString'))) {
- $replace[sprintf('{%s}', $key)] = $val;
- }
- }
-
- // interpolate replacement values into the message and return
- return strtr($message, $replace);
- }
-}
diff --git a/vendor/consolidation/log/src/LoggerManager.php b/vendor/consolidation/log/src/LoggerManager.php
deleted file mode 100644
index 920206430..000000000
--- a/vendor/consolidation/log/src/LoggerManager.php
+++ /dev/null
@@ -1,121 +0,0 @@
-
- */
-class LoggerManager extends AbstractLogger implements StylableLoggerInterface
-{
- /** @var LoggerInterface[] */
- protected $loggers = [];
- /** @var LoggerInterface */
- protected $fallbackLogger = null;
- /** @var LogOutputStylerInterface */
- protected $outputStyler;
- /** @var array */
- protected $formatFunctionMap = [];
-
- /**
- * reset removes all loggers from the manager.
- */
- public function reset()
- {
- $this->loggers = [];
- return $this;
- }
-
- /**
- * setLogOutputStyler will remember a style that
- * should be applied to every stylable logger
- * added to this manager.
- */
- public function setLogOutputStyler(LogOutputStylerInterface $outputStyler, array $formatFunctionMap = array())
- {
- $this->outputStyler = $outputStyler;
- $this->formatFunctionMap = $this->formatFunctionMap;
- }
-
- /**
- * add adds a named logger to the manager,
- * replacing any logger of the same name.
- *
- * @param string $name Name of logger to add
- * @param LoggerInterface $logger Logger to send messages to
- */
- public function add($name, LoggerInterface $logger)
- {
- // If this manager has been given a log style,
- // and the logger being added accepts a log
- // style, then copy our style to the logger
- // being added.
- if ($this->outputStyler && $logger instanceof StylableLoggerInterface) {
- $logger->setLogOutputStyler($this->outputStyler, $this->formatFunctionMap);
- }
- $this->loggers[$name] = $logger;
- return $this;
- }
-
- /**
- * remove a named logger from the manager.
- *
- * @param string $name Name of the logger to remove.
- */
- public function remove($name)
- {
- unset($this->loggers[$name]);
- return $this;
- }
-
- /**
- * fallbackLogger provides a logger that will
- * be used only in instances where someone logs
- * to the logger manager at a time when there
- * are no other loggers registered. If there is
- * no fallback logger, then the log messages
- * are simply dropped.
- *
- * @param LoggerInterface $logger Logger to use as the fallback logger
- */
- public function fallbackLogger(LoggerInterface $logger)
- {
- $this->fallbackLogger = $logger;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function log($level, $message, array $context = array())
- {
- foreach ($this->getLoggers() as $logger) {
- $logger->log($level, $message, $context);
- }
- }
-
- /**
- * Return either the list of registered loggers,
- * or a single-element list containing only the
- * fallback logger.
- */
- protected function getLoggers()
- {
- if (!empty($this->loggers)) {
- return $this->loggers;
- }
- if (isset($this->fallbackLogger)) {
- return [ $this->fallbackLogger ];
- }
- return [];
- }
-}
diff --git a/vendor/consolidation/log/src/StylableLoggerInterface.php b/vendor/consolidation/log/src/StylableLoggerInterface.php
deleted file mode 100644
index 9b872846d..000000000
--- a/vendor/consolidation/log/src/StylableLoggerInterface.php
+++ /dev/null
@@ -1,16 +0,0 @@
-
- */
-interface StylableLoggerInterface
-{
- public function setLogOutputStyler(LogOutputStylerInterface $outputStyler, array $formatFunctionMap = array());
-}
diff --git a/vendor/consolidation/log/src/SymfonyLogOutputStyler.php b/vendor/consolidation/log/src/SymfonyLogOutputStyler.php
deleted file mode 100644
index 12ce49f3f..000000000
--- a/vendor/consolidation/log/src/SymfonyLogOutputStyler.php
+++ /dev/null
@@ -1,65 +0,0 @@
-text($message);
- }
-
- public function success($symfonyStyle, $level, $message, $context)
- {
- $symfonyStyle->success($message);
- }
-
- public function error($symfonyStyle, $level, $message, $context)
- {
- $symfonyStyle->error($message);
- }
-
- public function warning($symfonyStyle, $level, $message, $context)
- {
- $symfonyStyle->warning($message);
- }
-
- public function note($symfonyStyle, $level, $message, $context)
- {
- $symfonyStyle->note($message);
- }
-
- public function caution($symfonyStyle, $level, $message, $context)
- {
- $symfonyStyle->caution($message);
- }
-}
diff --git a/vendor/consolidation/log/src/UnstyledLogOutputStyler.php b/vendor/consolidation/log/src/UnstyledLogOutputStyler.php
deleted file mode 100644
index 6513ce340..000000000
--- a/vendor/consolidation/log/src/UnstyledLogOutputStyler.php
+++ /dev/null
@@ -1,97 +0,0 @@
-writeln($message);
- }
-
- /**
- * {@inheritdoc}
- */
- public function log($output, $level, $message, $context)
- {
- return $this->write($output, $this->formatMessageByLevel($level, $message, $context), $context);
- }
-
- /**
- * {@inheritdoc}
- */
- public function success($output, $level, $message, $context)
- {
- return $this->write($output, $this->formatMessageByLevel($level, $message, $context), $context);
- }
-
- /**
- * {@inheritdoc}
- */
- public function error($output, $level, $message, $context)
- {
- return $this->write($output, $this->formatMessageByLevel($level, $message, $context), $context);
- }
-
- /**
- * {@inheritdoc}
- */
- public function warning($output, $level, $message, $context)
- {
- return $this->write($output, $this->formatMessageByLevel($level, $message, $context), $context);
- }
-
- /**
- * {@inheritdoc}
- */
- public function note($output, $level, $message, $context)
- {
- return $this->write($output, $this->formatMessageByLevel($level, $message, $context), $context);
- }
-
- /**
- * {@inheritdoc}
- */
- public function caution($output, $level, $message, $context)
- {
- return $this->write($output, $this->formatMessageByLevel($level, $message, $context), $context);
- }
-
- /**
- * Look up the label and message styles for the specified log level,
- * and use the log level as the label for the log message.
- */
- protected function formatMessageByLevel($level, $message, $context)
- {
- return " [$level] $message";
- }
-}
diff --git a/vendor/consolidation/log/tests/LogMethodTests.php b/vendor/consolidation/log/tests/LogMethodTests.php
deleted file mode 100644
index 40df315b9..000000000
--- a/vendor/consolidation/log/tests/LogMethodTests.php
+++ /dev/null
@@ -1,55 +0,0 @@
-output = new BufferedOutput();
- $this->output->setVerbosity(OutputInterface::VERBOSITY_DEBUG);
- $this->logger = new Logger($this->output);
- $this->logger->setLogOutputStyler(new UnstyledLogOutputStyler());
- }
-
- function testError() {
- $this->logger->error('Do not enter - wrong way.');
- $outputText = rtrim($this->output->fetch());
- $this->assertEquals(' [error] Do not enter - wrong way.', $outputText);
- }
-
- function testWarning() {
- $this->logger->warning('Steep grade.');
- $outputText = rtrim($this->output->fetch());
- $this->assertEquals(' [warning] Steep grade.', $outputText);
- }
-
- function testNotice() {
- $this->logger->notice('No loitering.');
- $outputText = rtrim($this->output->fetch());
- $this->assertEquals(' [notice] No loitering.', $outputText);
- }
-
- function testInfo() {
- $this->logger->info('Scenic route.');
- $outputText = rtrim($this->output->fetch());
- $this->assertEquals(' [info] Scenic route.', $outputText);
- }
-
- function testDebug() {
- $this->logger->debug('Counter incremented.');
- $outputText = rtrim($this->output->fetch());
- $this->assertEquals(' [debug] Counter incremented.', $outputText);
- }
-
- function testSuccess() {
- $this->logger->success('It worked!');
- $outputText = rtrim($this->output->fetch());
- $this->assertEquals(' [success] It worked!', $outputText);
- }
-}
diff --git a/vendor/consolidation/log/tests/LoggerManagerTests.php b/vendor/consolidation/log/tests/LoggerManagerTests.php
deleted file mode 100644
index fa2efabfe..000000000
--- a/vendor/consolidation/log/tests/LoggerManagerTests.php
+++ /dev/null
@@ -1,69 +0,0 @@
-setVerbosity(OutputInterface::VERBOSITY_DEBUG);
- $fallbackLogger = new Logger($fallbackOutput);
- $fallbackLogger->notice('This is the fallback logger');
-
- $primaryOutput = new BufferedOutput();
- $primaryOutput->setVerbosity(OutputInterface::VERBOSITY_DEBUG);
- $primaryLogger = new Logger($primaryOutput);
- $primaryLogger->notice('This is the primary logger');
-
- $replacementOutput = new BufferedOutput();
- $replacementOutput->setVerbosity(OutputInterface::VERBOSITY_DEBUG);
- $replacementLogger = new Logger($replacementOutput);
- $replacementLogger->notice('This is the replacement logger');
-
- $logger = new LoggerManager();
-
- $logger->notice('Uninitialized logger.');
- $logger->fallbackLogger($fallbackLogger);
- $logger->notice('Logger with fallback.');
- $logger->add('default', $primaryLogger);
- $logger->notice('Primary logger');
- $logger->add('default', $replacementLogger);
- $logger->notice('Replaced logger');
- $logger->reset();
- $logger->notice('Reset loggers');
-
- $fallbackActual = rtrim($fallbackOutput->fetch());
- $primaryActual = rtrim($primaryOutput->fetch());
- $replacementActual = rtrim($replacementOutput->fetch());
-
- $actual = "Fallback:\n====\n$fallbackActual\nPrimary:\n====\n$primaryActual\nReplacement:\n====\n$replacementActual";
-
- $actual = preg_replace('# *$#ms', '', $actual);
- $actual = preg_replace('#^ *$\n#ms', '', $actual);
-
- $expected = <<< __EOT__
-Fallback:
-====
- ! [NOTE] This is the fallback logger
- ! [NOTE] Logger with fallback.
- ! [NOTE] Reset loggers
-Primary:
-====
- ! [NOTE] This is the primary logger
- ! [NOTE] Primary logger
-Replacement:
-====
- ! [NOTE] This is the replacement logger
- ! [NOTE] Replaced logger
-__EOT__;
-
- $this->assertEquals($expected, $actual);
- }
-}
diff --git a/vendor/consolidation/log/tests/LoggerVerbosityAndStyleTests.php b/vendor/consolidation/log/tests/LoggerVerbosityAndStyleTests.php
deleted file mode 100644
index 1a96c2a89..000000000
--- a/vendor/consolidation/log/tests/LoggerVerbosityAndStyleTests.php
+++ /dev/null
@@ -1,165 +0,0 @@
-output = new BufferedOutput();
- //$this->output->setVerbosity(OutputInterface::VERBOSITY_VERY_VERBOSE);
- $this->logger = new Logger($this->output);
- }
-
- public static function logTestValues()
- {
- /**
- * Use TEST_ALL_LOG_LEVELS to ensure that output is the same
- * in instances where the output does not vary by log level.
- */
- $TEST_ALL_LOG_LEVELS = [
- OutputInterface::VERBOSITY_DEBUG,
- OutputInterface::VERBOSITY_VERY_VERBOSE,
- OutputInterface::VERBOSITY_VERBOSE,
- OutputInterface::VERBOSITY_NORMAL
- ];
-
- // Tests that return the same value for multiple inputs
- // may use the expandProviderDataArrays method, and list
- // repeated scalars as array values. All permutations of
- // all array items will be calculated, and one test will
- // be generated for each one.
- return TestDataPermuter::expandProviderDataArrays([
- [
- '\Consolidation\Log\UnstyledLogOutputStyler',
- $TEST_ALL_LOG_LEVELS,
- LogLevel::ERROR,
- 'Do not enter - wrong way.',
- ' [error] Do not enter - wrong way.',
- ],
- [
- '\Consolidation\Log\UnstyledLogOutputStyler',
- $TEST_ALL_LOG_LEVELS,
- LogLevel::WARNING,
- 'Steep grade.',
- ' [warning] Steep grade.',
- ],
- [
- '\Consolidation\Log\UnstyledLogOutputStyler',
- [
- OutputInterface::VERBOSITY_DEBUG,
- OutputInterface::VERBOSITY_VERY_VERBOSE,
- OutputInterface::VERBOSITY_VERBOSE,
- ],
- LogLevel::NOTICE,
- 'No loitering.',
- ' [notice] No loitering.',
- ],
- [
- '\Consolidation\Log\UnstyledLogOutputStyler',
- OutputInterface::VERBOSITY_NORMAL,
- LogLevel::NOTICE,
- 'No loitering.',
- '',
- ],
- [
- '\Consolidation\Log\UnstyledLogOutputStyler',
- OutputInterface::VERBOSITY_DEBUG,
- LogLevel::INFO,
- 'Scenic route.',
- ' [info] Scenic route.',
- ],
- [
- '\Consolidation\Log\UnstyledLogOutputStyler',
- OutputInterface::VERBOSITY_DEBUG,
- LogLevel::DEBUG,
- 'Counter incremented.',
- ' [debug] Counter incremented.',
- ],
- [
- '\Consolidation\Log\UnstyledLogOutputStyler',
- [
- OutputInterface::VERBOSITY_VERY_VERBOSE,
- OutputInterface::VERBOSITY_VERBOSE,
- OutputInterface::VERBOSITY_NORMAL
- ],
- LogLevel::DEBUG,
- 'Counter incremented.',
- '',
- ],
- [
- '\Consolidation\Log\UnstyledLogOutputStyler',
- $TEST_ALL_LOG_LEVELS,
- ConsoleLogLevel::SUCCESS,
- 'It worked!',
- ' [success] It worked!',
- ],
- [
- '\Consolidation\Log\LogOutputStyler',
- OutputInterface::VERBOSITY_NORMAL,
- ConsoleLogLevel::SUCCESS,
- 'It worked!',
- ' [success] It worked!',
- ],
- [
- '\Consolidation\Log\SymfonyLogOutputStyler',
- OutputInterface::VERBOSITY_DEBUG,
- LogLevel::WARNING,
- 'Steep grade.',
- "\n [WARNING] Steep grade.",
- ],
- [
- '\Consolidation\Log\SymfonyLogOutputStyler',
- OutputInterface::VERBOSITY_DEBUG,
- LogLevel::NOTICE,
- 'No loitering.',
- "\n ! [NOTE] No loitering.",
- ],
- [
- '\Consolidation\Log\SymfonyLogOutputStyler',
- OutputInterface::VERBOSITY_DEBUG,
- LogLevel::INFO,
- 'Scenic route.',
- "\n ! [NOTE] Scenic route.",
- ],
- [
- '\Consolidation\Log\SymfonyLogOutputStyler',
- OutputInterface::VERBOSITY_DEBUG,
- LogLevel::DEBUG,
- 'Counter incremented.',
- "\n ! [NOTE] Counter incremented.",
- ],
- [
- '\Consolidation\Log\SymfonyLogOutputStyler',
- OutputInterface::VERBOSITY_NORMAL,
- ConsoleLogLevel::SUCCESS,
- 'It worked!',
- "\n [OK] It worked!",
- ],
- ]);
- }
-
- /**
- * This is our only test method. It accepts all of the
- * permuted data from the data provider, and runs one
- * test on each one.
- *
- * @dataProvider logTestValues
- */
- function testLogging($styleClass, $verbocity, $level, $message, $expected) {
- $logStyler = new $styleClass;
- $this->logger->setLogOutputStyler($logStyler);
- $this->output->setVerbosity($verbocity);
- $this->logger->log($level, $message);
- $outputText = rtrim($this->output->fetch(), "\n\r\t ");
- $this->assertEquals($expected, $outputText);
- }
-}
diff --git a/vendor/consolidation/log/tests/src/TestDataPermuter.php b/vendor/consolidation/log/tests/src/TestDataPermuter.php
deleted file mode 100644
index c44ef53ab..000000000
--- a/vendor/consolidation/log/tests/src/TestDataPermuter.php
+++ /dev/null
@@ -1,81 +0,0 @@
- $values) {
- $tests = static::expandOneValue($tests, $substitute, $values);
- }
- return $tests;
- }
-
- /**
- * Given an array of test data, where each element is
- * data to pass to a unit test, find any element in any
- * one test item whose value is exactly $substitute.
- * Make a new test item for every item in $values, using
- * each as the substitution for $substitute.
- */
- public static function expandOneValue($tests, $substitute, $values)
- {
- $result = [];
-
- foreach($tests as $test) {
- $position = array_search($substitute, $test);
- if ($position === FALSE) {
- $result[] = $test;
- }
- else {
- foreach($values as $replacement) {
- $test[$position] = $replacement;
- $result[] = $test;
- }
- }
- }
-
- return $result;
- }
-}
diff --git a/vendor/consolidation/output-formatters/.editorconfig b/vendor/consolidation/output-formatters/.editorconfig
deleted file mode 100644
index 095771e67..000000000
--- a/vendor/consolidation/output-formatters/.editorconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is for unifying the coding style for different editors and IDEs
-# editorconfig.org
-
-root = true
-
-[*]
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-
-[**.php]
-indent_style = space
-indent_size = 4
-
diff --git a/vendor/consolidation/output-formatters/CHANGELOG.md b/vendor/consolidation/output-formatters/CHANGELOG.md
deleted file mode 100644
index a85f0c9f2..000000000
--- a/vendor/consolidation/output-formatters/CHANGELOG.md
+++ /dev/null
@@ -1,104 +0,0 @@
-# Change Log
-
-### 3.4.0 - 19 October 2018
-
-- Add an UnstucturedInterface marker interface, and update the 'string' format to not accept data types that implement this interface unless they also implement StringTransformationInterface.
-
-### 3.3.2 - 18 October 2018
-
-- Add a 'null' output formatter that accepts all data types and never produces output
-
-### 3.3.0 & 3.3.1 - 15 October 2018
-
-- Add UnstructuredListData and UnstructuredData to replace deprecated ListDataFromKeys
-- Support --field and --fields in commands that return UnstructuredData / UnstructuredListData
-- Support field remapping, e.g. `--fields=original as remapped`
-- Support field addressing, e.g. `--fields=a.b.c`
-- Automatically convert from RowsOfFields to UnstruturedListData and from PropertyList to UnstructuredData when user utilizes field remapping or field addressing features.
-
-### 3.2.1 - 25 May 2018
-
-- Rename g1a/composer-test-scenarios
-
-### 3.2.0 - 20 March 2018
-
-- Add RowsOfFieldsWithMetadata: allows commands to return an object with metadata that shows up in yaml/json (& etc.) formats, but is not shown in table/csv (& etc.).
-- Add NumericCellRenderer: allows commands to attach a renderer that will right-justify and add commas to numbers in a column.
-- Add optional var_dump output format.
-
-### 3.1.13 - 29 November 2017
-
-- Allow XML output for RowsOfFields (#60).
-- Allow Symfony 4 components and add make tests run on three versions of Symfony.
-
-### 3.1.12 - 12 October 2017
-
-- Bugfix: Use InputOption::VALUE_REQUIRED instead of InputOption::VALUE_OPTIONAL
- for injected options such as --format and --fields.
-- Bugfix: Ignore empty properties in the property parser.
-
-### 3.1.11 - 17 August 2017
-
-- Add ListDataFromKeys marker data type.
-
-### 3.1.10 - 6 June 2017
-
-- Typo in CalculateWidths::distributeLongColumns causes failure for some column width distributions
-
-### 3.1.9 - 8 May 2017
-
-- Improve wrapping algorithm
-
-### 3.1.7 - 20 Jan 2017
-
-- Add Windows testing
-
-### 3.1.6 - 8 Jan 2017
-
-- Move victorjonsson/markdowndocs to require-dev
-
-### 3.1.5 - 23 November 2016
-
-- When converting from XML to an array, use the 'id' or 'name' element as the array key value.
-
-### 3.1.4 - 20 November 2016
-
-- Add a 'list delimiter' formatter option, so that we can create a Drush-style table for property lists.
-
-### 3.1.1 ~ 3.1.3 - 18 November 2016
-
-- Fine-tune wordwrapping.
-
-### 3.1.0 - 17 November 2016
-
-- Add wordwrapping to table formatter.
-
-### 3.0.0 - 14 November 2016
-
-- **Breaking** The RenderCellInterface is now provided a reference to the entire row data. Existing clients need only add the new parameter to their method defnition to update.
-- Rename AssociativeList to PropertyList, as many people seemed to find the former name confusing. AssociativeList is still available for use to preserve backwards compatibility, but it is deprecated.
-
-
-### 2.1.0 - 7 November 2016
-
-- Add RenderCellCollections to structured lists, so that commands may add renderers to structured data without defining a new structured data subclass.
-- Throw an exception if the client requests a field that does not exist.
-- Remove unwanted extra layer of nesting when formatting an PropertyList with an array formatter (json, yaml, etc.).
-
-
-### 2.0.0 - 30 September 2016
-
-- **Breaking** The default `string` format now converts non-string results into a tab-separated-value table if possible. Commands may select a single field to emit in this instance with an annotation: `@default-string-field email`. By this means, a given command may by default emit a single value, but also provide more rich output that may be shown by selecting --format=table, --format=yaml or the like. This change might cause some commands to produce output in situations that previously were not documented as producing output.
-- **Breaking** FormatterManager::addFormatter() now takes the format identifier and a FormatterInterface, rather than an identifier and a Formatter classname (string).
-- --field is a synonym for --fields with a single field.
-- Wildcards and regular expressions can now be used in --fields expressions.
-
-
-### 1.1.0 - 14 September 2016
-
-Add tab-separated-value (tsv) formatter.
-
-
-### 1.0.0 - 19 May 2016
-
-First stable release.
diff --git a/vendor/consolidation/output-formatters/CONTRIBUTING.md b/vendor/consolidation/output-formatters/CONTRIBUTING.md
deleted file mode 100644
index 4d843cf74..000000000
--- a/vendor/consolidation/output-formatters/CONTRIBUTING.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Contributing to Consolidation
-
-Thank you for your interest in contributing to the Consolidation effort! Consolidation aims to provide reusable, loosely-coupled components useful for building command-line tools. Consolidation is built on top of Symfony Console, but aims to separate the tool from the implementation details of Symfony.
-
-Here are some of the guidelines you should follow to make the most of your efforts:
-
-## Code Style Guidelines
-
-Consolidation adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code.
-
-## Pull Request Guidelines
-
-Every pull request is run through:
-
- - phpcs -n --standard=PSR2 src
- - phpunit
- - [Scrutinizer](https://scrutinizer-ci.com/g/consolidation/output-formatters/)
-
-It is easy to run the unit tests and code sniffer locally; just run:
-
- - composer cs
-
-To run the code beautifier, which will fix many of the problems reported by phpcs:
-
- - composer cbf
-
-These two commands (`composer cs` and `composer cbf`) are defined in the `scripts` section of [composer.json](composer.json).
-
-After submitting a pull request, please examine the Scrutinizer report. It is not required to fix all Scrutinizer issues; you may ignore recommendations that you disagree with. The spacing patches produced by Scrutinizer do not conform to PSR2 standards, and therefore should never be applied. DocBlock patches may be applied at your discression. Things that Scrutinizer identifies as a bug nearly always need to be addressed.
-
-Pull requests must pass phpcs and phpunit in order to be merged; ideally, new functionality will also include new unit tests.
diff --git a/vendor/consolidation/output-formatters/LICENSE b/vendor/consolidation/output-formatters/LICENSE
deleted file mode 100644
index d2a8e001d..000000000
--- a/vendor/consolidation/output-formatters/LICENSE
+++ /dev/null
@@ -1,18 +0,0 @@
-Copyright (c) 2016-2018 Consolidation Org Developers
-
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-DEPENDENCY LICENSES:
-
-Name Version License
-dflydev/dot-access-data v1.1.0 MIT
-psr/log 1.0.2 MIT
-symfony/console v3.2.3 MIT
-symfony/debug v3.4.17 MIT
-symfony/finder v3.4.17 MIT
-symfony/polyfill-mbstring v1.9.0 MIT
diff --git a/vendor/consolidation/output-formatters/README.md b/vendor/consolidation/output-formatters/README.md
deleted file mode 100644
index a48bafb53..000000000
--- a/vendor/consolidation/output-formatters/README.md
+++ /dev/null
@@ -1,330 +0,0 @@
-# Consolidation\OutputFormatters
-
-Apply transformations to structured data to write output in different formats.
-
-[![Travis CI](https://travis-ci.org/consolidation/output-formatters.svg?branch=master)](https://travis-ci.org/consolidation/output-formatters)
-[![Windows CI](https://ci.appveyor.com/api/projects/status/umyfuujca6d2g2k6?svg=true)](https://ci.appveyor.com/project/greg-1-anderson/output-formatters)
-[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/consolidation/output-formatters/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/consolidation/output-formatters/?branch=master)
-[![Coverage Status](https://coveralls.io/repos/github/consolidation/output-formatters/badge.svg?branch=master)](https://coveralls.io/github/consolidation/output-formatters?branch=master)
-[![License](https://poser.pugx.org/consolidation/output-formatters/license)](https://packagist.org/packages/consolidation/output-formatters)
-
-## Component Status
-
-Currently in use in [Robo](https://github.com/consolidation/Robo) (1.x+), [Drush](https://github.com/drush-ops/drush) (9.x+) and [Terminus](https://github.com/pantheon-systems/terminus) (1.x+).
-
-## Motivation
-
-Formatters are used to allow simple commandline tool commands to be implemented in a manner that is completely independent from the Symfony Console output interfaces. A command receives its input via its method parameters, and returns its result as structured data (e.g. a php standard object or array). The structured data is then formatted by a formatter, and the result is printed.
-
-This process is managed by the [Consolidation/AnnotationCommand](https://github.com/consolidation/annotation-command) project.
-
-## Library Usage
-
-This is a library intended to be used in some other project. Require from your composer.json file:
-```
- "require": {
- "consolidation/output-formatters": "~3"
- },
-```
-If you require the feature that allows a data table to be automatically reduced to a single element when the `string` format is selected, then you should require version ^2 instead. In most other respects, the 1.x and 2.x versions are compatible. See the [CHANGELOG](CHANGELOG.md) for details.
-
-## Example Formatter
-
-Simple formatters are very easy to write.
-```php
-class YamlFormatter implements FormatterInterface
-{
- public function write(OutputInterface $output, $data, FormatterOptions $options)
- {
- $dumper = new Dumper();
- $output->writeln($dumper->dump($data));
- }
-}
-```
-The formatter is passed the set of `$options` that the user provided on the command line. These may optionally be examined to alter the behavior of the formatter, if needed.
-
-Formatters may also implement different interfaces to alter the behavior of the rendering engine.
-
-- `ValidationInterface`: A formatter should implement this interface to test to see if the provided data type can be processed. Any formatter that does **not** implement this interface is presumed to operate exclusively on php arrays. The formatter manager will always convert any provided data into an array before passing it to a formatter that does not implement ValidationInterface. These formatters will not be made available when the returned data type cannot be converted into an array.
-- `OverrideRestructureInterface`: A formatter that implements this interface will be given the option to act on the provided structured data object before it restructures itself. See the section below on structured data for details on data restructuring.
-- `UnstructuredInterface`: A formatter that implements this interface will not be able to be formatted by the `string` formatter by default. Data structures that do not implement this interface will be automatically converted to a string when applicable; if this conversion fails, then no output is produced.
-- `StringTransformationInterface`: Implementing this interface allows a data type to provide a specific implementation for the conversion of the data to a string. Data types that implement both `UnstructuredInterface` and `StringTransformationInterface` may be used with the `string` format.
-
-## Configuring Formats for a Command
-
-Commands declare what type of data they return using a `@return` annotation, as usual:
-```php
- /**
- * Demonstrate formatters. Default format is 'table'.
- *
- * @field-labels
- * first: I
- * second: II
- * third: III
- * @default-string-field second
- * @usage try:formatters --format=yaml
- * @usage try:formatters --format=csv
- * @usage try:formatters --fields=first,third
- * @usage try:formatters --fields=III,II
- *
- * @return \Consolidation\OutputFormatters\StructuredData\RowsOfFields
- */
- public function tryFormatters($somthing = 'default', $options = ['format' => 'table', 'fields' => ''])
- {
- $outputData = [
- 'en' => [ 'first' => 'One', 'second' => 'Two', 'third' => 'Three' ],
- 'de' => [ 'first' => 'Eins', 'second' => 'Zwei', 'third' => 'Drei' ],
- 'jp' => [ 'first' => 'Ichi', 'second' => 'Ni', 'third' => 'San' ],
- 'es' => [ 'first' => 'Uno', 'second' => 'Dos', 'third' => 'Tres' ],
- ];
- return new RowsOfFields($outputData);
- }
-```
-The output-formatters library determines which output formats are applicable to the command by querying all available formats, and selecting any that are able to process the data type that is returned. Thus, if a new format is added to a program, it will automatically be available via any command that it works with. It is not necessary to hand-select the available formats on every command individually.
-
-### Structured Data
-
-Most formatters will operate on any array or ArrayObject data. Some formatters require that specific data types be used. The following data types, all of which are subclasses of ArrayObject, are available for use:
-
-- `RowsOfFields`: Each row contains an associative array of field:value pairs. It is also assumed that the fields of each row are the same for every row. This format is ideal for displaying in a table, with labels in the top row.
-- `RowsOfFieldsWithMetadata`: Equivalent to `RowsOfFields`, but allows for metadata to be attached to the result. The metadata is not displayed in table format, but is evident if the data is converted to another format (e.g. `yaml` or `json`). The table data may either be nested inside of a specially-designated element, with other elements being used as metadata, or, alternately, the metadata may be nested inside of an element, with all other elements being used as data.
-- `PropertyList`: Each row contains a field:value pair. Each field is unique. This format is ideal for displaying in a table, with labels in the first column and values in the second common.
-- `UnstructuredListData`: The result is assumed to be a list of items, with the key of each row being used as the row id. The data elements may contain any sort of array data. The elements on each row do not need to be uniform, and the data may be nested to arbitrary depths.
-- `UnstruturedData`: The result is an unstructured array nested to arbitrary levels.
-- `DOMDocument`: The standard PHP DOM document class may be used by functions that need to be able to presicely specify the exact attributes and children when the XML output format is used.
-- `ListDataFromKeys`: This data structure is deprecated. Use `UnstructuredListData` instead.
-
-Commands that need to produce XML output should return a DOMDocument as its return type. The formatter manager will do its best to convert from an array to a DOMDocument, or from a DOMDocument to an array, as needed. It is important to note that a DOMDocument does not have a 1-to-1 mapping with a PHP array. DOM elements contain both attributes and elements; a simple string property 'foo' may be represented either as or value . Also, there may be multiple XML elements with the same name, whereas php associative arrays must always have unique keys. When converting from an array to a DOM document, the XML formatter will default to representing the string properties of an array as attributes of the element. Sets of elements with the same name may be used only if they are wrapped in a containing parent element--e.g. one two . The XMLSchema class may be used to provide control over whether a property is rendered as an attribute or an element; however, in instances where the schema of the XML output is important, it is best for a function to return its result as a DOMDocument rather than an array.
-
-A function may also define its own structured data type to return, usually by extending one of the types mentioned above. If a custom structured data class implements an appropriate interface, then it can provide its own conversion function to one of the other data types:
-
-- `DomDataInterface`: The data object may produce a DOMDocument via its `getDomData()` method, which will be called in any instance where a DOM document is needed--typically with the xml formatter.
-- `ListDataInterface`: Any structured data object that implements this interface may use the `getListData()` method to produce the data set that will be used with the list formatter.
-- `TableDataInterface`: Any structured data object that implements this interface may use the `getTableData()` method to produce the data set that will be used with the table formatter.
-- `RenderCellInterface`: Structured data can also provide fine-grain control over how each cell in a table is rendered by implementing the RenderCellInterface. See the section below for information on how this is done.
-- `RestructureInterface`: The restructure interface can be implemented by a structured data object to restructure the data in response to options provided by the user. For example, the RowsOfFields and PropertyList data types use this interface to select and reorder the fields that were selected to appear in the output. Custom data types usually will not need to implement this interface, as they can inherit this behavior by extending RowsOfFields or PropertyList.
-
-Additionally, structured data may be simplified to arrays via an array simplification object. To provide an array simplifier, implement `SimplifyToArrayInterface`, and register the simplifier via `FormatterManager::addSimplifier()`.
-
-### Fields
-
-Some commands produce output that contain *fields*. A field may be either the key in a key/value pair, or it may be the label used in tabular output and so on.
-
-#### Declaring Default Fields
-
-If a command declares a very large number of fields, it is possible to display only a subset of the available options by way of the `@default-fields` annotation. The following example comes from Drush:
-```php
- /**
- * @command cache:get
- * @field-labels
- * cid: Cache ID
- * data: Data
- * created: Created
- * expire: Expire
- * tags: Tags
- * checksum: Checksum
- * valid: Valid
- * @default-fields cid,data,created,expire,tags
- * @return \Consolidation\OutputFormatters\StructuredData\PropertyList
- */
- public function get($cid, $bin = 'default', $options = ['format' => 'json'])
- {
- $result = ...
- return new PropertyList($result);
- }
-```
-All of the available fields will be listed in the `help` output for the command, and may be selected by listing the desired fields explicitly via the `--fields` option.
-
-To include all avalable fields, use `--fields=*`.
-
-#### Reordering Fields
-
-Commands that return table structured data with fields can be filtered and/or re-ordered by using the `--fields` option. These structured data types can also be formatted into a more generic type such as yaml or json, even after being filtered. This capabilities are not available if the data is returned in a bare php array. One of `RowsOfFields`, `PropertyList` or `UnstructuredListData` (or similar) must be used.
-
-When the `--fields` option is provided, the user may stipulate the exact fields to list on each row, and what order they should appear in. For example, if a command usually produces output using the `RowsOfFields` data type, as shown below:
-```
-$ ./app try:formatters
- ------ ------ -------
- I II III
- ------ ------ -------
- One Two Three
- Eins Zwei Drei
- Ichi Ni San
- Uno Dos Tres
- ------ ------ -------
-```
-Then the third and first fields may be selected as follows:
-```
- $ ./app try:formatters --fields=III,I
- ------- ------
- III I
- ------- ------
- Three One
- Drei Eins
- San Ichi
- Tres Uno
- ------- ------
-```
-To select a single column and strip away all formatting, use the `--field` option:
-```
-$ ./app try:formatters --field=II
-Two
-Zwei
-Ni
-Dos
-```
-Commands that produce deeply-nested data structures using the `UnstructuredData` and `UnstructuredListData` data type may also be manipulated using the `--fields` and `--field` options. It is possible to address items deep in the heirarchy using dot notation.
-
-The `UnstructuredData` type represents a single nested array with no requirements for uniform structure. The `UnstructuredListData` type is similar; it represents a list of `UnstructuredData` types. It is not required for the different elements in the list to have all of the same fields or structure, although it is expected that there will be a certain degree of similarity.
-
-In the example below, a command returns a list of stores of different kinds. Each store has common top-level elements such as `name`, `products` and `sale-items`. Each store might have different sorts of products with different attributes:
-```
-$ ./app try:nested
-bills-hardware:
- name: 'Bill''s Hardware'
- products:
- tools:
- electric-drill:
- price: '79.98'
- screwdriver:
- price: '8.99'
- sale-items:
- screwdriver: '4.99'
-alberts-supermarket:
- name: 'Albert''s Supermarket'
- products:
- fruits:
- strawberries:
- price: '2'
- units: lbs
- watermellons:
- price: '5'
- units: each
- sale-items:
- watermellons: '4.50'
-```
-Just as is the case with tabular output, it is possible to select only a certain set of fields to display with each output item:
-```
-$ ./app try:nested --fields=sale-items
-bills-hardware:
- sale-items:
- screwdriver: '4.99'
-alberts-supermarket:
- sale-items:
- watermellons: '4.50'
-```
-With unstructured data, it is also possible to remap the name of the field to something else:
-```
-$ ./robo try:nested --fields='sale-items as items'
-bills-hardware:
- items:
- screwdriver: '4.99'
-alberts-supermarket:
- items:
- watermellons: '4.50'
-```
-The field name `.` is special, though: it indicates that the named element should be omitted, and its value or children should be applied directly to the result row:
-```
-$ ./app try:nested --fields='sale-items as .'
-bills-hardware:
- screwdriver: '4.99'
-alberts-supermarket:
- watermellons: '4.50'
-```
-Finally, it is also possible to reach down into nested data structures and pull out information about an element or elements identified using "dot" notation:
-```
-$ ./app try:nested --fields=products.fruits.strawberries
-bills-hardware: { }
-alberts-supermarket:
- strawberries:
- price: '2'
- units: lbs
-```
-Commands that use `RowsOfFields` or `PropertyList` return type will be automatically converted to `UnstructuredListData` or `UnstructuredData`, respectively, whenever any field remapping is done. This will only work for data types such as `yaml` or `json` that can render unstructured data types. It is not possible to render unstructured data in a table, even if the resulting data happens to be uniform.
-
-### Filtering Specific Rows
-
-A command may allow the user to filter specific rows of data using simple boolean logic and/or regular expressions. For details, see the external library [consolidation/filter-via-dot-access-data](https://github.com/consolidation/filter-via-dot-access-data) that provides this capability.
-
-## Rendering Table Cells
-
-By default, both the RowsOfFields and PropertyList data types presume that the contents of each cell is a simple string. To render more complicated cell contents, create a custom structured data class by extending either RowsOfFields or PropertyList, as desired, and implement RenderCellInterface. The `renderCell()` method of your class will then be called for each cell, and you may act on it as appropriate.
-```php
-public function renderCell($key, $cellData, FormatterOptions $options, $rowData)
-{
- // 'my-field' is always an array; convert it to a comma-separated list.
- if ($key == 'my-field') {
- return implode(',', $cellData);
- }
- // MyStructuredCellType has its own render function
- if ($cellData instanceof MyStructuredCellType) {
- return $cellData->myRenderfunction();
- }
- // If we do not recognize the cell data, return it unchnaged.
- return $cellData;
-}
-```
-Note that if your data structure is printed with a formatter other than one such as the table formatter, it will still be reordered per the selected fields, but cell rendering will **not** be done.
-
-The RowsOfFields and PropertyList data types also allow objects that implement RenderCellInterface, as well as anonymous functions to be added directly to the data structure object itself. If this is done, then the renderer will be called for each cell in the table. An example of an attached renderer implemented as an anonymous function is shown below.
-```php
- return (new RowsOfFields($data))->addRendererFunction(
- function ($key, $cellData, FormatterOptions $options, $rowData) {
- if ($key == 'my-field') {
- return implode(',', $cellData);
- }
- return $cellData;
- }
- );
-```
-This project also provides a built-in cell renderer, NumericCellRenderer, that adds commas at the thousands place and right-justifies columns identified as numeric. An example of a numeric renderer attached to two columns of a data set is shown below.
-```php
-use Consolidation\OutputFormatters\StructuredData\NumericCellRenderer;
-...
- return (new RowsOfFields($data))->addRenderer(
- new NumericCellRenderer($data, ['population','cats-per-capita'])
- );
-```
-
-## API Usage
-
-It is recommended to use [Consolidation/AnnotationCommand](https://github.com/consolidation/annotation-command) to manage commands and formatters. See the [AnnotationCommand API Usage](https://github.com/consolidation/annotation-command#api-usage) for details.
-
-The FormatterManager may also be used directly, if desired:
-```php
-/**
- * @param OutputInterface $output Output stream to write to
- * @param string $format Data format to output in
- * @param mixed $structuredOutput Data to output
- * @param FormatterOptions $options Configuration informatin and User options
- */
-function doFormat(
- OutputInterface $output,
- string $format,
- array $data,
- FormatterOptions $options)
-{
- $formatterManager = new FormatterManager();
- $formatterManager->write(output, $format, $data, $options);
-}
-```
-The FormatterOptions class is used to hold the configuration for the command output--things such as the default field list for tabular output, and so on--and also the current user-selected options to use during rendering, which may be provided using a Symfony InputInterface object:
-```
-public function execute(InputInterface $input, OutputInterface $output)
-{
- $options = new FormatterOptions();
- $options
- ->setInput($input)
- ->setFieldLabels(['id' => 'ID', 'one' => 'First', 'two' => 'Second'])
- ->setDefaultStringField('id');
-
- $data = new RowsOfFields($this->getSomeData($input));
- return $this->doFormat($output, $options->getFormat(), $data, $options);
-}
-```
-## Comparison to Existing Solutions
-
-Formatters have been in use in Drush since version 5. Drush allows formatters to be defined using simple classes, some of which may be configured using metadata. Furthermore, nested formatters are also allowed; for example, a list formatter may be given another formatter to use to format each of its rows. Nested formatters also require nested metadata, causing the code that constructed formatters to become very complicated and unweildy.
-
-Consolidation/OutputFormatters maintains the simplicity of use provided by Drush formatters, but abandons nested metadata configuration in favor of using code in the formatter to configure itself, in order to keep the code simpler.
-
diff --git a/vendor/consolidation/output-formatters/composer.json b/vendor/consolidation/output-formatters/composer.json
deleted file mode 100644
index 773df59c6..000000000
--- a/vendor/consolidation/output-formatters/composer.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "name": "consolidation/output-formatters",
- "description": "Format text by applying transformations provided by plug-in formatters.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload":{
- "psr-4":{
- "Consolidation\\OutputFormatters\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\TestUtils\\": "tests/src"
- }
- },
- "require": {
- "php": ">=5.4.0",
- "dflydev/dot-access-data": "^1.1.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "satooshi/php-coveralls": "^2",
- "phpunit/phpunit": "^5.7.27",
- "squizlabs/php_codesniffer": "^2.7",
- "symfony/console": "3.2.3",
- "symfony/var-dumper": "^2.8|^3|^4",
- "victorjonsson/markdowndocs": "^1.3"
- },
- "suggest": {
- "symfony/var-dumper": "For using the var_dump formatter"
- },
- "config": {
- "optimize-autoloader": true,
- "sort-packages": true,
- "platform": {
- "php": "5.6.32"
- }
- },
- "scripts": {
- "api": "phpdoc-md generate src > docs/api.md",
- "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",
- "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' 'phpunit/phpunit:^6' --platform-php '7.1.3'",
- "create-scenario symfony3 'symfony/console:^3.4' 'symfony/finder:^3.4' 'symfony/var-dumper:^3.4' --platform-php '5.6.32'",
- "create-scenario symfony2 'symfony/console:^2.8' 'phpunit/phpunit:^4.8.36' --remove 'satooshi/php-coveralls' --platform-php '5.4' --no-lockfile",
- "dependency-licenses"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- }
-}
diff --git a/vendor/consolidation/output-formatters/composer.lock b/vendor/consolidation/output-formatters/composer.lock
deleted file mode 100644
index d07734208..000000000
--- a/vendor/consolidation/output-formatters/composer.lock
+++ /dev/null
@@ -1,2433 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "5232f66b194c337084b00c3d828a8e62",
- "packages": [
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ],
- "time": "2017-01-20T21:14:22+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "7a8405a9fc175f87fed8a3c40856b0d866d61936"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/7a8405a9fc175f87fed8a3c40856b0d866d61936",
- "reference": "7a8405a9fc175f87fed8a3c40856b0d866d61936",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2017-02-06T12:04:21+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.4.17",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "0a612e9dfbd2ccce03eb174365f31ecdca930ff6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/0a612e9dfbd2ccce03eb174365f31ecdca930ff6",
- "reference": "0a612e9dfbd2ccce03eb174365f31ecdca930ff6",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0|~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-02T16:33:53+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v3.4.17",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/54ba444dddc5bd5708a34bd095ea67c6eb54644d",
- "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-03T08:46:40+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "2.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "a166fd15191aceab89f30c097e694b7cf3db4880"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/a166fd15191aceab89f30c097e694b7cf3db4880",
- "reference": "a166fd15191aceab89f30c097e694b7cf3db4880",
- "shasum": ""
- },
- "bin": [
- "scripts/create-scenario",
- "scripts/dependency-licenses",
- "scripts/install-scenario"
- ],
- "type": "library",
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-08-08T23:37:23+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.3-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2018-04-22T15:46:56+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2017-10-19T19:58:43+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-10T14:09:06+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "4.0.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^5.6 || ^7.0",
- "phpunit/php-file-iterator": "^1.3",
- "phpunit/php-text-template": "^1.2",
- "phpunit/php-token-stream": "^1.4.2 || ^2.0",
- "sebastian/code-unit-reverse-lookup": "^1.0",
- "sebastian/environment": "^1.3.2 || ^2.0",
- "sebastian/version": "^1.0 || ^2.0"
- },
- "require-dev": {
- "ext-xdebug": "^2.1.4",
- "phpunit/phpunit": "^5.7"
- },
- "suggest": {
- "ext-xdebug": "^2.5.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2017-04-02T07:44:40+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.12",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-12-04T08:55:13+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "5.7.27",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "~1.3",
- "php": "^5.6 || ^7.0",
- "phpspec/prophecy": "^1.6.2",
- "phpunit/php-code-coverage": "^4.0.4",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "^3.2",
- "sebastian/comparator": "^1.2.4",
- "sebastian/diff": "^1.4.3",
- "sebastian/environment": "^1.3.4 || ^2.0",
- "sebastian/exporter": "~2.0",
- "sebastian/global-state": "^1.1",
- "sebastian/object-enumerator": "~2.0",
- "sebastian/resource-operations": "~1.0",
- "sebastian/version": "^1.0.6|^2.0.1",
- "symfony/yaml": "~2.1|~3.0|~4.0"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.7.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-02-01T05:50:59+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "3.4.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.6 || ^7.0",
- "phpunit/php-text-template": "^1.2",
- "sebastian/exporter": "^1.2 || ^2.0"
- },
- "conflict": {
- "phpunit/phpunit": "<5.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2017-06-30T09:13:00+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "satooshi/php-coveralls",
- "version": "v2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "3eaf7eb689cdf6b86801a3843940d974dc657068"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/3eaf7eb689cdf6b86801a3843940d974dc657068",
- "reference": "3eaf7eb689cdf6b86801a3843940d974dc657068",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzlehttp/guzzle": "^6.0",
- "php": "^5.5 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/php-coveralls"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "PhpCoveralls\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp",
- "role": "Original creator"
- },
- {
- "name": "Takashi Matsuo",
- "email": "tmatsuo@google.com"
- },
- {
- "name": "Google Inc"
- },
- {
- "name": "Dariusz Ruminski",
- "email": "dariusz.ruminski@gmail.com",
- "homepage": "https://github.com/keradus"
- },
- {
- "name": "Contributors",
- "homepage": "https://github.com/php-coveralls/php-coveralls/graphs/contributors"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "abandoned": "php-coveralls/php-coveralls",
- "time": "2017-12-08T14:28:16+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-11-26T07:53:53+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-11-19T08:54:04+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-02-18T15:18:39+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-11-19T07:33:16+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2017-05-22T02:43:20+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v3.4.17",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "e5389132dc6320682de3643091121c048ff796b3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/e5389132dc6320682de3643091121c048ff796b3",
- "reference": "e5389132dc6320682de3643091121c048ff796b3",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/filesystem": "~2.8|~3.0|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3",
- "symfony/finder": "<3.3"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/event-dispatcher": "~3.3|~4.0",
- "symfony/finder": "~3.3|~4.0",
- "symfony/yaml": "~3.0|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-09-08T13:15:14+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.4.17",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "d69930fc337d767607267d57c20a7403d0a822a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/d69930fc337d767607267d57c20a7403d0a822a4",
- "reference": "d69930fc337d767607267d57c20a7403d0a822a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-02T12:28:39+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v3.4.17",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "05e52a39de52ba690aebaed462b2bc8a9649f0a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/05e52a39de52ba690aebaed462b2bc8a9649f0a4",
- "reference": "05e52a39de52ba690aebaed462b2bc8a9649f0a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-10-02T12:28:39+00:00"
- },
- {
- "name": "symfony/var-dumper",
- "version": "v3.4.17",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/var-dumper.git",
- "reference": "ff8ac19e97e5c7c3979236b584719a1190f84181"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ff8ac19e97e5c7c3979236b584719a1190f84181",
- "reference": "ff8ac19e97e5c7c3979236b584719a1190f84181",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0"
- },
- "require-dev": {
- "ext-iconv": "*",
- "twig/twig": "~1.34|~2.4"
- },
- "suggest": {
- "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
- "ext-intl": "To show region name in time zone dump",
- "ext-symfony_debug": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "files": [
- "Resources/functions/dump.php"
- ],
- "psr-4": {
- "Symfony\\Component\\VarDumper\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony mechanism for exploring and dumping PHP variables",
- "homepage": "https://symfony.com",
- "keywords": [
- "debug",
- "dump"
- ],
- "time": "2018-10-02T16:33:53+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.18",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "af615970e265543a26ee712c958404eb9b7ac93d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/af615970e265543a26ee712c958404eb9b7ac93d",
- "reference": "af615970e265543a26ee712c958404eb9b7ac93d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-01-20T15:04:53+00:00"
- },
- {
- "name": "victorjonsson/markdowndocs",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/victorjonsson/PHP-Markdown-Documentation-Generator.git",
- "reference": "c5eb16ff5bd15ee60223883ddacba0ab8797268d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/victorjonsson/PHP-Markdown-Documentation-Generator/zipball/c5eb16ff5bd15ee60223883ddacba0ab8797268d",
- "reference": "c5eb16ff5bd15ee60223883ddacba0ab8797268d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0",
- "symfony/console": ">=2.6"
- },
- "require-dev": {
- "phpunit/phpunit": "3.7.23"
- },
- "bin": [
- "bin/phpdoc-md"
- ],
- "type": "library",
- "autoload": {
- "psr-0": {
- "PHPDocsMD": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Victor Jonsson",
- "email": "kontakt@victorjonsson.se"
- }
- ],
- "description": "Command line tool for generating markdown-formatted class documentation",
- "homepage": "https://github.com/victorjonsson/PHP-Markdown-Documentation-Generator",
- "time": "2017-04-20T09:52:47+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-01-29T19:49:41+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "5.6.32"
- }
-}
diff --git a/vendor/consolidation/output-formatters/mkdocs.yml b/vendor/consolidation/output-formatters/mkdocs.yml
deleted file mode 100644
index 4f36f2fa9..000000000
--- a/vendor/consolidation/output-formatters/mkdocs.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-site_name: Consolidation Output Formatters docs
-theme: readthedocs
-repo_url: https://github.com/consolidation/output-formatters
-include_search: true
-pages:
-- Home: index.md
-- API: api.md
diff --git a/vendor/consolidation/output-formatters/phpunit.xml.dist b/vendor/consolidation/output-formatters/phpunit.xml.dist
deleted file mode 100644
index 9a90fcecc..000000000
--- a/vendor/consolidation/output-formatters/phpunit.xml.dist
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
- tests
-
-
-
-
-
-
-
-
- src
-
- FormatterInterface.php.php
- OverrideRestructureInterface.php.php
- RestructureInterface.php.php
- ValidationInterface.php
- Formatters/RenderDataInterface.php
- StructuredData/ListDataInterface.php.php
- StructuredData/RenderCellInterface.php.php
- StructuredData/TableDataInterface.php.php
-
-
-
-
diff --git a/vendor/consolidation/output-formatters/src/Exception/AbstractDataFormatException.php b/vendor/consolidation/output-formatters/src/Exception/AbstractDataFormatException.php
deleted file mode 100644
index fa29b1ddd..000000000
--- a/vendor/consolidation/output-formatters/src/Exception/AbstractDataFormatException.php
+++ /dev/null
@@ -1,57 +0,0 @@
-getName() == 'ArrayObject')) {
- return 'an array';
- }
- return 'an instance of ' . $data->getName();
- }
- if (is_string($data)) {
- return 'a string';
- }
- if (is_object($data)) {
- return 'an instance of ' . get_class($data);
- }
- throw new \Exception("Undescribable data error: " . var_export($data, true));
- }
-
- protected static function describeAllowedTypes($allowedTypes)
- {
- if (is_array($allowedTypes) && !empty($allowedTypes)) {
- if (count($allowedTypes) > 1) {
- return static::describeListOfAllowedTypes($allowedTypes);
- }
- $allowedTypes = $allowedTypes[0];
- }
- return static::describeDataType($allowedTypes);
- }
-
- protected static function describeListOfAllowedTypes($allowedTypes)
- {
- $descriptions = [];
- foreach ($allowedTypes as $oneAllowedType) {
- $descriptions[] = static::describeDataType($oneAllowedType);
- }
- if (count($descriptions) == 2) {
- return "either {$descriptions[0]} or {$descriptions[1]}";
- }
- $lastDescription = array_pop($descriptions);
- $otherDescriptions = implode(', ', $descriptions);
- return "one of $otherDescriptions or $lastDescription";
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Exception/IncompatibleDataException.php b/vendor/consolidation/output-formatters/src/Exception/IncompatibleDataException.php
deleted file mode 100644
index ca13a65f4..000000000
--- a/vendor/consolidation/output-formatters/src/Exception/IncompatibleDataException.php
+++ /dev/null
@@ -1,19 +0,0 @@
- '\Consolidation\OutputFormatters\Formatters\NoOutputFormatter',
- 'string' => '\Consolidation\OutputFormatters\Formatters\StringFormatter',
- 'yaml' => '\Consolidation\OutputFormatters\Formatters\YamlFormatter',
- 'xml' => '\Consolidation\OutputFormatters\Formatters\XmlFormatter',
- 'json' => '\Consolidation\OutputFormatters\Formatters\JsonFormatter',
- 'print-r' => '\Consolidation\OutputFormatters\Formatters\PrintRFormatter',
- 'php' => '\Consolidation\OutputFormatters\Formatters\SerializeFormatter',
- 'var_export' => '\Consolidation\OutputFormatters\Formatters\VarExportFormatter',
- 'list' => '\Consolidation\OutputFormatters\Formatters\ListFormatter',
- 'csv' => '\Consolidation\OutputFormatters\Formatters\CsvFormatter',
- 'tsv' => '\Consolidation\OutputFormatters\Formatters\TsvFormatter',
- 'table' => '\Consolidation\OutputFormatters\Formatters\TableFormatter',
- 'sections' => '\Consolidation\OutputFormatters\Formatters\SectionsFormatter',
- ];
- if (class_exists('Symfony\Component\VarDumper\Dumper\CliDumper')) {
- $defaultFormatters['var_dump'] = '\Consolidation\OutputFormatters\Formatters\VarDumpFormatter';
- }
- foreach ($defaultFormatters as $id => $formatterClassname) {
- $formatter = new $formatterClassname;
- $this->addFormatter($id, $formatter);
- }
- $this->addFormatter('', $this->formatters['string']);
- }
-
- public function addDefaultSimplifiers()
- {
- // Add our default array simplifier (DOMDocument to array)
- $this->addSimplifier(new DomToArraySimplifier());
- }
-
- /**
- * Add a formatter
- *
- * @param string $key the identifier of the formatter to add
- * @param string $formatter the class name of the formatter to add
- * @return FormatterManager
- */
- public function addFormatter($key, FormatterInterface $formatter)
- {
- $this->formatters[$key] = $formatter;
- return $this;
- }
-
- /**
- * Add a simplifier
- *
- * @param SimplifyToArrayInterface $simplifier the array simplifier to add
- * @return FormatterManager
- */
- public function addSimplifier(SimplifyToArrayInterface $simplifier)
- {
- $this->arraySimplifiers[] = $simplifier;
- return $this;
- }
-
- /**
- * Return a set of InputOption based on the annotations of a command.
- * @param FormatterOptions $options
- * @return InputOption[]
- */
- public function automaticOptions(FormatterOptions $options, $dataType)
- {
- $automaticOptions = [];
-
- // At the moment, we only support automatic options for --format
- // and --fields, so exit if the command returns no data.
- if (!isset($dataType)) {
- return [];
- }
-
- $validFormats = $this->validFormats($dataType);
- if (empty($validFormats)) {
- return [];
- }
-
- $availableFields = $options->get(FormatterOptions::FIELD_LABELS);
- $hasDefaultStringField = $options->get(FormatterOptions::DEFAULT_STRING_FIELD);
- $defaultFormat = $hasDefaultStringField ? 'string' : ($availableFields ? 'table' : 'yaml');
-
- if (count($validFormats) > 1) {
- // Make an input option for --format
- $description = 'Format the result data. Available formats: ' . implode(',', $validFormats);
- $automaticOptions[FormatterOptions::FORMAT] = new InputOption(FormatterOptions::FORMAT, '', InputOption::VALUE_REQUIRED, $description, $defaultFormat);
- }
-
- $dataTypeClass = ($dataType instanceof \ReflectionClass) ? $dataType : new \ReflectionClass($dataType);
-
- if ($availableFields) {
- $defaultFields = $options->get(FormatterOptions::DEFAULT_FIELDS, [], '');
- $description = 'Available fields: ' . implode(', ', $this->availableFieldsList($availableFields));
- $automaticOptions[FormatterOptions::FIELDS] = new InputOption(FormatterOptions::FIELDS, '', InputOption::VALUE_REQUIRED, $description, $defaultFields);
- } elseif ($dataTypeClass->implementsInterface('Consolidation\OutputFormatters\StructuredData\RestructureInterface')) {
- $automaticOptions[FormatterOptions::FIELDS] = new InputOption(FormatterOptions::FIELDS, '', InputOption::VALUE_REQUIRED, 'Limit output to only the listed elements. Name top-level elements by key, e.g. "--fields=name,date", or use dot notation to select a nested element, e.g. "--fields=a.b.c as example".', []);
- }
-
- if (isset($automaticOptions[FormatterOptions::FIELDS])) {
- $automaticOptions[FormatterOptions::FIELD] = new InputOption(FormatterOptions::FIELD, '', InputOption::VALUE_REQUIRED, "Select just one field, and force format to 'string'.", '');
- }
-
- return $automaticOptions;
- }
-
- /**
- * Given a list of available fields, return a list of field descriptions.
- * @return string[]
- */
- protected function availableFieldsList($availableFields)
- {
- return array_map(
- function ($key) use ($availableFields) {
- return $availableFields[$key] . " ($key)";
- },
- array_keys($availableFields)
- );
- }
-
- /**
- * Return the identifiers for all valid data types that have been registered.
- *
- * @param mixed $dataType \ReflectionObject or other description of the produced data type
- * @return array
- */
- public function validFormats($dataType)
- {
- $validFormats = [];
- foreach ($this->formatters as $formatId => $formatterName) {
- $formatter = $this->getFormatter($formatId);
- if (!empty($formatId) && $this->isValidFormat($formatter, $dataType)) {
- $validFormats[] = $formatId;
- }
- }
- sort($validFormats);
- return $validFormats;
- }
-
- public function isValidFormat(FormatterInterface $formatter, $dataType)
- {
- if (is_array($dataType)) {
- $dataType = new \ReflectionClass('\ArrayObject');
- }
- if (!is_object($dataType) && !class_exists($dataType)) {
- return false;
- }
- if (!$dataType instanceof \ReflectionClass) {
- $dataType = new \ReflectionClass($dataType);
- }
- return $this->isValidDataType($formatter, $dataType);
- }
-
- public function isValidDataType(FormatterInterface $formatter, \ReflectionClass $dataType)
- {
- if ($this->canSimplifyToArray($dataType)) {
- if ($this->isValidFormat($formatter, [])) {
- return true;
- }
- }
- // If the formatter does not implement ValidationInterface, then
- // it is presumed that the formatter only accepts arrays.
- if (!$formatter instanceof ValidationInterface) {
- return $dataType->isSubclassOf('ArrayObject') || ($dataType->getName() == 'ArrayObject');
- }
- return $formatter->isValidDataType($dataType);
- }
-
- /**
- * Format and write output
- *
- * @param OutputInterface $output Output stream to write to
- * @param string $format Data format to output in
- * @param mixed $structuredOutput Data to output
- * @param FormatterOptions $options Formatting options
- */
- public function write(OutputInterface $output, $format, $structuredOutput, FormatterOptions $options)
- {
- // Convert the data to another format (e.g. converting from RowsOfFields to
- // UnstructuredListData when the fields indicate an unstructured transformation
- // is requested).
- $structuredOutput = $this->convertData($structuredOutput, $options);
-
- // TODO: If the $format is the default format (not selected by the user), and
- // if `convertData` switched us to unstructured data, then select a new default
- // format (e.g. yaml) if the selected format cannot render the converted data.
- $formatter = $this->getFormatter((string)$format);
-
- // If the data format is not applicable for the selected formatter, throw an error.
- if (!is_string($structuredOutput) && !$this->isValidFormat($formatter, $structuredOutput)) {
- $validFormats = $this->validFormats($structuredOutput);
- throw new InvalidFormatException((string)$format, $structuredOutput, $validFormats);
- }
- if ($structuredOutput instanceof FormatterAwareInterface) {
- $structuredOutput->setFormatter($formatter);
- }
- // Give the formatter a chance to override the options
- $options = $this->overrideOptions($formatter, $structuredOutput, $options);
- $restructuredOutput = $this->validateAndRestructure($formatter, $structuredOutput, $options);
- if ($formatter instanceof MetadataFormatterInterface) {
- $formatter->writeMetadata($output, $structuredOutput, $options);
- }
- $formatter->write($output, $restructuredOutput, $options);
- }
-
- protected function validateAndRestructure(FormatterInterface $formatter, $structuredOutput, FormatterOptions $options)
- {
- // Give the formatter a chance to do something with the
- // raw data before it is restructured.
- $overrideRestructure = $this->overrideRestructure($formatter, $structuredOutput, $options);
- if ($overrideRestructure) {
- return $overrideRestructure;
- }
-
- // Restructure the output data (e.g. select fields to display, etc.).
- $restructuredOutput = $this->restructureData($structuredOutput, $options);
-
- // Make sure that the provided data is in the correct format for the selected formatter.
- $restructuredOutput = $this->validateData($formatter, $restructuredOutput, $options);
-
- // Give the original data a chance to re-render the structured
- // output after it has been restructured and validated.
- $restructuredOutput = $this->renderData($formatter, $structuredOutput, $restructuredOutput, $options);
-
- return $restructuredOutput;
- }
-
- /**
- * Fetch the requested formatter.
- *
- * @param string $format Identifier for requested formatter
- * @return FormatterInterface
- */
- public function getFormatter($format)
- {
- // The client must inject at least one formatter before asking for
- // any formatters; if not, we will provide all of the usual defaults
- // as a convenience.
- if (empty($this->formatters)) {
- $this->addDefaultFormatters();
- $this->addDefaultSimplifiers();
- }
- if (!$this->hasFormatter($format)) {
- throw new UnknownFormatException($format);
- }
- $formatter = $this->formatters[$format];
- return $formatter;
- }
-
- /**
- * Test to see if the stipulated format exists
- */
- public function hasFormatter($format)
- {
- return array_key_exists($format, $this->formatters);
- }
-
- /**
- * Render the data as necessary (e.g. to select or reorder fields).
- *
- * @param FormatterInterface $formatter
- * @param mixed $originalData
- * @param mixed $restructuredData
- * @param FormatterOptions $options Formatting options
- * @return mixed
- */
- public function renderData(FormatterInterface $formatter, $originalData, $restructuredData, FormatterOptions $options)
- {
- if ($formatter instanceof RenderDataInterface) {
- return $formatter->renderData($originalData, $restructuredData, $options);
- }
- return $restructuredData;
- }
-
- /**
- * Determine if the provided data is compatible with the formatter being used.
- *
- * @param FormatterInterface $formatter Formatter being used
- * @param mixed $structuredOutput Data to validate
- * @return mixed
- */
- public function validateData(FormatterInterface $formatter, $structuredOutput, FormatterOptions $options)
- {
- // If the formatter implements ValidationInterface, then let it
- // test the data and throw or return an error
- if ($formatter instanceof ValidationInterface) {
- return $formatter->validate($structuredOutput);
- }
- // If the formatter does not implement ValidationInterface, then
- // it will never be passed an ArrayObject; we will always give
- // it a simple array.
- $structuredOutput = $this->simplifyToArray($structuredOutput, $options);
- // If we could not simplify to an array, then throw an exception.
- // We will never give a formatter anything other than an array
- // unless it validates that it can accept the data type.
- if (!is_array($structuredOutput)) {
- throw new IncompatibleDataException(
- $formatter,
- $structuredOutput,
- []
- );
- }
- return $structuredOutput;
- }
-
- protected function simplifyToArray($structuredOutput, FormatterOptions $options)
- {
- // We can do nothing unless the provided data is an object.
- if (!is_object($structuredOutput)) {
- return $structuredOutput;
- }
- // Check to see if any of the simplifiers can convert the given data
- // set to an array.
- $outputDataType = new \ReflectionClass($structuredOutput);
- foreach ($this->arraySimplifiers as $simplifier) {
- if ($simplifier->canSimplify($outputDataType)) {
- $structuredOutput = $simplifier->simplifyToArray($structuredOutput, $options);
- }
- }
- // Convert data structure back into its original form, if necessary.
- if ($structuredOutput instanceof OriginalDataInterface) {
- return $structuredOutput->getOriginalData();
- }
- // Convert \ArrayObjects to a simple array.
- if ($structuredOutput instanceof \ArrayObject) {
- return $structuredOutput->getArrayCopy();
- }
- return $structuredOutput;
- }
-
- protected function canSimplifyToArray(\ReflectionClass $structuredOutput)
- {
- foreach ($this->arraySimplifiers as $simplifier) {
- if ($simplifier->canSimplify($structuredOutput)) {
- return true;
- }
- }
- return false;
- }
-
- /**
- * Convert from one format to another if necessary prior to restructuring.
- */
- public function convertData($structuredOutput, FormatterOptions $options)
- {
- if ($structuredOutput instanceof ConversionInterface) {
- return $structuredOutput->convert($options);
- }
- return $structuredOutput;
- }
-
- /**
- * Restructure the data as necessary (e.g. to select or reorder fields).
- *
- * @param mixed $structuredOutput
- * @param FormatterOptions $options
- * @return mixed
- */
- public function restructureData($structuredOutput, FormatterOptions $options)
- {
- if ($structuredOutput instanceof RestructureInterface) {
- return $structuredOutput->restructure($options);
- }
- return $structuredOutput;
- }
-
- /**
- * Allow the formatter access to the raw structured data prior
- * to restructuring. For example, the 'list' formatter may wish
- * to display the row keys when provided table output. If this
- * function returns a result that does not evaluate to 'false',
- * then that result will be used as-is, and restructuring and
- * validation will not occur.
- *
- * @param mixed $structuredOutput
- * @param FormatterOptions $options
- * @return mixed
- */
- public function overrideRestructure(FormatterInterface $formatter, $structuredOutput, FormatterOptions $options)
- {
- if ($formatter instanceof OverrideRestructureInterface) {
- return $formatter->overrideRestructure($structuredOutput, $options);
- }
- }
-
- /**
- * Allow the formatter to mess with the configuration options before any
- * transformations et. al. get underway.
- * @param FormatterInterface $formatter
- * @param mixed $structuredOutput
- * @param FormatterOptions $options
- * @return FormatterOptions
- */
- public function overrideOptions(FormatterInterface $formatter, $structuredOutput, FormatterOptions $options)
- {
- if ($formatter instanceof OverrideOptionsInterface) {
- return $formatter->overrideOptions($structuredOutput, $options);
- }
- return $options;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/CsvFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/CsvFormatter.php
deleted file mode 100644
index d39c27b48..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/CsvFormatter.php
+++ /dev/null
@@ -1,107 +0,0 @@
-validDataTypes()
- );
- }
- // If the data was provided to us as a single array, then
- // convert it to a single row.
- if (is_array($structuredData) && !empty($structuredData)) {
- $firstRow = reset($structuredData);
- if (!is_array($firstRow)) {
- return [$structuredData];
- }
- }
- return $structuredData;
- }
-
- /**
- * Return default values for formatter options
- * @return array
- */
- protected function getDefaultFormatterOptions()
- {
- return [
- FormatterOptions::INCLUDE_FIELD_LABELS => true,
- FormatterOptions::DELIMITER => ',',
- ];
- }
-
- /**
- * @inheritdoc
- */
- public function write(OutputInterface $output, $data, FormatterOptions $options)
- {
- $defaults = $this->getDefaultFormatterOptions();
-
- $includeFieldLabels = $options->get(FormatterOptions::INCLUDE_FIELD_LABELS, $defaults);
- if ($includeFieldLabels && ($data instanceof TableTransformation)) {
- $headers = $data->getHeaders();
- $this->writeOneLine($output, $headers, $options);
- }
-
- foreach ($data as $line) {
- $this->writeOneLine($output, $line, $options);
- }
- }
-
- protected function writeOneLine(OutputInterface $output, $data, $options)
- {
- $defaults = $this->getDefaultFormatterOptions();
- $delimiter = $options->get(FormatterOptions::DELIMITER, $defaults);
-
- $output->write($this->csvEscape($data, $delimiter));
- }
-
- protected function csvEscape($data, $delimiter = ',')
- {
- $buffer = fopen('php://temp', 'r+');
- fputcsv($buffer, $data, $delimiter);
- rewind($buffer);
- $csv = fgets($buffer);
- fclose($buffer);
- return $csv;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/FormatterAwareInterface.php b/vendor/consolidation/output-formatters/src/Formatters/FormatterAwareInterface.php
deleted file mode 100644
index 788a4d083..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/FormatterAwareInterface.php
+++ /dev/null
@@ -1,9 +0,0 @@
-formatter = $formatter;
- }
-
- public function getFormatter()
- {
- return $this->formatter;
- }
-
- public function isHumanReadable()
- {
- return $this->formatter && $this->formatter instanceof \Consolidation\OutputFormatters\Formatters\HumanReadableFormat;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/FormatterInterface.php b/vendor/consolidation/output-formatters/src/Formatters/FormatterInterface.php
deleted file mode 100644
index 224e3dca3..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/FormatterInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-writeln(json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/ListFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/ListFormatter.php
deleted file mode 100644
index 01fce5248..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/ListFormatter.php
+++ /dev/null
@@ -1,59 +0,0 @@
-writeln(implode("\n", $data));
- }
-
- /**
- * @inheritdoc
- */
- public function overrideRestructure($structuredOutput, FormatterOptions $options)
- {
- // If the structured data implements ListDataInterface,
- // then we will render whatever data its 'getListData'
- // method provides.
- if ($structuredOutput instanceof ListDataInterface) {
- return $this->renderData($structuredOutput, $structuredOutput->getListData($options), $options);
- }
- }
-
- /**
- * @inheritdoc
- */
- public function renderData($originalData, $restructuredData, FormatterOptions $options)
- {
- if ($originalData instanceof RenderCellInterface) {
- return $this->renderEachCell($originalData, $restructuredData, $options);
- }
- return $restructuredData;
- }
-
- protected function renderEachCell($originalData, $restructuredData, FormatterOptions $options)
- {
- foreach ($restructuredData as $key => $cellData) {
- $restructuredData[$key] = $originalData->renderCell($key, $cellData, $options, $restructuredData);
- }
- return $restructuredData;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/MetadataFormatterInterface.php b/vendor/consolidation/output-formatters/src/Formatters/MetadataFormatterInterface.php
deleted file mode 100644
index 4147e274c..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/MetadataFormatterInterface.php
+++ /dev/null
@@ -1,17 +0,0 @@
-get(FormatterOptions::METADATA_TEMPLATE);
- if (!$template) {
- return;
- }
- if (!$structuredOutput instanceof MetadataInterface) {
- return;
- }
- $metadata = $structuredOutput->getMetadata();
- if (empty($metadata)) {
- return;
- }
- $message = $this->interpolate($template, $metadata);
- return $output->writeln($message);
- }
-
- /**
- * Interpolates context values into the message placeholders.
- *
- * @author PHP Framework Interoperability Group
- *
- * @param string $message
- * @param array $context
- *
- * @return string
- */
- private function interpolate($message, array $context)
- {
- // build a replacement array with braces around the context keys
- $replace = array();
- foreach ($context as $key => $val) {
- if (!is_array($val) && (!is_object($val) || method_exists($val, '__toString'))) {
- $replace[sprintf('{%s}', $key)] = $val;
- }
- }
-
- // interpolate replacement values into the message and return
- return strtr($message, $replace);
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/NoOutputFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/NoOutputFormatter.php
deleted file mode 100644
index 143947555..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/NoOutputFormatter.php
+++ /dev/null
@@ -1,40 +0,0 @@
-writeln(print_r($data, true));
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/RenderDataInterface.php b/vendor/consolidation/output-formatters/src/Formatters/RenderDataInterface.php
deleted file mode 100644
index a4da8e0ed..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/RenderDataInterface.php
+++ /dev/null
@@ -1,19 +0,0 @@
-renderEachCell($originalData, $restructuredData, $options);
- }
- return $restructuredData;
- }
-
- protected function renderEachCell($originalData, $restructuredData, FormatterOptions $options)
- {
- foreach ($restructuredData as $id => $row) {
- foreach ($row as $key => $cellData) {
- $restructuredData[$id][$key] = $originalData->renderCell($key, $cellData, $options, $row);
- }
- }
- return $restructuredData;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/SectionsFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/SectionsFormatter.php
deleted file mode 100644
index 89ed27077..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/SectionsFormatter.php
+++ /dev/null
@@ -1,72 +0,0 @@
-validDataTypes()
- );
- }
- return $structuredData;
- }
-
- /**
- * @inheritdoc
- */
- public function write(OutputInterface $output, $tableTransformer, FormatterOptions $options)
- {
- $table = new Table($output);
- $table->setStyle('compact');
- foreach ($tableTransformer as $rowid => $row) {
- $rowLabel = $tableTransformer->getRowLabel($rowid);
- $output->writeln('');
- $output->writeln($rowLabel);
- $sectionData = new PropertyList($row);
- $sectionOptions = new FormatterOptions([], $options->getOptions());
- $sectionTableTransformer = $sectionData->restructure($sectionOptions);
- $table->setRows($sectionTableTransformer->getTableData(true));
- $table->render();
- }
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/SerializeFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/SerializeFormatter.php
deleted file mode 100644
index f81513735..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/SerializeFormatter.php
+++ /dev/null
@@ -1,21 +0,0 @@
-writeln(serialize($data));
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/StringFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/StringFormatter.php
deleted file mode 100644
index 1a008d985..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/StringFormatter.php
+++ /dev/null
@@ -1,95 +0,0 @@
-implementsInterface('\Consolidation\OutputFormatters\StructuredData\UnstructuredInterface') && !$dataType->implementsInterface('\Consolidation\OutputFormatters\Transformations\StringTransformationInterface')) {
- return false;
- }
- return true;
- }
-
- /**
- * @inheritdoc
- */
- public function write(OutputInterface $output, $data, FormatterOptions $options)
- {
- if (is_string($data)) {
- return $output->writeln($data);
- }
- return $this->reduceToSigleFieldAndWrite($output, $data, $options);
- }
-
- /**
- * @inheritdoc
- */
- public function overrideOptions($structuredOutput, FormatterOptions $options)
- {
- $defaultField = $options->get(FormatterOptions::DEFAULT_STRING_FIELD, [], '');
- $userFields = $options->get(FormatterOptions::FIELDS, [FormatterOptions::FIELDS => $options->get(FormatterOptions::FIELD)]);
- $optionsOverride = $options->override([]);
- if (empty($userFields) && !empty($defaultField)) {
- $optionsOverride->setOption(FormatterOptions::FIELDS, $defaultField);
- }
- return $optionsOverride;
- }
-
- /**
- * If the data provided to a 'string' formatter is a table, then try
- * to emit it in a simplified form (by default, TSV).
- *
- * @param OutputInterface $output
- * @param mixed $data
- * @param FormatterOptions $options
- */
- protected function reduceToSigleFieldAndWrite(OutputInterface $output, $data, FormatterOptions $options)
- {
- if ($data instanceof StringTransformationInterface) {
- $simplified = $data->simplifyToString($options);
- return $output->write($simplified);
- }
-
- $alternateFormatter = new TsvFormatter();
- try {
- $data = $alternateFormatter->validate($data);
- $alternateFormatter->write($output, $data, $options);
- } catch (\Exception $e) {
- }
- }
-
- /**
- * Always validate any data, though. This format will never
- * cause an error if it is selected for an incompatible data type; at
- * worse, it simply does not print any data.
- */
- public function validate($structuredData)
- {
- return $structuredData;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/TableFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/TableFormatter.php
deleted file mode 100644
index 6d6cfd82b..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/TableFormatter.php
+++ /dev/null
@@ -1,145 +0,0 @@
-validDataTypes()
- );
- }
- return $structuredData;
- }
-
- /**
- * @inheritdoc
- */
- public function write(OutputInterface $output, $tableTransformer, FormatterOptions $options)
- {
- $headers = [];
- $defaults = [
- FormatterOptions::TABLE_STYLE => 'consolidation',
- FormatterOptions::INCLUDE_FIELD_LABELS => true,
- ];
-
- $table = new Table($output);
-
- static::addCustomTableStyles($table);
-
- $table->setStyle($options->get(FormatterOptions::TABLE_STYLE, $defaults));
- $isList = $tableTransformer->isList();
- $includeHeaders = $options->get(FormatterOptions::INCLUDE_FIELD_LABELS, $defaults);
- $listDelimiter = $options->get(FormatterOptions::LIST_DELIMITER, $defaults);
-
- $headers = $tableTransformer->getHeaders();
- $data = $tableTransformer->getTableData($includeHeaders && $isList);
-
- if ($listDelimiter) {
- if (!empty($headers)) {
- array_splice($headers, 1, 0, ':');
- }
- $data = array_map(function ($item) {
- array_splice($item, 1, 0, ':');
- return $item;
- }, $data);
- }
-
- if ($includeHeaders && !$isList) {
- $table->setHeaders($headers);
- }
-
- // todo: $output->getFormatter();
- $data = $this->wrap($headers, $data, $table->getStyle(), $options);
- $table->setRows($data);
- $table->render();
- }
-
- /**
- * Wrap the table data
- * @param array $data
- * @param TableStyle $tableStyle
- * @param FormatterOptions $options
- * @return array
- */
- protected function wrap($headers, $data, TableStyle $tableStyle, FormatterOptions $options)
- {
- $wrapper = new WordWrapper($options->get(FormatterOptions::TERMINAL_WIDTH));
- $wrapper->setPaddingFromStyle($tableStyle);
- if (!empty($headers)) {
- $headerLengths = array_map(function ($item) {
- return strlen($item);
- }, $headers);
- $wrapper->setMinimumWidths($headerLengths);
- }
- return $wrapper->wrap($data);
- }
-
- /**
- * Add our custom table style(s) to the table.
- */
- protected static function addCustomTableStyles($table)
- {
- // The 'consolidation' style is the same as the 'symfony-style-guide'
- // style, except it maintains the colored headers used in 'default'.
- $consolidationStyle = new TableStyle();
- $consolidationStyle
- ->setHorizontalBorderChar('-')
- ->setVerticalBorderChar(' ')
- ->setCrossingChar(' ')
- ;
- $table->setStyleDefinition('consolidation', $consolidationStyle);
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/TsvFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/TsvFormatter.php
deleted file mode 100644
index 8a827424e..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/TsvFormatter.php
+++ /dev/null
@@ -1,40 +0,0 @@
- false,
- ];
- }
-
- protected function writeOneLine(OutputInterface $output, $data, $options)
- {
- $output->writeln($this->tsvEscape($data));
- }
-
- protected function tsvEscape($data)
- {
- return implode("\t", array_map(
- function ($item) {
- return str_replace(["\t", "\n"], ['\t', '\n'], $item);
- },
- $data
- ));
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/VarDumpFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/VarDumpFormatter.php
deleted file mode 100644
index 99d713cca..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/VarDumpFormatter.php
+++ /dev/null
@@ -1,40 +0,0 @@
-cloneVar($data);
-
- if ($output instanceof StreamOutput) {
- // When stream output is used the dumper is smart enough to
- // determine whether or not to apply colors to the dump.
- // @see Symfony\Component\VarDumper\Dumper\CliDumper::supportsColors
- $dumper->dump($cloned_data, $output->getStream());
- } else {
- // @todo Use dumper return value to get output once we stop support
- // VarDumper v2.
- $stream = fopen('php://memory', 'r+b');
- $dumper->dump($cloned_data, $stream);
- $output->writeln(stream_get_contents($stream, -1, 0));
- fclose($stream);
- }
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/VarExportFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/VarExportFormatter.php
deleted file mode 100644
index 0303ba48c..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/VarExportFormatter.php
+++ /dev/null
@@ -1,21 +0,0 @@
-writeln(var_export($data, true));
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/XmlFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/XmlFormatter.php
deleted file mode 100644
index 85b4e37e9..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/XmlFormatter.php
+++ /dev/null
@@ -1,79 +0,0 @@
-getDomData();
- }
- if ($structuredData instanceof \ArrayObject) {
- return $structuredData->getArrayCopy();
- }
- if (!is_array($structuredData)) {
- throw new IncompatibleDataException(
- $this,
- $structuredData,
- $this->validDataTypes()
- );
- }
- return $structuredData;
- }
-
- /**
- * @inheritdoc
- */
- public function write(OutputInterface $output, $dom, FormatterOptions $options)
- {
- if (is_array($dom)) {
- $schema = $options->getXmlSchema();
- $dom = $schema->arrayToXML($dom);
- }
- $dom->formatOutput = true;
- $output->writeln($dom->saveXML());
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Formatters/YamlFormatter.php b/vendor/consolidation/output-formatters/src/Formatters/YamlFormatter.php
deleted file mode 100644
index 07a8f21d0..000000000
--- a/vendor/consolidation/output-formatters/src/Formatters/YamlFormatter.php
+++ /dev/null
@@ -1,27 +0,0 @@
-writeln(Yaml::dump($data, PHP_INT_MAX, $indent, false, true));
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Options/FormatterOptions.php b/vendor/consolidation/output-formatters/src/Options/FormatterOptions.php
deleted file mode 100644
index 68dd13094..000000000
--- a/vendor/consolidation/output-formatters/src/Options/FormatterOptions.php
+++ /dev/null
@@ -1,386 +0,0 @@
-configurationData = $configurationData;
- $this->options = $options;
- }
-
- /**
- * Create a new FormatterOptions object with new configuration data (provided),
- * and the same options data as this instance.
- *
- * @param array $configurationData
- * @return FormatterOptions
- */
- public function override($configurationData)
- {
- $override = new self();
- $override
- ->setConfigurationData($configurationData + $this->getConfigurationData())
- ->setOptions($this->getOptions());
- return $override;
- }
-
- public function setTableStyle($style)
- {
- return $this->setConfigurationValue(self::TABLE_STYLE, $style);
- }
-
- public function setDelimiter($delimiter)
- {
- return $this->setConfigurationValue(self::DELIMITER, $delimiter);
- }
-
- public function setListDelimiter($listDelimiter)
- {
- return $this->setConfigurationValue(self::LIST_DELIMITER, $listDelimiter);
- }
-
-
-
- public function setIncludeFieldLables($includFieldLables)
- {
- return $this->setConfigurationValue(self::INCLUDE_FIELD_LABELS, $includFieldLables);
- }
-
- public function setListOrientation($listOrientation)
- {
- return $this->setConfigurationValue(self::LIST_ORIENTATION, $listOrientation);
- }
-
- public function setRowLabels($rowLabels)
- {
- return $this->setConfigurationValue(self::ROW_LABELS, $rowLabels);
- }
-
- public function setDefaultFields($fields)
- {
- return $this->setConfigurationValue(self::DEFAULT_FIELDS, $fields);
- }
-
- public function setFieldLabels($fieldLabels)
- {
- return $this->setConfigurationValue(self::FIELD_LABELS, $fieldLabels);
- }
-
- public function setDefaultStringField($defaultStringField)
- {
- return $this->setConfigurationValue(self::DEFAULT_STRING_FIELD, $defaultStringField);
- }
-
- public function setWidth($width)
- {
- return $this->setConfigurationValue(self::TERMINAL_WIDTH, $width);
- }
-
- /**
- * Get a formatter option
- *
- * @param string $key
- * @param array $defaults
- * @param mixed $default
- * @return mixed
- */
- public function get($key, $defaults = [], $default = false)
- {
- $value = $this->fetch($key, $defaults, $default);
- return $this->parse($key, $value);
- }
-
- /**
- * Return the XmlSchema to use with --format=xml for data types that support
- * that. This is used when an array needs to be converted into xml.
- *
- * @return XmlSchema
- */
- public function getXmlSchema()
- {
- return new XmlSchema();
- }
-
- /**
- * Determine the format that was requested by the caller.
- *
- * @param array $defaults
- * @return string
- */
- public function getFormat($defaults = [])
- {
- return $this->get(self::FORMAT, [], $this->get(self::DEFAULT_FORMAT, $defaults, ''));
- }
-
- /**
- * Look up a key, and return its raw value.
- *
- * @param string $key
- * @param array $defaults
- * @param mixed $default
- * @return mixed
- */
- protected function fetch($key, $defaults = [], $default = false)
- {
- $defaults = $this->defaultsForKey($key, $defaults, $default);
- $values = $this->fetchRawValues($defaults);
- return $values[$key];
- }
-
- /**
- * Reduce provided defaults to the single item identified by '$key',
- * if it exists, or an empty array otherwise.
- *
- * @param string $key
- * @param array $defaults
- * @return array
- */
- protected function defaultsForKey($key, $defaults, $default = false)
- {
- if (array_key_exists($key, $defaults)) {
- return [$key => $defaults[$key]];
- }
- return [$key => $default];
- }
-
- /**
- * Look up all of the items associated with the provided defaults.
- *
- * @param array $defaults
- * @return array
- */
- protected function fetchRawValues($defaults = [])
- {
- return array_merge(
- $defaults,
- $this->getConfigurationData(),
- $this->getOptions(),
- $this->getInputOptions($defaults)
- );
- }
-
- /**
- * Given the raw value for a specific key, do any type conversion
- * (e.g. from a textual list to an array) needed for the data.
- *
- * @param string $key
- * @param mixed $value
- * @return mixed
- */
- protected function parse($key, $value)
- {
- $optionFormat = $this->getOptionFormat($key);
- if (!empty($optionFormat) && is_string($value)) {
- return $this->$optionFormat($value);
- }
- return $value;
- }
-
- /**
- * Convert from a textual list to an array
- *
- * @param string $value
- * @return array
- */
- public function parsePropertyList($value)
- {
- return PropertyParser::parse($value);
- }
-
- /**
- * Given a specific key, return the class method name of the
- * parsing method for data stored under this key.
- *
- * @param string $key
- * @return string
- */
- protected function getOptionFormat($key)
- {
- $propertyFormats = [
- self::ROW_LABELS => 'PropertyList',
- self::FIELD_LABELS => 'PropertyList',
- ];
- if (array_key_exists($key, $propertyFormats)) {
- return "parse{$propertyFormats[$key]}";
- }
- return '';
- }
-
- /**
- * Change the configuration data for this formatter options object.
- *
- * @param array $configurationData
- * @return FormatterOptions
- */
- public function setConfigurationData($configurationData)
- {
- $this->configurationData = $configurationData;
- return $this;
- }
-
- /**
- * Change one configuration value for this formatter option.
- *
- * @param string $key
- * @param mixed $value
- * @return FormetterOptions
- */
- protected function setConfigurationValue($key, $value)
- {
- $this->configurationData[$key] = $value;
- return $this;
- }
-
- /**
- * Change one configuration value for this formatter option, but only
- * if it does not already have a value set.
- *
- * @param string $key
- * @param mixed $value
- * @return FormetterOptions
- */
- public function setConfigurationDefault($key, $value)
- {
- if (!array_key_exists($key, $this->configurationData)) {
- return $this->setConfigurationValue($key, $value);
- }
- return $this;
- }
-
- /**
- * Return a reference to the configuration data for this object.
- *
- * @return array
- */
- public function getConfigurationData()
- {
- return $this->configurationData;
- }
-
- /**
- * Set all of the options that were specified by the user for this request.
- *
- * @param array $options
- * @return FormatterOptions
- */
- public function setOptions($options)
- {
- $this->options = $options;
- return $this;
- }
-
- /**
- * Change one option value specified by the user for this request.
- *
- * @param string $key
- * @param mixed $value
- * @return FormatterOptions
- */
- public function setOption($key, $value)
- {
- $this->options[$key] = $value;
- return $this;
- }
-
- /**
- * Return a reference to the user-specified options for this request.
- *
- * @return array
- */
- public function getOptions()
- {
- return $this->options;
- }
-
- /**
- * Provide a Symfony Console InputInterface containing the user-specified
- * options for this request.
- *
- * @param InputInterface $input
- * @return type
- */
- public function setInput(InputInterface $input)
- {
- $this->input = $input;
- }
-
- /**
- * Return all of the options from the provided $defaults array that
- * exist in our InputInterface object.
- *
- * @param array $defaults
- * @return array
- */
- public function getInputOptions($defaults)
- {
- if (!isset($this->input)) {
- return [];
- }
- $options = [];
- foreach ($defaults as $key => $value) {
- if ($this->input->hasOption($key)) {
- $result = $this->input->getOption($key);
- if (isset($result)) {
- $options[$key] = $this->input->getOption($key);
- }
- }
- }
- return $options;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Options/OverrideOptionsInterface.php b/vendor/consolidation/output-formatters/src/Options/OverrideOptionsInterface.php
deleted file mode 100644
index 04a09e967..000000000
--- a/vendor/consolidation/output-formatters/src/Options/OverrideOptionsInterface.php
+++ /dev/null
@@ -1,17 +0,0 @@
-getArrayCopy());
- }
-
- protected function getReorderedFieldLabels($data, $options, $defaults)
- {
- $reorderer = new ReorderFields();
- $fieldLabels = $reorderer->reorder(
- $this->getFields($options, $defaults),
- $options->get(FormatterOptions::FIELD_LABELS, $defaults),
- $data
- );
- return $fieldLabels;
- }
-
- protected function getFields($options, $defaults)
- {
- $fieldShortcut = $options->get(FormatterOptions::FIELD);
- if (!empty($fieldShortcut)) {
- return [$fieldShortcut];
- }
- $result = $options->get(FormatterOptions::FIELDS, $defaults);
- if (!empty($result)) {
- return $result;
- }
- return $options->get(FormatterOptions::DEFAULT_FIELDS, $defaults);
- }
-
- /**
- * A structured list may provide its own set of default options. These
- * will be used in place of the command's default options (from the
- * annotations) in instances where the user does not provide the options
- * explicitly (on the commandline) or implicitly (via a configuration file).
- *
- * @return array
- */
- protected function defaultOptions()
- {
- return [
- FormatterOptions::FIELDS => [],
- FormatterOptions::FIELD_LABELS => [],
- ];
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/AbstractStructuredList.php b/vendor/consolidation/output-formatters/src/StructuredData/AbstractStructuredList.php
deleted file mode 100644
index ee25af686..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/AbstractStructuredList.php
+++ /dev/null
@@ -1,52 +0,0 @@
-defaultOptions();
- $fieldLabels = $this->getReorderedFieldLabels($data, $options, $defaults);
-
- $tableTransformer = $this->instantiateTableTransformation($data, $fieldLabels, $options->get(FormatterOptions::ROW_LABELS, $defaults));
- if ($options->get(FormatterOptions::LIST_ORIENTATION, $defaults)) {
- $tableTransformer->setLayout(TableTransformation::LIST_LAYOUT);
- }
-
- return $tableTransformer;
- }
-
- protected function instantiateTableTransformation($data, $fieldLabels, $rowLabels)
- {
- return new TableTransformation($data, $fieldLabels, $rowLabels);
- }
-
- protected function defaultOptions()
- {
- return [
- FormatterOptions::ROW_LABELS => [],
- FormatterOptions::DEFAULT_FIELDS => [],
- ] + parent::defaultOptions();
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/AssociativeList.php b/vendor/consolidation/output-formatters/src/StructuredData/AssociativeList.php
deleted file mode 100644
index 2a8b327bf..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/AssociativeList.php
+++ /dev/null
@@ -1,12 +0,0 @@
-renderFunction = $renderFunction;
- }
-
- /**
- * {@inheritdoc}
- */
- public function renderCell($key, $cellData, FormatterOptions $options, $rowData)
- {
- return call_user_func($this->renderFunction, $key, $cellData, $options, $rowData);
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/ConversionInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/ConversionInterface.php
deleted file mode 100644
index 6f6447b33..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/ConversionInterface.php
+++ /dev/null
@@ -1,15 +0,0 @@
- [ ... rows of field data ... ],
- * 'metadata1' => '...',
- * 'metadata2' => '...',
- * ]
- *
- * Example 2: nested metadata
- *
- * [
- * 'metadata' => [ ... metadata items ... ],
- * 'rowid1' => [ ... ],
- * 'rowid2' => [ ... ],
- * ]
- *
- * It is, of course, also possible that both the data and
- * the metadata may be nested inside subelements.
- */
-trait MetadataHolderTrait
-{
- protected $dataKey = false;
- protected $metadataKey = false;
-
- public function getDataKey()
- {
- return $this->dataKey;
- }
-
- public function setDataKey($key)
- {
- $this->dataKey = $key;
- return $this;
- }
-
- public function getMetadataKey()
- {
- return $this->metadataKey;
- }
-
- public function setMetadataKey($key)
- {
- $this->metadataKey = $key;
- return $this;
- }
-
- public function extractData($data)
- {
- if ($this->metadataKey) {
- unset($data[$this->metadataKey]);
- }
- if ($this->dataKey) {
- if (!isset($data[$this->dataKey])) {
- return [];
- }
- return $data[$this->dataKey];
- }
- return $data;
- }
-
- public function extractMetadata($data)
- {
- if (!$this->dataKey && !$this->metadataKey) {
- return [];
- }
- if ($this->dataKey) {
- unset($data[$this->dataKey]);
- }
- if ($this->metadataKey) {
- if (!isset($data[$this->metadataKey])) {
- return [];
- }
- return $data[$this->metadataKey];
- }
- return $data;
- }
-
- public function reconstruct($data, $metadata)
- {
- $reconstructedData = ($this->dataKey) ? [$this->dataKey => $data] : $data;
- $reconstructedMetadata = ($this->metadataKey) ? [$this->metadataKey => $metadata] : $metadata;
-
- return $reconstructedData + $reconstructedMetadata;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/MetadataInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/MetadataInterface.php
deleted file mode 100644
index 965082085..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/MetadataInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-addRenderer(
- * new NumericCellRenderer($data, ['value'])
- * );
- *
- */
-class NumericCellRenderer implements RenderCellInterface, FormatterAwareInterface
-{
- use FormatterAwareTrait;
-
- protected $data;
- protected $renderedColumns;
- protected $widths = [];
-
- /**
- * NumericCellRenderer constructor
- */
- public function __construct($data, $renderedColumns)
- {
- $this->data = $data;
- $this->renderedColumns = $renderedColumns;
- }
-
- /**
- * @inheritdoc
- */
- public function renderCell($key, $cellData, FormatterOptions $options, $rowData)
- {
- if (!$this->isRenderedFormat($options) || !$this->isRenderedColumn($key)) {
- return $cellData;
- }
- if ($this->isRenderedData($cellData)) {
- $cellData = $this->formatCellData($cellData);
- }
- return $this->justifyCellData($key, $cellData);
- }
-
- /**
- * Right-justify the cell data.
- */
- protected function justifyCellData($key, $cellData)
- {
- return str_pad($cellData, $this->columnWidth($key), " ", STR_PAD_LEFT);
- }
-
- /**
- * Determine if this format is to be formatted.
- */
- protected function isRenderedFormat(FormatterOptions $options)
- {
- return $this->isHumanReadable();
- }
-
- /**
- * Determine if this is a column that should be formatted.
- */
- protected function isRenderedColumn($key)
- {
- return array_key_exists($key, $this->renderedColumns);
- }
-
- /**
- * Ignore cell data that should not be formatted.
- */
- protected function isRenderedData($cellData)
- {
- return is_numeric($cellData);
- }
-
- /**
- * Format the cell data.
- */
- protected function formatCellData($cellData)
- {
- return number_format($this->convertCellDataToString($cellData));
- }
-
- /**
- * This formatter only works with columns whose columns are strings.
- * To use this formatter for another purpose, override this method
- * to ensure that the cell data is a string before it is formatted.
- */
- protected function convertCellDataToString($cellData)
- {
- return $cellData;
- }
-
- /**
- * Get the cached column width for the provided key.
- */
- protected function columnWidth($key)
- {
- if (!isset($this->widths[$key])) {
- $this->widths[$key] = $this->calculateColumnWidth($key);
- }
- return $this->widths[$key];
- }
-
- /**
- * Using the cached table data, calculate the largest width
- * for the data in the table for use when right-justifying.
- */
- protected function calculateColumnWidth($key)
- {
- $width = isset($this->renderedColumns[$key]) ? $this->renderedColumns[$key] : 0;
- foreach ($this->data as $row) {
- $data = $this->formatCellData($row[$key]);
- $width = max(strlen($data), $width);
- }
- return $width;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/OriginalDataInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/OriginalDataInterface.php
deleted file mode 100644
index f73856a95..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/OriginalDataInterface.php
+++ /dev/null
@@ -1,11 +0,0 @@
-defaultOptions();
- $fields = $this->getFields($options, $defaults);
- if (FieldProcessor::hasUnstructuredFieldAccess($fields)) {
- return new UnstructuredData($this->getArrayCopy());
- }
- return $this;
- }
-
- /**
- * Restructure this data for output by converting it into a table
- * transformation object.
- *
- * @param FormatterOptions $options Options that affect output formatting.
- * @return Consolidation\OutputFormatters\Transformations\TableTransformation
- */
- public function restructure(FormatterOptions $options)
- {
- $data = [$this->getArrayCopy()];
- $options->setConfigurationDefault('list-orientation', true);
- $tableTransformer = $this->createTableTransformation($data, $options);
- return $tableTransformer;
- }
-
- public function getListData(FormatterOptions $options)
- {
- $data = $this->getArrayCopy();
-
- $defaults = $this->defaultOptions();
- $fieldLabels = $this->getReorderedFieldLabels([$data], $options, $defaults);
-
- $result = [];
- foreach ($fieldLabels as $id => $label) {
- $result[$id] = $data[$id];
- }
- return $result;
- }
-
- protected function defaultOptions()
- {
- return [
- FormatterOptions::LIST_ORIENTATION => true,
- ] + parent::defaultOptions();
- }
-
- protected function instantiateTableTransformation($data, $fieldLabels, $rowLabels)
- {
- return new PropertyListTableTransformation($data, $fieldLabels, $rowLabels);
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/RenderCellCollectionInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/RenderCellCollectionInterface.php
deleted file mode 100644
index f88573d8b..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/RenderCellCollectionInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
- [],
- RenderCellCollectionInterface::PRIORITY_NORMAL => [],
- RenderCellCollectionInterface::PRIORITY_FALLBACK => [],
- ];
-
- /**
- * Add a renderer
- *
- * @return $this
- */
- public function addRenderer(RenderCellInterface $renderer, $priority = RenderCellCollectionInterface::PRIORITY_NORMAL)
- {
- $this->rendererList[$priority][] = $renderer;
- return $this;
- }
-
- /**
- * Add a callable as a renderer
- *
- * @return $this
- */
- public function addRendererFunction(callable $rendererFn, $priority = RenderCellCollectionInterface::PRIORITY_NORMAL)
- {
- $renderer = new CallableRenderer($rendererFn);
- return $this->addRenderer($renderer, $priority);
- }
-
- /**
- * {@inheritdoc}
- */
- public function renderCell($key, $cellData, FormatterOptions $options, $rowData)
- {
- $flattenedRendererList = array_reduce(
- $this->rendererList,
- function ($carry, $item) {
- return array_merge($carry, $item);
- },
- []
- );
-
- foreach ($flattenedRendererList as $renderer) {
- if ($renderer instanceof FormatterAwareInterface) {
- $renderer->setFormatter($this->getFormatter());
- }
- $cellData = $renderer->renderCell($key, $cellData, $options, $rowData);
- }
- return $cellData;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/RenderCellInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/RenderCellInterface.php
deleted file mode 100644
index ff200846c..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/RenderCellInterface.php
+++ /dev/null
@@ -1,22 +0,0 @@
-defaultOptions();
- $fields = $this->getFields($options, $defaults);
- if (FieldProcessor::hasUnstructuredFieldAccess($fields)) {
- return new UnstructuredListData($this->getArrayCopy());
- }
- return $this;
- }
-
- /**
- * Restructure this data for output by converting it into a table
- * transformation object.
- *
- * @param FormatterOptions $options Options that affect output formatting.
- * @return Consolidation\OutputFormatters\Transformations\TableTransformation
- */
- public function restructure(FormatterOptions $options)
- {
- $data = $this->getArrayCopy();
- return $this->createTableTransformation($data, $options);
- }
-
- public function getListData(FormatterOptions $options)
- {
- return array_keys($this->getArrayCopy());
- }
-
- protected function defaultOptions()
- {
- return [
- FormatterOptions::LIST_ORIENTATION => false,
- ] + parent::defaultOptions();
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/RowsOfFieldsWithMetadata.php b/vendor/consolidation/output-formatters/src/StructuredData/RowsOfFieldsWithMetadata.php
deleted file mode 100644
index 98aedbde5..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/RowsOfFieldsWithMetadata.php
+++ /dev/null
@@ -1,39 +0,0 @@
-getArrayCopy();
- $data = $this->extractData($originalData);
- $tableTranformer = $this->createTableTransformation($data, $options);
- $tableTranformer->setOriginalData($this);
- return $tableTranformer;
- }
-
- public function getMetadata()
- {
- return $this->extractMetadata($this->getArrayCopy());
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/TableDataInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/TableDataInterface.php
deleted file mode 100644
index 98daa09c7..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/TableDataInterface.php
+++ /dev/null
@@ -1,16 +0,0 @@
-defaultOptions();
- $fields = $this->getFields($options, $defaults);
-
- return new UnstructuredDataTransformation($this->getArrayCopy(), FieldProcessor::processFieldAliases($fields));
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/UnstructuredInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/UnstructuredInterface.php
deleted file mode 100644
index e064a66fc..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/UnstructuredInterface.php
+++ /dev/null
@@ -1,14 +0,0 @@
-defaultOptions();
- $fields = $this->getFields($options, $defaults);
-
- return new UnstructuredDataListTransformation($this->getArrayCopy(), FieldProcessor::processFieldAliases($fields));
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/Xml/DomDataInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/Xml/DomDataInterface.php
deleted file mode 100644
index 239ea7b6b..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/Xml/DomDataInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
- ['description'],
- ];
- $this->elementList = array_merge_recursive($elementList, $defaultElementList);
- }
-
- public function arrayToXML($structuredData)
- {
- $dom = new \DOMDocument('1.0', 'UTF-8');
- $topLevelElement = $this->getTopLevelElementName($structuredData);
- $this->addXmlData($dom, $dom, $topLevelElement, $structuredData);
- return $dom;
- }
-
- protected function addXmlData(\DOMDocument $dom, $xmlParent, $elementName, $structuredData)
- {
- $element = $dom->createElement($elementName);
- $xmlParent->appendChild($element);
- if (is_string($structuredData)) {
- $element->appendChild($dom->createTextNode($structuredData));
- return;
- }
- $this->addXmlChildren($dom, $element, $elementName, $structuredData);
- }
-
- protected function addXmlChildren(\DOMDocument $dom, $xmlParent, $elementName, $structuredData)
- {
- foreach ($structuredData as $key => $value) {
- $this->addXmlDataOrAttribute($dom, $xmlParent, $elementName, $key, $value);
- }
- }
-
- protected function addXmlDataOrAttribute(\DOMDocument $dom, $xmlParent, $elementName, $key, $value)
- {
- $childElementName = $this->getDefaultElementName($elementName);
- $elementName = $this->determineElementName($key, $childElementName, $value);
- if (($elementName != $childElementName) && $this->isAttribute($elementName, $key, $value)) {
- $xmlParent->setAttribute($key, $value);
- return;
- }
- $this->addXmlData($dom, $xmlParent, $elementName, $value);
- }
-
- protected function determineElementName($key, $childElementName, $value)
- {
- if (is_numeric($key)) {
- return $childElementName;
- }
- if (is_object($value)) {
- $value = (array)$value;
- }
- if (!is_array($value)) {
- return $key;
- }
- if (array_key_exists('id', $value) && ($value['id'] == $key)) {
- return $childElementName;
- }
- if (array_key_exists('name', $value) && ($value['name'] == $key)) {
- return $childElementName;
- }
- return $key;
- }
-
- protected function getTopLevelElementName($structuredData)
- {
- return 'document';
- }
-
- protected function getDefaultElementName($parentElementName)
- {
- $singularName = $this->singularForm($parentElementName);
- if (isset($singularName)) {
- return $singularName;
- }
- return 'item';
- }
-
- protected function isAttribute($parentElementName, $elementName, $value)
- {
- if (!is_string($value)) {
- return false;
- }
- return !$this->inElementList($parentElementName, $elementName) && !$this->inElementList('*', $elementName);
- }
-
- protected function inElementList($parentElementName, $elementName)
- {
- if (!array_key_exists($parentElementName, $this->elementList)) {
- return false;
- }
- return in_array($elementName, $this->elementList[$parentElementName]);
- }
-
- protected function singularForm($name)
- {
- if (substr($name, strlen($name) - 1) == "s") {
- return substr($name, 0, strlen($name) - 1);
- }
- }
-
- protected function isAssoc($data)
- {
- return array_keys($data) == range(0, count($data));
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/Xml/XmlSchemaInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/Xml/XmlSchemaInterface.php
deleted file mode 100644
index a1fad6629..000000000
--- a/vendor/consolidation/output-formatters/src/StructuredData/Xml/XmlSchemaInterface.php
+++ /dev/null
@@ -1,73 +0,0 @@
-
- *
- *
- * blah
- *
- *
- * a
- * b
- * c
- *
- *
- *
- *
- *
- *
- * This could be:
- *
- * [
- * 'id' => 1,
- * 'name' => 'doc',
- * 'foobars' =>
- * [
- * [
- * 'id' => '123',
- * 'name' => 'blah',
- * 'widgets' =>
- * [
- * [
- * 'foo' => 'a',
- * 'bar' => 'b',
- * 'baz' => 'c',
- * ]
- * ],
- * ],
- * ]
- * ]
- *
- * The challenge is more in going from an array back to the more
- * structured xml format. Note that any given key => string mapping
- * could represent either an attribute, or a simple XML element
- * containing only a string value. In general, we do *not* want to add
- * extra layers of nesting in the data structure to disambiguate between
- * these kinds of data, as we want the source data to render cleanly
- * into other formats, e.g. yaml, json, et. al., and we do not want to
- * force every data provider to have to consider the optimal xml schema
- * for their data.
- *
- * Our strategy, therefore, is to expect clients that wish to provide
- * a very specific xml representation to return a DOMDocument, and,
- * for other data structures where xml is a secondary concern, then we
- * will use some default heuristics to convert from arrays to xml.
- */
-interface XmlSchemaInterface
-{
- /**
- * Convert data to a format suitable for use in a list.
- * By default, the array values will be used. Implement
- * ListDataInterface to use some other criteria (e.g. array keys).
- *
- * @return \DOMDocument
- */
- public function arrayToXml($structuredData);
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php b/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php
deleted file mode 100644
index e7a6c8794..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php
+++ /dev/null
@@ -1,237 +0,0 @@
-isSubclassOf('\Consolidation\OutputFormatters\StructuredData\Xml\DomDataInterface') ||
- $dataType->isSubclassOf('DOMDocument') ||
- ($dataType->getName() == 'DOMDocument');
- }
-
- public function simplifyToArray($structuredData, FormatterOptions $options)
- {
- if ($structuredData instanceof DomDataInterface) {
- $structuredData = $structuredData->getDomData();
- }
- if ($structuredData instanceof \DOMDocument) {
- // $schema = $options->getXmlSchema();
- $simplified = $this->elementToArray($structuredData);
- $structuredData = array_shift($simplified);
- }
- return $structuredData;
- }
-
- /**
- * Recursively convert the provided DOM element into a php array.
- *
- * @param \DOMNode $element
- * @return array
- */
- protected function elementToArray(\DOMNode $element)
- {
- if ($element->nodeType == XML_TEXT_NODE) {
- return $element->nodeValue;
- }
- $attributes = $this->getNodeAttributes($element);
- $children = $this->getNodeChildren($element);
-
- return array_merge($attributes, $children);
- }
-
- /**
- * Get all of the attributes of the provided element.
- *
- * @param \DOMNode $element
- * @return array
- */
- protected function getNodeAttributes($element)
- {
- if (empty($element->attributes)) {
- return [];
- }
- $attributes = [];
- foreach ($element->attributes as $key => $attribute) {
- $attributes[$key] = $attribute->nodeValue;
- }
- return $attributes;
- }
-
- /**
- * Get all of the children of the provided element, with simplification.
- *
- * @param \DOMNode $element
- * @return array
- */
- protected function getNodeChildren($element)
- {
- if (empty($element->childNodes)) {
- return [];
- }
- $uniformChildrenName = $this->hasUniformChildren($element);
- // Check for plurals.
- if (in_array($element->nodeName, ["{$uniformChildrenName}s", "{$uniformChildrenName}es"])) {
- $result = $this->getUniformChildren($element->nodeName, $element);
- } else {
- $result = $this->getUniqueChildren($element->nodeName, $element);
- }
- return array_filter($result);
- }
-
- /**
- * Get the data from the children of the provided node in preliminary
- * form.
- *
- * @param \DOMNode $element
- * @return array
- */
- protected function getNodeChildrenData($element)
- {
- $children = [];
- foreach ($element->childNodes as $key => $value) {
- $children[$key] = $this->elementToArray($value);
- }
- return $children;
- }
-
- /**
- * Determine whether the children of the provided element are uniform.
- * @see getUniformChildren(), below.
- *
- * @param \DOMNode $element
- * @return boolean
- */
- protected function hasUniformChildren($element)
- {
- $last = false;
- foreach ($element->childNodes as $key => $value) {
- $name = $value->nodeName;
- if (!$name) {
- return false;
- }
- if ($last && ($name != $last)) {
- return false;
- }
- $last = $name;
- }
- return $last;
- }
-
- /**
- * Convert the children of the provided DOM element into an array.
- * Here, 'uniform' means that all of the element names of the children
- * are identical, and further, the element name of the parent is the
- * plural form of the child names. When the children are uniform in
- * this way, then the parent element name will be used as the key to
- * store the children in, and the child list will be returned as a
- * simple list with their (duplicate) element names omitted.
- *
- * @param string $parentKey
- * @param \DOMNode $element
- * @return array
- */
- protected function getUniformChildren($parentKey, $element)
- {
- $children = $this->getNodeChildrenData($element);
- $simplifiedChildren = [];
- foreach ($children as $key => $value) {
- if ($this->valueCanBeSimplified($value)) {
- $value = array_shift($value);
- }
- $id = $this->getIdOfValue($value);
- if ($id) {
- $simplifiedChildren[$parentKey][$id] = $value;
- } else {
- $simplifiedChildren[$parentKey][] = $value;
- }
- }
- return $simplifiedChildren;
- }
-
- /**
- * Determine whether the provided value has additional unnecessary
- * nesting. {"color": "red"} is converted to "red". No other
- * simplification is done.
- *
- * @param \DOMNode $value
- * @return boolean
- */
- protected function valueCanBeSimplified($value)
- {
- if (!is_array($value)) {
- return false;
- }
- if (count($value) != 1) {
- return false;
- }
- $data = array_shift($value);
- return is_string($data);
- }
-
- /**
- * If the object has an 'id' or 'name' element, then use that
- * as the array key when storing this value in its parent.
- * @param mixed $value
- * @return string
- */
- protected function getIdOfValue($value)
- {
- if (!is_array($value)) {
- return false;
- }
- if (array_key_exists('id', $value)) {
- return trim($value['id'], '-');
- }
- if (array_key_exists('name', $value)) {
- return trim($value['name'], '-');
- }
- }
-
- /**
- * Convert the children of the provided DOM element into an array.
- * Here, 'unique' means that all of the element names of the children are
- * different. Since the element names will become the key of the
- * associative array that is returned, so duplicates are not supported.
- * If there are any duplicates, then an exception will be thrown.
- *
- * @param string $parentKey
- * @param \DOMNode $element
- * @return array
- */
- protected function getUniqueChildren($parentKey, $element)
- {
- $children = $this->getNodeChildrenData($element);
- if ((count($children) == 1) && (is_string($children[0]))) {
- return [$element->nodeName => $children[0]];
- }
- $simplifiedChildren = [];
- foreach ($children as $key => $value) {
- if (is_numeric($key) && is_array($value) && (count($value) == 1)) {
- $valueKeys = array_keys($value);
- $key = $valueKeys[0];
- $value = array_shift($value);
- }
- if (array_key_exists($key, $simplifiedChildren)) {
- throw new \Exception("Cannot convert data from a DOM document to an array, because <$key> appears more than once, and is not wrapped in a <{$key}s> element.");
- }
- $simplifiedChildren[$key] = $value;
- }
- return $simplifiedChildren;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/OverrideRestructureInterface.php b/vendor/consolidation/output-formatters/src/Transformations/OverrideRestructureInterface.php
deleted file mode 100644
index 51a6ea872..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/OverrideRestructureInterface.php
+++ /dev/null
@@ -1,17 +0,0 @@
-getArrayCopy();
- return $data[0];
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/PropertyParser.php b/vendor/consolidation/output-formatters/src/Transformations/PropertyParser.php
deleted file mode 100644
index ec1616afb..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/PropertyParser.php
+++ /dev/null
@@ -1,38 +0,0 @@
- 'red',
- * 'two' => 'white',
- * 'three' => 'blue',
- * ]
- */
-class PropertyParser
-{
- public static function parse($data)
- {
- if (!is_string($data)) {
- return $data;
- }
- $result = [];
- $lines = explode("\n", $data);
- foreach ($lines as $line) {
- list($key, $value) = explode(':', trim($line), 2) + ['', ''];
- if (!empty($key) && !empty($value)) {
- $result[$key] = trim($value);
- }
- }
- return $result;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/ReorderFields.php b/vendor/consolidation/output-formatters/src/Transformations/ReorderFields.php
deleted file mode 100644
index 40d111d58..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/ReorderFields.php
+++ /dev/null
@@ -1,129 +0,0 @@
-getSelectedFieldKeys($fields, $fieldLabels);
- if (empty($fields)) {
- return array_intersect_key($fieldLabels, $firstRow);
- }
- return $this->reorderFieldLabels($fields, $fieldLabels, $data);
- }
-
- protected function reorderFieldLabels($fields, $fieldLabels, $data)
- {
- $result = [];
- $firstRow = reset($data);
- if (!$firstRow) {
- $firstRow = $fieldLabels;
- }
- foreach ($fields as $field) {
- if (array_key_exists($field, $firstRow)) {
- if (array_key_exists($field, $fieldLabels)) {
- $result[$field] = $fieldLabels[$field];
- }
- }
- }
- return $result;
- }
-
- protected function getSelectedFieldKeys($fields, $fieldLabels)
- {
- if (empty($fieldLabels)) {
- return [];
- }
- if (is_string($fields)) {
- $fields = explode(',', $fields);
- }
- $selectedFields = [];
- foreach ($fields as $field) {
- $matchedFields = $this->matchFieldInLabelMap($field, $fieldLabels);
- if (empty($matchedFields)) {
- throw new UnknownFieldException($field);
- }
- $selectedFields = array_merge($selectedFields, $matchedFields);
- }
- return $selectedFields;
- }
-
- protected function matchFieldInLabelMap($field, $fieldLabels)
- {
- $fieldRegex = $this->convertToRegex($field);
- return
- array_filter(
- array_keys($fieldLabels),
- function ($key) use ($fieldRegex, $fieldLabels) {
- $value = $fieldLabels[$key];
- return preg_match($fieldRegex, $value) || preg_match($fieldRegex, $key);
- }
- );
- }
-
- /**
- * Convert the provided string into a regex suitable for use in
- * preg_match.
- *
- * Matching occurs in the same way as the Symfony Finder component:
- * http://symfony.com/doc/current/components/finder.html#file-name
- */
- protected function convertToRegex($str)
- {
- return $this->isRegex($str) ? $str : Glob::toRegex($str);
- }
-
- /**
- * Checks whether the string is a regex. This function is copied from
- * MultiplePcreFilterIterator in the Symfony Finder component.
- *
- * @param string $str
- *
- * @return bool Whether the given string is a regex
- */
- protected function isRegex($str)
- {
- if (preg_match('/^(.{3,}?)[imsxuADU]*$/', $str, $m)) {
- $start = substr($m[1], 0, 1);
- $end = substr($m[1], -1);
-
- if ($start === $end) {
- return !preg_match('/[*?[:alnum:] \\\\]/', $start);
- }
-
- foreach (array(array('{', '}'), array('(', ')'), array('[', ']'), array('<', '>')) as $delimiters) {
- if ($start === $delimiters[0] && $end === $delimiters[1]) {
- return true;
- }
- }
- }
-
- return false;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/SimplifyToArrayInterface.php b/vendor/consolidation/output-formatters/src/Transformations/SimplifyToArrayInterface.php
deleted file mode 100644
index 7b088ae85..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/SimplifyToArrayInterface.php
+++ /dev/null
@@ -1,26 +0,0 @@
-headers = $fieldLabels;
- $this->rowLabels = $rowLabels;
- $rows = static::transformRows($data, $fieldLabels);
- $this->layout = self::TABLE_LAYOUT;
- parent::__construct($rows);
- }
-
- public function setLayout($layout)
- {
- $this->layout = $layout;
- }
-
- public function getLayout()
- {
- return $this->layout;
- }
-
- public function isList()
- {
- return $this->layout == self::LIST_LAYOUT;
- }
-
- /**
- * @inheritdoc
- */
- public function simplifyToString(FormatterOptions $options)
- {
- $alternateFormatter = new TsvFormatter();
- $output = new BufferedOutput();
-
- try {
- $data = $alternateFormatter->validate($this->getArrayCopy());
- $alternateFormatter->write($output, $this->getArrayCopy(), $options);
- } catch (\Exception $e) {
- }
- return $output->fetch();
- }
-
- protected static function transformRows($data, $fieldLabels)
- {
- $rows = [];
- foreach ($data as $rowid => $row) {
- $rows[$rowid] = static::transformRow($row, $fieldLabels);
- }
- return $rows;
- }
-
- protected static function transformRow($row, $fieldLabels)
- {
- $result = [];
- foreach ($fieldLabels as $key => $label) {
- $result[$key] = array_key_exists($key, $row) ? $row[$key] : '';
- }
- return $result;
- }
-
- public function getHeaders()
- {
- return $this->headers;
- }
-
- public function getHeader($key)
- {
- if (array_key_exists($key, $this->headers)) {
- return $this->headers[$key];
- }
- return $key;
- }
-
- public function getRowLabels()
- {
- return $this->rowLabels;
- }
-
- public function getRowLabel($rowid)
- {
- if (array_key_exists($rowid, $this->rowLabels)) {
- return $this->rowLabels[$rowid];
- }
- return $rowid;
- }
-
- public function getOriginalData()
- {
- if (isset($this->originalData)) {
- return $this->originalData->reconstruct($this->getArrayCopy(), $this->originalData->getMetadata());
- }
- return $this->getArrayCopy();
- }
-
- public function setOriginalData(MetadataHolderInterface $data)
- {
- $this->originalData = $data;
- }
-
- public function getTableData($includeRowKey = false)
- {
- $data = $this->getArrayCopy();
- if ($this->isList()) {
- $data = $this->convertTableToList();
- }
- if ($includeRowKey) {
- $data = $this->getRowDataWithKey($data);
- }
- return $data;
- }
-
- protected function convertTableToList()
- {
- $result = [];
- foreach ($this as $row) {
- foreach ($row as $key => $value) {
- $result[$key][] = $value;
- }
- }
- return $result;
- }
-
- protected function getRowDataWithKey($data)
- {
- $result = [];
- $i = 0;
- foreach ($data as $key => $row) {
- array_unshift($row, $this->getHeader($key));
- $i++;
- $result[$key] = $row;
- }
- return $result;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/UnstructuredDataFieldAccessor.php b/vendor/consolidation/output-formatters/src/Transformations/UnstructuredDataFieldAccessor.php
deleted file mode 100644
index 8ef7f12b5..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/UnstructuredDataFieldAccessor.php
+++ /dev/null
@@ -1,36 +0,0 @@
-data = $data;
- }
-
- public function get($fields)
- {
- $data = new Data($this->data);
- $result = new Data();
- foreach ($fields as $key => $label) {
- $item = $data->get($key);
- if (isset($item)) {
- if ($label == '.') {
- if (!is_array($item)) {
- return $item;
- }
- foreach ($item as $key => $value) {
- $result->set($key, $value);
- }
- } else {
- $result->set($label, $data->get($key));
- }
- }
- }
- return $result->export();
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/UnstructuredDataListTransformation.php b/vendor/consolidation/output-formatters/src/Transformations/UnstructuredDataListTransformation.php
deleted file mode 100644
index b84a0ebf5..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/UnstructuredDataListTransformation.php
+++ /dev/null
@@ -1,38 +0,0 @@
-originalData = $data;
- $rows = static::transformRows($data, $fields);
- parent::__construct($rows);
- }
-
- protected static function transformRows($data, $fields)
- {
- $rows = [];
- foreach ($data as $rowid => $row) {
- $rows[$rowid] = UnstructuredDataTransformation::transformRow($row, $fields);
- }
- return $rows;
- }
-
- public function simplifyToString(FormatterOptions $options)
- {
- $result = '';
- $iterator = $this->getIterator();
- while ($iterator->valid()) {
- $simplifiedRow = UnstructuredDataTransformation::simplifyRow($iterator->current());
- if (isset($simplifiedRow)) {
- $result .= "$simplifiedRow\n";
- }
-
- $iterator->next();
- }
- return $result;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/UnstructuredDataTransformation.php b/vendor/consolidation/output-formatters/src/Transformations/UnstructuredDataTransformation.php
deleted file mode 100644
index c1bfd508e..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/UnstructuredDataTransformation.php
+++ /dev/null
@@ -1,52 +0,0 @@
-originalData = $data;
- $rows = static::transformRow($data, $fields);
- parent::__construct($rows);
- }
-
- public function simplifyToString(FormatterOptions $options)
- {
- return static::simplifyRow($this->getArrayCopy());
- }
-
- public static function transformRow($row, $fields)
- {
- if (empty($fields)) {
- return $row;
- }
- $fieldAccessor = new UnstructuredDataFieldAccessor($row);
- return $fieldAccessor->get($fields);
- }
-
- public static function simplifyRow($row)
- {
- if (is_string($row)) {
- return $row;
- }
- if (static::isSimpleArray($row)) {
- return implode("\n", $row);
- }
- // No good way to simplify - just dump a json fragment
- return json_encode($row);
- }
-
- protected static function isSimpleArray($row)
- {
- foreach ($row as $item) {
- if (!is_string($item)) {
- return false;
- }
- }
- return true;
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/WordWrapper.php b/vendor/consolidation/output-formatters/src/Transformations/WordWrapper.php
deleted file mode 100644
index 36f9b88d0..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/WordWrapper.php
+++ /dev/null
@@ -1,122 +0,0 @@
-width = $width;
- $this->minimumWidths = new ColumnWidths();
- }
-
- /**
- * Calculate our padding widths from the specified table style.
- * @param TableStyle $style
- */
- public function setPaddingFromStyle(TableStyle $style)
- {
- $verticalBorderLen = strlen(sprintf($style->getBorderFormat(), $style->getVerticalBorderChar()));
- $paddingLen = strlen($style->getPaddingChar());
-
- $this->extraPaddingAtBeginningOfLine = 0;
- $this->extraPaddingAtEndOfLine = $verticalBorderLen;
- $this->paddingInEachCell = $verticalBorderLen + $paddingLen + 1;
- }
-
- /**
- * If columns have minimum widths, then set them here.
- * @param array $minimumWidths
- */
- public function setMinimumWidths($minimumWidths)
- {
- $this->minimumWidths = new ColumnWidths($minimumWidths);
- }
-
- /**
- * Set the minimum width of just one column
- */
- public function minimumWidth($colkey, $width)
- {
- $this->minimumWidths->setWidth($colkey, $width);
- }
-
- /**
- * Wrap the cells in each part of the provided data table
- * @param array $rows
- * @return array
- */
- public function wrap($rows, $widths = [])
- {
- $auto_widths = $this->calculateWidths($rows, $widths);
-
- // If no widths were provided, then disable wrapping
- if ($auto_widths->isEmpty()) {
- return $rows;
- }
-
- // Do wordwrap on all cells.
- $newrows = array();
- foreach ($rows as $rowkey => $row) {
- foreach ($row as $colkey => $cell) {
- $newrows[$rowkey][$colkey] = $this->wrapCell($cell, $auto_widths->width($colkey));
- }
- }
-
- return $newrows;
- }
-
- /**
- * Determine what widths we'll use for wrapping.
- */
- protected function calculateWidths($rows, $widths = [])
- {
- // Widths must be provided in some form or another, or we won't wrap.
- if (empty($widths) && !$this->width) {
- return new ColumnWidths();
- }
-
- // Technically, `$widths`, if provided here, should be used
- // as the exact widths to wrap to. For now we'll just treat
- // these as minimum widths
- $minimumWidths = $this->minimumWidths->combine(new ColumnWidths($widths));
-
- $calculator = new CalculateWidths();
- $dataCellWidths = $calculator->calculateLongestCell($rows);
-
- $availableWidth = $this->width - $dataCellWidths->paddingSpace($this->paddingInEachCell, $this->extraPaddingAtEndOfLine, $this->extraPaddingAtBeginningOfLine);
-
- $this->minimumWidths->adjustMinimumWidths($availableWidth, $dataCellWidths);
-
- return $calculator->calculate($availableWidth, $dataCellWidths, $minimumWidths);
- }
-
- /**
- * Wrap one cell. Guard against modifying non-strings and
- * then call through to wordwrap().
- *
- * @param mixed $cell
- * @param string $cellWidth
- * @return mixed
- */
- protected function wrapCell($cell, $cellWidth)
- {
- if (!is_string($cell)) {
- return $cell;
- }
- return wordwrap($cell, $cellWidth, "\n", true);
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/Wrap/CalculateWidths.php b/vendor/consolidation/output-formatters/src/Transformations/Wrap/CalculateWidths.php
deleted file mode 100644
index 04af09208..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/Wrap/CalculateWidths.php
+++ /dev/null
@@ -1,141 +0,0 @@
-totalWidth() <= $availableWidth) {
- return $dataWidths->enforceMinimums($minimumWidths);
- }
-
- // Get the short columns first. If there are none, then distribute all
- // of the available width among the remaining columns.
- $shortColWidths = $this->getShortColumns($availableWidth, $dataWidths, $minimumWidths);
- if ($shortColWidths->isEmpty()) {
- return $this->distributeLongColumns($availableWidth, $dataWidths, $minimumWidths);
- }
-
- // If some short columns were removed, then account for the length
- // of the removed columns and make a recursive call (since the average
- // width may be higher now, if the removed columns were shorter in
- // length than the previous average).
- $availableWidth -= $shortColWidths->totalWidth();
- $remainingWidths = $dataWidths->removeColumns($shortColWidths->keys());
- $remainingColWidths = $this->calculate($availableWidth, $remainingWidths, $minimumWidths);
-
- return $shortColWidths->combine($remainingColWidths);
- }
-
- /**
- * Calculate the longest cell data from any row of each of the cells.
- */
- public function calculateLongestCell($rows)
- {
- return $this->calculateColumnWidths(
- $rows,
- function ($cell) {
- return strlen($cell);
- }
- );
- }
-
- /**
- * Calculate the longest word and longest line in the provided data.
- */
- public function calculateLongestWord($rows)
- {
- return $this->calculateColumnWidths(
- $rows,
- function ($cell) {
- return static::longestWordLength($cell);
- }
- );
- }
-
- protected function calculateColumnWidths($rows, callable $fn)
- {
- $widths = [];
-
- // Examine each row and find the longest line length and longest
- // word in each column.
- foreach ($rows as $rowkey => $row) {
- foreach ($row as $colkey => $cell) {
- $value = $fn($cell);
- if ((!isset($widths[$colkey]) || ($widths[$colkey] < $value))) {
- $widths[$colkey] = $value;
- }
- }
- }
-
- return new ColumnWidths($widths);
- }
-
- /**
- * Return all of the columns whose longest line length is less than or
- * equal to the average width.
- */
- public function getShortColumns($availableWidth, ColumnWidths $dataWidths, ColumnWidths $minimumWidths)
- {
- $averageWidth = $dataWidths->averageWidth($availableWidth);
- $shortColWidths = $dataWidths->findShortColumns($averageWidth);
- return $shortColWidths->enforceMinimums($minimumWidths);
- }
-
- /**
- * Distribute the remainig space among the columns that were not
- * included in the list of "short" columns.
- */
- public function distributeLongColumns($availableWidth, ColumnWidths $dataWidths, ColumnWidths $minimumWidths)
- {
- // First distribute the remainder without regard to the minimum widths.
- $result = $dataWidths->distribute($availableWidth);
-
- // Find columns that are shorter than their minimum width.
- $undersized = $result->findUndersizedColumns($minimumWidths);
-
- // Nothing too small? Great, we're done!
- if ($undersized->isEmpty()) {
- return $result;
- }
-
- // Take out the columns that are too small and redistribute the rest.
- $availableWidth -= $undersized->totalWidth();
- $remaining = $dataWidths->removeColumns($undersized->keys());
- $distributeRemaining = $this->distributeLongColumns($availableWidth, $remaining, $minimumWidths);
-
- return $undersized->combine($distributeRemaining);
- }
-
- /**
- * Return the length of the longest word in the string.
- * @param string $str
- * @return int
- */
- protected static function longestWordLength($str)
- {
- $words = preg_split('#[ /-]#', $str);
- $lengths = array_map(function ($s) {
- return strlen($s);
- }, $words);
- return max($lengths);
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Transformations/Wrap/ColumnWidths.php b/vendor/consolidation/output-formatters/src/Transformations/Wrap/ColumnWidths.php
deleted file mode 100644
index 6995b6afb..000000000
--- a/vendor/consolidation/output-formatters/src/Transformations/Wrap/ColumnWidths.php
+++ /dev/null
@@ -1,264 +0,0 @@
-widths = $widths;
- }
-
- public function paddingSpace(
- $paddingInEachCell,
- $extraPaddingAtEndOfLine = 0,
- $extraPaddingAtBeginningOfLine = 0
- ) {
- return ($extraPaddingAtBeginningOfLine + $extraPaddingAtEndOfLine + (count($this->widths) * $paddingInEachCell));
- }
-
- /**
- * Find all of the columns that are shorter than the specified threshold.
- */
- public function findShortColumns($thresholdWidth)
- {
- $thresholdWidths = array_fill_keys(array_keys($this->widths), $thresholdWidth);
-
- return $this->findColumnsUnderThreshold($thresholdWidths);
- }
-
- /**
- * Find all of the columns that are shorter than the corresponding minimum widths.
- */
- public function findUndersizedColumns($minimumWidths)
- {
- return $this->findColumnsUnderThreshold($minimumWidths->widths());
- }
-
- protected function findColumnsUnderThreshold(array $thresholdWidths)
- {
- $shortColWidths = [];
- foreach ($this->widths as $key => $maxLength) {
- if (isset($thresholdWidths[$key]) && ($maxLength <= $thresholdWidths[$key])) {
- $shortColWidths[$key] = $maxLength;
- }
- }
-
- return new ColumnWidths($shortColWidths);
- }
-
- /**
- * If the widths specified by this object do not fit within the
- * provided avaiable width, then reduce them all proportionally.
- */
- public function adjustMinimumWidths($availableWidth, $dataCellWidths)
- {
- $result = $this->selectColumns($dataCellWidths->keys());
- if ($result->isEmpty()) {
- return $result;
- }
- $numberOfColumns = $dataCellWidths->count();
-
- // How many unspecified columns are there?
- $unspecifiedColumns = $numberOfColumns - $result->count();
- $averageWidth = $this->averageWidth($availableWidth);
-
- // Reserve some space for the columns that have no minimum.
- // Make sure they collectively get at least half of the average
- // width for each column. Or should it be a quarter?
- $reservedSpacePerColumn = ($averageWidth / 2);
- $reservedSpace = $reservedSpacePerColumn * $unspecifiedColumns;
-
- // Calculate how much of the available space is remaining for use by
- // the minimum column widths after the reserved space is accounted for.
- $remainingAvailable = $availableWidth - $reservedSpace;
-
- // Don't do anything if our widths fit inside the available widths.
- if ($result->totalWidth() <= $remainingAvailable) {
- return $result;
- }
-
- // Shrink the minimum widths if the table is too compressed.
- return $result->distribute($remainingAvailable);
- }
-
- /**
- * Return proportional weights
- */
- public function distribute($availableWidth)
- {
- $result = [];
- $totalWidth = $this->totalWidth();
- $lastColumn = $this->lastColumn();
- $widths = $this->widths();
-
- // Take off the last column, and calculate proportional weights
- // for the first N-1 columns.
- array_pop($widths);
- foreach ($widths as $key => $width) {
- $result[$key] = round(($width / $totalWidth) * $availableWidth);
- }
-
- // Give the last column the rest of the available width
- $usedWidth = $this->sumWidth($result);
- $result[$lastColumn] = $availableWidth - $usedWidth;
-
- return new ColumnWidths($result);
- }
-
- public function lastColumn()
- {
- $keys = $this->keys();
- return array_pop($keys);
- }
-
- /**
- * Return the number of columns.
- */
- public function count()
- {
- return count($this->widths);
- }
-
- /**
- * Calculate how much space is available on average for all columns.
- */
- public function averageWidth($availableWidth)
- {
- if ($this->isEmpty()) {
- debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
- }
- return $availableWidth / $this->count();
- }
-
- /**
- * Return the available keys (column identifiers) from the calculated
- * data set.
- */
- public function keys()
- {
- return array_keys($this->widths);
- }
-
- /**
- * Set the length of the specified column.
- */
- public function setWidth($key, $width)
- {
- $this->widths[$key] = $width;
- }
-
- /**
- * Return the length of the specified column.
- */
- public function width($key)
- {
- return isset($this->widths[$key]) ? $this->widths[$key] : 0;
- }
-
- /**
- * Return all of the lengths
- */
- public function widths()
- {
- return $this->widths;
- }
-
- /**
- * Return true if there is no data in this object
- */
- public function isEmpty()
- {
- return empty($this->widths);
- }
-
- /**
- * Return the sum of the lengths of the provided widths.
- */
- public function totalWidth()
- {
- return static::sumWidth($this->widths());
- }
-
- /**
- * Return the sum of the lengths of the provided widths.
- */
- public static function sumWidth($widths)
- {
- return array_reduce(
- $widths,
- function ($carry, $item) {
- return $carry + $item;
- }
- );
- }
-
- /**
- * Ensure that every item in $widths that has a corresponding entry
- * in $minimumWidths is as least as large as the minimum value held there.
- */
- public function enforceMinimums($minimumWidths)
- {
- $result = [];
- if ($minimumWidths instanceof ColumnWidths) {
- $minimumWidths = $minimumWidths->widths();
- }
- $minimumWidths += $this->widths;
-
- foreach ($this->widths as $key => $value) {
- $result[$key] = max($value, $minimumWidths[$key]);
- }
-
- return new ColumnWidths($result);
- }
-
- /**
- * Remove all of the specified columns from this data structure.
- */
- public function removeColumns($columnKeys)
- {
- $widths = $this->widths();
-
- foreach ($columnKeys as $key) {
- unset($widths[$key]);
- }
-
- return new ColumnWidths($widths);
- }
-
- /**
- * Select all columns that exist in the provided list of keys.
- */
- public function selectColumns($columnKeys)
- {
- $widths = [];
-
- foreach ($columnKeys as $key) {
- if (isset($this->widths[$key])) {
- $widths[$key] = $this->width($key);
- }
- }
-
- return new ColumnWidths($widths);
- }
-
- /**
- * Combine this set of widths with another set, and return
- * a new set that contains the entries from both.
- */
- public function combine(ColumnWidths $combineWith)
- {
- // Danger: array_merge renumbers numeric keys; that must not happen here.
- $combined = $combineWith->widths();
- foreach ($this->widths() as $key => $value) {
- $combined[$key] = $value;
- }
- return new ColumnWidths($combined);
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Validate/ValidDataTypesInterface.php b/vendor/consolidation/output-formatters/src/Validate/ValidDataTypesInterface.php
deleted file mode 100644
index 88cce5314..000000000
--- a/vendor/consolidation/output-formatters/src/Validate/ValidDataTypesInterface.php
+++ /dev/null
@@ -1,28 +0,0 @@
-validDataTypes(),
- function ($carry, $supportedType) use ($dataType) {
- return
- $carry ||
- ($dataType->getName() == $supportedType->getName()) ||
- ($dataType->isSubclassOf($supportedType->getName()));
- },
- false
- );
- }
-}
diff --git a/vendor/consolidation/output-formatters/src/Validate/ValidationInterface.php b/vendor/consolidation/output-formatters/src/Validate/ValidationInterface.php
deleted file mode 100644
index ad43626c0..000000000
--- a/vendor/consolidation/output-formatters/src/Validate/ValidationInterface.php
+++ /dev/null
@@ -1,28 +0,0 @@
- ['Name', ':', 'Rex', ],
- 'species' => ['Species', ':', 'dog', ],
- 'food' => ['Food', ':', 'kibble', ],
- 'legs' => ['Legs', ':', '4', ],
- 'description' => ['Description', ':', 'Rex is a very good dog, Brett. He likes kibble, and has four legs.', ],
-];
-
-$result = $wrapper->wrap($data);
-
-var_export($result);
-
diff --git a/vendor/consolidation/robo/.editorconfig b/vendor/consolidation/robo/.editorconfig
deleted file mode 100644
index 095771e67..000000000
--- a/vendor/consolidation/robo/.editorconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is for unifying the coding style for different editors and IDEs
-# editorconfig.org
-
-root = true
-
-[*]
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-
-[**.php]
-indent_style = space
-indent_size = 4
-
diff --git a/vendor/consolidation/robo/.scenarios.lock/install b/vendor/consolidation/robo/.scenarios.lock/install
deleted file mode 100755
index 16c69e107..000000000
--- a/vendor/consolidation/robo/.scenarios.lock/install
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-
-SCENARIO=$1
-DEPENDENCIES=${2-install}
-
-# Convert the aliases 'highest', 'lowest' and 'lock' to
-# the corresponding composer command to run.
-case $DEPENDENCIES in
- highest)
- DEPENDENCIES=update
- ;;
- lowest)
- DEPENDENCIES='update --prefer-lowest'
- ;;
- lock|default|"")
- DEPENDENCIES=install
- ;;
-esac
-
-original_name=scenarios
-recommended_name=".scenarios.lock"
-
-base="$original_name"
-if [ -d "$recommended_name" ] ; then
- base="$recommended_name"
-fi
-
-# If scenario is not specified, install the lockfile at
-# the root of the project.
-dir="$base/${SCENARIO}"
-if [ -z "$SCENARIO" ] || [ "$SCENARIO" == "default" ] ; then
- SCENARIO=default
- dir=.
-fi
-
-# Test to make sure that the selected scenario exists.
-if [ ! -d "$dir" ] ; then
- echo "Requested scenario '${SCENARIO}' does not exist."
- exit 1
-fi
-
-echo
-echo "::"
-echo ":: Switch to ${SCENARIO} scenario"
-echo "::"
-echo
-
-set -ex
-
-composer -n validate --working-dir=$dir --no-check-all --ansi
-composer -n --working-dir=$dir ${DEPENDENCIES} --prefer-dist --no-scripts
-
-# If called from a CI context, print out some extra information about
-# what we just installed.
-if [[ -n "$CI" ]] ; then
- composer -n --working-dir=$dir info
-fi
diff --git a/vendor/consolidation/robo/.scenarios.lock/symfony2/.gitignore b/vendor/consolidation/robo/.scenarios.lock/symfony2/.gitignore
deleted file mode 100644
index 88e99d50d..000000000
--- a/vendor/consolidation/robo/.scenarios.lock/symfony2/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-vendor
-composer.lock
\ No newline at end of file
diff --git a/vendor/consolidation/robo/.scenarios.lock/symfony2/composer.json b/vendor/consolidation/robo/.scenarios.lock/symfony2/composer.json
deleted file mode 100644
index 98c5121a0..000000000
--- a/vendor/consolidation/robo/.scenarios.lock/symfony2/composer.json
+++ /dev/null
@@ -1,92 +0,0 @@
-{
- "name": "consolidation/robo",
- "description": "Modern task runner",
- "license": "MIT",
- "authors": [
- {
- "name": "Davert",
- "email": "davert.php@resend.cc"
- }
- ],
- "autoload": {
- "psr-4": {
- "Robo\\": "../../src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Robo\\": "../../tests/src",
- "RoboExample\\": "../../examples/src"
- }
- },
- "bin": [
- "robo"
- ],
- "require": {
- "symfony/console": "^2.8",
- "php": ">=5.5.0",
- "league/container": "^2.2",
- "consolidation/log": "~1",
- "consolidation/config": "^1.0.10",
- "consolidation/annotated-command": "^2.10.2",
- "consolidation/output-formatters": "^3.1.13",
- "consolidation/self-update": "^1",
- "grasmash/yaml-expander": "^1.3",
- "symfony/finder": "^2.5|^3|^4",
- "symfony/process": "^2.5|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "patchwork/jsqueeze": "~2",
- "natxet/CssMin": "3.0.4",
- "pear/archive_tar": "^1.4.2",
- "codeception/base": "^2.3.7",
- "codeception/verify": "^0.3.2",
- "codeception/aspect-mock": "^1|^2.1.1",
- "goaop/parser-reflection": "^1.1.0",
- "nikic/php-parser": "^3.1.5",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/php-code-coverage": "~2|~4",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "scripts": {
- "cs": "./robo sniff",
- "unit": "./robo test --coverage",
- "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"
- ],
- "pre-install-cmd": [
- "Robo\\composer\\ScriptHandler::checkDependencies"
- ]
- },
- "config": {
- "platform": {
- "php": "5.5.9"
- },
- "optimize-autoloader": true,
- "sort-packages": true,
- "vendor-dir": "../../vendor"
- },
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "suggest": {
- "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively.",
- "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch",
- "patchwork/jsqueeze": "For minifying JS files in taskMinify",
- "natxet/CssMin": "For minifying CSS files in taskMinify"
- },
- "replace": {
- "codegyre/robo": "< 1.0"
- }
-}
diff --git a/vendor/consolidation/robo/.scenarios.lock/symfony4/.gitignore b/vendor/consolidation/robo/.scenarios.lock/symfony4/.gitignore
deleted file mode 100644
index 5657f6ea7..000000000
--- a/vendor/consolidation/robo/.scenarios.lock/symfony4/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-vendor
\ No newline at end of file
diff --git a/vendor/consolidation/robo/.scenarios.lock/symfony4/composer.json b/vendor/consolidation/robo/.scenarios.lock/symfony4/composer.json
deleted file mode 100644
index f8cd08bbb..000000000
--- a/vendor/consolidation/robo/.scenarios.lock/symfony4/composer.json
+++ /dev/null
@@ -1,93 +0,0 @@
-{
- "name": "consolidation/robo",
- "description": "Modern task runner",
- "license": "MIT",
- "authors": [
- {
- "name": "Davert",
- "email": "davert.php@resend.cc"
- }
- ],
- "autoload": {
- "psr-4": {
- "Robo\\": "../../src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Robo\\": "../../tests/src",
- "RoboExample\\": "../../examples/src"
- }
- },
- "bin": [
- "robo"
- ],
- "require": {
- "symfony/console": "^4",
- "php": ">=5.5.0",
- "league/container": "^2.2",
- "consolidation/log": "~1",
- "consolidation/config": "^1.0.10",
- "consolidation/annotated-command": "^2.10.2",
- "consolidation/output-formatters": "^3.1.13",
- "consolidation/self-update": "^1",
- "grasmash/yaml-expander": "^1.3",
- "symfony/finder": "^2.5|^3|^4",
- "symfony/process": "^2.5|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "patchwork/jsqueeze": "~2",
- "natxet/CssMin": "3.0.4",
- "pear/archive_tar": "^1.4.2",
- "codeception/base": "^2.3.7",
- "goaop/framework": "~2.1.2",
- "codeception/verify": "^0.3.2",
- "codeception/aspect-mock": "^1|^2.1.1",
- "goaop/parser-reflection": "^1.1.0",
- "nikic/php-parser": "^3.1.5",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/php-code-coverage": "~2|~4",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "scripts": {
- "cs": "./robo sniff",
- "unit": "./robo test --coverage",
- "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"
- ],
- "pre-install-cmd": [
- "Robo\\composer\\ScriptHandler::checkDependencies"
- ]
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- },
- "optimize-autoloader": true,
- "sort-packages": true,
- "vendor-dir": "../../vendor"
- },
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "suggest": {
- "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively.",
- "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch",
- "patchwork/jsqueeze": "For minifying JS files in taskMinify",
- "natxet/CssMin": "For minifying CSS files in taskMinify"
- },
- "replace": {
- "codegyre/robo": "< 1.0"
- }
-}
diff --git a/vendor/consolidation/robo/.scenarios.lock/symfony4/composer.lock b/vendor/consolidation/robo/.scenarios.lock/symfony4/composer.lock
deleted file mode 100644
index 91ed61949..000000000
--- a/vendor/consolidation/robo/.scenarios.lock/symfony4/composer.lock
+++ /dev/null
@@ -1,4185 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "1a9adc60403e6c6b6117a465e9afca9f",
- "packages": [
- {
- "name": "consolidation/annotated-command",
- "version": "2.11.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/annotated-command.git",
- "reference": "edea407f57104ed518cc3c3b47d5b84403ee267a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/edea407f57104ed518cc3c3b47d5b84403ee267a",
- "reference": "edea407f57104ed518cc3c3b47d5b84403ee267a",
- "shasum": ""
- },
- "require": {
- "consolidation/output-formatters": "^3.4",
- "php": ">=5.4.0",
- "psr/log": "^1",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/phpunit": "^6",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- },
- "scenario-options": {
- "create-lockfile": "false"
- }
- },
- "phpunit4": {
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- }
- },
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\AnnotatedCommand\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Initialize Symfony Console commands from annotated command class methods.",
- "time": "2018-12-29T04:43:17+00:00"
- },
- {
- "name": "consolidation/config",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/config.git",
- "reference": "925231dfff32f05b787e1fddb265e789b939cf4c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/config/zipball/925231dfff32f05b787e1fddb265e789b939cf4c",
- "reference": "925231dfff32f05b787e1fddb265e789b939cf4c",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "grasmash/expander": "^1",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^5",
- "satooshi/php-coveralls": "^1.0",
- "squizlabs/php_codesniffer": "2.*",
- "symfony/console": "^2.5|^3|^4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "suggest": {
- "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\Config\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Provide configuration services for a commandline tool.",
- "time": "2018-10-24T17:55:35+00:00"
- },
- {
- "name": "consolidation/log",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/log.git",
- "reference": "b2e887325ee90abc96b0a8b7b474cd9e7c896e3a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/log/zipball/b2e887325ee90abc96b0a8b7b474cd9e7c896e3a",
- "reference": "b2e887325ee90abc96b0a8b7b474cd9e7c896e3a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.5",
- "psr/log": "^1.0",
- "symfony/console": "^2.8|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/phpunit": "^6",
- "squizlabs/php_codesniffer": "^2"
- },
- "type": "library",
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- },
- "phpunit4": {
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- }
- },
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\Log\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.",
- "time": "2019-01-01T17:30:51+00:00"
- },
- {
- "name": "consolidation/output-formatters",
- "version": "3.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/output-formatters.git",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/a942680232094c4a5b21c0b7e54c20cce623ae19",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^5.7.27",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7",
- "symfony/console": "3.2.3",
- "symfony/var-dumper": "^2.8|^3|^4",
- "victorjonsson/markdowndocs": "^1.3"
- },
- "suggest": {
- "symfony/var-dumper": "For using the var_dump formatter"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\OutputFormatters\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Format text by applying transformations provided by plug-in formatters.",
- "time": "2018-10-19T22:35:38+00:00"
- },
- {
- "name": "consolidation/self-update",
- "version": "1.1.5",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/self-update.git",
- "reference": "a1c273b14ce334789825a09d06d4c87c0a02ad54"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/self-update/zipball/a1c273b14ce334789825a09d06d4c87c0a02ad54",
- "reference": "a1c273b14ce334789825a09d06d4c87c0a02ad54",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4"
- },
- "bin": [
- "scripts/release"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "SelfUpdate\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- },
- {
- "name": "Alexander Menk",
- "email": "menk@mestrona.net"
- }
- ],
- "description": "Provides a self:update command for Symfony Console applications.",
- "time": "2018-10-28T01:52:03+00:00"
- },
- {
- "name": "container-interop/container-interop",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/container-interop/container-interop.git",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "shasum": ""
- },
- "require": {
- "psr/container": "^1.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Interop\\Container\\": "src/Interop/Container/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
- "homepage": "https://github.com/container-interop/container-interop",
- "time": "2017-02-14T19:40:03+00:00"
- },
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ],
- "time": "2017-01-20T21:14:22+00:00"
- },
- {
- "name": "grasmash/expander",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/expander.git",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/expander/zipball/95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\Expander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in PHP arrays file.",
- "time": "2017-12-21T22:14:55+00:00"
- },
- {
- "name": "grasmash/yaml-expander",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/yaml-expander.git",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4.8|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\YamlExpander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in a yaml file.",
- "time": "2017-12-16T16:06:03+00:00"
- },
- {
- "name": "league/container",
- "version": "2.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/thephpleague/container.git",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/thephpleague/container/zipball/43f35abd03a12977a60ffd7095efd6a7808488c0",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0",
- "shasum": ""
- },
- "require": {
- "container-interop/container-interop": "^1.2",
- "php": "^5.4.0 || ^7.0"
- },
- "provide": {
- "container-interop/container-interop-implementation": "^1.2",
- "psr/container-implementation": "^1.0"
- },
- "replace": {
- "orno/di": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-2.x": "2.x-dev",
- "dev-1.x": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "League\\Container\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Phil Bennett",
- "email": "philipobenito@gmail.com",
- "homepage": "http://www.philipobenito.com",
- "role": "Developer"
- }
- ],
- "description": "A fast and intuitive dependency injection container.",
- "homepage": "https://github.com/thephpleague/container",
- "keywords": [
- "container",
- "dependency",
- "di",
- "injection",
- "league",
- "provider",
- "service"
- ],
- "time": "2017-05-10T09:20:27+00:00"
- },
- {
- "name": "psr/container",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/container.git",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Container\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common Container Interface (PHP FIG PSR-11)",
- "homepage": "https://github.com/php-fig/container",
- "keywords": [
- "PSR-11",
- "container",
- "container-interface",
- "container-interop",
- "psr"
- ],
- "time": "2017-02-14T16:28:37+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "4dff24e5d01e713818805c1862d2e3f901ee7dd0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/4dff24e5d01e713818805c1862d2e3f901ee7dd0",
- "reference": "4dff24e5d01e713818805c1862d2e3f901ee7dd0",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/contracts": "^1.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~3.4|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.4|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-27T07:40:44+00:00"
- },
- {
- "name": "symfony/contracts",
- "version": "v1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/contracts.git",
- "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/contracts/zipball/1aa7ab2429c3d594dd70689604b5cf7421254cdf",
- "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3"
- },
- "require-dev": {
- "psr/cache": "^1.0",
- "psr/container": "^1.0"
- },
- "suggest": {
- "psr/cache": "When using the Cache contracts",
- "psr/container": "When using the Service contracts",
- "symfony/cache-contracts-implementation": "",
- "symfony/service-contracts-implementation": "",
- "symfony/translation-contracts-implementation": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Contracts\\": ""
- },
- "exclude-from-classmap": [
- "**/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "A set of abstractions extracted out of the Symfony components",
- "homepage": "https://symfony.com",
- "keywords": [
- "abstractions",
- "contracts",
- "decoupling",
- "interfaces",
- "interoperability",
- "standards"
- ],
- "time": "2018-12-05T08:06:11+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "921f49c3158a276d27c0d770a5a347a3b718b328"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/921f49c3158a276d27c0d770a5a347a3b718b328",
- "reference": "921f49c3158a276d27c0d770a5a347a3b718b328",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/contracts": "^1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/expression-language": "~3.4|~4.0",
- "symfony/stopwatch": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-12-01T08:52:38+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "2f4c8b999b3b7cadb2a69390b01af70886753710"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/2f4c8b999b3b7cadb2a69390b01af70886753710",
- "reference": "2f4c8b999b3b7cadb2a69390b01af70886753710",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:52:12+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "6cf2be5cbd0e87aa35c01f80ae0bf40b6798e442"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/6cf2be5cbd0e87aa35c01f80ae0bf40b6798e442",
- "reference": "6cf2be5cbd0e87aa35c01f80ae0bf40b6798e442",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:48:54+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T13:07:52+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "2b341009ccec76837a7f46f59641b431e4d4c2b0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/2b341009ccec76837a7f46f59641b431e4d4c2b0",
- "reference": "2b341009ccec76837a7f46f59641b431e4d4c2b0",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-20T16:22:05+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "c41175c801e3edfda90f32e292619d10c27103d7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/c41175c801e3edfda90f32e292619d10c27103d7",
- "reference": "c41175c801e3edfda90f32e292619d10c27103d7",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:52:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "behat/gherkin",
- "version": "v4.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Behat/Gherkin.git",
- "reference": "74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Behat/Gherkin/zipball/74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a",
- "reference": "74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.5|~5",
- "symfony/phpunit-bridge": "~2.7|~3",
- "symfony/yaml": "~2.3|~3"
- },
- "suggest": {
- "symfony/yaml": "If you want to parse features, represented in YAML files"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Behat\\Gherkin": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- }
- ],
- "description": "Gherkin DSL parser for PHP 5.3",
- "homepage": "http://behat.org/",
- "keywords": [
- "BDD",
- "Behat",
- "Cucumber",
- "DSL",
- "gherkin",
- "parser"
- ],
- "time": "2017-08-30T11:04:43+00:00"
- },
- {
- "name": "codeception/aspect-mock",
- "version": "2.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/AspectMock.git",
- "reference": "bf3c000599c0dc75ecb52e19dee2b8ed294cf7ba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/AspectMock/zipball/bf3c000599c0dc75ecb52e19dee2b8ed294cf7ba",
- "reference": "bf3c000599c0dc75ecb52e19dee2b8ed294cf7ba",
- "shasum": ""
- },
- "require": {
- "goaop/framework": "^2.0.0",
- "php": ">=5.6.0",
- "symfony/finder": "~2.4|~3.0"
- },
- "require-dev": {
- "codeception/base": "~2.1",
- "codeception/specify": "~0.3",
- "codeception/verify": "~0.2"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "AspectMock": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Bodnarchuk",
- "email": "davert@codeception.com"
- }
- ],
- "description": "Experimental Mocking Framework powered by Aspects",
- "time": "2017-10-24T10:20:17+00:00"
- },
- {
- "name": "codeception/base",
- "version": "2.5.2",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/base.git",
- "reference": "50aaf8bc032823018aed8d14114843b4a2c52a48"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/base/zipball/50aaf8bc032823018aed8d14114843b4a2c52a48",
- "reference": "50aaf8bc032823018aed8d14114843b4a2c52a48",
- "shasum": ""
- },
- "require": {
- "behat/gherkin": "^4.4.0",
- "codeception/phpunit-wrapper": "^6.0.9|^7.0.6",
- "codeception/stub": "^2.0",
- "ext-curl": "*",
- "ext-json": "*",
- "ext-mbstring": "*",
- "guzzlehttp/psr7": "~1.0",
- "php": ">=5.6.0 <8.0",
- "symfony/browser-kit": ">=2.7 <5.0",
- "symfony/console": ">=2.7 <5.0",
- "symfony/css-selector": ">=2.7 <5.0",
- "symfony/dom-crawler": ">=2.7 <5.0",
- "symfony/event-dispatcher": ">=2.7 <5.0",
- "symfony/finder": ">=2.7 <5.0",
- "symfony/yaml": ">=2.7 <5.0"
- },
- "require-dev": {
- "codeception/specify": "~0.3",
- "facebook/graph-sdk": "~5.3",
- "flow/jsonpath": "~0.2",
- "monolog/monolog": "~1.8",
- "pda/pheanstalk": "~3.0",
- "php-amqplib/php-amqplib": "~2.4",
- "predis/predis": "^1.0",
- "squizlabs/php_codesniffer": "~2.0",
- "symfony/process": ">=2.7 <5.0",
- "vlucas/phpdotenv": "^2.4.0"
- },
- "suggest": {
- "aws/aws-sdk-php": "For using AWS Auth in REST module and Queue module",
- "codeception/phpbuiltinserver": "Start and stop PHP built-in web server for your tests",
- "codeception/specify": "BDD-style code blocks",
- "codeception/verify": "BDD-style assertions",
- "flow/jsonpath": "For using JSONPath in REST module",
- "league/factory-muffin": "For DataFactory module",
- "league/factory-muffin-faker": "For Faker support in DataFactory module",
- "phpseclib/phpseclib": "for SFTP option in FTP Module",
- "stecman/symfony-console-completion": "For BASH autocompletion",
- "symfony/phpunit-bridge": "For phpunit-bridge support"
- },
- "bin": [
- "codecept"
- ],
- "type": "library",
- "extra": {
- "branch-alias": []
- },
- "autoload": {
- "psr-4": {
- "Codeception\\": "src/Codeception",
- "Codeception\\Extension\\": "ext"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Bodnarchuk",
- "email": "davert@mail.ua",
- "homepage": "http://codegyre.com"
- }
- ],
- "description": "BDD-style testing framework",
- "homepage": "http://codeception.com/",
- "keywords": [
- "BDD",
- "TDD",
- "acceptance testing",
- "functional testing",
- "unit testing"
- ],
- "time": "2019-01-01T21:20:37+00:00"
- },
- {
- "name": "codeception/phpunit-wrapper",
- "version": "6.0.13",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/phpunit-wrapper.git",
- "reference": "d25db254173582bc27aa8c37cb04ce2481675bcd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/d25db254173582bc27aa8c37cb04ce2481675bcd",
- "reference": "d25db254173582bc27aa8c37cb04ce2481675bcd",
- "shasum": ""
- },
- "require": {
- "phpunit/php-code-coverage": ">=4.0.4 <6.0",
- "phpunit/phpunit": ">=5.7.27 <6.5.13",
- "sebastian/comparator": ">=1.2.4 <3.0",
- "sebastian/diff": ">=1.4 <4.0"
- },
- "replace": {
- "codeception/phpunit-wrapper": "*"
- },
- "require-dev": {
- "codeception/specify": "*",
- "vlucas/phpdotenv": "^2.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Codeception\\PHPUnit\\": "src\\"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Davert",
- "email": "davert.php@resend.cc"
- }
- ],
- "description": "PHPUnit classes used by Codeception",
- "time": "2019-01-01T15:39:52+00:00"
- },
- {
- "name": "codeception/stub",
- "version": "2.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/Stub.git",
- "reference": "f50bc271f392a2836ff80690ce0c058efe1ae03e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/Stub/zipball/f50bc271f392a2836ff80690ce0c058efe1ae03e",
- "reference": "f50bc271f392a2836ff80690ce0c058efe1ae03e",
- "shasum": ""
- },
- "require": {
- "phpunit/phpunit": ">=4.8 <8.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Codeception\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Flexible Stub wrapper for PHPUnit's Mock Builder",
- "time": "2018-07-26T11:55:37+00:00"
- },
- {
- "name": "codeception/verify",
- "version": "0.3.3",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/Verify.git",
- "reference": "5d649dda453cd814dadc4bb053060cd2c6bb4b4c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/Verify/zipball/5d649dda453cd814dadc4bb053060cd2c6bb4b4c",
- "reference": "5d649dda453cd814dadc4bb053060cd2c6bb4b4c",
- "shasum": ""
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/Codeception/function.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Bodnarchuk",
- "email": "davert.php@mailican.com"
- }
- ],
- "description": "BDD assertion library for PHPUnit",
- "time": "2017-01-09T10:58:51+00:00"
- },
- {
- "name": "doctrine/annotations",
- "version": "v1.6.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/annotations.git",
- "reference": "c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/annotations/zipball/c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5",
- "reference": "c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5",
- "shasum": ""
- },
- "require": {
- "doctrine/lexer": "1.*",
- "php": "^7.1"
- },
- "require-dev": {
- "doctrine/cache": "1.*",
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Docblock Annotations Parser",
- "homepage": "http://www.doctrine-project.org",
- "keywords": [
- "annotations",
- "docblock",
- "parser"
- ],
- "time": "2017-12-06T07:11:42+00:00"
- },
- {
- "name": "doctrine/instantiator",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "^6.2.3",
- "squizlabs/php_codesniffer": "^3.0.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2017-07-22T11:58:36+00:00"
- },
- {
- "name": "doctrine/lexer",
- "version": "v1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/lexer.git",
- "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c",
- "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Doctrine\\Common\\Lexer\\": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.",
- "homepage": "http://www.doctrine-project.org",
- "keywords": [
- "lexer",
- "parser"
- ],
- "time": "2014-09-09T13:34:57+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/224531e20d13a07942a989a70759f726cd2df9a1",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "composer/composer": "^1.7",
- "php-coveralls/php-coveralls": "^1.0",
- "phpunit/phpunit": "^4.8.36|^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "bin": [
- "scripts/dependency-licenses"
- ],
- "type": "composer-plugin",
- "extra": {
- "class": "ComposerTestScenarios\\Plugin",
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "ComposerTestScenarios\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-11-27T05:58:39+00:00"
- },
- {
- "name": "goaop/framework",
- "version": "2.1.2",
- "source": {
- "type": "git",
- "url": "https://github.com/goaop/framework.git",
- "reference": "6e2a0fe13c1943db02a67588cfd27692bddaffa5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/goaop/framework/zipball/6e2a0fe13c1943db02a67588cfd27692bddaffa5",
- "reference": "6e2a0fe13c1943db02a67588cfd27692bddaffa5",
- "shasum": ""
- },
- "require": {
- "doctrine/annotations": "~1.0",
- "goaop/parser-reflection": "~1.2",
- "jakubledl/dissect": "~1.0",
- "php": ">=5.6.0"
- },
- "require-dev": {
- "adlawson/vfs": "^0.12",
- "doctrine/orm": "^2.5",
- "phpunit/phpunit": "^4.8",
- "symfony/console": "^2.7|^3.0"
- },
- "suggest": {
- "symfony/console": "Enables the usage of the command-line tool."
- },
- "bin": [
- "bin/aspect"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Go\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Lisachenko Alexander",
- "homepage": "https://github.com/lisachenko"
- }
- ],
- "description": "Framework for aspect-oriented programming in PHP.",
- "homepage": "http://go.aopphp.com/",
- "keywords": [
- "aop",
- "aspect",
- "library",
- "php"
- ],
- "time": "2017-07-12T11:46:25+00:00"
- },
- {
- "name": "goaop/parser-reflection",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/goaop/parser-reflection.git",
- "reference": "d9c1dcc7ce4a5284fe3530e011faf9c9c10e1166"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/goaop/parser-reflection/zipball/d9c1dcc7ce4a5284fe3530e011faf9c9c10e1166",
- "reference": "d9c1dcc7ce4a5284fe3530e011faf9c9c10e1166",
- "shasum": ""
- },
- "require": {
- "nikic/php-parser": "^1.2|^2.0|^3.0",
- "php": ">=5.6.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Go\\ParserReflection\\": "src"
- },
- "files": [
- "src/bootstrap.php"
- ],
- "exclude-from-classmap": [
- "/tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Alexander Lisachenko",
- "email": "lisachenko.it@gmail.com"
- }
- ],
- "description": "Provides reflection information, based on raw source",
- "time": "2018-03-19T15:57:41+00:00"
- },
- {
- "name": "guzzle/guzzle",
- "version": "v3.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": ">=2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "*",
- "monolog/monolog": "1.*",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "1.0.*",
- "symfony/class-loader": "*",
- "zendframework/zend-cache": "<2.3",
- "zendframework/zend-log": "<2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.8-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "abandoned": "guzzlehttp/guzzle",
- "time": "2014-01-28T22:29:15+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.5.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "9f83dded91781a01c63574e387eaa769be769115"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/9f83dded91781a01c63574e387eaa769be769115",
- "reference": "9f83dded91781a01c63574e387eaa769be769115",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0",
- "ralouphie/getallheaders": "^2.0.5"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.5-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "psr-7",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2018-12-04T20:46:45+00:00"
- },
- {
- "name": "jakubledl/dissect",
- "version": "v1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/jakubledl/dissect.git",
- "reference": "d3a391de31e45a247e95cef6cf58a91c05af67c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/jakubledl/dissect/zipball/d3a391de31e45a247e95cef6cf58a91c05af67c4",
- "reference": "d3a391de31e45a247e95cef6cf58a91c05af67c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "symfony/console": "~2.1"
- },
- "suggest": {
- "symfony/console": "for the command-line tool"
- },
- "bin": [
- "bin/dissect.php",
- "bin/dissect"
- ],
- "type": "library",
- "autoload": {
- "psr-0": {
- "Dissect": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "unlicense"
- ],
- "authors": [
- {
- "name": "Jakub Lédl",
- "email": "jakubledl@gmail.com"
- }
- ],
- "description": "Lexing and parsing in pure PHP",
- "homepage": "https://github.com/jakubledl/dissect",
- "keywords": [
- "ast",
- "lexing",
- "parser",
- "parsing"
- ],
- "time": "2013-01-29T21:29:14+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "replace": {
- "myclabs/deep-copy": "self.version"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2018-06-11T23:09:50+00:00"
- },
- {
- "name": "natxet/CssMin",
- "version": "v3.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/natxet/CssMin.git",
- "reference": "92de3fe3ccb4f8298d31952490ef7d5395855c39"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/natxet/CssMin/zipball/92de3fe3ccb4f8298d31952490ef7d5395855c39",
- "reference": "92de3fe3ccb4f8298d31952490ef7d5395855c39",
- "shasum": ""
- },
- "require": {
- "php": ">=5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Joe Scylla",
- "email": "joe.scylla@gmail.com",
- "homepage": "https://profiles.google.com/joe.scylla"
- }
- ],
- "description": "Minifying CSS",
- "homepage": "http://code.google.com/p/cssmin/",
- "keywords": [
- "css",
- "minify"
- ],
- "time": "2015-09-25T11:13:11+00:00"
- },
- {
- "name": "nikic/php-parser",
- "version": "v3.1.5",
- "source": {
- "type": "git",
- "url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "bb87e28e7d7b8d9a7fda231d37457c9210faf6ce"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/bb87e28e7d7b8d9a7fda231d37457c9210faf6ce",
- "reference": "bb87e28e7d7b8d9a7fda231d37457c9210faf6ce",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0|~5.0"
- },
- "bin": [
- "bin/php-parse"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "PhpParser\\": "lib/PhpParser"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Nikita Popov"
- }
- ],
- "description": "A PHP parser written in PHP",
- "keywords": [
- "parser",
- "php"
- ],
- "time": "2018-02-28T20:30:58+00:00"
- },
- {
- "name": "patchwork/jsqueeze",
- "version": "v2.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/tchwork/jsqueeze.git",
- "reference": "693d64850eab2ce6a7c8f7cf547e1ab46e69d542"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/tchwork/jsqueeze/zipball/693d64850eab2ce6a7c8f7cf547e1ab46e69d542",
- "reference": "693d64850eab2ce6a7c8f7cf547e1ab46e69d542",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Patchwork\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "(Apache-2.0 or GPL-2.0)"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- }
- ],
- "description": "Efficient JavaScript minification in PHP",
- "homepage": "https://github.com/tchwork/jsqueeze",
- "keywords": [
- "compression",
- "javascript",
- "minification"
- ],
- "time": "2016-04-19T09:28:22+00:00"
- },
- {
- "name": "pear/archive_tar",
- "version": "1.4.4",
- "source": {
- "type": "git",
- "url": "https://github.com/pear/Archive_Tar.git",
- "reference": "b005152d4ed8f23bcc93637611fa94f39ef5b904"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pear/Archive_Tar/zipball/b005152d4ed8f23bcc93637611fa94f39ef5b904",
- "reference": "b005152d4ed8f23bcc93637611fa94f39ef5b904",
- "shasum": ""
- },
- "require": {
- "pear/pear-core-minimal": "^1.10.0alpha2",
- "php": ">=5.2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "*"
- },
- "suggest": {
- "ext-bz2": "Bz2 compression support.",
- "ext-xz": "Lzma2 compression support.",
- "ext-zlib": "Gzip compression support."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Archive_Tar": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "include-path": [
- "./"
- ],
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Vincent Blavet",
- "email": "vincent@phpconcept.net"
- },
- {
- "name": "Greg Beaver",
- "email": "greg@chiaraquartet.net"
- },
- {
- "name": "Michiel Rook",
- "email": "mrook@php.net"
- }
- ],
- "description": "Tar file management class with compression support (gzip, bzip2, lzma2)",
- "homepage": "https://github.com/pear/Archive_Tar",
- "keywords": [
- "archive",
- "tar"
- ],
- "time": "2018-12-20T20:47:24+00:00"
- },
- {
- "name": "pear/console_getopt",
- "version": "v1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/pear/Console_Getopt.git",
- "reference": "82f05cd1aa3edf34e19aa7c8ca312ce13a6a577f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pear/Console_Getopt/zipball/82f05cd1aa3edf34e19aa7c8ca312ce13a6a577f",
- "reference": "82f05cd1aa3edf34e19aa7c8ca312ce13a6a577f",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Console": "./"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "include-path": [
- "./"
- ],
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Greg Beaver",
- "email": "cellog@php.net",
- "role": "Helper"
- },
- {
- "name": "Andrei Zmievski",
- "email": "andrei@php.net",
- "role": "Lead"
- },
- {
- "name": "Stig Bakken",
- "email": "stig@php.net",
- "role": "Developer"
- }
- ],
- "description": "More info available on: http://pear.php.net/package/Console_Getopt",
- "time": "2015-07-20T20:28:12+00:00"
- },
- {
- "name": "pear/pear-core-minimal",
- "version": "v1.10.7",
- "source": {
- "type": "git",
- "url": "https://github.com/pear/pear-core-minimal.git",
- "reference": "19a3e0fcd50492c4357372f623f55f1b144346da"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/19a3e0fcd50492c4357372f623f55f1b144346da",
- "reference": "19a3e0fcd50492c4357372f623f55f1b144346da",
- "shasum": ""
- },
- "require": {
- "pear/console_getopt": "~1.4",
- "pear/pear_exception": "~1.0"
- },
- "replace": {
- "rsky/pear-core-min": "self.version"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "include-path": [
- "src/"
- ],
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Christian Weiske",
- "email": "cweiske@php.net",
- "role": "Lead"
- }
- ],
- "description": "Minimal set of PEAR core files to be used as composer dependency",
- "time": "2018-12-05T20:03:52+00:00"
- },
- {
- "name": "pear/pear_exception",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/pear/PEAR_Exception.git",
- "reference": "8c18719fdae000b690e3912be401c76e406dd13b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pear/PEAR_Exception/zipball/8c18719fdae000b690e3912be401c76e406dd13b",
- "reference": "8c18719fdae000b690e3912be401c76e406dd13b",
- "shasum": ""
- },
- "require": {
- "php": ">=4.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "*"
- },
- "type": "class",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "PEAR": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "include-path": [
- "."
- ],
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Helgi Thormar",
- "email": "dufuz@php.net"
- },
- {
- "name": "Greg Beaver",
- "email": "cellog@php.net"
- }
- ],
- "description": "The PEAR Exception base class.",
- "homepage": "https://github.com/pear/PEAR_Exception",
- "keywords": [
- "exception"
- ],
- "time": "2015-02-10T20:07:52+00:00"
- },
- {
- "name": "php-coveralls/php-coveralls",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzle/guzzle": "^2.8 || ^3.0",
- "php": "^5.3.3 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/coveralls"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "Satooshi\\": "src/Satooshi/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "time": "2017-12-06T23:17:56+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "4.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-30T07:14:17+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "4.0.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^5.6 || ^7.0",
- "phpunit/php-file-iterator": "^1.3",
- "phpunit/php-text-template": "^1.2",
- "phpunit/php-token-stream": "^1.4.2 || ^2.0",
- "sebastian/code-unit-reverse-lookup": "^1.0",
- "sebastian/environment": "^1.3.2 || ^2.0",
- "sebastian/version": "^1.0 || ^2.0"
- },
- "require-dev": {
- "ext-xdebug": "^2.1.4",
- "phpunit/phpunit": "^5.7"
- },
- "suggest": {
- "ext-xdebug": "^2.5.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2017-04-02T07:44:40+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "791198a2c6254db10131eecfe8c06670700904db"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db",
- "reference": "791198a2c6254db10131eecfe8c06670700904db",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-11-27T05:48:46+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "5.7.27",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "~1.3",
- "php": "^5.6 || ^7.0",
- "phpspec/prophecy": "^1.6.2",
- "phpunit/php-code-coverage": "^4.0.4",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "^3.2",
- "sebastian/comparator": "^1.2.4",
- "sebastian/diff": "^1.4.3",
- "sebastian/environment": "^1.3.4 || ^2.0",
- "sebastian/exporter": "~2.0",
- "sebastian/global-state": "^1.1",
- "sebastian/object-enumerator": "~2.0",
- "sebastian/resource-operations": "~1.0",
- "sebastian/version": "^1.0.6|^2.0.1",
- "symfony/yaml": "~2.1|~3.0|~4.0"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.7.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-02-01T05:50:59+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "3.4.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.6 || ^7.0",
- "phpunit/php-text-template": "^1.2",
- "sebastian/exporter": "^1.2 || ^2.0"
- },
- "conflict": {
- "phpunit/phpunit": "<5.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2017-06-30T09:13:00+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "ralouphie/getallheaders",
- "version": "2.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/ralouphie/getallheaders.git",
- "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
- "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~3.7.0",
- "satooshi/php-coveralls": ">=1.0"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/getallheaders.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ralph Khattar",
- "email": "ralph.khattar@gmail.com"
- }
- ],
- "description": "A polyfill for getallheaders.",
- "time": "2016-02-11T07:05:27+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-11-26T07:53:53+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-11-19T08:54:04+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-02-18T15:18:39+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-11-19T07:33:16+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2018-11-07T22:31:41+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "db7e59fec9c82d45e745eb500e6ede2d96f4a6e9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/db7e59fec9c82d45e745eb500e6ede2d96f4a6e9",
- "reference": "db7e59fec9c82d45e745eb500e6ede2d96f4a6e9",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/dom-crawler": "~3.4|~4.0"
- },
- "require-dev": {
- "symfony/css-selector": "~3.4|~4.0",
- "symfony/process": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-26T11:49:31+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "005d9a083d03f588677d15391a716b1ac9b887c0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/005d9a083d03f588677d15391a716b1ac9b887c0",
- "reference": "005d9a083d03f588677d15391a716b1ac9b887c0",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/filesystem": "~3.4|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/finder": "<3.4"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~3.4|~4.0",
- "symfony/finder": "~3.4|~4.0",
- "symfony/yaml": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-30T22:21:14+00:00"
- },
- {
- "name": "symfony/css-selector",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/css-selector.git",
- "reference": "aa9fa526ba1b2ec087ffdfb32753803d999fcfcd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/aa9fa526ba1b2ec087ffdfb32753803d999fcfcd",
- "reference": "aa9fa526ba1b2ec087ffdfb32753803d999fcfcd",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\CssSelector\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jean-François Simon",
- "email": "jeanfrancois.simon@sensiolabs.com"
- },
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony CssSelector Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:52:12+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "7438a32108fdd555295f443605d6de2cce473159"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/7438a32108fdd555295f443605d6de2cce473159",
- "reference": "7438a32108fdd555295f443605d6de2cce473159",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/polyfill-ctype": "~1.8",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-26T10:55:26+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v4.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "ec076716412274e51f8a7ea675d9515e5c311123"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/ec076716412274e51f8a7ea675d9515e5c311123",
- "reference": "ec076716412274e51f8a7ea675d9515e5c311123",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3",
- "symfony/contracts": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:52:12+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0",
- "symfony/polyfill-ctype": "^1.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-12-25T11:19:39+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.5.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "7.1.3"
- }
-}
diff --git a/vendor/consolidation/robo/CHANGELOG.md b/vendor/consolidation/robo/CHANGELOG.md
deleted file mode 100644
index 3f0693647..000000000
--- a/vendor/consolidation/robo/CHANGELOG.md
+++ /dev/null
@@ -1,367 +0,0 @@
-# Changelog
-
-### 1.4.0 - 1.4.3 1/2/2019
-
-* BUGFIX: Back out 1.3.5, which contained breaking changes. Create a 1.x branch for continuation of compatible versions, and move breaking code to 2.x development (on master branch).
-
-### 1.3.4 12/20/2018
-
-* Allow for aborting completions or rollbacks by James Sansbury (#815)
-* BUGFIX: Allow commands to declare '@param InputInterface' to satisfy code style checks
-
-### 1.3.3 12/13/2018
-
-* Add StdinHandler to the standard Robo DI container (#814)
-* BUGFIX: Add test to ensure rollback order is in reverse by James Sansbury (#812)
-* BUGFIX: Fix the main Robo script entrypoint to work as a phar. (#811)
-
-### 1.3.2 11/21/2018
-
-* Update to Composer Test Scenarios 3 (#803)
-* Support Windows line endings in ".semver" file by Cédric Belin (#788)
-* Ensure that environment variables are preserved in Exec by James Sansbury (#769)
-* Correct Doxygen in \Robo\Task\Composer\loadTasks. (#772)
-
-### 1.3.1 8/17/2018
-
-* Move self:update command to consolidation/self-update project.
-* Fix overzealous shebang function (#759)
-* Actualize RoboFile of Codeception project link url in RADME.php by Valerij Ivashchenko (#756)
-* Workaround - Move g1a/composer-test-scenarios from require-dev to require.
-* Add --no-progress --no-suggest back in.
-* Tell dependencies.io to use --no-dev when determining if a PR should be made.
-* Omit --no-dev when the PR is actually being composed.
-* Add `Events` as third parameter in watch function (#751)
-
-### 1.3.0 5/26/2018
-
-* Add EnvConfig to Robo: set configuration values via environment variables (#737)
-
-### 1.2.4 5/25/2018
-
-* Update 'Robo as a Framework' documentation to recommend https://github.com/g1a/starter
-* Allow CommandStack to exec other tasks by Scott Falkingham (#726)
-* Fix double escape when specifying a remoteShell with rsync by Rob Peck (#715)
-
-### 1.2.3 4/5/2018
-
-* Hide progress indicator prior to 'exec'. (#707)
-* Dependencies.io config for version 2 preview by Dave Gaeddert (#699)
-* Fix path to test script in try:para
-* Correctly parameterize the app name in the self:update command help text.
-* Refuse to start 'release' script if phar.readonly is set.
-
-### 1.2.2 2/27/2018
-
-* Experimental robo plugin mechanism (backwards compatibility not yet guarenteed)
-* Allow traits to be documented
-* Do not export scenarios directory
-* *Breaking* Typo in `\Robo\Runner:errorCondtion()` fixed as `\Robo\Runner:errorCondition()`.
-
-### 1.2.1 12/28/2017
-
-* Fixes to tests / build only.
-
-### 1.2.0 12/12/2017
-
-* Support Symfony 4 Components (#651)
-* Test multiple composer dependency permutations with https://github.com/greg-1-anderson/composer-test-scenarios
-
-### 1.1.5 10/25/2017
-
-* Load option default values from $input for all options defined in the Application's input definition (#642)
-* BUGFIX: Store global options in 'options' namespace rather than at the top level of config.
-
-### 1.1.4 10/16/2017
-
-* Update order of command event hooks so that the option settings are injected prior to configuration being injected, so that dynamic options are available for config injection. (#636)
-* Add shallow clone method to GithubStack task. by Stefan Lange (#633)
-* Make Changelog task more flexible. by Matthew Grasmick(#631)
-* Adding accessToken() to GitHub task. by Matthew Grasmick (#630)
-
-### 1.1.3 09/23/2017
-
-* Add self:update command to update Robo phar distributions to the latest available version on GitHub. by Alexander Menk
-* Fix Robo\Task\Docker\Base to implement CommandInterface. by Alexei Gorobet (#625)
-* Add overwrite argument to Robo\Task\Filesystem\loadShortcuts.php::_rename by Alexei Gorobets (#624)
-* Add failGroup() method for Codeception run command. by Max Gorovenko (#622)
-* Set up composer-lock-updater on cron. (#618)
-* Fix robo.yml loader by exporting processor instead of loader. By thomscode (#612)
-
-### 1.1.2 07/28/2017
-
-* Inject option default values in help (#607)
-* Add noRebuild() method for Codeception run command. By Max Gorovenko (#603)
-
-### 1.1.1 07/07/2017
-
-* Add an option to wait an interval of time between parallel processes. By Gemma Pou #601
-* Do not print dire messages about Robo bootstrap problems when a valid command (e.g. help, list, init, --version) runs. #502
-
-### 1.1.0 06/29/2017
-
-* Configuration for multiple commands or multiple tasks may now be shared by attaching the configuration values to the task namespace or the command group. #597
-* *Breaking* Task configuration taken from property `task.PARTIAL_NAMESPACE.CLASSNAME.settings` instead of `task.CLASSNAME.settings`. Breaks backwards compatibility only with experimental configuration features introduced in version 1.0.6. Config is now stable, as of this release; there will be no more breaking config changes until Robo 2.0. #596
-
-### 1.0.8 06/02/2017
-
-* Fix regression in 1.0.7: Allow tasks to return results of types other than \Robo\Result. #585
-* Allow Copydir exclude method to specify subfolders by Alex Skrypnyk #590
-* Add composer init task, and general rounding out of composer tasks. #586
-* Enhance SemVer task so that it can be used with files or strings. #589
-
-#### 1.0.7 05/30/2017
-
-* Add a state system for collections to allow tasks to pass state to later tasks.
-* Ensure that task results are returned when in stopOnFail() mode.
-* Make rawArg() and detectInteractive chainable. By Matthew Grasmick #553 #558
-* [CopyDir] Use Symfony Filesystem. By malikkotob #555
-* [Composer] Implement CommandInterface. By Ivan Borzenkov #561
-
-#### 1.0.6 03/31/2017
-
-* Add configuration features to inject values into commandline option and task setter methods. Experimental; incompatible changes may be introduced prior to the stable release of configuration in version 1.1.0.
-
-#### 1.0.5 11/23/2016
-
-* Incorporate word-wrapping from output-formatters 3.1.5
-* Incorporate custom event handlers from annotated-command 2.2.0
-
-#### 1.0.4 11/15/2016
-
-* Updated to latest changes in `master` branch. Phar and tag issues.
-
-#### 1.0.0 10/10/2016
-
-* [Collection] Add tasks to a collection, and implement them as a group with rollback
- * Tasks may be added to a collection via `$collection->add($task);`
- * `$collection->run();` runs all tasks in the collection
- * `$collection->addCode(function () { ... } );` to add arbitrary code to a collection
- * `$collection->progressMessage(...);` will log a message
- * `$collection->rollback($task);` and `$collection->rollbackCode($callable);` add a rollback function to clean up after a failed task
- * `$collection->completion($task);` and `$collection->completionCode($callable);` add a function that is called once the collection completes or rolls back.
- * `$collection->before();` and `$collection->after();` can be used to add a task or function that runs before or after (respectively) the specified named task. To use this feature, tasks must be given names via an optional `$taskName` parameter when they are added.
- * Collections may be added to collections, if desired.
-* [CollectionBuilder] Create tasks and add them to a collection in a single operation.
- * `$this->collectionBuilder()->taskExec('pwd')->taskExec('ls')->run()`
-* Add output formatters
- * If a Robo command returns a string, or a `Result` object with a `$message`, then it will be printed
- * Commands may be annotated to describe output formats that may be used
- * Structured arrays returned from function results may be converted into different formats, such as a table, yml, json, etc.
- * Tasks must `use TaskIO` for output methods. It is no longer possible to `use IO` from a task. For direct access use `Robo::output()` (not recommended).
-* Use league/container to do Dependency Injection
- * *Breaking* Tasks' loadTasks traits must use `$this->task(TaskClass::class);` instead of `new TaskClass();`
- * *Breaking* Tasks that use other tasks must use `$this->collectionBuilder()->taskName();` instead of `new TaskClass();` when creating task objects to call. Implement `Robo\Contract\BuilderAwareInterface` and use `Robo\Contract\BuilderAwareTrait` to add the `collectionBuilder()` method to your task class.
-* *Breaking* The `arg()`, `args()` and `option()` methods in CommandArguments now escape the values passed in to them. There is now a `rawArg()` method if you need to add just one argument that has already been escaped.
-* *Breaking* taskWrite is now called taskWriteToFile
-* [Extract] task added
-* [Pack] task added
-* [TmpDir], [WorkDir] and [TmpFile] tasks added
-* Support Robo scripts that allows scripts starting with `#!/usr/bin/env robo` to define multiple robo commands. Use `#!/usr/bin/env robo run` to define a single robo command implemented by the `run()` method.
-* Provide ProgresIndicatorAwareInterface and ProgressIndicatorAwareTrait that make it easy to add progress indicators to tasks
-* Add --simulate mode that causes tasks to print what they would have done, but make no changes
-* Add `robo generate:task` code-generator to make new stack-based task wrappers around existing classes
-* Add `robo sniff` by @dustinleblanc. Runs the PHP code sniffer followed by the code beautifier, if needed.
-* Implement ArrayInterface for Result class, so result data may be accessed like an array
-* Defer execution of operations in taskWriteToFile until the run() method
-* Add Write::textIfMatch() for taskWriteToFile
-* ResourceExistenceChecker used for error checking in DeleteDir, CopyDir, CleanDir and Concat tasks by @burzum
-* Provide ResultData base class for Result; ResultData may be used in instances where a specific `$task` instance is not available (e.g. in a Robo command)
-* ArgvInput now available via $this->getInput() in RoboFile by Thomas Spigel
-* Add optional message to git tag task by Tim Tegeler
-* Rename 'FileSystem' to 'Filesystem' wherever it occurs.
-* Current directory is changed with `chdir` only if specified via the `--load-from` option (RC2)
-
-#### 0.6.0 10/30/2015
-
-* Added `--load-from` option to make Robo start RoboFiles from other directories. Use it like `robo --load-from /path/to/where/RobFile/located`.
-* Robo will not ask to create RoboFile if it does not exist, `init` command should be used.
-* [ImageMinify] task added by @gabor-udvari
-* [OpenBrowser] task added by @oscarotero
-* [FlattenDir] task added by @gabor-udvari
-* Robo Runner can easily extended for custom runner by passing RoboClass and RoboFile parameters to constructor. By @rdeutz See #232
-
-#### 0.5.4 08/31/2015
-
-* [WriteToFile] Fixed by @gabor-udvari: always writing to file regardless whether any changes were made or not. This can bring the taskrunner into an inifinite loop if a replaced file is being watched.
-* [Scss] task added, requires `leafo/scssphp` library to compile by @gabor-udvari
-* [PhpSpec] TAP formatter added by @orls
-* [Less] Added ability to set import dir for less compilers by @MAXakaWIZARD
-* [Less] fixed passing closure as compiler by @pr0nbaer
-* [Sass] task added by *2015-08-31*
-
-#### 0.5.3 07/15/2015
-
- * [Rsync] Ability to use remote shell with identity file by @Mihailoff
- * [Less] Task added by @burzum
- * [PHPUnit] allow to test specific files with `files` parameter by @burzum.
- * [GitStack] `tag` added by @SebSept
- * [Concat] Fixing concat, it breaks some files if there is no new line. @burzum *2015-03-03-13*
- * [Minify] BC fix to support Jsqueeze 1.x and 2.x @burzum *2015-03-12*
- * [PHPUnit] Replace log-xml with log-junit @vkunz *2015-03-06*
- * [Minify] Making it possible to pass options to the JS minification @burzum *2015-03-05*
- * [CopyDir] Create destination recursively @boedah *2015-02-28*
-
-#### 0.5.2 02/24/2015
-
-* [Phar] do not compress phar if more than 1000 files included (causes internal PHP error) *2015-02-24*
-* _copyDir and _mirrorDir shortcuts fixed by @boedah *2015-02-24*
-* [File\Write] methods replace() and regexReplace() added by @asterixcapri *2015-02-24*
-* [Codecept] Allow to set custom name of coverage file raw name by @raistlin *2015-02-24*
-* [Ssh] Added property `remoteDir` by @boedah *2015-02-24*
-* [PhpServer] fixed passing arguments to server *2015-02-24*
-
-
-#### 0.5.1 01/27/2015
-
-* [Exec] fixed execution of background jobs, processes persist till the end of PHP script *2015-01-27*
-* [Ssh] Fixed SSH task by @Butochnikov *2015-01-27*
-* [CopyDir] fixed shortcut usage by @boedah *2015-01-27*
-* Added default value options for Configuration trait by @TamasBarta *2015-01-27*
-
-#### 0.5.0 01/22/2015
-
-Refactored core
-
-* All traits moved to `Robo\Common` namespace
-* Interfaces moved to `Robo\Contract` namespace
-* All task extend `Robo\Task\BaseTask` to use common IO.
-* All classes follow PSR-4 standard
-* Tasks are loaded into RoboFile with `loadTasks` trait
-* One-line tasks are available as shortcuts loaded by `loadShortucts` and used like `$this->_exec('ls')`
-* Robo runner is less coupled. Output can be set by `\Robo\Config::setOutput`, `RoboFile` can be changed to any provided class.
-* Tasks can be used outside of Robo runner (inside a project)
-* Timer for long-running tasks added
-* Tasks can be globally configured (WIP) via `Robo\Config` class.
-* Updated to Symfony >= 2.5
-* IO methods added `askHidden`, `askDefault`, `confirm`
-* TaskIO methods added `printTaskError`, `printTaskSuccess` with different formatting.
-* [Docker] Tasks added
-* [Gulp] Task added by @schorsch3000
-
-#### 0.4.7 12/26/2014
-
-* [Minify] Task added by @Rarst. Requires additional dependencies installed *2014-12-26*
-* [Help command is populated from annotation](https://github.com/consolidation-org/Robo/pull/71) by @jonsa *2014-12-26*
-* Allow empty values as defaults to optional options by @jonsa *2014-12-26*
-* `PHP_WINDOWS_VERSION_BUILD` constant is used to check for Windows in tasks by @boedah *2014-12-26*
-* [Copy][EmptyDir] Fixed infinite loop by @boedah *2014-12-26*
-* [ApiGen] Task added by @drobert *2014-12-26*
-* [FileSystem] Equalized `copy` and `chmod` argument to defaults by @Rarst (BC break) *2014-12-26*
-* [FileSystem] Added missing umask argument to chmod() method of FileSystemStack by @Rarst
-* [SemVer] Fixed file read and exit code
-* [Codeception] fixed codeception coverageHtml option by @gunfrank *2014-12-26*
-* [phpspec] Task added by @SebSept *2014-12-26*
-* Shortcut options: if option name is like foo|f, assign f as shortcut by @jschnare *2014-12-26*
-* [Rsync] Shell escape rsync exclude pattern by @boedah. Fixes #77 (BC break) *2014-12-26*
-* [Npm] Task added by @AAlakkad *2014-12-26*
-
-#### 0.4.6 10/17/2014
-
-* [Exec] Output from buffer is not spoiled by special chars *2014-10-17*
-* [PHPUnit] detect PHPUnit on Windows or when is globally installed with Composer *2014-10-17*
-* Output: added methods askDefault and confirm by @bkawakami *2014-10-17*
-* [Svn] Task added by @anvi *2014-08-13*
-* [Stack] added dir and printed options *2014-08-12*
-* [ExecTask] now uses Executable trait with printed, dir, arg, option methods added *2014-08-12*
-
-
-#### 0.4.5 08/05/2014
-
-* [Watch] bugfix: Watch only tracks last file if given array of files #46 *2014-08-05*
-* All executable tasks can configure working directory with `dir` option
-* If no value for an option is provided, assume it's a VALUE_NONE option. #47 by @pfaocle
-* [Changelog] changed style *2014-06-27*
-* [GenMarkDown] fixed formatting annotations *2014-06-27*
-
-#### 0.4.4 06/05/2014
-
-* Output can be disabled in all executable tasks by ->printed(false)
-* disabled timeouts by default in ParallelExec
-* better descriptions for Result output
-* changed ParallelTask to display failed process in list
-* Changed Output to be stored globally in Robo\Runner class
-* Added **SshTask** by @boedah
-* Added **RsyncTask** by @boedah
-* false option added to proceess* callbacks in GenMarkDownTask to skip processing
-
-
-#### 0.4.3 05/21/2014
-
-* added `SemVer` task by **@jadb**
-* `yell` output method added
-* task `FileSystemStack` added
-* `MirrorDirTask` added by **@devster**
-* switched to Symfony Filesystem component
-* options can be used to commands
-* array arguments can be used in commands
-
-#### 0.4.2 05/09/2014
-
-* ask can now hide answers
-* Trait Executable added to provide standard way for passing arguments and options
-* added ComposerDumpAutoload task by **@pmcjury**
-* added FileSystem task by **@jadb**
-* added CommonStack metatsk to have similar interface for all stacked tasks by **@jadb**
-* arguments and options can be passed into variable and used in exec task
-* passing options into commands
-
-
-#### 0.4.1 05/05/2014
-
-* [BC] `taskGit` task renamed to `taskGitStack` for compatibility
-* unit and functional tests added
-* all command tasks now use Symfony\Process to execute them
-* enabled Bower and Concat tasks
-* added `printed` param to Exec task
-* codeception `suite` method now returns `$this`
-* timeout options added to Exec task
-
-
-#### 0.4.0 04/27/2014
-
-* Codeception task added
-* PHPUnit task improved
-* Bower task added by @jadb
-* ParallelExec task added
-* Symfony Process component used for execution
-* Task descriptions taken from first line of annotations
-* `CommandInterface` added to use tasks as parameters
-
-#### 0.3.3 02/25/2014
-
-* PHPUnit basic task
-* fixed doc generation
-
-#### 0.3.5 02/21/2014
-
-* changed generated init template
-
-
-#### 0.3.4 02/21/2014
-
-* [PackPhar] ->executable command will remove hashbang when generated stub file
-* [Git][Exec] stopOnFail option for Git and Exec stack
-* [ExecStack] shortcut for executing bash commands in stack
-
-#### 0.3.2 02/20/2014
-
-* release process now includes phar
-* phar executable method added
-* git checkout added
-* phar pack created
-
-
-#### 0.3.0 02/11/2014
-
-* Dynamic configuration via magic methods
-* added WriteToFile task
-* Result class for managing exit codes and error messages
-
-#### 0.2.0 01/29/2014
-
-* Merged Tasks and Traits to same file
-* Added Watcher task
-* Added GitHubRelease task
-* Added Changelog task
-* Added ReplaceInFile task
diff --git a/vendor/consolidation/robo/CONTRIBUTING.md b/vendor/consolidation/robo/CONTRIBUTING.md
deleted file mode 100644
index 438681469..000000000
--- a/vendor/consolidation/robo/CONTRIBUTING.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# Contributing to Robo
-
-Thank you for your interest in contributing to Robo! Here are some of the guidelines you should follow to make the most of your efforts:
-
-## Code Style Guidelines
-
-Robo adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code. An `.editorconfig` file is included with the repository to help you get up and running quickly. Most modern editors support this standard, but if yours does not or you would like to configure your editor manually, follow the guidelines in the document linked above.
-
-You can run the PHP Codesniffer on your work using a convenient command built into this project's own `RoboFile.php`:
-```
-robo sniff src/Foo.php --autofix
-```
-The above will run the PHP Codesniffer on the `src/Foo.php` file and automatically correct variances from the PSR-2 standard. Please ensure all contributions are compliant _before_ submitting a pull request.
-
-
diff --git a/vendor/consolidation/robo/LICENSE b/vendor/consolidation/robo/LICENSE
deleted file mode 100644
index 0938cc28e..000000000
--- a/vendor/consolidation/robo/LICENSE
+++ /dev/null
@@ -1,44 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014-2019 Codegyre Developers Team, Consolidation Team
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-DEPENDENCY LICENSES:
-
-Name Version License
-consolidation/annotated-command 2.11.0 MIT
-consolidation/config 1.1.1 MIT
-consolidation/log 1.1.1 MIT
-consolidation/output-formatters 3.4.0 MIT
-consolidation/self-update 1.1.5 MIT
-container-interop/container-interop 1.2.0 MIT
-dflydev/dot-access-data v1.1.0 MIT
-grasmash/expander 1.0.0 MIT
-grasmash/yaml-expander 1.4.0 MIT
-league/container 2.4.1 MIT
-psr/container 1.0.0 MIT
-psr/log 1.1.0 MIT
-symfony/console v4.2.1 MIT
-symfony/event-dispatcher v4.2.1 MIT
-symfony/filesystem v4.2.1 MIT
-symfony/finder v3.4.20 MIT
-symfony/polyfill-ctype v1.10.0 MIT
-symfony/polyfill-mbstring v1.10.0 MIT
-symfony/process v4.2.1 MIT
-symfony/yaml v4.2.1 MIT
\ No newline at end of file
diff --git a/vendor/consolidation/robo/README.md b/vendor/consolidation/robo/README.md
deleted file mode 100644
index 73a8feb22..000000000
--- a/vendor/consolidation/robo/README.md
+++ /dev/null
@@ -1,182 +0,0 @@
-# RoboTask
-
-_This is the 1.x (stable) branch of the Robo task runner. Development for Robo 2.x (future) is happening on the [master](https://github.com/consolidation/Robo/tree/master) branch._
-
-**Modern and simple PHP task runner** inspired by Gulp and Rake aimed to automate common tasks:
-
-[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/consolidation/Robo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
-[![Latest Stable Version](https://poser.pugx.org/consolidation/robo/v/stable.png)](https://packagist.org/packages/consolidation/robo)
-[![Latest Unstable Version](https://poser.pugx.org/consolidation/robo/v/unstable.png)](https://packagist.org/packages/consolidation/robo)
-[![Total Downloads](https://poser.pugx.org/consolidation/robo/downloads.png)](https://packagist.org/packages/consolidation/robo)
-[![PHP 7 ready](http://php7ready.timesplinter.ch/consolidation/Robo/badge.svg)](https://travis-ci.org/consolidation/Robo)
-[![License](https://poser.pugx.org/consolidation/robo/license.png)](https://www.versioneye.com/user/projects/57c4a6fe968d64004d97620a?child=57c4a6fe968d64004d97620a#tab-licenses)
-
-[![Build Status](https://travis-ci.org/consolidation/Robo.svg?branch=master)](https://travis-ci.org/consolidation/Robo)
-[![Windows CI](https://ci.appveyor.com/api/projects/status/0823hnh06pw8ir4d?svg=true)](https://ci.appveyor.com/project/greg-1-anderson/robo)
-[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/consolidation/Robo/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/consolidation/Robo/?branch=master)
-[![Dependency Status](https://www.versioneye.com/user/projects/57c4a6fe968d64004d97620a/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/57c4a6fe968d64004d97620a)
-
-* writing cross-platform scripts
-* processing assets (less, sass, minification)
-* running tests
-* executing daemons (and workers)
-* watching filesystem changes
-* deployment with sftp/ssh/docker
-
-## Installing
-
-### Phar
-
-[Download robo.phar >](http://robo.li/robo.phar)
-
-```
-wget http://robo.li/robo.phar
-```
-
-To install globally put `robo.phar` in `/usr/bin`. (`/usr/local/bin/` in OSX 10.11+)
-
-```
-chmod +x robo.phar && sudo mv robo.phar /usr/bin/robo
-```
-
-OSX 10.11+
-```
-chmod +x robo.phar && sudo mv robo.phar /usr/local/bin/robo
-```
-
-Now you can use it just like `robo`.
-
-### Composer
-
-* Run `composer require consolidation/robo:~1`
-* Use `vendor/bin/robo` to execute Robo tasks.
-
-## Usage
-
-All tasks are defined as **public methods** in `RoboFile.php`. It can be created by running `robo`.
-All protected methods in traits that start with `task` prefix are tasks and can be configured and executed in your tasks.
-
-## Examples
-
-The best way to learn Robo by example is to take a look into [its own RoboFile](https://github.com/consolidation/Robo/blob/master/RoboFile.php)
- or [RoboFile of Codeception project](https://github.com/Codeception/Codeception/blob/2.4/RoboFile.php). There are also some basic example commands in examples/RoboFile.php.
-
-Here are some snippets from them:
-
----
-
-Run acceptance test with local server and selenium server started.
-
-
-``` php
-taskServer(8000)
- ->background()
- ->dir('web')
- ->run();
-
- // running Selenium server in background
- $this->taskExec('java -jar ' . $seleniumPath)
- ->background()
- ->run();
-
- // loading Symfony Command and running with passed argument
- $this->taskSymfonyCommand(new \Codeception\Command\Run('run'))
- ->arg('suite','acceptance')
- ->run();
- }
-}
-```
-
-If you execute `robo` you will see this task added to list of available task with name: `test:acceptance`.
-To execute it you should run `robo test:acceptance`. You may change path to selenium server by passing new path as a argument:
-
-```
-robo test:acceptance "C:\Downloads\selenium.jar"
-```
-
-Using `watch` task so you can use it for running tests or building assets.
-
-``` php
-taskWatch()->monitor('composer.json', function() {
- $this->taskComposerUpdate()->run();
- })->run();
- }
-}
-```
-
----
-
-Cleaning logs and cache
-
-``` php
-taskCleanDir([
- 'app/cache',
- 'app/logs'
- ])->run();
-
- $this->taskDeleteDir([
- 'web/assets/tmp_uploads',
- ])->run();
- }
-}
-```
-
-This task cleans `app/cache` and `app/logs` dirs (ignoring .gitignore and .gitkeep files)
-Can be executed by running:
-
-```
-robo clean
-```
-
-----
-
-Creating Phar archive
-
-``` php
-function buildPhar()
-{
- $files = Finder::create()->ignoreVCS(true)->files()->name('*.php')->in(__DIR__);
- $packer = $this->taskPackPhar('robo.phar');
- foreach ($files as $file) {
- $packer->addFile($file->getRelativePathname(), $file->getRealPath());
- }
- $packer->addFile('robo','robo')
- ->executable('robo')
- ->run();
-}
-```
-
----
-
-## We need more tasks!
-
-Create your own tasks and send them as Pull Requests or create packages [with `"type": "robo-tasks"` in `composer.json` on Packagist](https://packagist.org/?type=robo-tasks).
-
-## Credits
-
-Follow [@robo_php](http://twitter.com/robo_php) for updates.
-
-Brought to you by [Consolidation Team](https://github.com/orgs/consolidation/people) and our [awesome contributors](https://github.com/consolidation/Robo/graphs/contributors).
-
-## License
-
-[MIT](https://github.com/consolidation/Robo/blob/master/LICENSE)
diff --git a/vendor/consolidation/robo/RoboFile.php b/vendor/consolidation/robo/RoboFile.php
deleted file mode 100644
index 4536f5159..000000000
--- a/vendor/consolidation/robo/RoboFile.php
+++ /dev/null
@@ -1,473 +0,0 @@
- false,
- 'coverage' => false
- ])
- {
- $taskCodecept = $this->taskCodecept()
- ->args($args);
-
- if ($options['coverage']) {
- $taskCodecept->coverageXml('../../build/logs/clover.xml');
- }
- if ($options['coverage-html']) {
- $taskCodecept->coverageHtml('../../build/logs/coverage');
- }
-
- return $taskCodecept->run();
- }
-
- /**
- * Code sniffer.
- *
- * Run the PHP Codesniffer on a file or directory.
- *
- * @param string $file
- * A file or directory to analyze.
- * @option $autofix Whether to run the automatic fixer or not.
- * @option $strict Show warnings as well as errors.
- * Default is to show only errors.
- */
- public function sniff(
- $file = 'src/',
- $options = [
- 'autofix' => false,
- 'strict' => false,
- ]
- ) {
- $strict = $options['strict'] ? '' : '-n';
- $result = $this->taskExec("./vendor/bin/phpcs --standard=PSR2 --exclude=Squiz.Classes.ValidClassName {$strict} {$file}")->run();
- if (!$result->wasSuccessful()) {
- if (!$options['autofix']) {
- $options['autofix'] = $this->confirm('Would you like to run phpcbf to fix the reported errors?');
- }
- if ($options['autofix']) {
- $result = $this->taskExec("./vendor/bin/phpcbf --standard=PSR2 --exclude=Squiz.Classes.ValidClassName {$file}")->run();
- }
- }
- return $result;
- }
-
- /**
- * Generate a new Robo task that wraps an existing utility class.
- *
- * @param $className The name of the existing utility class to wrap.
- * @param $wrapperClassName The name of the wrapper class to create. Optional.
- * @usage generate:task 'Symfony\Component\Filesystem\Filesystem' FilesystemStack
- */
- public function generateTask($className, $wrapperClassName = "")
- {
- return $this->taskGenTask($className, $wrapperClassName)->run();
- }
-
- /**
- * Release Robo.
- */
- public function release($opts = ['beta' => false])
- {
- $this->checkPharReadonly();
-
- $version = \Robo\Robo::VERSION;
- $stable = !$opts['beta'];
- if ($stable) {
- $version = preg_replace('/-.*/', '', $version);
- }
- else {
- $version = $this->incrementVersion($version, 'beta');
- }
- $this->writeVersion($version);
- $this->yell("Releasing Robo $version");
-
- $this->docs();
- $this->taskGitStack()
- ->add('-A')
- ->commit("Robo release $version")
- ->pull()
- ->push()
- ->run();
-
- if ($stable) {
- $this->pharPublish();
- }
- $this->publish();
-
- $this->taskGitStack()
- ->tag($version)
- ->push('origin 1.x --tags')
- ->run();
-
- if ($stable) {
- $version = $this->incrementVersion($version) . '-dev';
- $this->writeVersion($version);
-
- $this->taskGitStack()
- ->add('-A')
- ->commit("Prepare for $version")
- ->push()
- ->run();
- }
- }
-
- /**
- * Update changelog.
- *
- * Add an entry to the Robo CHANGELOG.md file.
- *
- * @param string $addition The text to add to the change log.
- */
- public function changed($addition)
- {
- $version = preg_replace('/-.*/', '', \Robo\Robo::VERSION);
- return $this->taskChangelog()
- ->version($version)
- ->change($addition)
- ->run();
- }
-
- /**
- * Update the version of Robo.
- *
- * @param string $version The new verison for Robo.
- * Defaults to the next minor (bugfix) version after the current relelase.
- * @option stage The version stage: dev, alpha, beta or rc. Use empty for stable.
- */
- public function versionBump($version = '', $options = ['stage' => ''])
- {
- // If the user did not specify a version, then update the current version.
- if (empty($version)) {
- $version = $this->incrementVersion(\Robo\Robo::VERSION, $options['stage']);
- }
- return $this->writeVersion($version);
- }
-
- /**
- * Write the specified version string back into the Robo.php file.
- * @param string $version
- */
- protected function writeVersion($version)
- {
- // Write the result to a file.
- return $this->taskReplaceInFile(__DIR__.'/src/Robo.php')
- ->regex("#VERSION = '[^']*'#")
- ->to("VERSION = '".$version."'")
- ->run();
- }
-
- /**
- * Advance to the next SemVer version.
- *
- * The behavior depends on the parameter $stage.
- * - If $stage is empty, then the patch or minor version of $version is incremented
- * - If $stage matches the current stage in the current version, then add one
- * to the stage (e.g. alpha3 -> alpha4)
- * - If $stage does not match the current stage in the current version, then
- * reset to '1' (e.g. alpha4 -> beta1)
- *
- * @param string $version A SemVer version
- * @param string $stage dev, alpha, beta, rc or an empty string for stable.
- * @return string
- */
- protected function incrementVersion($version, $stage = '')
- {
- $stable = empty($stage);
- $versionStageNumber = '0';
- preg_match('/-([a-zA-Z]*)([0-9]*)/', $version, $match);
- $match += ['', '', ''];
- $versionStage = $match[1];
- $versionStageNumber = $match[2];
- if ($versionStage != $stage) {
- $versionStageNumber = 0;
- }
- $version = preg_replace('/-.*/', '', $version);
- $versionParts = explode('.', $version);
- if ($stable) {
- $versionParts[count($versionParts)-1]++;
- }
- $version = implode('.', $versionParts);
- if (!$stable) {
- $version .= '-' . $stage;
- if ($stage != 'dev') {
- $versionStageNumber++;
- $version .= $versionStageNumber;
- }
- }
- return $version;
- }
-
- /**
- * Generate the Robo documentation files.
- */
- public function docs()
- {
- $collection = $this->collectionBuilder();
- $collection->progressMessage('Generate documentation from source code.');
- $files = Finder::create()->files()->name('*.php')->in('src/Task');
- $docs = [];
- foreach ($files as $file) {
- if ($file->getFileName() == 'loadTasks.php') {
- continue;
- }
- if ($file->getFileName() == 'loadShortcuts.php') {
- continue;
- }
- $ns = $file->getRelativePath();
- if (!$ns) {
- continue;
- }
- $class = basename(substr($file, 0, -4));
- class_exists($class = "Robo\\Task\\$ns\\$class");
- $docs[$ns][] = $class;
- }
- ksort($docs);
-
- foreach ($docs as $ns => $tasks) {
- $taskGenerator = $collection->taskGenDoc("docs/tasks/$ns.md");
- $taskGenerator->filterClasses(function (\ReflectionClass $r) {
- return !($r->isAbstract() || $r->isTrait()) && $r->implementsInterface('Robo\Contract\TaskInterface');
- })->prepend("# $ns Tasks");
- sort($tasks);
- foreach ($tasks as $class) {
- $taskGenerator->docClass($class);
- }
-
- $taskGenerator->filterMethods(
- function (\ReflectionMethod $m) {
- if ($m->isConstructor() || $m->isDestructor() || $m->isStatic()) {
- return false;
- }
- $undocumentedMethods =
- [
- '',
- 'run',
- '__call',
- 'inflect',
- 'injectDependencies',
- 'getCommand',
- 'getPrinted',
- 'getConfig',
- 'setConfig',
- 'logger',
- 'setLogger',
- 'setProgressIndicator',
- 'progressIndicatorSteps',
- 'setBuilder',
- 'getBuilder',
- 'collectionBuilder',
- 'setVerbosityThreshold',
- 'verbosityThreshold',
- 'setOutputAdapter',
- 'outputAdapter',
- 'hasOutputAdapter',
- 'verbosityMeetsThreshold',
- 'writeMessage',
- 'detectInteractive',
- 'background',
- 'timeout',
- 'idleTimeout',
- 'env',
- 'envVars',
- 'setInput',
- 'interactive',
- 'silent',
- 'printed',
- 'printOutput',
- 'printMetadata',
- ];
- return !in_array($m->name, $undocumentedMethods) && $m->isPublic(); // methods are not documented
- }
- )->processClassSignature(
- function ($c) {
- return "## " . preg_replace('~Task$~', '', $c->getShortName()) . "\n";
- }
- )->processClassDocBlock(
- function (\ReflectionClass $c, $doc) {
- $doc = preg_replace('~@method .*?(.*?)\)~', '* `$1)` ', $doc);
- $doc = str_replace('\\'.$c->name, '', $doc);
- return $doc;
- }
- )->processMethodSignature(
- function (\ReflectionMethod $m, $text) {
- return str_replace('#### *public* ', '* `', $text) . '`';
- }
- )->processMethodDocBlock(
- function (\ReflectionMethod $m, $text) {
-
- return $text ? ' ' . trim(strtok($text, "\n"), "\n") : '';
- }
- );
- }
- $collection->progressMessage('Documentation generation complete.');
- return $collection->run();
- }
-
- /**
- * Publish Robo.
- *
- * Builds a site in gh-pages branch. Uses mkdocs
- */
- public function publish()
- {
- $current_branch = exec('git rev-parse --abbrev-ref HEAD');
-
- return $this->collectionBuilder()
- ->taskGitStack()
- ->checkout('site')
- ->merge('1.x')
- ->completion($this->taskGitStack()->checkout($current_branch))
- ->taskFilesystemStack()
- ->copy('CHANGELOG.md', 'docs/changelog.md')
- ->completion($this->taskFilesystemStack()->remove('docs/changelog.md'))
- ->taskExec('mkdocs gh-deploy')
- ->run();
- }
-
- /**
- * Build the Robo phar executable.
- */
- public function pharBuild()
- {
- $this->checkPharReadonly();
-
- // Create a collection builder to hold the temporary
- // directory until the pack phar task runs.
- $collection = $this->collectionBuilder();
-
- $workDir = $collection->tmpDir();
- $roboBuildDir = "$workDir/robo";
-
- // Before we run `composer install`, we will remove the dev
- // dependencies that we only use in the unit tests. Any dev dependency
- // that is in the 'suggested' section is used by a core task;
- // we will include all of those in the phar.
- $devProjectsToRemove = $this->devDependenciesToRemoveFromPhar();
-
- // We need to create our work dir and run `composer install`
- // before we prepare the pack phar task, so create a separate
- // collection builder to do this step in.
- $prepTasks = $this->collectionBuilder();
-
- $preparationResult = $prepTasks
- ->taskFilesystemStack()
- ->mkdir($workDir)
- ->taskRsync()
- ->fromPath(
- [
- __DIR__ . '/composer.json',
- __DIR__ . '/scripts',
- __DIR__ . '/src',
- __DIR__ . '/data'
- ]
- )
- ->toPath($roboBuildDir)
- ->recursive()
- ->progress()
- ->stats()
- ->taskComposerRemove()
- ->dir($roboBuildDir)
- ->dev()
- ->noUpdate()
- ->args($devProjectsToRemove)
- ->taskComposerInstall()
- ->dir($roboBuildDir)
- ->noScripts()
- ->printed(true)
- ->run();
-
- // Exit if the preparation step failed
- if (!$preparationResult->wasSuccessful()) {
- return $preparationResult;
- }
-
- // Decide which files we're going to pack
- $files = Finder::create()->ignoreVCS(true)
- ->files()
- ->name('*.php')
- ->name('*.exe') // for 1symfony/console/Resources/bin/hiddeninput.exe
- ->name('GeneratedWrapper.tmpl')
- ->path('src')
- ->path('vendor')
- ->notPath('docs')
- ->notPath('/vendor\/.*\/[Tt]est/')
- ->in(is_dir($roboBuildDir) ? $roboBuildDir : __DIR__);
-
- // Build the phar
- return $collection
- ->taskPackPhar('robo.phar')
- ->addFiles($files)
- ->addFile('robo', 'robo')
- ->executable('robo')
- ->taskFilesystemStack()
- ->chmod('robo.phar', 0777)
- ->run();
- }
-
- protected function checkPharReadonly()
- {
- if (ini_get('phar.readonly')) {
- throw new \Exception('Must set "phar.readonly = Off" in php.ini to build phars.');
- }
- }
-
- /**
- * The phar:build command removes the project requirements from the
- * 'require-dev' section that are not in the 'suggest' section.
- *
- * @return array
- */
- protected function devDependenciesToRemoveFromPhar()
- {
- $composerInfo = (array) json_decode(file_get_contents(__DIR__ . '/composer.json'));
-
- $devDependencies = array_keys((array)$composerInfo['require-dev']);
- $suggestedProjects = array_keys((array)$composerInfo['suggest']);
-
- return array_diff($devDependencies, $suggestedProjects);
- }
-
- /**
- * Install Robo phar.
- *
- * Installs the Robo phar executable in /usr/bin. Uses 'sudo'.
- */
- public function pharInstall()
- {
- return $this->taskExec('sudo cp')
- ->arg('robo.phar')
- ->arg('/usr/bin/robo')
- ->run();
- }
-
- /**
- * Publish Robo phar.
- *
- * Commits the phar executable to Robo's GitHub pages site.
- */
- public function pharPublish()
- {
- $this->pharBuild();
-
- $this->collectionBuilder()
- ->taskFilesystemStack()
- ->rename('robo.phar', 'robo-release.phar')
- ->taskGitStack()
- ->checkout('site')
- ->pull('origin site')
- ->taskFilesystemStack()
- ->remove('robotheme/robo.phar')
- ->rename('robo-release.phar', 'robotheme/robo.phar')
- ->taskGitStack()
- ->add('robotheme/robo.phar')
- ->commit('Update robo.phar to ' . \Robo\Robo::VERSION)
- ->push('origin site')
- ->checkout('1.x')
- ->run();
- }
-}
diff --git a/vendor/consolidation/robo/codeception.yml b/vendor/consolidation/robo/codeception.yml
deleted file mode 100644
index 09763ea71..000000000
--- a/vendor/consolidation/robo/codeception.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-actor: Guy
-paths:
- tests: tests
- log: tests/_log
- data: tests/_data
- helpers: tests/_helpers
-settings:
- bootstrap: _bootstrap.php
- colors: true
- memory_limit: 1024M
-modules:
- config:
- Db:
- dsn: ''
- user: ''
- password: ''
- dump: tests/_data/dump.sql
-coverage:
- enabled: true
- include:
- - src/*
diff --git a/vendor/consolidation/robo/composer.json b/vendor/consolidation/robo/composer.json
deleted file mode 100644
index 08bfe7765..000000000
--- a/vendor/consolidation/robo/composer.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "name": "consolidation/robo",
- "description": "Modern task runner",
- "license": "MIT",
- "authors": [
- {
- "name": "Davert",
- "email": "davert.php@resend.cc"
- }
- ],
- "autoload":{
- "psr-4":{
- "Robo\\":"src"
- }
- },
- "autoload-dev":{
- "psr-4":{
- "Robo\\":"tests/src",
- "RoboExample\\":"examples/src"
- }
- },
- "bin":["robo"],
- "require": {
- "php": ">=5.5.0",
- "league/container": "^2.2",
- "consolidation/log": "~1",
- "consolidation/config": "^1.0.10",
- "consolidation/annotated-command": "^2.10.2",
- "consolidation/output-formatters": "^3.1.13",
- "consolidation/self-update": "^1",
- "grasmash/yaml-expander": "^1.3",
- "symfony/finder": "^2.5|^3|^4",
- "symfony/console": "^2.8|^3|^4",
- "symfony/process": "^2.5|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "patchwork/jsqueeze": "~2",
- "natxet/CssMin": "3.0.4",
- "pear/archive_tar": "^1.4.2",
- "codeception/base": "^2.3.7",
- "goaop/framework": "~2.1.2",
- "codeception/verify": "^0.3.2",
- "codeception/aspect-mock": "^1|^2.1.1",
- "goaop/parser-reflection": "^1.1.0",
- "nikic/php-parser": "^3.1.5",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/php-code-coverage": "~2|~4",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "scripts": {
- "cs": "./robo sniff",
- "unit": "./robo test --coverage",
- "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"
- ],
- "pre-install-cmd": [
- "Robo\\composer\\ScriptHandler::checkDependencies"
- ]
- },
- "config": {
- "optimize-autoloader": true,
- "sort-packages": true,
- "platform": {
- "php": "5.6.3"
- }
- },
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "remove": [
- "goaop/framework"
- ],
- "config": {
- "platform": {
- "php": "5.5.9"
- }
- },
- "scenario-options": {
- "create-lockfile": "false"
- }
- }
- },
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "suggest": {
- "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively.",
- "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch",
- "patchwork/jsqueeze": "For minifying JS files in taskMinify",
- "natxet/CssMin": "For minifying CSS files in taskMinify"
- },
- "replace": {
- "codegyre/robo": "< 1.0"
- }
-}
diff --git a/vendor/consolidation/robo/composer.lock b/vendor/consolidation/robo/composer.lock
deleted file mode 100644
index b871490bd..000000000
--- a/vendor/consolidation/robo/composer.lock
+++ /dev/null
@@ -1,4163 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "9c5c482a5c2448a1c439a441f3da2529",
- "packages": [
- {
- "name": "consolidation/annotated-command",
- "version": "2.11.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/annotated-command.git",
- "reference": "edea407f57104ed518cc3c3b47d5b84403ee267a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/edea407f57104ed518cc3c3b47d5b84403ee267a",
- "reference": "edea407f57104ed518cc3c3b47d5b84403ee267a",
- "shasum": ""
- },
- "require": {
- "consolidation/output-formatters": "^3.4",
- "php": ">=5.4.0",
- "psr/log": "^1",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/phpunit": "^6",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- },
- "scenario-options": {
- "create-lockfile": "false"
- }
- },
- "phpunit4": {
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- }
- },
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\AnnotatedCommand\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Initialize Symfony Console commands from annotated command class methods.",
- "time": "2018-12-29T04:43:17+00:00"
- },
- {
- "name": "consolidation/config",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/config.git",
- "reference": "925231dfff32f05b787e1fddb265e789b939cf4c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/config/zipball/925231dfff32f05b787e1fddb265e789b939cf4c",
- "reference": "925231dfff32f05b787e1fddb265e789b939cf4c",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "grasmash/expander": "^1",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^5",
- "satooshi/php-coveralls": "^1.0",
- "squizlabs/php_codesniffer": "2.*",
- "symfony/console": "^2.5|^3|^4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "suggest": {
- "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\Config\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Provide configuration services for a commandline tool.",
- "time": "2018-10-24T17:55:35+00:00"
- },
- {
- "name": "consolidation/log",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/log.git",
- "reference": "b2e887325ee90abc96b0a8b7b474cd9e7c896e3a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/log/zipball/b2e887325ee90abc96b0a8b7b474cd9e7c896e3a",
- "reference": "b2e887325ee90abc96b0a8b7b474cd9e7c896e3a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.5",
- "psr/log": "^1.0",
- "symfony/console": "^2.8|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/phpunit": "^6",
- "squizlabs/php_codesniffer": "^2"
- },
- "type": "library",
- "extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- },
- "phpunit4": {
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
- }
- },
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\Log\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.",
- "time": "2019-01-01T17:30:51+00:00"
- },
- {
- "name": "consolidation/output-formatters",
- "version": "3.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/output-formatters.git",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/a942680232094c4a5b21c0b7e54c20cce623ae19",
- "reference": "a942680232094c4a5b21c0b7e54c20cce623ae19",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^5.7.27",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7",
- "symfony/console": "3.2.3",
- "symfony/var-dumper": "^2.8|^3|^4",
- "victorjonsson/markdowndocs": "^1.3"
- },
- "suggest": {
- "symfony/var-dumper": "For using the var_dump formatter"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\OutputFormatters\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Format text by applying transformations provided by plug-in formatters.",
- "time": "2018-10-19T22:35:38+00:00"
- },
- {
- "name": "consolidation/self-update",
- "version": "1.1.5",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/self-update.git",
- "reference": "a1c273b14ce334789825a09d06d4c87c0a02ad54"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/self-update/zipball/a1c273b14ce334789825a09d06d4c87c0a02ad54",
- "reference": "a1c273b14ce334789825a09d06d4c87c0a02ad54",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4"
- },
- "bin": [
- "scripts/release"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "SelfUpdate\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- },
- {
- "name": "Alexander Menk",
- "email": "menk@mestrona.net"
- }
- ],
- "description": "Provides a self:update command for Symfony Console applications.",
- "time": "2018-10-28T01:52:03+00:00"
- },
- {
- "name": "container-interop/container-interop",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/container-interop/container-interop.git",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "shasum": ""
- },
- "require": {
- "psr/container": "^1.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Interop\\Container\\": "src/Interop/Container/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
- "homepage": "https://github.com/container-interop/container-interop",
- "time": "2017-02-14T19:40:03+00:00"
- },
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ],
- "time": "2017-01-20T21:14:22+00:00"
- },
- {
- "name": "grasmash/expander",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/expander.git",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/expander/zipball/95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\Expander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in PHP arrays file.",
- "time": "2017-12-21T22:14:55+00:00"
- },
- {
- "name": "grasmash/yaml-expander",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/yaml-expander.git",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4.8|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\YamlExpander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in a yaml file.",
- "time": "2017-12-16T16:06:03+00:00"
- },
- {
- "name": "league/container",
- "version": "2.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/thephpleague/container.git",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/thephpleague/container/zipball/43f35abd03a12977a60ffd7095efd6a7808488c0",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0",
- "shasum": ""
- },
- "require": {
- "container-interop/container-interop": "^1.2",
- "php": "^5.4.0 || ^7.0"
- },
- "provide": {
- "container-interop/container-interop-implementation": "^1.2",
- "psr/container-implementation": "^1.0"
- },
- "replace": {
- "orno/di": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-2.x": "2.x-dev",
- "dev-1.x": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "League\\Container\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Phil Bennett",
- "email": "philipobenito@gmail.com",
- "homepage": "http://www.philipobenito.com",
- "role": "Developer"
- }
- ],
- "description": "A fast and intuitive dependency injection container.",
- "homepage": "https://github.com/thephpleague/container",
- "keywords": [
- "container",
- "dependency",
- "di",
- "injection",
- "league",
- "provider",
- "service"
- ],
- "time": "2017-05-10T09:20:27+00:00"
- },
- {
- "name": "psr/container",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/container.git",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Container\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common Container Interface (PHP FIG PSR-11)",
- "homepage": "https://github.com/php-fig/container",
- "keywords": [
- "PSR-11",
- "container",
- "container-interface",
- "container-interop",
- "psr"
- ],
- "time": "2017-02-14T16:28:37+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "8f80fc39bbc3b7c47ee54ba7aa2653521ace94bb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/8f80fc39bbc3b7c47ee54ba7aa2653521ace94bb",
- "reference": "8f80fc39bbc3b7c47ee54ba7aa2653521ace94bb",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/debug": "~2.8|~3.0|~4.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.3|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-26T12:48:07+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "a2233f555ddf55e5600f386fba7781cea1cb82d3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/a2233f555ddf55e5600f386fba7781cea1cb82d3",
- "reference": "a2233f555ddf55e5600f386fba7781cea1cb82d3",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0|~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-27T12:43:10+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "cc35e84adbb15c26ae6868e1efbf705a917be6b5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/cc35e84adbb15c26ae6868e1efbf705a917be6b5",
- "reference": "cc35e84adbb15c26ae6868e1efbf705a917be6b5",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0|~4.0",
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/expression-language": "~2.8|~3.0|~4.0",
- "symfony/stopwatch": "~2.8|~3.0|~4.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-30T18:07:24+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "b49b1ca166bd109900e6a1683d9bb1115727ef2d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/b49b1ca166bd109900e6a1683d9bb1115727ef2d",
- "reference": "b49b1ca166bd109900e6a1683d9bb1115727ef2d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:48:54+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "6cf2be5cbd0e87aa35c01f80ae0bf40b6798e442"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/6cf2be5cbd0e87aa35c01f80ae0bf40b6798e442",
- "reference": "6cf2be5cbd0e87aa35c01f80ae0bf40b6798e442",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:48:54+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
- "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T13:07:52+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "abb46b909dd6ba0b50e10d4c10ffe6ee96dd70f2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/abb46b909dd6ba0b50e10d4c10ffe6ee96dd70f2",
- "reference": "abb46b909dd6ba0b50e10d4c10ffe6ee96dd70f2",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-20T16:10:26+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "291e13d808bec481eab83f301f7bff3e699ef603"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/291e13d808bec481eab83f301f7bff3e699ef603",
- "reference": "291e13d808bec481eab83f301f7bff3e699ef603",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:48:54+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "behat/gherkin",
- "version": "v4.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Behat/Gherkin.git",
- "reference": "74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Behat/Gherkin/zipball/74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a",
- "reference": "74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.5|~5",
- "symfony/phpunit-bridge": "~2.7|~3",
- "symfony/yaml": "~2.3|~3"
- },
- "suggest": {
- "symfony/yaml": "If you want to parse features, represented in YAML files"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Behat\\Gherkin": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- }
- ],
- "description": "Gherkin DSL parser for PHP 5.3",
- "homepage": "http://behat.org/",
- "keywords": [
- "BDD",
- "Behat",
- "Cucumber",
- "DSL",
- "gherkin",
- "parser"
- ],
- "time": "2017-08-30T11:04:43+00:00"
- },
- {
- "name": "codeception/aspect-mock",
- "version": "2.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/AspectMock.git",
- "reference": "bf3c000599c0dc75ecb52e19dee2b8ed294cf7ba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/AspectMock/zipball/bf3c000599c0dc75ecb52e19dee2b8ed294cf7ba",
- "reference": "bf3c000599c0dc75ecb52e19dee2b8ed294cf7ba",
- "shasum": ""
- },
- "require": {
- "goaop/framework": "^2.0.0",
- "php": ">=5.6.0",
- "symfony/finder": "~2.4|~3.0"
- },
- "require-dev": {
- "codeception/base": "~2.1",
- "codeception/specify": "~0.3",
- "codeception/verify": "~0.2"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "AspectMock": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Bodnarchuk",
- "email": "davert@codeception.com"
- }
- ],
- "description": "Experimental Mocking Framework powered by Aspects",
- "time": "2017-10-24T10:20:17+00:00"
- },
- {
- "name": "codeception/base",
- "version": "2.5.2",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/base.git",
- "reference": "50aaf8bc032823018aed8d14114843b4a2c52a48"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/base/zipball/50aaf8bc032823018aed8d14114843b4a2c52a48",
- "reference": "50aaf8bc032823018aed8d14114843b4a2c52a48",
- "shasum": ""
- },
- "require": {
- "behat/gherkin": "^4.4.0",
- "codeception/phpunit-wrapper": "^6.0.9|^7.0.6",
- "codeception/stub": "^2.0",
- "ext-curl": "*",
- "ext-json": "*",
- "ext-mbstring": "*",
- "guzzlehttp/psr7": "~1.0",
- "php": ">=5.6.0 <8.0",
- "symfony/browser-kit": ">=2.7 <5.0",
- "symfony/console": ">=2.7 <5.0",
- "symfony/css-selector": ">=2.7 <5.0",
- "symfony/dom-crawler": ">=2.7 <5.0",
- "symfony/event-dispatcher": ">=2.7 <5.0",
- "symfony/finder": ">=2.7 <5.0",
- "symfony/yaml": ">=2.7 <5.0"
- },
- "require-dev": {
- "codeception/specify": "~0.3",
- "facebook/graph-sdk": "~5.3",
- "flow/jsonpath": "~0.2",
- "monolog/monolog": "~1.8",
- "pda/pheanstalk": "~3.0",
- "php-amqplib/php-amqplib": "~2.4",
- "predis/predis": "^1.0",
- "squizlabs/php_codesniffer": "~2.0",
- "symfony/process": ">=2.7 <5.0",
- "vlucas/phpdotenv": "^2.4.0"
- },
- "suggest": {
- "aws/aws-sdk-php": "For using AWS Auth in REST module and Queue module",
- "codeception/phpbuiltinserver": "Start and stop PHP built-in web server for your tests",
- "codeception/specify": "BDD-style code blocks",
- "codeception/verify": "BDD-style assertions",
- "flow/jsonpath": "For using JSONPath in REST module",
- "league/factory-muffin": "For DataFactory module",
- "league/factory-muffin-faker": "For Faker support in DataFactory module",
- "phpseclib/phpseclib": "for SFTP option in FTP Module",
- "stecman/symfony-console-completion": "For BASH autocompletion",
- "symfony/phpunit-bridge": "For phpunit-bridge support"
- },
- "bin": [
- "codecept"
- ],
- "type": "library",
- "extra": {
- "branch-alias": []
- },
- "autoload": {
- "psr-4": {
- "Codeception\\": "src/Codeception",
- "Codeception\\Extension\\": "ext"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Bodnarchuk",
- "email": "davert@mail.ua",
- "homepage": "http://codegyre.com"
- }
- ],
- "description": "BDD-style testing framework",
- "homepage": "http://codeception.com/",
- "keywords": [
- "BDD",
- "TDD",
- "acceptance testing",
- "functional testing",
- "unit testing"
- ],
- "time": "2019-01-01T21:20:37+00:00"
- },
- {
- "name": "codeception/phpunit-wrapper",
- "version": "6.0.13",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/phpunit-wrapper.git",
- "reference": "d25db254173582bc27aa8c37cb04ce2481675bcd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/d25db254173582bc27aa8c37cb04ce2481675bcd",
- "reference": "d25db254173582bc27aa8c37cb04ce2481675bcd",
- "shasum": ""
- },
- "require": {
- "phpunit/php-code-coverage": ">=4.0.4 <6.0",
- "phpunit/phpunit": ">=5.7.27 <6.5.13",
- "sebastian/comparator": ">=1.2.4 <3.0",
- "sebastian/diff": ">=1.4 <4.0"
- },
- "replace": {
- "codeception/phpunit-wrapper": "*"
- },
- "require-dev": {
- "codeception/specify": "*",
- "vlucas/phpdotenv": "^2.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Codeception\\PHPUnit\\": "src\\"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Davert",
- "email": "davert.php@resend.cc"
- }
- ],
- "description": "PHPUnit classes used by Codeception",
- "time": "2019-01-01T15:39:52+00:00"
- },
- {
- "name": "codeception/stub",
- "version": "2.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/Stub.git",
- "reference": "f50bc271f392a2836ff80690ce0c058efe1ae03e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/Stub/zipball/f50bc271f392a2836ff80690ce0c058efe1ae03e",
- "reference": "f50bc271f392a2836ff80690ce0c058efe1ae03e",
- "shasum": ""
- },
- "require": {
- "phpunit/phpunit": ">=4.8 <8.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Codeception\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Flexible Stub wrapper for PHPUnit's Mock Builder",
- "time": "2018-07-26T11:55:37+00:00"
- },
- {
- "name": "codeception/verify",
- "version": "0.3.3",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/Verify.git",
- "reference": "5d649dda453cd814dadc4bb053060cd2c6bb4b4c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/Verify/zipball/5d649dda453cd814dadc4bb053060cd2c6bb4b4c",
- "reference": "5d649dda453cd814dadc4bb053060cd2c6bb4b4c",
- "shasum": ""
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/Codeception/function.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Bodnarchuk",
- "email": "davert.php@mailican.com"
- }
- ],
- "description": "BDD assertion library for PHPUnit",
- "time": "2017-01-09T10:58:51+00:00"
- },
- {
- "name": "doctrine/annotations",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/annotations.git",
- "reference": "54cacc9b81758b14e3ce750f205a393d52339e97"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/annotations/zipball/54cacc9b81758b14e3ce750f205a393d52339e97",
- "reference": "54cacc9b81758b14e3ce750f205a393d52339e97",
- "shasum": ""
- },
- "require": {
- "doctrine/lexer": "1.*",
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/cache": "1.*",
- "phpunit/phpunit": "^5.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Docblock Annotations Parser",
- "homepage": "http://www.doctrine-project.org",
- "keywords": [
- "annotations",
- "docblock",
- "parser"
- ],
- "time": "2017-02-24T16:22:25+00:00"
- },
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "doctrine/lexer",
- "version": "v1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/lexer.git",
- "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c",
- "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Doctrine\\Common\\Lexer\\": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.",
- "homepage": "http://www.doctrine-project.org",
- "keywords": [
- "lexer",
- "parser"
- ],
- "time": "2014-09-09T13:34:57+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/224531e20d13a07942a989a70759f726cd2df9a1",
- "reference": "224531e20d13a07942a989a70759f726cd2df9a1",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "composer/composer": "^1.7",
- "php-coveralls/php-coveralls": "^1.0",
- "phpunit/phpunit": "^4.8.36|^6",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "bin": [
- "scripts/dependency-licenses"
- ],
- "type": "composer-plugin",
- "extra": {
- "class": "ComposerTestScenarios\\Plugin",
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "ComposerTestScenarios\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-11-27T05:58:39+00:00"
- },
- {
- "name": "goaop/framework",
- "version": "2.1.2",
- "source": {
- "type": "git",
- "url": "https://github.com/goaop/framework.git",
- "reference": "6e2a0fe13c1943db02a67588cfd27692bddaffa5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/goaop/framework/zipball/6e2a0fe13c1943db02a67588cfd27692bddaffa5",
- "reference": "6e2a0fe13c1943db02a67588cfd27692bddaffa5",
- "shasum": ""
- },
- "require": {
- "doctrine/annotations": "~1.0",
- "goaop/parser-reflection": "~1.2",
- "jakubledl/dissect": "~1.0",
- "php": ">=5.6.0"
- },
- "require-dev": {
- "adlawson/vfs": "^0.12",
- "doctrine/orm": "^2.5",
- "phpunit/phpunit": "^4.8",
- "symfony/console": "^2.7|^3.0"
- },
- "suggest": {
- "symfony/console": "Enables the usage of the command-line tool."
- },
- "bin": [
- "bin/aspect"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Go\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Lisachenko Alexander",
- "homepage": "https://github.com/lisachenko"
- }
- ],
- "description": "Framework for aspect-oriented programming in PHP.",
- "homepage": "http://go.aopphp.com/",
- "keywords": [
- "aop",
- "aspect",
- "library",
- "php"
- ],
- "time": "2017-07-12T11:46:25+00:00"
- },
- {
- "name": "goaop/parser-reflection",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/goaop/parser-reflection.git",
- "reference": "d9c1dcc7ce4a5284fe3530e011faf9c9c10e1166"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/goaop/parser-reflection/zipball/d9c1dcc7ce4a5284fe3530e011faf9c9c10e1166",
- "reference": "d9c1dcc7ce4a5284fe3530e011faf9c9c10e1166",
- "shasum": ""
- },
- "require": {
- "nikic/php-parser": "^1.2|^2.0|^3.0",
- "php": ">=5.6.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Go\\ParserReflection\\": "src"
- },
- "files": [
- "src/bootstrap.php"
- ],
- "exclude-from-classmap": [
- "/tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Alexander Lisachenko",
- "email": "lisachenko.it@gmail.com"
- }
- ],
- "description": "Provides reflection information, based on raw source",
- "time": "2018-03-19T15:57:41+00:00"
- },
- {
- "name": "guzzle/guzzle",
- "version": "v3.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": ">=2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "*",
- "monolog/monolog": "1.*",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "1.0.*",
- "symfony/class-loader": "*",
- "zendframework/zend-cache": "<2.3",
- "zendframework/zend-log": "<2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.8-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "abandoned": "guzzlehttp/guzzle",
- "time": "2014-01-28T22:29:15+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.5.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "9f83dded91781a01c63574e387eaa769be769115"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/9f83dded91781a01c63574e387eaa769be769115",
- "reference": "9f83dded91781a01c63574e387eaa769be769115",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0",
- "ralouphie/getallheaders": "^2.0.5"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.5-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "psr-7",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2018-12-04T20:46:45+00:00"
- },
- {
- "name": "jakubledl/dissect",
- "version": "v1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/jakubledl/dissect.git",
- "reference": "d3a391de31e45a247e95cef6cf58a91c05af67c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/jakubledl/dissect/zipball/d3a391de31e45a247e95cef6cf58a91c05af67c4",
- "reference": "d3a391de31e45a247e95cef6cf58a91c05af67c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "symfony/console": "~2.1"
- },
- "suggest": {
- "symfony/console": "for the command-line tool"
- },
- "bin": [
- "bin/dissect.php",
- "bin/dissect"
- ],
- "type": "library",
- "autoload": {
- "psr-0": {
- "Dissect": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "unlicense"
- ],
- "authors": [
- {
- "name": "Jakub Lédl",
- "email": "jakubledl@gmail.com"
- }
- ],
- "description": "Lexing and parsing in pure PHP",
- "homepage": "https://github.com/jakubledl/dissect",
- "keywords": [
- "ast",
- "lexing",
- "parser",
- "parsing"
- ],
- "time": "2013-01-29T21:29:14+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2017-10-19T19:58:43+00:00"
- },
- {
- "name": "natxet/CssMin",
- "version": "v3.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/natxet/CssMin.git",
- "reference": "92de3fe3ccb4f8298d31952490ef7d5395855c39"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/natxet/CssMin/zipball/92de3fe3ccb4f8298d31952490ef7d5395855c39",
- "reference": "92de3fe3ccb4f8298d31952490ef7d5395855c39",
- "shasum": ""
- },
- "require": {
- "php": ">=5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Joe Scylla",
- "email": "joe.scylla@gmail.com",
- "homepage": "https://profiles.google.com/joe.scylla"
- }
- ],
- "description": "Minifying CSS",
- "homepage": "http://code.google.com/p/cssmin/",
- "keywords": [
- "css",
- "minify"
- ],
- "time": "2015-09-25T11:13:11+00:00"
- },
- {
- "name": "nikic/php-parser",
- "version": "v3.1.5",
- "source": {
- "type": "git",
- "url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "bb87e28e7d7b8d9a7fda231d37457c9210faf6ce"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/bb87e28e7d7b8d9a7fda231d37457c9210faf6ce",
- "reference": "bb87e28e7d7b8d9a7fda231d37457c9210faf6ce",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0|~5.0"
- },
- "bin": [
- "bin/php-parse"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "PhpParser\\": "lib/PhpParser"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Nikita Popov"
- }
- ],
- "description": "A PHP parser written in PHP",
- "keywords": [
- "parser",
- "php"
- ],
- "time": "2018-02-28T20:30:58+00:00"
- },
- {
- "name": "patchwork/jsqueeze",
- "version": "v2.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/tchwork/jsqueeze.git",
- "reference": "693d64850eab2ce6a7c8f7cf547e1ab46e69d542"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/tchwork/jsqueeze/zipball/693d64850eab2ce6a7c8f7cf547e1ab46e69d542",
- "reference": "693d64850eab2ce6a7c8f7cf547e1ab46e69d542",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Patchwork\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "(Apache-2.0 or GPL-2.0)"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- }
- ],
- "description": "Efficient JavaScript minification in PHP",
- "homepage": "https://github.com/tchwork/jsqueeze",
- "keywords": [
- "compression",
- "javascript",
- "minification"
- ],
- "time": "2016-04-19T09:28:22+00:00"
- },
- {
- "name": "pear/archive_tar",
- "version": "1.4.4",
- "source": {
- "type": "git",
- "url": "https://github.com/pear/Archive_Tar.git",
- "reference": "b005152d4ed8f23bcc93637611fa94f39ef5b904"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pear/Archive_Tar/zipball/b005152d4ed8f23bcc93637611fa94f39ef5b904",
- "reference": "b005152d4ed8f23bcc93637611fa94f39ef5b904",
- "shasum": ""
- },
- "require": {
- "pear/pear-core-minimal": "^1.10.0alpha2",
- "php": ">=5.2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "*"
- },
- "suggest": {
- "ext-bz2": "Bz2 compression support.",
- "ext-xz": "Lzma2 compression support.",
- "ext-zlib": "Gzip compression support."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Archive_Tar": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "include-path": [
- "./"
- ],
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Vincent Blavet",
- "email": "vincent@phpconcept.net"
- },
- {
- "name": "Greg Beaver",
- "email": "greg@chiaraquartet.net"
- },
- {
- "name": "Michiel Rook",
- "email": "mrook@php.net"
- }
- ],
- "description": "Tar file management class with compression support (gzip, bzip2, lzma2)",
- "homepage": "https://github.com/pear/Archive_Tar",
- "keywords": [
- "archive",
- "tar"
- ],
- "time": "2018-12-20T20:47:24+00:00"
- },
- {
- "name": "pear/console_getopt",
- "version": "v1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/pear/Console_Getopt.git",
- "reference": "82f05cd1aa3edf34e19aa7c8ca312ce13a6a577f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pear/Console_Getopt/zipball/82f05cd1aa3edf34e19aa7c8ca312ce13a6a577f",
- "reference": "82f05cd1aa3edf34e19aa7c8ca312ce13a6a577f",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Console": "./"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "include-path": [
- "./"
- ],
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Greg Beaver",
- "email": "cellog@php.net",
- "role": "Helper"
- },
- {
- "name": "Andrei Zmievski",
- "email": "andrei@php.net",
- "role": "Lead"
- },
- {
- "name": "Stig Bakken",
- "email": "stig@php.net",
- "role": "Developer"
- }
- ],
- "description": "More info available on: http://pear.php.net/package/Console_Getopt",
- "time": "2015-07-20T20:28:12+00:00"
- },
- {
- "name": "pear/pear-core-minimal",
- "version": "v1.10.7",
- "source": {
- "type": "git",
- "url": "https://github.com/pear/pear-core-minimal.git",
- "reference": "19a3e0fcd50492c4357372f623f55f1b144346da"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/19a3e0fcd50492c4357372f623f55f1b144346da",
- "reference": "19a3e0fcd50492c4357372f623f55f1b144346da",
- "shasum": ""
- },
- "require": {
- "pear/console_getopt": "~1.4",
- "pear/pear_exception": "~1.0"
- },
- "replace": {
- "rsky/pear-core-min": "self.version"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "include-path": [
- "src/"
- ],
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Christian Weiske",
- "email": "cweiske@php.net",
- "role": "Lead"
- }
- ],
- "description": "Minimal set of PEAR core files to be used as composer dependency",
- "time": "2018-12-05T20:03:52+00:00"
- },
- {
- "name": "pear/pear_exception",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/pear/PEAR_Exception.git",
- "reference": "8c18719fdae000b690e3912be401c76e406dd13b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pear/PEAR_Exception/zipball/8c18719fdae000b690e3912be401c76e406dd13b",
- "reference": "8c18719fdae000b690e3912be401c76e406dd13b",
- "shasum": ""
- },
- "require": {
- "php": ">=4.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "*"
- },
- "type": "class",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "PEAR": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "include-path": [
- "."
- ],
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Helgi Thormar",
- "email": "dufuz@php.net"
- },
- {
- "name": "Greg Beaver",
- "email": "cellog@php.net"
- }
- ],
- "description": "The PEAR Exception base class.",
- "homepage": "https://github.com/pear/PEAR_Exception",
- "keywords": [
- "exception"
- ],
- "time": "2015-02-10T20:07:52+00:00"
- },
- {
- "name": "php-coveralls/php-coveralls",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "reference": "37f8f83fe22224eb9d9c6d593cdeb33eedd2a9ad",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzle/guzzle": "^2.8 || ^3.0",
- "php": "^5.3.3 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/coveralls"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "Satooshi\\": "src/Satooshi/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "time": "2017-12-06T23:17:56+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-10T14:09:06+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "4.0.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^5.6 || ^7.0",
- "phpunit/php-file-iterator": "^1.3",
- "phpunit/php-text-template": "^1.2",
- "phpunit/php-token-stream": "^1.4.2 || ^2.0",
- "sebastian/code-unit-reverse-lookup": "^1.0",
- "sebastian/environment": "^1.3.2 || ^2.0",
- "sebastian/version": "^1.0 || ^2.0"
- },
- "require-dev": {
- "ext-xdebug": "^2.1.4",
- "phpunit/phpunit": "^5.7"
- },
- "suggest": {
- "ext-xdebug": "^2.5.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2017-04-02T07:44:40+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.12",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-12-04T08:55:13+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "5.7.27",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "~1.3",
- "php": "^5.6 || ^7.0",
- "phpspec/prophecy": "^1.6.2",
- "phpunit/php-code-coverage": "^4.0.4",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "^3.2",
- "sebastian/comparator": "^1.2.4",
- "sebastian/diff": "^1.4.3",
- "sebastian/environment": "^1.3.4 || ^2.0",
- "sebastian/exporter": "~2.0",
- "sebastian/global-state": "^1.1",
- "sebastian/object-enumerator": "~2.0",
- "sebastian/resource-operations": "~1.0",
- "sebastian/version": "^1.0.6|^2.0.1",
- "symfony/yaml": "~2.1|~3.0|~4.0"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.7.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-02-01T05:50:59+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "3.4.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.6 || ^7.0",
- "phpunit/php-text-template": "^1.2",
- "sebastian/exporter": "^1.2 || ^2.0"
- },
- "conflict": {
- "phpunit/phpunit": "<5.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2017-06-30T09:13:00+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "ralouphie/getallheaders",
- "version": "2.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/ralouphie/getallheaders.git",
- "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
- "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~3.7.0",
- "satooshi/php-coveralls": ">=1.0"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/getallheaders.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ralph Khattar",
- "email": "ralph.khattar@gmail.com"
- }
- ],
- "description": "A polyfill for getallheaders.",
- "time": "2016-02-11T07:05:27+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-11-26T07:53:53+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-11-19T08:54:04+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-02-18T15:18:39+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-11-19T07:33:16+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745",
- "reference": "2acf168de78487db620ab4bc524135a13cfe6745",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2018-11-07T22:31:41+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "49465af22d94c8d427c51facbf8137eb285b9726"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/49465af22d94c8d427c51facbf8137eb285b9726",
- "reference": "49465af22d94c8d427c51facbf8137eb285b9726",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/dom-crawler": "~2.8|~3.0|~4.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0|~4.0",
- "symfony/process": "~2.8|~3.0|~4.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-26T10:17:44+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "8a660daeb65dedbe0b099529f65e61866c055081"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/8a660daeb65dedbe0b099529f65e61866c055081",
- "reference": "8a660daeb65dedbe0b099529f65e61866c055081",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/filesystem": "~2.8|~3.0|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3",
- "symfony/finder": "<3.3"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/event-dispatcher": "~3.3|~4.0",
- "symfony/finder": "~3.3|~4.0",
- "symfony/yaml": "~3.0|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-26T10:17:44+00:00"
- },
- {
- "name": "symfony/css-selector",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/css-selector.git",
- "reference": "345b9a48595d1ab9630db791dbc3e721bf0233e8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/345b9a48595d1ab9630db791dbc3e721bf0233e8",
- "reference": "345b9a48595d1ab9630db791dbc3e721bf0233e8",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\CssSelector\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jean-François Simon",
- "email": "jeanfrancois.simon@sensiolabs.com"
- },
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony CssSelector Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:48:54+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "b6e94248eb4f8602a5825301b0bea1eb8cc82cfa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/b6e94248eb4f8602a5825301b0bea1eb8cc82cfa",
- "reference": "b6e94248eb4f8602a5825301b0bea1eb8cc82cfa",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0|~4.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-26T10:17:44+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v3.4.20",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "0f43969ab2718de55c1c1158dce046668079788d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/0f43969ab2718de55c1c1158dce046668079788d",
- "reference": "0f43969ab2718de55c1c1158dce046668079788d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-11-11T19:48:54+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0",
- "symfony/polyfill-ctype": "^1.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-12-25T11:19:39+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.5.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "5.6.3"
- }
-}
diff --git a/vendor/consolidation/robo/data/Task/Development/GeneratedWrapper.tmpl b/vendor/consolidation/robo/data/Task/Development/GeneratedWrapper.tmpl
deleted file mode 100644
index 6682748f0..000000000
--- a/vendor/consolidation/robo/data/Task/Development/GeneratedWrapper.tmpl
+++ /dev/null
@@ -1,39 +0,0 @@
-task{wrapperClassName}()
- * ...
- * ->run();
- *
- * // one line
- * ...
- *
- * ?>
- * ```
- *
-{methodList}
- */
-class {wrapperClassName} extends StackBasedTask
-{
- protected $delegate;
-
- public function __construct()
- {
- $this->delegate = new {delegate}();
- }
-
- protected function getDelegate()
- {
- return $this->delegate;
- }{immediateMethods}{methodImplementations}
-}
diff --git a/vendor/consolidation/robo/dependencies.yml b/vendor/consolidation/robo/dependencies.yml
deleted file mode 100644
index f70d8c36e..000000000
--- a/vendor/consolidation/robo/dependencies.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-version: 2
-dependencies:
-- type: php
- settings:
- composer_options: "--no-dev" # used in "collection", overriden when actually making updates
- lockfile_updates:
- settings:
- composer_options: ""
- manifest_updates:
- settings:
- composer_options: ""
- filters:
- - name: ".*"
- versions: "L.Y.Y"
diff --git a/vendor/consolidation/robo/phpunit.xml b/vendor/consolidation/robo/phpunit.xml
deleted file mode 100644
index b2d8394aa..000000000
--- a/vendor/consolidation/robo/phpunit.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
- ./src
-
-
-
-
-
-
-
diff --git a/vendor/consolidation/robo/robo b/vendor/consolidation/robo/robo
deleted file mode 100755
index b6707d27f..000000000
--- a/vendor/consolidation/robo/robo
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env php
- 500000);
-
-// Non-phar autoloader paths
-$candidates = [
- __DIR__.'/vendor/autoload.php',
- __DIR__.'/../../autoload.php',
-];
-
-// Use our phar alias path
-if ($isPhar) {
- array_unshift($candidates, 'phar://robo.phar/vendor/autoload.php');
-}
-
-$autoloaderPath = false;
-foreach ($candidates as $candidate) {
- if (file_exists($candidate)) {
- $autoloaderPath = $candidate;
- break;
- }
-}
-if (!$autoloaderPath) {
- die("Could not find autoloader. Run 'composer install'.");
-}
-$classLoader = require $autoloaderPath;
-$configFilePath = getenv('ROBO_CONFIG') ?: getenv('HOME') . '/.robo/robo.yml';
-$runner = new \Robo\Runner();
-$runner
- ->setRelativePluginNamespace('Robo\Plugin')
- ->setSelfUpdateRepository('consolidation/robo')
- ->setConfigurationFilename($configFilePath)
- ->setEnvConfigPrefix('ROBO')
- ->setClassLoader($classLoader);
-$statusCode = $runner->execute($_SERVER['argv']);
-exit($statusCode);
diff --git a/vendor/consolidation/robo/robo.yml b/vendor/consolidation/robo/robo.yml
deleted file mode 100644
index a0675093d..000000000
--- a/vendor/consolidation/robo/robo.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-options:
- progress-delay: 2
- simulate: null
-command:
- try:
- config:
- options:
- opt: wow
diff --git a/vendor/consolidation/robo/scripts/composer/ScriptHandler.php b/vendor/consolidation/robo/scripts/composer/ScriptHandler.php
deleted file mode 100644
index ddf1111f2..000000000
--- a/vendor/consolidation/robo/scripts/composer/ScriptHandler.php
+++ /dev/null
@@ -1,58 +0,0 @@
-exists('composer.lock')) {
- return;
- }
-
- $composerLockContents = file_get_contents('composer.lock');
- if (preg_match('#"php":.*(5\.6)#', $composerLockContents)) {
- static::fixDependenciesFor55();
- }
- }
-
- protected static function fixDependenciesFor55()
- {
- $fs = new Filesystem();
- $status = 0;
-
- $fs->remove('composer.lock');
-
- // Composer has already read our composer.json file, so we will
- // need to run in a new process to fix things up.
- passthru('composer install --ansi', $status);
-
- // Don't continue with the initial 'composer install' command
- exit($status);
- }
-}
diff --git a/vendor/consolidation/robo/src/Application.php b/vendor/consolidation/robo/src/Application.php
deleted file mode 100644
index 6e9bc0dcd..000000000
--- a/vendor/consolidation/robo/src/Application.php
+++ /dev/null
@@ -1,74 +0,0 @@
-getDefinition()
- ->addOption(
- new InputOption('--simulate', null, InputOption::VALUE_NONE, 'Run in simulated mode (show what would have happened).')
- );
- $this->getDefinition()
- ->addOption(
- new InputOption('--progress-delay', null, InputOption::VALUE_REQUIRED, 'Number of seconds before progress bar is displayed in long-running task collections. Default: 2s.', Config::DEFAULT_PROGRESS_DELAY)
- );
-
- $this->getDefinition()
- ->addOption(
- new InputOption('--define', '-D', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Define a configuration item value.', [])
- );
- }
-
- /**
- * @param string $roboFile
- * @param string $roboClass
- */
- public function addInitRoboFileCommand($roboFile, $roboClass)
- {
- $createRoboFile = new Command('init');
- $createRoboFile->setDescription("Intitalizes basic RoboFile in current dir");
- $createRoboFile->setCode(function () use ($roboClass, $roboFile) {
- $output = Robo::output();
- $output->writeln(" ~~~ Welcome to Robo! ~~~~ ");
- $output->writeln(" ". basename($roboFile) ." will be created in the current directory ");
- file_put_contents(
- $roboFile,
- 'writeln(" Edit this file to add your commands! ");
- });
- $this->add($createRoboFile);
- }
-
- /**
- * Add self update command, do nothing if null is provided
- *
- * @param string $repository GitHub Repository for self update
- */
- public function addSelfUpdateCommand($repository = null)
- {
- if (!$repository || empty(\Phar::running())) {
- return;
- }
- $selfUpdateCommand = new SelfUpdateCommand($this->getName(), $this->getVersion(), $repository);
- $this->add($selfUpdateCommand);
- }
-}
diff --git a/vendor/consolidation/robo/src/ClassDiscovery/AbstractClassDiscovery.php b/vendor/consolidation/robo/src/ClassDiscovery/AbstractClassDiscovery.php
deleted file mode 100644
index 319543a54..000000000
--- a/vendor/consolidation/robo/src/ClassDiscovery/AbstractClassDiscovery.php
+++ /dev/null
@@ -1,26 +0,0 @@
-searchPattern = $searchPattern;
-
- return $this;
- }
-}
diff --git a/vendor/consolidation/robo/src/ClassDiscovery/ClassDiscoveryInterface.php b/vendor/consolidation/robo/src/ClassDiscovery/ClassDiscoveryInterface.php
deleted file mode 100644
index ebbb67272..000000000
--- a/vendor/consolidation/robo/src/ClassDiscovery/ClassDiscoveryInterface.php
+++ /dev/null
@@ -1,30 +0,0 @@
-classLoader = $classLoader;
- }
-
- /**
- * @param string $relativeNamespace
- *
- * @return RelativeNamespaceDiscovery
- */
- public function setRelativeNamespace($relativeNamespace)
- {
- $this->relativeNamespace = $relativeNamespace;
-
- return $this;
- }
-
- /**
- * @inheritDoc
- */
- public function getClasses()
- {
- $classes = [];
- $relativePath = $this->convertNamespaceToPath($this->relativeNamespace);
-
- foreach ($this->classLoader->getPrefixesPsr4() as $baseNamespace => $directories) {
- $directories = array_filter(array_map(function ($directory) use ($relativePath) {
- return $directory.$relativePath;
- }, $directories), 'is_dir');
-
- if ($directories) {
- foreach ($this->search($directories, $this->searchPattern) as $file) {
- $relativePathName = $file->getRelativePathname();
- $classes[] = $baseNamespace.$this->convertPathToNamespace($relativePath.'/'.$relativePathName);
- }
- }
- }
-
- return $classes;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getFile($class)
- {
- return $this->classLoader->findFile($class);
- }
-
- /**
- * @param $directories
- * @param $pattern
- *
- * @return \Symfony\Component\Finder\Finder
- */
- protected function search($directories, $pattern)
- {
- $finder = new Finder();
- $finder->files()
- ->name($pattern)
- ->in($directories);
-
- return $finder;
- }
-
- /**
- * @param $path
- *
- * @return mixed
- */
- protected function convertPathToNamespace($path)
- {
- return str_replace(['/', '.php'], ['\\', ''], trim($path, '/'));
- }
-
- /**
- * @return string
- */
- public function convertNamespaceToPath($namespace)
- {
- return '/'.str_replace("\\", '/', trim($namespace, '\\'));
- }
-}
diff --git a/vendor/consolidation/robo/src/Collection/CallableTask.php b/vendor/consolidation/robo/src/Collection/CallableTask.php
deleted file mode 100644
index ae9c54fc5..000000000
--- a/vendor/consolidation/robo/src/Collection/CallableTask.php
+++ /dev/null
@@ -1,62 +0,0 @@
-fn = $fn;
- $this->reference = $reference;
- }
-
- /**
- * @return \Robo\Result
- */
- public function run()
- {
- $result = call_user_func($this->fn, $this->getState());
- // If the function returns no result, then count it
- // as a success.
- if (!isset($result)) {
- $result = Result::success($this->reference);
- }
- // If the function returns a result, it must either return
- // a \Robo\Result or an exit code. In the later case, we
- // convert it to a \Robo\Result.
- if (!$result instanceof Result) {
- $result = new Result($this->reference, $result);
- }
-
- return $result;
- }
-
- public function getState()
- {
- if ($this->reference instanceof StateAwareInterface) {
- return $this->reference->getState();
- }
- return new Data();
- }
-}
diff --git a/vendor/consolidation/robo/src/Collection/Collection.php b/vendor/consolidation/robo/src/Collection/Collection.php
deleted file mode 100644
index e3e34796b..000000000
--- a/vendor/consolidation/robo/src/Collection/Collection.php
+++ /dev/null
@@ -1,782 +0,0 @@
-resetState();
- }
-
- public function setProgressBarAutoDisplayInterval($interval)
- {
- if (!$this->progressIndicator) {
- return;
- }
- return $this->progressIndicator->setProgressBarAutoDisplayInterval($interval);
- }
-
- /**
- * {@inheritdoc}
- */
- public function add(TaskInterface $task, $name = self::UNNAMEDTASK)
- {
- $task = new CompletionWrapper($this, $task);
- $this->addToTaskList($name, $task);
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function addCode(callable $code, $name = self::UNNAMEDTASK)
- {
- return $this->add(new CallableTask($code, $this), $name);
- }
-
- /**
- * {@inheritdoc}
- */
- public function addIterable($iterable, callable $code)
- {
- $callbackTask = (new IterationTask($iterable, $code, $this))->inflect($this);
- return $this->add($callbackTask);
- }
-
- /**
- * {@inheritdoc}
- */
- public function rollback(TaskInterface $rollbackTask)
- {
- // Rollback tasks always try as hard as they can, and never report failures.
- $rollbackTask = $this->ignoreErrorsTaskWrapper($rollbackTask);
- return $this->wrapAndRegisterRollback($rollbackTask);
- }
-
- /**
- * {@inheritdoc}
- */
- public function rollbackCode(callable $rollbackCode)
- {
- // Rollback tasks always try as hard as they can, and never report failures.
- $rollbackTask = $this->ignoreErrorsCodeWrapper($rollbackCode);
- return $this->wrapAndRegisterRollback($rollbackTask);
- }
-
- /**
- * {@inheritdoc}
- */
- public function completion(TaskInterface $completionTask)
- {
- $collection = $this;
- $completionRegistrationTask = new CallableTask(
- function () use ($collection, $completionTask) {
-
- $collection->registerCompletion($completionTask);
- },
- $this
- );
- $this->addToTaskList(self::UNNAMEDTASK, $completionRegistrationTask);
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function completionCode(callable $completionTask)
- {
- $completionTask = new CallableTask($completionTask, $this);
- return $this->completion($completionTask);
- }
-
- /**
- * {@inheritdoc}
- */
- public function before($name, $task, $nameOfTaskToAdd = self::UNNAMEDTASK)
- {
- return $this->addBeforeOrAfter(__FUNCTION__, $name, $task, $nameOfTaskToAdd);
- }
-
- /**
- * {@inheritdoc}
- */
- public function after($name, $task, $nameOfTaskToAdd = self::UNNAMEDTASK)
- {
- return $this->addBeforeOrAfter(__FUNCTION__, $name, $task, $nameOfTaskToAdd);
- }
-
- /**
- * {@inheritdoc}
- */
- public function progressMessage($text, $context = [], $level = LogLevel::NOTICE)
- {
- $context += ['name' => 'Progress'];
- $context += TaskInfo::getTaskContext($this);
- return $this->addCode(
- function () use ($level, $text, $context) {
- $context += $this->getState()->getData();
- $this->printTaskOutput($level, $text, $context);
- }
- );
- }
-
- /**
- * @param \Robo\Contract\TaskInterface $rollbackTask
- *
- * @return $this
- */
- protected function wrapAndRegisterRollback(TaskInterface $rollbackTask)
- {
- $collection = $this;
- $rollbackRegistrationTask = new CallableTask(
- function () use ($collection, $rollbackTask) {
- $collection->registerRollback($rollbackTask);
- },
- $this
- );
- $this->addToTaskList(self::UNNAMEDTASK, $rollbackRegistrationTask);
- return $this;
- }
-
- /**
- * Add either a 'before' or 'after' function or task.
- *
- * @param string $method
- * @param string $name
- * @param callable|TaskInterface $task
- * @param string $nameOfTaskToAdd
- *
- * @return $this
- */
- protected function addBeforeOrAfter($method, $name, $task, $nameOfTaskToAdd)
- {
- if (is_callable($task)) {
- $task = new CallableTask($task, $this);
- }
- $existingTask = $this->namedTask($name);
- $fn = [$existingTask, $method];
- call_user_func($fn, $task, $nameOfTaskToAdd);
- return $this;
- }
-
- /**
- * Wrap the provided task in a wrapper that will ignore
- * any errors or exceptions that may be produced. This
- * is useful, for example, in adding optional cleanup tasks
- * at the beginning of a task collection, to remove previous
- * results which may or may not exist.
- *
- * TODO: Provide some way to specify which sort of errors
- * are ignored, so that 'file not found' may be ignored,
- * but 'permission denied' reported?
- *
- * @param \Robo\Contract\TaskInterface $task
- *
- * @return \Robo\Collection\CallableTask
- */
- public function ignoreErrorsTaskWrapper(TaskInterface $task)
- {
- // If the task is a stack-based task, then tell it
- // to try to run all of its operations, even if some
- // of them fail.
- if ($task instanceof StackBasedTask) {
- $task->stopOnFail(false);
- }
- $ignoreErrorsInTask = function () use ($task) {
- $data = [];
- try {
- $result = $this->runSubtask($task);
- $message = $result->getMessage();
- $data = $result->getData();
- $data['exitcode'] = $result->getExitCode();
- } catch (AbortTasksException $abortTasksException) {
- throw $abortTasksException;
- } catch (\Exception $e) {
- $message = $e->getMessage();
- }
-
- return Result::success($task, $message, $data);
- };
- // Wrap our ignore errors callable in a task.
- return new CallableTask($ignoreErrorsInTask, $this);
- }
-
- /**
- * @param callable $task
- *
- * @return \Robo\Collection\CallableTask
- */
- public function ignoreErrorsCodeWrapper(callable $task)
- {
- return $this->ignoreErrorsTaskWrapper(new CallableTask($task, $this));
- }
-
- /**
- * Return the list of task names added to this collection.
- *
- * @return array
- */
- public function taskNames()
- {
- return array_keys($this->taskList);
- }
-
- /**
- * Test to see if a specified task name exists.
- * n.b. before() and after() require that the named
- * task exist; use this function to test first, if
- * unsure.
- *
- * @param string $name
- *
- * @return bool
- */
- public function hasTask($name)
- {
- return array_key_exists($name, $this->taskList);
- }
-
- /**
- * Find an existing named task.
- *
- * @param string $name
- * The name of the task to insert before. The named task MUST exist.
- *
- * @return Element
- * The task group for the named task. Generally this is only
- * used to call 'before()' and 'after()'.
- */
- protected function namedTask($name)
- {
- if (!$this->hasTask($name)) {
- throw new \RuntimeException("Could not find task named $name");
- }
- return $this->taskList[$name];
- }
-
- /**
- * Add a list of tasks to our task collection.
- *
- * @param TaskInterface[] $tasks
- * An array of tasks to run with rollback protection
- *
- * @return $this
- */
- public function addTaskList(array $tasks)
- {
- foreach ($tasks as $name => $task) {
- $this->add($task, $name);
- }
- return $this;
- }
-
- /**
- * Add the provided task to our task list.
- *
- * @param string $name
- * @param \Robo\Contract\TaskInterface $task
- *
- * @return \Robo\Collection\Collection
- */
- protected function addToTaskList($name, TaskInterface $task)
- {
- // All tasks are stored in a task group so that we have a place
- // to hang 'before' and 'after' tasks.
- $taskGroup = new Element($task);
- return $this->addCollectionElementToTaskList($name, $taskGroup);
- }
-
- /**
- * @param int|string $name
- * @param \Robo\Collection\Element $taskGroup
- *
- * @return $this
- */
- protected function addCollectionElementToTaskList($name, Element $taskGroup)
- {
- // If a task name is not provided, then we'll let php pick
- // the array index.
- if (Result::isUnnamed($name)) {
- $this->taskList[] = $taskGroup;
- return $this;
- }
- // If we are replacing an existing task with the
- // same name, ensure that our new task is added to
- // the end.
- $this->taskList[$name] = $taskGroup;
- return $this;
- }
-
- /**
- * Set the parent collection. This is necessary so that nested
- * collections' rollback and completion tasks can be added to the
- * top-level collection, ensuring that the rollbacks for a collection
- * will run if any later task fails.
- *
- * @param \Robo\Collection\NestedCollectionInterface $parentCollection
- *
- * @return $this
- */
- public function setParentCollection(NestedCollectionInterface $parentCollection)
- {
- $this->parentCollection = $parentCollection;
- return $this;
- }
-
- /**
- * Get the appropriate parent collection to use
- *
- * @return CollectionInterface
- */
- public function getParentCollection()
- {
- return $this->parentCollection ? $this->parentCollection : $this;
- }
-
- /**
- * Register a rollback task to run if there is any failure.
- *
- * Clients are free to add tasks to the rollback stack as
- * desired; however, usually it is preferable to call
- * Collection::rollback() instead. With that function,
- * the rollback function will only be called if all of the
- * tasks added before it complete successfully, AND some later
- * task fails.
- *
- * One example of a good use-case for registering a callback
- * function directly is to add a task that sends notification
- * when a task fails.
- *
- * @param TaskInterface $rollbackTask
- * The rollback task to run on failure.
- */
- public function registerRollback(TaskInterface $rollbackTask)
- {
- if ($this->parentCollection) {
- return $this->parentCollection->registerRollback($rollbackTask);
- }
- if ($rollbackTask) {
- array_unshift($this->rollbackStack, $rollbackTask);
- }
- }
-
- /**
- * Register a completion task to run once all other tasks finish.
- * Completion tasks run whether or not a rollback operation was
- * triggered. They do not trigger rollbacks if they fail.
- *
- * The typical use-case for a completion function is to clean up
- * temporary objects (e.g. temporary folders). The preferred
- * way to do that, though, is to use Temporary::wrap().
- *
- * On failures, completion tasks will run after all rollback tasks.
- * If one task collection is nested inside another task collection,
- * then the nested collection's completion tasks will run as soon as
- * the nested task completes; they are not deferred to the end of
- * the containing collection's execution.
- *
- * @param TaskInterface $completionTask
- * The completion task to run at the end of all other operations.
- */
- public function registerCompletion(TaskInterface $completionTask)
- {
- if ($this->parentCollection) {
- return $this->parentCollection->registerCompletion($completionTask);
- }
- if ($completionTask) {
- // Completion tasks always try as hard as they can, and never report failures.
- $completionTask = $this->ignoreErrorsTaskWrapper($completionTask);
- $this->completionStack[] = $completionTask;
- }
- }
-
- /**
- * Return the count of steps in this collection
- *
- * @return int
- */
- public function progressIndicatorSteps()
- {
- $steps = 0;
- foreach ($this->taskList as $name => $taskGroup) {
- $steps += $taskGroup->progressIndicatorSteps();
- }
- return $steps;
- }
-
- /**
- * A Collection of tasks can provide a command via `getCommand()`
- * if it contains a single task, and that task implements CommandInterface.
- *
- * @return string
- *
- * @throws \Robo\Exception\TaskException
- */
- public function getCommand()
- {
- if (empty($this->taskList)) {
- return '';
- }
-
- if (count($this->taskList) > 1) {
- // TODO: We could potentially iterate over the items in the collection
- // and concatenate the result of getCommand() from each one, and fail
- // only if we encounter a command that is not a CommandInterface.
- throw new TaskException($this, "getCommand() does not work on arbitrary collections of tasks.");
- }
-
- $taskElement = reset($this->taskList);
- $task = $taskElement->getTask();
- $task = ($task instanceof WrappedTaskInterface) ? $task->original() : $task;
- if ($task instanceof CommandInterface) {
- return $task->getCommand();
- }
-
- throw new TaskException($task, get_class($task) . " does not implement CommandInterface, so can't be used to provide a command");
- }
-
- /**
- * Run our tasks, and roll back if necessary.
- *
- * @return \Robo\Result
- */
- public function run()
- {
- $result = $this->runWithoutCompletion();
- $this->complete();
- return $result;
- }
-
- /**
- * @return \Robo\Result
- */
- private function runWithoutCompletion()
- {
- $result = Result::success($this);
-
- if (empty($this->taskList)) {
- return $result;
- }
-
- $this->startProgressIndicator();
- if ($result->wasSuccessful()) {
- foreach ($this->taskList as $name => $taskGroup) {
- $taskList = $taskGroup->getTaskList();
- $result = $this->runTaskList($name, $taskList, $result);
- if (!$result->wasSuccessful()) {
- $this->fail();
- return $result;
- }
- }
- $this->taskList = [];
- }
- $this->stopProgressIndicator();
- $result['time'] = $this->getExecutionTime();
-
- return $result;
- }
-
- /**
- * Run every task in a list, but only up to the first failure.
- * Return the failing result, or success if all tasks run.
- *
- * @param string $name
- * @param TaskInterface[] $taskList
- * @param \Robo\Result $result
- *
- * @return \Robo\Result
- *
- * @throws \Robo\Exception\TaskExitException
- */
- private function runTaskList($name, array $taskList, Result $result)
- {
- try {
- foreach ($taskList as $taskName => $task) {
- $taskResult = $this->runSubtask($task);
- $this->advanceProgressIndicator();
- // If the current task returns an error code, then stop
- // execution and signal a rollback.
- if (!$taskResult->wasSuccessful()) {
- return $taskResult;
- }
- // We accumulate our results into a field so that tasks that
- // have a reference to the collection may examine and modify
- // the incremental results, if they wish.
- $key = Result::isUnnamed($taskName) ? $name : $taskName;
- $result->accumulate($key, $taskResult);
- // The result message will be the message of the last task executed.
- $result->setMessage($taskResult->getMessage());
- }
- } catch (TaskExitException $exitException) {
- $this->fail();
- throw $exitException;
- } catch (\Exception $e) {
- // Tasks typically should not throw, but if one does, we will
- // convert it into an error and roll back.
- return Result::fromException($task, $e, $result->getData());
- }
- return $result;
- }
-
- /**
- * Force the rollback functions to run
- *
- * @return $this
- */
- public function fail()
- {
- $this->disableProgressIndicator();
- $this->runRollbackTasks();
- $this->complete();
- return $this;
- }
-
- /**
- * Force the completion functions to run
- *
- * @return $this
- */
- public function complete()
- {
- $this->detatchProgressIndicator();
- $this->runTaskListIgnoringFailures($this->completionStack);
- $this->reset();
- return $this;
- }
-
- /**
- * Reset this collection, removing all tasks.
- *
- * @return $this
- */
- public function reset()
- {
- $this->taskList = [];
- $this->completionStack = [];
- $this->rollbackStack = [];
- return $this;
- }
-
- /**
- * Run all of our rollback tasks.
- *
- * Note that Collection does not implement RollbackInterface, but
- * it may still be used as a task inside another task collection
- * (i.e. you can nest task collections, if desired).
- */
- protected function runRollbackTasks()
- {
- $this->runTaskListIgnoringFailures($this->rollbackStack);
- // Erase our rollback stack once we have finished rolling
- // everything back. This will allow us to potentially use
- // a command collection more than once (e.g. to retry a
- // failed operation after doing some error recovery).
- $this->rollbackStack = [];
- }
-
- /**
- * @param TaskInterface|NestedCollectionInterface|WrappedTaskInterface $task
- *
- * @return \Robo\Result
- */
- protected function runSubtask($task)
- {
- $original = ($task instanceof WrappedTaskInterface) ? $task->original() : $task;
- $this->setParentCollectionForTask($original, $this->getParentCollection());
- if ($original instanceof InflectionInterface) {
- $original->inflect($this);
- }
- if ($original instanceof StateAwareInterface) {
- $original->setState($this->getState());
- }
- $this->doDeferredInitialization($original);
- $taskResult = $task->run();
- $taskResult = Result::ensureResult($task, $taskResult);
- $this->doStateUpdates($original, $taskResult);
- return $taskResult;
- }
-
- protected function doStateUpdates($task, Data $taskResult)
- {
- $this->updateState($taskResult);
- $key = spl_object_hash($task);
- if (array_key_exists($key, $this->messageStoreKeys)) {
- $state = $this->getState();
- list($stateKey, $sourceKey) = $this->messageStoreKeys[$key];
- $value = empty($sourceKey) ? $taskResult->getMessage() : $taskResult[$sourceKey];
- $state[$stateKey] = $value;
- }
- }
-
- public function storeState($task, $key, $source = '')
- {
- $this->messageStoreKeys[spl_object_hash($task)] = [$key, $source];
-
- return $this;
- }
-
- public function deferTaskConfiguration($task, $functionName, $stateKey)
- {
- return $this->defer(
- $task,
- function ($task, $state) use ($functionName, $stateKey) {
- $fn = [$task, $functionName];
- $value = $state[$stateKey];
- $fn($value);
- }
- );
- }
-
- /**
- * Defer execution of a callback function until just before a task
- * runs. Use this time to provide more settings for the task, e.g. from
- * the collection's shared state, which is populated with the results
- * of previous test runs.
- */
- public function defer($task, $callback)
- {
- $this->deferredCallbacks[spl_object_hash($task)][] = $callback;
-
- return $this;
- }
-
- protected function doDeferredInitialization($task)
- {
- // If the task is a state consumer, then call its receiveState method
- if ($task instanceof \Robo\State\Consumer) {
- $task->receiveState($this->getState());
- }
-
- // Check and see if there are any deferred callbacks for this task.
- $key = spl_object_hash($task);
- if (!array_key_exists($key, $this->deferredCallbacks)) {
- return;
- }
-
- // Call all of the deferred callbacks
- foreach ($this->deferredCallbacks[$key] as $fn) {
- $fn($task, $this->getState());
- }
- }
-
- /**
- * @param TaskInterface|NestedCollectionInterface|WrappedTaskInterface $task
- * @param $parentCollection
- */
- protected function setParentCollectionForTask($task, $parentCollection)
- {
- if ($task instanceof NestedCollectionInterface) {
- $task->setParentCollection($parentCollection);
- }
- }
-
- /**
- * Run all of the tasks in a provided list, ignoring failures.
- *
- * You may force a failure by throwing a ForcedException in your rollback or
- * completion task or callback.
- *
- * This is used to roll back or complete.
- *
- * @param TaskInterface[] $taskList
- */
- protected function runTaskListIgnoringFailures(array $taskList)
- {
- foreach ($taskList as $task) {
- try {
- $this->runSubtask($task);
- } catch (AbortTasksException $abortTasksException) {
- // If there's a forced exception, end the loop of tasks.
- if ($message = $abortTasksException->getMessage()) {
- $this->logger()->notice($message);
- }
- break;
- } catch (\Exception $e) {
- // Ignore rollback failures.
- }
- }
- }
-
- /**
- * Give all of our tasks to the provided collection builder.
- *
- * @param CollectionBuilder $builder
- */
- public function transferTasks($builder)
- {
- foreach ($this->taskList as $name => $taskGroup) {
- // TODO: We are abandoning all of our before and after tasks here.
- // At the moment, transferTasks is only called under conditions where
- // there will be none of these, but care should be taken if that changes.
- $task = $taskGroup->getTask();
- $builder->addTaskToCollection($task);
- }
- $this->reset();
- }
-}
diff --git a/vendor/consolidation/robo/src/Collection/CollectionBuilder.php b/vendor/consolidation/robo/src/Collection/CollectionBuilder.php
deleted file mode 100644
index 3e037b01e..000000000
--- a/vendor/consolidation/robo/src/Collection/CollectionBuilder.php
+++ /dev/null
@@ -1,571 +0,0 @@
-collectionBuilder()
- * ->taskFilesystemStack()
- * ->mkdir('g')
- * ->touch('g/g.txt')
- * ->rollback(
- * $this->taskDeleteDir('g')
- * )
- * ->taskFilesystemStack()
- * ->mkdir('g/h')
- * ->touch('g/h/h.txt')
- * ->taskFilesystemStack()
- * ->mkdir('g/h/i/c')
- * ->touch('g/h/i/i.txt')
- * ->run()
- * ?>
- *
- * In the example above, the `taskDeleteDir` will be called if
- * ```
- */
-class CollectionBuilder extends BaseTask implements NestedCollectionInterface, WrappedTaskInterface, CommandInterface, StateAwareInterface
-{
- use StateAwareTrait;
-
- /**
- * @var \Robo\Tasks
- */
- protected $commandFile;
-
- /**
- * @var CollectionInterface
- */
- protected $collection;
-
- /**
- * @var TaskInterface
- */
- protected $currentTask;
-
- /**
- * @var bool
- */
- protected $simulated;
-
- /**
- * @param \Robo\Tasks $commandFile
- */
- public function __construct($commandFile)
- {
- $this->commandFile = $commandFile;
- $this->resetState();
- }
-
- public static function create($container, $commandFile)
- {
- $builder = new self($commandFile);
-
- $builder->setLogger($container->get('logger'));
- $builder->setProgressIndicator($container->get('progressIndicator'));
- $builder->setConfig($container->get('config'));
- $builder->setOutputAdapter($container->get('outputAdapter'));
-
- return $builder;
- }
-
- /**
- * @param bool $simulated
- *
- * @return $this
- */
- public function simulated($simulated = true)
- {
- $this->simulated = $simulated;
- return $this;
- }
-
- /**
- * @return bool
- */
- public function isSimulated()
- {
- if (!isset($this->simulated)) {
- $this->simulated = $this->getConfig()->get(Config::SIMULATE);
- }
- return $this->simulated;
- }
-
- /**
- * Create a temporary directory to work in. When the collection
- * completes or rolls back, the temporary directory will be deleted.
- * Returns the path to the location where the directory will be
- * created.
- *
- * @param string $prefix
- * @param string $base
- * @param bool $includeRandomPart
- *
- * @return string
- */
- public function tmpDir($prefix = 'tmp', $base = '', $includeRandomPart = true)
- {
- // n.b. Any task that the builder is asked to create is
- // automatically added to the builder's collection, and
- // wrapped in the builder object. Therefore, the result
- // of any call to `taskFoo()` from within the builder will
- // always be `$this`.
- return $this->taskTmpDir($prefix, $base, $includeRandomPart)->getPath();
- }
-
- /**
- * Create a working directory to hold results. A temporary directory
- * is first created to hold the intermediate results. After the
- * builder finishes, the work directory is moved into its final location;
- * any results already in place will be moved out of the way and
- * then deleted.
- *
- * @param string $finalDestination The path where the working directory
- * will be moved once the task collection completes.
- *
- * @return string
- */
- public function workDir($finalDestination)
- {
- // Creating the work dir task in this context adds it to our task collection.
- return $this->taskWorkDir($finalDestination)->getPath();
- }
-
- public function addTask(TaskInterface $task)
- {
- $this->getCollection()->add($task);
- return $this;
- }
-
- /**
- * Add arbitrary code to execute as a task.
- *
- * @see \Robo\Collection\CollectionInterface::addCode
- *
- * @param callable $code
- * @param int|string $name
- * @return $this
- */
- public function addCode(callable $code, $name = \Robo\Collection\CollectionInterface::UNNAMEDTASK)
- {
- $this->getCollection()->addCode($code, $name);
- return $this;
- }
-
- /**
- * Add a list of tasks to our task collection.
- *
- * @param TaskInterface[] $tasks
- * An array of tasks to run with rollback protection
- *
- * @return $this
- */
- public function addTaskList(array $tasks)
- {
- $this->getCollection()->addTaskList($tasks);
- return $this;
- }
-
- public function rollback(TaskInterface $task)
- {
- // Ensure that we have a collection if we are going to add
- // a rollback function.
- $this->getCollection()->rollback($task);
- return $this;
- }
-
- public function rollbackCode(callable $rollbackCode)
- {
- $this->getCollection()->rollbackCode($rollbackCode);
- return $this;
- }
-
- public function completion(TaskInterface $task)
- {
- $this->getCollection()->completion($task);
- return $this;
- }
-
- public function completionCode(callable $completionCode)
- {
- $this->getCollection()->completionCode($completionCode);
- return $this;
- }
-
- /**
- * @param string $text
- * @param array $context
- * @param string $level
- *
- * @return $this
- */
- public function progressMessage($text, $context = [], $level = LogLevel::NOTICE)
- {
- $this->getCollection()->progressMessage($text, $context, $level);
- return $this;
- }
-
- /**
- * @param \Robo\Collection\NestedCollectionInterface $parentCollection
- *
- * @return $this
- */
- public function setParentCollection(NestedCollectionInterface $parentCollection)
- {
- $this->getCollection()->setParentCollection($parentCollection);
- return $this;
- }
-
- /**
- * Called by the factory method of each task; adds the current
- * task to the task builder.
- *
- * TODO: protected
- *
- * @param TaskInterface $task
- *
- * @return $this
- */
- public function addTaskToCollection($task)
- {
- // Postpone creation of the collection until the second time
- // we are called. At that time, $this->currentTask will already
- // be populated. We call 'getCollection()' so that it will
- // create the collection and add the current task to it.
- // Note, however, that if our only tasks implements NestedCollectionInterface,
- // then we should force this builder to use a collection.
- if (!$this->collection && (isset($this->currentTask) || ($task instanceof NestedCollectionInterface))) {
- $this->getCollection();
- }
- $this->currentTask = $task;
- if ($this->collection) {
- $this->collection->add($task);
- }
- return $this;
- }
-
- public function getState()
- {
- $collection = $this->getCollection();
- return $collection->getState();
- }
-
- public function storeState($key, $source = '')
- {
- return $this->callCollectionStateFuntion(__FUNCTION__, func_get_args());
- }
-
- public function deferTaskConfiguration($functionName, $stateKey)
- {
- return $this->callCollectionStateFuntion(__FUNCTION__, func_get_args());
- }
-
- public function defer($callback)
- {
- return $this->callCollectionStateFuntion(__FUNCTION__, func_get_args());
- }
-
- protected function callCollectionStateFuntion($functionName, $args)
- {
- $currentTask = ($this->currentTask instanceof WrappedTaskInterface) ? $this->currentTask->original() : $this->currentTask;
-
- array_unshift($args, $currentTask);
- $collection = $this->getCollection();
- $fn = [$collection, $functionName];
-
- call_user_func_array($fn, $args);
- return $this;
- }
-
- public function setVerbosityThreshold($verbosityThreshold)
- {
- $currentTask = ($this->currentTask instanceof WrappedTaskInterface) ? $this->currentTask->original() : $this->currentTask;
- if ($currentTask) {
- $currentTask->setVerbosityThreshold($verbosityThreshold);
- return $this;
- }
- parent::setVerbosityThreshold($verbosityThreshold);
- return $this;
- }
-
-
- /**
- * Return the current task for this collection builder.
- * TODO: Not needed?
- *
- * @return \Robo\Contract\TaskInterface
- */
- public function getCollectionBuilderCurrentTask()
- {
- return $this->currentTask;
- }
-
- /**
- * Create a new builder with its own task collection
- *
- * @return CollectionBuilder
- */
- public function newBuilder()
- {
- $collectionBuilder = new self($this->commandFile);
- $collectionBuilder->inflect($this);
- $collectionBuilder->simulated($this->isSimulated());
- $collectionBuilder->setVerbosityThreshold($this->verbosityThreshold());
- $collectionBuilder->setState($this->getState());
-
- return $collectionBuilder;
- }
-
- /**
- * Calling the task builder with methods of the current
- * task calls through to that method of the task.
- *
- * There is extra complexity in this function that could be
- * simplified if we attached the 'LoadAllTasks' and custom tasks
- * to the collection builder instead of the RoboFile. While that
- * change would be a better design overall, it would require that
- * the user do a lot more work to set up and use custom tasks.
- * We therefore take on some additional complexity here in order
- * to allow users to maintain their tasks in their RoboFile, which
- * is much more convenient.
- *
- * Calls to $this->collectionBuilder()->taskFoo() cannot be made
- * directly because all of the task methods are protected. These
- * calls will therefore end up here. If the method name begins
- * with 'task', then it is eligible to be used with the builder.
- *
- * When we call getBuiltTask, below, it will use the builder attached
- * to the commandfile to build the task. However, this is not what we
- * want: the task needs to be built from THIS collection builder, so that
- * it will be affected by whatever state is active in this builder.
- * To do this, we have two choices: 1) save and restore the builder
- * in the commandfile, or 2) clone the commandfile and set this builder
- * on the copy. 1) is vulnerable to failure in multithreaded environments
- * (currently not supported), while 2) might cause confusion if there
- * is shared state maintained in the commandfile, which is in the
- * domain of the user.
- *
- * Note that even though we are setting up the commandFile to
- * use this builder, getBuiltTask always creates a new builder
- * (which is constructed using all of the settings from the
- * commandFile's builder), and the new task is added to that.
- * We therefore need to transfer the newly built task into this
- * builder. The temporary builder is discarded.
- *
- * @param string $fn
- * @param array $args
- *
- * @return $this|mixed
- */
- public function __call($fn, $args)
- {
- if (preg_match('#^task[A-Z]#', $fn) && (method_exists($this->commandFile, 'getBuiltTask'))) {
- $saveBuilder = $this->commandFile->getBuilder();
- $this->commandFile->setBuilder($this);
- $temporaryBuilder = $this->commandFile->getBuiltTask($fn, $args);
- $this->commandFile->setBuilder($saveBuilder);
- if (!$temporaryBuilder) {
- throw new \BadMethodCallException("No such method $fn: task does not exist in " . get_class($this->commandFile));
- }
- $temporaryBuilder->getCollection()->transferTasks($this);
- return $this;
- }
- if (!isset($this->currentTask)) {
- throw new \BadMethodCallException("No such method $fn: current task undefined in collection builder.");
- }
- // If the method called is a method of the current task,
- // then call through to the current task's setter method.
- $result = call_user_func_array([$this->currentTask, $fn], $args);
-
- // If something other than a setter method is called, then return its result.
- $currentTask = ($this->currentTask instanceof WrappedTaskInterface) ? $this->currentTask->original() : $this->currentTask;
- if (isset($result) && ($result !== $currentTask)) {
- return $result;
- }
-
- return $this;
- }
-
- /**
- * Construct the desired task and add it to this builder.
- *
- * @param string|object $name
- * @param array $args
- *
- * @return \Robo\Collection\CollectionBuilder
- */
- public function build($name, $args)
- {
- $reflection = new ReflectionClass($name);
- $task = $reflection->newInstanceArgs($args);
- if (!$task) {
- throw new RuntimeException("Can not construct task $name");
- }
- $task = $this->fixTask($task, $args);
- $this->configureTask($name, $task);
- return $this->addTaskToCollection($task);
- }
-
- /**
- * @param InflectionInterface $task
- * @param array $args
- *
- * @return \Robo\Collection\CompletionWrapper|\Robo\Task\Simulator
- */
- protected function fixTask($task, $args)
- {
- if ($task instanceof InflectionInterface) {
- $task->inflect($this);
- }
- if ($task instanceof BuilderAwareInterface) {
- $task->setBuilder($this);
- }
- if ($task instanceof VerbosityThresholdInterface) {
- $task->setVerbosityThreshold($this->verbosityThreshold());
- }
-
- // Do not wrap our wrappers.
- if ($task instanceof CompletionWrapper || $task instanceof Simulator) {
- return $task;
- }
-
- // Remember whether or not this is a task before
- // it gets wrapped in any decorator.
- $isTask = $task instanceof TaskInterface;
- $isCollection = $task instanceof NestedCollectionInterface;
-
- // If the task implements CompletionInterface, ensure
- // that its 'complete' method is called when the application
- // terminates -- but only if its 'run' method is called
- // first. If the task is added to a collection, then the
- // task will be unwrapped via its `original` method, and
- // it will be re-wrapped with a new completion wrapper for
- // its new collection.
- if ($task instanceof CompletionInterface) {
- $task = new CompletionWrapper(Temporary::getCollection(), $task);
- }
-
- // If we are in simulated mode, then wrap any task in
- // a TaskSimulator.
- if ($isTask && !$isCollection && ($this->isSimulated())) {
- $task = new \Robo\Task\Simulator($task, $args);
- $task->inflect($this);
- }
-
- return $task;
- }
-
- /**
- * Check to see if there are any setter methods defined in configuration
- * for this task.
- */
- protected function configureTask($taskClass, $task)
- {
- $taskClass = static::configClassIdentifier($taskClass);
- $configurationApplier = new ConfigForSetters($this->getConfig(), $taskClass, 'task.');
- $configurationApplier->apply($task, 'settings');
-
- // TODO: If we counted each instance of $taskClass that was called from
- // this builder, then we could also apply configuration from
- // "task.{$taskClass}[$N].settings"
-
- // TODO: If the builder knew what the current command name was,
- // then we could also search for task configuration under
- // command-specific keys such as "command.{$commandname}.task.{$taskClass}.settings".
- }
-
- /**
- * When we run the collection builder, run everything in the collection.
- *
- * @return \Robo\Result
- */
- public function run()
- {
- $this->startTimer();
- $result = $this->runTasks();
- $this->stopTimer();
- $result['time'] = $this->getExecutionTime();
- $result->mergeData($this->getState()->getData());
- return $result;
- }
-
- /**
- * If there is a single task, run it; if there is a collection, run
- * all of its tasks.
- *
- * @return \Robo\Result
- */
- protected function runTasks()
- {
- if (!$this->collection && $this->currentTask) {
- $result = $this->currentTask->run();
- return Result::ensureResult($this->currentTask, $result);
- }
- return $this->getCollection()->run();
- }
-
- /**
- * @return string
- */
- public function getCommand()
- {
- if (!$this->collection && $this->currentTask) {
- $task = $this->currentTask;
- $task = ($task instanceof WrappedTaskInterface) ? $task->original() : $task;
- if ($task instanceof CommandInterface) {
- return $task->getCommand();
- }
- }
-
- return $this->getCollection()->getCommand();
- }
-
- /**
- * @return \Robo\Collection\Collection
- */
- public function original()
- {
- return $this->getCollection();
- }
-
- /**
- * Return the collection of tasks associated with this builder.
- *
- * @return CollectionInterface
- */
- public function getCollection()
- {
- if (!isset($this->collection)) {
- $this->collection = new Collection();
- $this->collection->inflect($this);
- $this->collection->setState($this->getState());
- $this->collection->setProgressBarAutoDisplayInterval($this->getConfig()->get(Config::PROGRESS_BAR_AUTO_DISPLAY_INTERVAL));
-
- if (isset($this->currentTask)) {
- $this->collection->add($this->currentTask);
- }
- }
- return $this->collection;
- }
-}
diff --git a/vendor/consolidation/robo/src/Collection/CollectionInterface.php b/vendor/consolidation/robo/src/Collection/CollectionInterface.php
deleted file mode 100644
index 173ca169c..000000000
--- a/vendor/consolidation/robo/src/Collection/CollectionInterface.php
+++ /dev/null
@@ -1,151 +0,0 @@
-run();
- } catch (\Exception $e) {
- return Result::fromException($result, $e);
- }
- }
- }
-}
diff --git a/vendor/consolidation/robo/src/Collection/CompletionWrapper.php b/vendor/consolidation/robo/src/Collection/CompletionWrapper.php
deleted file mode 100644
index 3e81bd91c..000000000
--- a/vendor/consolidation/robo/src/Collection/CompletionWrapper.php
+++ /dev/null
@@ -1,106 +0,0 @@
-collection = $collection;
- $this->task = ($task instanceof WrappedTaskInterface) ? $task->original() : $task;
- $this->rollbackTask = $rollbackTask;
- }
-
- /**
- * {@inheritdoc}
- */
- public function original()
- {
- return $this->task;
- }
-
- /**
- * Before running this task, register its rollback and completion
- * handlers on its collection. The reason this class exists is to
- * defer registration of rollback and completion tasks until 'run()' time.
- *
- * @return \Robo\Result
- */
- public function run()
- {
- if ($this->rollbackTask) {
- $this->collection->registerRollback($this->rollbackTask);
- }
- if ($this->task instanceof RollbackInterface) {
- $this->collection->registerRollback(new CallableTask([$this->task, 'rollback'], $this->task));
- }
- if ($this->task instanceof CompletionInterface) {
- $this->collection->registerCompletion(new CallableTask([$this->task, 'complete'], $this->task));
- }
-
- return $this->task->run();
- }
-
- /**
- * Make this wrapper object act like the class it wraps.
- *
- * @param string $function
- * @param array $args
- *
- * @return mixed
- */
- public function __call($function, $args)
- {
- return call_user_func_array(array($this->task, $function), $args);
- }
-}
diff --git a/vendor/consolidation/robo/src/Collection/Element.php b/vendor/consolidation/robo/src/Collection/Element.php
deleted file mode 100644
index b67b56bbd..000000000
--- a/vendor/consolidation/robo/src/Collection/Element.php
+++ /dev/null
@@ -1,116 +0,0 @@
-task = $task;
- }
-
- /**
- * @param mixed $before
- * @param string $name
- */
- public function before($before, $name)
- {
- if ($name) {
- $this->before[$name] = $before;
- } else {
- $this->before[] = $before;
- }
- }
-
- /**
- * @param mixed $after
- * @param string $name
- */
- public function after($after, $name)
- {
- if ($name) {
- $this->after[$name] = $after;
- } else {
- $this->after[] = $after;
- }
- }
-
- /**
- * @return array
- */
- public function getBefore()
- {
- return $this->before;
- }
-
- /**
- * @return array
- */
- public function getAfter()
- {
- return $this->after;
- }
-
- /**
- * @return \Robo\Contract\TaskInterface
- */
- public function getTask()
- {
- return $this->task;
- }
-
- /**
- * @return array
- */
- public function getTaskList()
- {
- return array_merge($this->getBefore(), [$this->getTask()], $this->getAfter());
- }
-
- /**
- * @return int
- */
- public function progressIndicatorSteps()
- {
- $steps = 0;
- foreach ($this->getTaskList() as $task) {
- if ($task instanceof WrappedTaskInterface) {
- $task = $task->original();
- }
- // If the task is a ProgressIndicatorAwareInterface, then it
- // will advance the progress indicator a number of times.
- if ($task instanceof ProgressIndicatorAwareInterface) {
- $steps += $task->progressIndicatorSteps();
- }
- // We also advance the progress indicator once regardless
- // of whether it is progress-indicator aware or not.
- $steps++;
- }
- return $steps;
- }
-}
diff --git a/vendor/consolidation/robo/src/Collection/NestedCollectionInterface.php b/vendor/consolidation/robo/src/Collection/NestedCollectionInterface.php
deleted file mode 100644
index 5e32cf37a..000000000
--- a/vendor/consolidation/robo/src/Collection/NestedCollectionInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-setIterable($iterable);
- }
-
- /**
- * @param array $iterable
- *
- * @return $this
- */
- public function setIterable($iterable)
- {
- $this->iterable = $iterable;
-
- return $this;
- }
-
- /**
- * @param string $message
- * @param array $context
- *
- * @return $this
- */
- public function iterationMessage($message, $context = [])
- {
- $this->message = $message;
- $this->context = $context + ['name' => 'Progress'];
- return $this;
- }
-
- /**
- * @param int|string $key
- * @param mixed $value
- */
- protected function showIterationMessage($key, $value)
- {
- if ($this->message) {
- $context = ['key' => $key, 'value' => $value];
- $context += $this->context;
- $context += TaskInfo::getTaskContext($this);
- $this->printTaskInfo($this->message, $context);
- }
- }
-
- /**
- * @param callable $fn
- *
- * @return $this
- */
- public function withEachKeyValueCall(callable $fn)
- {
- $this->functionStack[] = $fn;
- return $this;
- }
-
- /**
- * @param callable $fn
- *
- * @return \Robo\Collection\TaskForEach
- */
- public function call(callable $fn)
- {
- return $this->withEachKeyValueCall(
- function ($key, $value) use ($fn) {
- return call_user_func($fn, $value);
- }
- );
- }
-
- /**
- * @param callable $fn
- *
- * @return \Robo\Collection\TaskForEach
- */
- public function withBuilder(callable $fn)
- {
- $this->countingStack[] =
- function ($key, $value) use ($fn) {
- // Create a new builder for every iteration
- $builder = $this->collectionBuilder();
- // The user function should build task operations using
- // the $key / $value parameters; we will call run() on
- // the builder thus constructed.
- call_user_func($fn, $builder, $key, $value);
- return $builder->getCollection()->progressIndicatorSteps();
- };
- return $this->withEachKeyValueCall(
- function ($key, $value) use ($fn) {
- // Create a new builder for every iteration
- $builder = $this->collectionBuilder()
- ->setParentCollection($this->parentCollection);
- // The user function should build task operations using
- // the $key / $value parameters; we will call run() on
- // the builder thus constructed.
- call_user_func($fn, $builder, $key, $value);
- return $builder->run();
- }
- );
- }
-
- /**
- * {@inheritdoc}
- */
- public function setParentCollection(NestedCollectionInterface $parentCollection)
- {
- $this->parentCollection = $parentCollection;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function progressIndicatorSteps()
- {
- $multiplier = count($this->functionStack);
- if (!empty($this->countingStack) && count($this->iterable)) {
- $value = reset($this->iterable);
- $key = key($this->iterable);
- foreach ($this->countingStack as $fn) {
- $multiplier += call_user_func($fn, $key, $value);
- }
- }
- return count($this->iterable) * $multiplier;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $finalResult = Result::success($this);
- $this->startProgressIndicator();
- foreach ($this->iterable as $key => $value) {
- $this->showIterationMessage($key, $value);
- try {
- foreach ($this->functionStack as $fn) {
- $result = call_user_func($fn, $key, $value);
- $this->advanceProgressIndicator();
- if (!isset($result)) {
- $result = Result::success($this);
- }
- // If the function returns a result, it must either return
- // a \Robo\Result or an exit code. In the later case, we
- // convert it to a \Robo\Result.
- if (!$result instanceof Result) {
- $result = new Result($this, $result);
- }
- if (!$result->wasSuccessful()) {
- return $result;
- }
- $finalResult = $result->merge($finalResult);
- }
- } catch (\Exception $e) {
- return Result::fromException($result, $e);
- }
- }
- $this->stopProgressIndicator();
- return $finalResult;
- }
-}
diff --git a/vendor/consolidation/robo/src/Collection/Temporary.php b/vendor/consolidation/robo/src/Collection/Temporary.php
deleted file mode 100644
index dad25e34c..000000000
--- a/vendor/consolidation/robo/src/Collection/Temporary.php
+++ /dev/null
@@ -1,57 +0,0 @@
-get('collection');
- register_shutdown_function(function () {
- static::complete();
- });
- }
-
- return static::$collection;
- }
-
- /**
- * Call the complete method of all of the registered objects.
- */
- public static function complete()
- {
- // Run the collection of tasks. This will also run the
- // completion tasks.
- $collection = static::getCollection();
- $collection->run();
- // Make sure that our completion functions do not run twice.
- $collection->reset();
- }
-}
diff --git a/vendor/consolidation/robo/src/Collection/loadTasks.php b/vendor/consolidation/robo/src/Collection/loadTasks.php
deleted file mode 100644
index 63a872990..000000000
--- a/vendor/consolidation/robo/src/Collection/loadTasks.php
+++ /dev/null
@@ -1,17 +0,0 @@
-task(TaskForEach::class, $collection);
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/BuilderAwareTrait.php b/vendor/consolidation/robo/src/Common/BuilderAwareTrait.php
deleted file mode 100644
index 915ff008d..000000000
--- a/vendor/consolidation/robo/src/Common/BuilderAwareTrait.php
+++ /dev/null
@@ -1,45 +0,0 @@
-builder = $builder;
-
- return $this;
- }
-
- /**
- * @see \Robo\Contract\BuilderAwareInterface::getBuilder()
- *
- * @return \Robo\Collection\CollectionBuilder
- */
- public function getBuilder()
- {
- return $this->builder;
- }
-
- /**
- * @return \Robo\Collection\CollectionBuilder
- */
- protected function collectionBuilder()
- {
- return $this->getBuilder()->newBuilder();
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/CommandArguments.php b/vendor/consolidation/robo/src/Common/CommandArguments.php
deleted file mode 100644
index 12c2e89fd..000000000
--- a/vendor/consolidation/robo/src/Common/CommandArguments.php
+++ /dev/null
@@ -1,130 +0,0 @@
-args($arg);
- }
-
- /**
- * Pass methods parameters as arguments to executable. Argument values
- * are automatically escaped.
- *
- * @param string|string[] $args
- *
- * @return $this
- */
- public function args($args)
- {
- if (!is_array($args)) {
- $args = func_get_args();
- }
- $this->arguments .= ' ' . implode(' ', array_map('static::escape', $args));
- return $this;
- }
-
- /**
- * Pass the provided string in its raw (as provided) form as an argument to executable.
- *
- * @param string $arg
- *
- * @return $this
- */
- public function rawArg($arg)
- {
- $this->arguments .= " $arg";
-
- return $this;
- }
-
- /**
- * Escape the provided value, unless it contains only alphanumeric
- * plus a few other basic characters.
- *
- * @param string $value
- *
- * @return string
- */
- public static function escape($value)
- {
- if (preg_match('/^[a-zA-Z0-9\/\.@~_-]+$/', $value)) {
- return $value;
- }
- return ProcessUtils::escapeArgument($value);
- }
-
- /**
- * Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter.
- * Option values are automatically escaped.
- *
- * @param string $option
- * @param string $value
- * @param string $separator
- *
- * @return $this
- */
- public function option($option, $value = null, $separator = ' ')
- {
- if ($option !== null and strpos($option, '-') !== 0) {
- $option = "--$option";
- }
- $this->arguments .= null == $option ? '' : " " . $option;
- $this->arguments .= null == $value ? '' : $separator . static::escape($value);
- return $this;
- }
-
- /**
- * Pass multiple options to executable. The associative array contains
- * the key:value pairs that become `--key value`, for each item in the array.
- * Values are automatically escaped.
- */
- public function options(array $options, $separator = ' ')
- {
- foreach ($options as $option => $value) {
- $this->option($option, $value, $separator);
- }
- return $this;
- }
-
- /**
- * Pass an option with multiple values to executable. Value can be a string or array.
- * Option values are automatically escaped.
- *
- * @param string $option
- * @param string|array $value
- * @param string $separator
- *
- * @return $this
- */
- public function optionList($option, $value = array(), $separator = ' ')
- {
- if (is_array($value)) {
- foreach ($value as $item) {
- $this->optionList($option, $item, $separator);
- }
- } else {
- $this->option($option, $value, $separator);
- }
-
- return $this;
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/CommandReceiver.php b/vendor/consolidation/robo/src/Common/CommandReceiver.php
deleted file mode 100644
index 03b20fced..000000000
--- a/vendor/consolidation/robo/src/Common/CommandReceiver.php
+++ /dev/null
@@ -1,30 +0,0 @@
-getCommand();
- } else {
- throw new TaskException($this, get_class($command) . " does not implement CommandInterface, so can't be passed into this task");
- }
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/ConfigAwareTrait.php b/vendor/consolidation/robo/src/Common/ConfigAwareTrait.php
deleted file mode 100644
index d6d45788d..000000000
--- a/vendor/consolidation/robo/src/Common/ConfigAwareTrait.php
+++ /dev/null
@@ -1,109 +0,0 @@
-config = $config;
-
- return $this;
- }
-
- /**
- * Get the config management object.
- *
- * @return ConfigInterface
- *
- * @see \Robo\Contract\ConfigAwareInterface::getConfig()
- */
- public function getConfig()
- {
- return $this->config;
- }
-
- /**
- * Any class that uses ConfigAwareTrait SHOULD override this method
- * , and define a prefix for its configuration items. This is usually
- * done in a base class. When used, this method should return a string
- * that ends with a "."; see BaseTask::configPrefix().
- *
- * @return string
- */
- protected static function configPrefix()
- {
- return '';
- }
-
- protected static function configClassIdentifier($classname)
- {
- $configIdentifier = strtr($classname, '\\', '.');
- $configIdentifier = preg_replace('#^(.*\.Task\.|\.)#', '', $configIdentifier);
-
- return $configIdentifier;
- }
-
- protected static function configPostfix()
- {
- return '';
- }
-
- /**
- * @param string $key
- *
- * @return string
- */
- private static function getClassKey($key)
- {
- $configPrefix = static::configPrefix(); // task.
- $configClass = static::configClassIdentifier(get_called_class()); // PARTIAL_NAMESPACE.CLASSNAME
- $configPostFix = static::configPostfix(); // .settings
-
- return sprintf('%s%s%s.%s', $configPrefix, $configClass, $configPostFix, $key);
- }
-
- /**
- * @param string $key
- * @param mixed $value
- * @param Config|null $config
- */
- public static function configure($key, $value, $config = null)
- {
- if (!$config) {
- $config = Robo::config();
- }
- $config->setDefault(static::getClassKey($key), $value);
- }
-
- /**
- * @param string $key
- * @param mixed|null $default
- *
- * @return mixed|null
- */
- protected function getConfigValue($key, $default = null)
- {
- if (!$this->getConfig()) {
- return $default;
- }
- return $this->getConfig()->get(static::getClassKey($key), $default);
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/DynamicParams.php b/vendor/consolidation/robo/src/Common/DynamicParams.php
deleted file mode 100644
index 28a1d150f..000000000
--- a/vendor/consolidation/robo/src/Common/DynamicParams.php
+++ /dev/null
@@ -1,45 +0,0 @@
-$property))) {
- $this->$property = !$this->$property;
- return $this;
- }
-
- // append item to array
- if (is_array($this->$property)) {
- if (is_array($args[0])) {
- $this->$property = $args[0];
- } else {
- array_push($this->$property, $args[0]);
- }
- return $this;
- }
-
- $this->$property = $args[0];
- return $this;
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/ExecCommand.php b/vendor/consolidation/robo/src/Common/ExecCommand.php
deleted file mode 100644
index c3e6c3af6..000000000
--- a/vendor/consolidation/robo/src/Common/ExecCommand.php
+++ /dev/null
@@ -1,148 +0,0 @@
-execTimer)) {
- $this->execTimer = new TimeKeeper();
- }
- return $this->execTimer;
- }
-
- /**
- * Look for a "{$cmd}.phar" in the current working
- * directory; return a string to exec it if it is
- * found. Otherwise, look for an executable command
- * of the same name via findExecutable.
- *
- * @param string $cmd
- *
- * @return bool|string
- */
- protected function findExecutablePhar($cmd)
- {
- if (file_exists("{$cmd}.phar")) {
- return "php {$cmd}.phar";
- }
- return $this->findExecutable($cmd);
- }
-
- /**
- * Return the best path to the executable program
- * with the provided name. Favor vendor/bin in the
- * current project. If not found there, use
- * whatever is on the $PATH.
- *
- * @param string $cmd
- *
- * @return bool|string
- */
- protected function findExecutable($cmd)
- {
- $pathToCmd = $this->searchForExecutable($cmd);
- if ($pathToCmd) {
- return $this->useCallOnWindows($pathToCmd);
- }
- return false;
- }
-
- /**
- * @param string $cmd
- *
- * @return string
- */
- private function searchForExecutable($cmd)
- {
- $projectBin = $this->findProjectBin();
-
- $localComposerInstallation = $projectBin . DIRECTORY_SEPARATOR . $cmd;
- if (file_exists($localComposerInstallation)) {
- return $localComposerInstallation;
- }
- $finder = new ExecutableFinder();
- return $finder->find($cmd, null, []);
- }
-
- /**
- * @return bool|string
- */
- protected function findProjectBin()
- {
- $cwd = getcwd();
- $candidates = [ __DIR__ . '/../../vendor/bin', __DIR__ . '/../../bin', $cwd . '/vendor/bin' ];
-
- // If this project is inside a vendor directory, give highest priority
- // to that directory.
- $vendorDirContainingUs = realpath(__DIR__ . '/../../../..');
- if (is_dir($vendorDirContainingUs) && (basename($vendorDirContainingUs) == 'vendor')) {
- array_unshift($candidates, $vendorDirContainingUs . '/bin');
- }
-
- foreach ($candidates as $dir) {
- if (is_dir("$dir")) {
- return realpath($dir);
- }
- }
- return false;
- }
-
- /**
- * Wrap Windows executables in 'call' per 7a88757d
- *
- * @param string $cmd
- *
- * @return string
- */
- protected function useCallOnWindows($cmd)
- {
- if (defined('PHP_WINDOWS_VERSION_BUILD')) {
- if (file_exists("{$cmd}.bat")) {
- $cmd = "{$cmd}.bat";
- }
- return "call $cmd";
- }
- return $cmd;
- }
-
- protected function getCommandDescription()
- {
- return $this->process->getCommandLine();
- }
-
- /**
- * @param string $command
- *
- * @return \Robo\Result
- */
- protected function executeCommand($command)
- {
- // TODO: Symfony 4 requires that we supply the working directory.
- $result_data = $this->execute(new Process($command, getcwd()));
- return new Result(
- $this,
- $result_data->getExitCode(),
- $result_data->getMessage(),
- $result_data->getData()
- );
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/ExecOneCommand.php b/vendor/consolidation/robo/src/Common/ExecOneCommand.php
deleted file mode 100644
index 601375149..000000000
--- a/vendor/consolidation/robo/src/Common/ExecOneCommand.php
+++ /dev/null
@@ -1,12 +0,0 @@
-interactive() based on posix_isatty().
- *
- * @return $this
- */
- public function detectInteractive()
- {
- // If the caller did not explicity set the 'interactive' mode,
- // and output should be produced by this task (verbosityMeetsThreshold),
- // then we will automatically set interactive mode based on whether
- // or not output was redirected when robo was executed.
- if (!isset($this->interactive) && function_exists('posix_isatty') && $this->verbosityMeetsThreshold()) {
- $this->interactive = posix_isatty(STDOUT);
- }
-
- return $this;
- }
-
- /**
- * Executes command in background mode (asynchronously)
- *
- * @return $this
- */
- public function background($arg = true)
- {
- $this->background = $arg;
- return $this;
- }
-
- /**
- * Stop command if it runs longer then $timeout in seconds
- *
- * @param int $timeout
- *
- * @return $this
- */
- public function timeout($timeout)
- {
- $this->timeout = $timeout;
- return $this;
- }
-
- /**
- * Stops command if it does not output something for a while
- *
- * @param int $timeout
- *
- * @return $this
- */
- public function idleTimeout($timeout)
- {
- $this->idleTimeout = $timeout;
- return $this;
- }
-
- /**
- * Set a single environment variable, or multiple.
- */
- public function env($env, $value = null)
- {
- if (!is_array($env)) {
- $env = [$env => ($value ? $value : true)];
- }
- return $this->envVars($env);
- }
-
- /**
- * Sets the environment variables for the command
- *
- * @param array $env
- *
- * @return $this
- */
- public function envVars(array $env)
- {
- $this->env = $this->env ? $env + $this->env : $env;
- return $this;
- }
-
- /**
- * Pass an input to the process. Can be resource created with fopen() or string
- *
- * @param resource|string $input
- *
- * @return $this
- */
- public function setInput($input)
- {
- $this->input = $input;
- return $this;
- }
-
- /**
- * Attach tty to process for interactive input
- *
- * @param $interactive bool
- *
- * @return $this
- */
- public function interactive($interactive = true)
- {
- $this->interactive = $interactive;
- return $this;
- }
-
-
- /**
- * Is command printing its output to screen
- *
- * @return bool
- */
- public function getPrinted()
- {
- return $this->isPrinted;
- }
-
- /**
- * Changes working directory of command
- *
- * @param string $dir
- *
- * @return $this
- */
- public function dir($dir)
- {
- $this->workingDirectory = $dir;
- return $this;
- }
-
- /**
- * Shortcut for setting isPrinted() and isMetadataPrinted() to false.
- *
- * @param bool $arg
- *
- * @return $this
- */
- public function silent($arg)
- {
- if (is_bool($arg)) {
- $this->isPrinted = !$arg;
- $this->isMetadataPrinted = !$arg;
- }
- return $this;
- }
-
- /**
- * Should command output be printed
- *
- * @param bool $arg
- *
- * @return $this
- *
- * @deprecated
- */
- public function printed($arg)
- {
- $this->logger->warning("printed() is deprecated. Please use printOutput().");
- return $this->printOutput($arg);
- }
-
- /**
- * Should command output be printed
- *
- * @param bool $arg
- *
- * @return $this
- */
- public function printOutput($arg)
- {
- if (is_bool($arg)) {
- $this->isPrinted = $arg;
- }
- return $this;
- }
-
- /**
- * Should command metadata be printed. I,e., command and timer.
- *
- * @param bool $arg
- *
- * @return $this
- */
- public function printMetadata($arg)
- {
- if (is_bool($arg)) {
- $this->isMetadataPrinted = $arg;
- }
- return $this;
- }
-
- /**
- * @param Process $process
- * @param callable $output_callback
- *
- * @return \Robo\ResultData
- */
- protected function execute($process, $output_callback = null)
- {
- $this->process = $process;
-
- if (!$output_callback) {
- $output_callback = function ($type, $buffer) {
- $progressWasVisible = $this->hideTaskProgress();
- $this->writeMessage($buffer);
- $this->showTaskProgress($progressWasVisible);
- };
- }
-
- $this->detectInteractive();
-
- if ($this->isMetadataPrinted) {
- $this->printAction();
- }
- $this->process->setTimeout($this->timeout);
- $this->process->setIdleTimeout($this->idleTimeout);
- if ($this->workingDirectory) {
- $this->process->setWorkingDirectory($this->workingDirectory);
- }
- if ($this->input) {
- $this->process->setInput($this->input);
- }
-
- if ($this->interactive && $this->isPrinted) {
- $this->process->setTty(true);
- }
-
- if (isset($this->env)) {
- // Symfony 4 will inherit environment variables by default, but until
- // then, manually ensure they are inherited.
- if (method_exists($this->process, 'inheritEnvironmentVariables')) {
- $this->process->inheritEnvironmentVariables();
- }
- $this->process->setEnv($this->env);
- }
-
- if (!$this->background && !$this->isPrinted) {
- $this->startTimer();
- $this->process->run();
- $this->stopTimer();
- $output = rtrim($this->process->getOutput());
- return new ResultData(
- $this->process->getExitCode(),
- $output,
- $this->getResultData()
- );
- }
-
- if (!$this->background && $this->isPrinted) {
- $this->startTimer();
- $this->process->run($output_callback);
- $this->stopTimer();
- return new ResultData(
- $this->process->getExitCode(),
- $this->process->getOutput(),
- $this->getResultData()
- );
- }
-
- try {
- $this->process->start();
- } catch (\Exception $e) {
- return new ResultData(
- $this->process->getExitCode(),
- $e->getMessage(),
- $this->getResultData()
- );
- }
- return new ResultData($this->process->getExitCode());
- }
-
- /**
- *
- */
- protected function stop()
- {
- if ($this->background && isset($this->process) && $this->process->isRunning()) {
- $this->process->stop();
- $this->printTaskInfo(
- "Stopped {command}",
- ['command' => $this->getCommandDescription()]
- );
- }
- }
-
- /**
- * @param array $context
- */
- protected function printAction($context = [])
- {
- $command = $this->getCommandDescription();
- $formatted_command = $this->formatCommandDisplay($command);
-
- $dir = $this->workingDirectory ? " in {dir}" : "";
- $this->printTaskInfo("Running {command}$dir", [
- 'command' => $formatted_command,
- 'dir' => $this->workingDirectory
- ] + $context);
- }
-
- /**
- * @param $command
- *
- * @return mixed
- */
- protected function formatCommandDisplay($command)
- {
- $formatted_command = str_replace("&&", "&&\n", $command);
- $formatted_command = str_replace("||", "||\n", $formatted_command);
-
- return $formatted_command;
- }
-
- /**
- * Gets the data array to be passed to Result().
- *
- * @return array
- * The data array passed to Result().
- */
- protected function getResultData()
- {
- if ($this->isMetadataPrinted) {
- return ['time' => $this->getExecutionTime()];
- }
-
- return [];
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/IO.php b/vendor/consolidation/robo/src/Common/IO.php
deleted file mode 100644
index d6c77bff8..000000000
--- a/vendor/consolidation/robo/src/Common/IO.php
+++ /dev/null
@@ -1,171 +0,0 @@
-io) {
- $this->io = new SymfonyStyle($this->input(), $this->output());
- }
- return $this->io;
- }
-
- /**
- * @param string $nonDecorated
- * @param string $decorated
- *
- * @return string
- */
- protected function decorationCharacter($nonDecorated, $decorated)
- {
- if (!$this->output()->isDecorated() || (strncasecmp(PHP_OS, 'WIN', 3) == 0)) {
- return $nonDecorated;
- }
- return $decorated;
- }
-
- /**
- * @param string $text
- */
- protected function say($text)
- {
- $char = $this->decorationCharacter('>', '➜');
- $this->writeln("$char $text");
- }
-
- /**
- * @param string $text
- * @param int $length
- * @param string $color
- */
- protected function yell($text, $length = 40, $color = 'green')
- {
- $char = $this->decorationCharacter(' ', '➜');
- $format = "$char %s ";
- $this->formattedOutput($text, $length, $format);
- }
-
- /**
- * @param string $text
- * @param int $length
- * @param string $format
- */
- protected function formattedOutput($text, $length, $format)
- {
- $lines = explode("\n", trim($text, "\n"));
- $maxLineLength = array_reduce(array_map('strlen', $lines), 'max');
- $length = max($length, $maxLineLength);
- $len = $length + 2;
- $space = str_repeat(' ', $len);
- $this->writeln(sprintf($format, $space));
- foreach ($lines as $line) {
- $line = str_pad($line, $length, ' ', STR_PAD_BOTH);
- $this->writeln(sprintf($format, " $line "));
- }
- $this->writeln(sprintf($format, $space));
- }
-
- /**
- * @param string $question
- * @param bool $hideAnswer
- *
- * @return string
- */
- protected function ask($question, $hideAnswer = false)
- {
- if ($hideAnswer) {
- return $this->askHidden($question);
- }
- return $this->doAsk(new Question($this->formatQuestion($question)));
- }
-
- /**
- * @param string $question
- *
- * @return string
- */
- protected function askHidden($question)
- {
- $question = new Question($this->formatQuestion($question));
- $question->setHidden(true);
- return $this->doAsk($question);
- }
-
- /**
- * @param string $question
- * @param string $default
- *
- * @return string
- */
- protected function askDefault($question, $default)
- {
- return $this->doAsk(new Question($this->formatQuestion("$question [$default]"), $default));
- }
-
- /**
- * @param string $question
- *
- * @return string
- */
- protected function confirm($question)
- {
- return $this->doAsk(new ConfirmationQuestion($this->formatQuestion($question . ' (y/n)'), false));
- }
-
- /**
- * @param \Symfony\Component\Console\Question\Question $question
- *
- * @return string
- */
- protected function doAsk(Question $question)
- {
- return $this->getDialog()->ask($this->input(), $this->output(), $question);
- }
-
- /**
- * @param string $message
- *
- * @return string
- */
- protected function formatQuestion($message)
- {
- return "? $message ";
- }
-
- /**
- * @return \Symfony\Component\Console\Helper\QuestionHelper
- */
- protected function getDialog()
- {
- return new QuestionHelper();
- }
-
- /**
- * @param $text
- */
- protected function writeln($text)
- {
- $this->output()->writeln($text);
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/InflectionTrait.php b/vendor/consolidation/robo/src/Common/InflectionTrait.php
deleted file mode 100644
index 8bc4e831c..000000000
--- a/vendor/consolidation/robo/src/Common/InflectionTrait.php
+++ /dev/null
@@ -1,21 +0,0 @@
-injectDependencies($this);
- return $this;
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/InputAwareTrait.php b/vendor/consolidation/robo/src/Common/InputAwareTrait.php
deleted file mode 100644
index bae58c171..000000000
--- a/vendor/consolidation/robo/src/Common/InputAwareTrait.php
+++ /dev/null
@@ -1,51 +0,0 @@
-input = $input;
-
- return $this;
- }
-
- /**
- * @return \Symfony\Component\Console\Input\InputInterface
- */
- protected function input()
- {
- if (!isset($this->input)) {
- $this->setInput(new ArgvInput());
- }
- return $this->input;
- }
-
- /**
- * Backwards compatibility.
- *
- * @return \Symfony\Component\Console\Input\InputInterface
- *
- * @deprecated
- */
- protected function getInput()
- {
- return $this->input();
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/OutputAdapter.php b/vendor/consolidation/robo/src/Common/OutputAdapter.php
deleted file mode 100644
index b8e795f23..000000000
--- a/vendor/consolidation/robo/src/Common/OutputAdapter.php
+++ /dev/null
@@ -1,38 +0,0 @@
- OutputInterface::VERBOSITY_NORMAL,
- VerbosityThresholdInterface::VERBOSITY_VERBOSE => OutputInterface::VERBOSITY_VERBOSE,
- VerbosityThresholdInterface::VERBOSITY_VERY_VERBOSE => OutputInterface::VERBOSITY_VERY_VERBOSE,
- VerbosityThresholdInterface::VERBOSITY_DEBUG => OutputInterface::VERBOSITY_DEBUG,
- ];
-
- public function verbosityMeetsThreshold($verbosityThreshold)
- {
- if (!isset($this->verbosityMap[$verbosityThreshold])) {
- return true;
- }
- $verbosityThreshold = $this->verbosityMap[$verbosityThreshold];
- $verbosity = $this->output()->getVerbosity();
-
- return $verbosity >= $verbosityThreshold;
- }
-
- public function writeMessage($message)
- {
- $this->output()->write($message);
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/OutputAwareTrait.php b/vendor/consolidation/robo/src/Common/OutputAwareTrait.php
deleted file mode 100644
index 48082cb39..000000000
--- a/vendor/consolidation/robo/src/Common/OutputAwareTrait.php
+++ /dev/null
@@ -1,51 +0,0 @@
-output = $output;
-
- return $this;
- }
-
- /**
- * @return \Symfony\Component\Console\Output\OutputInterface
- */
- protected function output()
- {
- if (!isset($this->output)) {
- $this->setOutput(new NullOutput());
- }
- return $this->output;
- }
-
- /**
- * Backwards compatibility
- *
- * @return \Symfony\Component\Console\Output\OutputInterface
- *
- * @deprecated
- */
- protected function getOutput()
- {
- return $this->output();
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/ProcessExecutor.php b/vendor/consolidation/robo/src/Common/ProcessExecutor.php
deleted file mode 100644
index f78a47752..000000000
--- a/vendor/consolidation/robo/src/Common/ProcessExecutor.php
+++ /dev/null
@@ -1,51 +0,0 @@
-process = $process;
- }
-
- public static function create($container, $process)
- {
- $processExecutor = new self($process);
-
- $processExecutor->setLogger($container->get('logger'));
- $processExecutor->setProgressIndicator($container->get('progressIndicator'));
- $processExecutor->setConfig($container->get('config'));
- $processExecutor->setOutputAdapter($container->get('outputAdapter'));
-
- return $processExecutor;
- }
-
- /**
- * @return string
- */
- protected function getCommandDescription()
- {
- return $this->process->getCommandLine();
- }
-
- public function run()
- {
- return $this->execute($this->process);
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/ProcessUtils.php b/vendor/consolidation/robo/src/Common/ProcessUtils.php
deleted file mode 100644
index 7dc4e5531..000000000
--- a/vendor/consolidation/robo/src/Common/ProcessUtils.php
+++ /dev/null
@@ -1,79 +0,0 @@
-
- */
-
-namespace Robo\Common;
-
-use Symfony\Component\Process\Exception\InvalidArgumentException;
-
-/**
- * ProcessUtils is a bunch of utility methods. We want to allow Robo 1.x
- * to work with Symfony 4.x while remaining backwards compatibility. This
- * requires us to replace some deprecated functionality removed in Symfony.
- */
-class ProcessUtils
-{
- /**
- * This class should not be instantiated.
- */
- private function __construct()
- {
- }
-
- /**
- * Escapes a string to be used as a shell argument.
- *
- * @param string $argument The argument that will be escaped
- *
- * @return string The escaped argument
- *
- * @deprecated since version 3.3, to be removed in 4.0. Use a command line array or give env vars to the `Process::start/run()` method instead.
- */
- public static function escapeArgument($argument)
- {
- @trigger_error('The '.__METHOD__.'() method is a copy of a method that was deprecated by Symfony 3.3 and removed in Symfony 4; it will be removed in Robo 2.0.', E_USER_DEPRECATED);
-
- //Fix for PHP bug #43784 escapeshellarg removes % from given string
- //Fix for PHP bug #49446 escapeshellarg doesn't work on Windows
- //@see https://bugs.php.net/bug.php?id=43784
- //@see https://bugs.php.net/bug.php?id=49446
- if ('\\' === DIRECTORY_SEPARATOR) {
- if ('' === $argument) {
- return escapeshellarg($argument);
- }
-
- $escapedArgument = '';
- $quote = false;
- foreach (preg_split('/(")/', $argument, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE) as $part) {
- if ('"' === $part) {
- $escapedArgument .= '\\"';
- } elseif (self::isSurroundedBy($part, '%')) {
- // Avoid environment variable expansion
- $escapedArgument .= '^%"'.substr($part, 1, -1).'"^%';
- } else {
- // escape trailing backslash
- if ('\\' === substr($part, -1)) {
- $part .= '\\';
- }
- $quote = true;
- $escapedArgument .= $part;
- }
- }
- if ($quote) {
- $escapedArgument = '"'.$escapedArgument.'"';
- }
-
- return $escapedArgument;
- }
-
- return "'".str_replace("'", "'\\''", $argument)."'";
- }
-
- private static function isSurroundedBy($arg, $char)
- {
- return 2 < strlen($arg) && $char === $arg[0] && $char === $arg[strlen($arg) - 1];
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/ProgressIndicator.php b/vendor/consolidation/robo/src/Common/ProgressIndicator.php
deleted file mode 100644
index fe6c9298e..000000000
--- a/vendor/consolidation/robo/src/Common/ProgressIndicator.php
+++ /dev/null
@@ -1,201 +0,0 @@
-progressBar = $progressBar;
- $this->output = $output;
- }
-
- /**
- * @param int $interval
- */
- public function setProgressBarAutoDisplayInterval($interval)
- {
- if ($this->progressIndicatorRunning) {
- return;
- }
- $this->autoDisplayInterval = $interval;
- }
-
- /**
- * @return bool
- */
- public function hideProgressIndicator()
- {
- $result = $this->progressBarDisplayed;
- if ($this->progressIndicatorRunning && $this->progressBarDisplayed) {
- $this->progressBar->clear();
- // Hack: progress indicator does not reset cursor to beginning of line on 'clear'
- $this->output->write("\x0D");
- $this->progressBarDisplayed = false;
- }
- return $result;
- }
-
- public function showProgressIndicator()
- {
- if ($this->progressIndicatorRunning && !$this->progressBarDisplayed && isset($this->progressBar)) {
- $this->progressBar->display();
- $this->progressBarDisplayed = true;
- $this->advanceProgressIndicatorCachedSteps();
- }
- }
-
- /**
- * @param bool $visible
- */
- public function restoreProgressIndicator($visible)
- {
- if ($visible) {
- $this->showProgressIndicator();
- }
- }
-
- /**
- * @param int $totalSteps
- * @param \Robo\Contract\TaskInterface $owner
- */
- public function startProgressIndicator($totalSteps, $owner)
- {
- if (!isset($this->progressBar)) {
- return;
- }
-
- $this->progressIndicatorRunning = true;
- if (!isset($this->owner)) {
- $this->owner = $owner;
- $this->startTimer();
- $this->totalSteps = $totalSteps;
- $this->autoShowProgressIndicator();
- }
- }
-
- public function autoShowProgressIndicator()
- {
- if (($this->autoDisplayInterval < 0) || !isset($this->progressBar) || !$this->output->isDecorated()) {
- return;
- }
- if ($this->autoDisplayInterval <= $this->getExecutionTime()) {
- $this->autoDisplayInterval = -1;
- $this->progressBar->start($this->totalSteps);
- $this->showProgressIndicator();
- }
- }
-
- /**
- * @return bool
- */
- public function inProgress()
- {
- return $this->progressIndicatorRunning;
- }
-
- /**
- * @param \Robo\Contract\TaskInterface $owner
- */
- public function stopProgressIndicator($owner)
- {
- if ($this->progressIndicatorRunning && ($this->owner === $owner)) {
- $this->cleanup();
- }
- }
-
- protected function cleanup()
- {
- $this->progressIndicatorRunning = false;
- $this->owner = null;
- if ($this->progressBarDisplayed) {
- $this->progressBar->finish();
- // Hack: progress indicator does not always finish cleanly
- $this->output->writeln('');
- $this->progressBarDisplayed = false;
- }
- $this->stopTimer();
- }
-
- /**
- * Erase progress indicator and ensure it never returns. Used
- * only during error handlers or to permanently remove the progress bar.
- */
- public function disableProgressIndicator()
- {
- $this->cleanup();
- // ProgressIndicator is shared, so this permanently removes
- // the program's ability to display progress bars.
- $this->progressBar = null;
- }
-
- /**
- * @param int $steps
- */
- public function advanceProgressIndicator($steps = 1)
- {
- $this->cachedSteps += $steps;
- if ($this->progressIndicatorRunning) {
- $this->autoShowProgressIndicator();
- // We only want to call `advance` if the progress bar is visible,
- // because it always displays itself when it is advanced.
- if ($this->progressBarDisplayed) {
- return $this->advanceProgressIndicatorCachedSteps();
- }
- }
- }
-
- protected function advanceProgressIndicatorCachedSteps()
- {
- $this->progressBar->advance($this->cachedSteps);
- $this->cachedSteps = 0;
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/ProgressIndicatorAwareTrait.php b/vendor/consolidation/robo/src/Common/ProgressIndicatorAwareTrait.php
deleted file mode 100644
index 060e039a1..000000000
--- a/vendor/consolidation/robo/src/Common/ProgressIndicatorAwareTrait.php
+++ /dev/null
@@ -1,135 +0,0 @@
-progressIndicator = $progressIndicator;
-
- return $this;
- }
-
- /**
- * @return null|bool
- */
- protected function hideProgressIndicator()
- {
- if (!$this->progressIndicator) {
- return;
- }
- return $this->progressIndicator->hideProgressIndicator();
- }
-
- protected function showProgressIndicator()
- {
- if (!$this->progressIndicator) {
- return;
- }
- $this->progressIndicator->showProgressIndicator();
- }
-
- /**
- * @param bool $visible
- */
- protected function restoreProgressIndicator($visible)
- {
- if (!$this->progressIndicator) {
- return;
- }
- $this->progressIndicator->restoreProgressIndicator($visible);
- }
-
- /**
- * @return int
- */
- protected function getTotalExecutionTime()
- {
- if (!$this->progressIndicator) {
- return 0;
- }
- return $this->progressIndicator->getExecutionTime();
- }
-
- protected function startProgressIndicator()
- {
- $this->startTimer();
- if ($this instanceof VerbosityThresholdInterface
- && !$this->verbosityMeetsThreshold()) {
- return;
- }
- if (!$this->progressIndicator) {
- return;
- }
- $totalSteps = $this->progressIndicatorSteps();
- $this->progressIndicator->startProgressIndicator($totalSteps, $this);
- }
-
- /**
- * @return bool
- */
- protected function inProgress()
- {
- if (!$this->progressIndicator) {
- return false;
- }
- return $this->progressIndicator->inProgress();
- }
-
- protected function stopProgressIndicator()
- {
- $this->stopTimer();
- if (!$this->progressIndicator) {
- return;
- }
- $this->progressIndicator->stopProgressIndicator($this);
- }
-
- protected function disableProgressIndicator()
- {
- $this->stopTimer();
- if (!$this->progressIndicator) {
- return;
- }
- $this->progressIndicator->disableProgressIndicator();
- }
-
- protected function detatchProgressIndicator()
- {
- $this->setProgressIndicator(null);
- }
-
- /**
- * @param int $steps
- */
- protected function advanceProgressIndicator($steps = 1)
- {
- if (!$this->progressIndicator) {
- return;
- }
- $this->progressIndicator->advanceProgressIndicator($steps);
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/ResourceExistenceChecker.php b/vendor/consolidation/robo/src/Common/ResourceExistenceChecker.php
deleted file mode 100644
index 233f90a9b..000000000
--- a/vendor/consolidation/robo/src/Common/ResourceExistenceChecker.php
+++ /dev/null
@@ -1,116 +0,0 @@
-printTaskError(sprintf('Invalid glob "%s"!', $resource), $this);
- $success = false;
- continue;
- }
- foreach ($glob as $resource) {
- if (!$this->checkResource($resource, $type)) {
- $success = false;
- }
- }
- }
- return $success;
- }
-
- /**
- * Checks a single resource, file or directory.
- *
- * It will print an error as well on the console.
- *
- * @param string $resource File or folder.
- * @param string $type "file", "dir", "fileAndDir"
- *
- * @return bool
- */
- protected function checkResource($resource, $type)
- {
- switch ($type) {
- case 'file':
- if (!$this->isFile($resource)) {
- $this->printTaskError(sprintf('File "%s" does not exist!', $resource), $this);
- return false;
- }
- return true;
- case 'dir':
- if (!$this->isDir($resource)) {
- $this->printTaskError(sprintf('Directory "%s" does not exist!', $resource), $this);
- return false;
- }
- return true;
- case 'fileAndDir':
- if (!$this->isDir($resource) && !$this->isFile($resource)) {
- $this->printTaskError(sprintf('File or directory "%s" does not exist!', $resource), $this);
- return false;
- }
- return true;
- }
- }
-
- /**
- * Convenience method to check the often uses "source => target" file / folder arrays.
- *
- * @param string|array $resources
- */
- protected function checkSourceAndTargetResource($resources)
- {
- if (is_string($resources)) {
- $resources = [$resources];
- }
- $sources = [];
- $targets = [];
- foreach ($resources as $source => $target) {
- $sources[] = $source;
- $target[] = $target;
- }
- $this->checkResources($sources);
- $this->checkResources($targets);
- }
-
- /**
- * Wrapper method around phps is_dir()
- *
- * @param string $directory
- *
- * @return bool
- */
- protected function isDir($directory)
- {
- return is_dir($directory);
- }
-
- /**
- * Wrapper method around phps file_exists()
- *
- * @param string $file
- *
- * @return bool
- */
- protected function isFile($file)
- {
- return file_exists($file);
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/TaskIO.php b/vendor/consolidation/robo/src/Common/TaskIO.php
deleted file mode 100644
index 49b5ccd86..000000000
--- a/vendor/consolidation/robo/src/Common/TaskIO.php
+++ /dev/null
@@ -1,237 +0,0 @@
-logger should always be set in Robo core tasks.
- if ($this->logger) {
- return $this->logger;
- }
-
- // TODO: Remove call to Robo::logger() once maintaining backwards
- // compatibility with legacy external Robo tasks is no longer desired.
- if (!Robo::logger()) {
- return null;
- }
-
- static $gaveDeprecationWarning = false;
- if (!$gaveDeprecationWarning) {
- trigger_error('No logger set for ' . get_class($this) . '. Use $this->task(Foo::class) rather than new Foo() in loadTasks to ensure the builder can initialize task the task, or use $this->collectionBuilder()->taskFoo() if creating one task from within another.', E_USER_DEPRECATED);
- $gaveDeprecationWarning = true;
- }
- return Robo::logger();
- }
-
- /**
- * Print information about a task in progress.
- *
- * With the Symfony Console logger, NOTICE is displayed at VERBOSITY_VERBOSE
- * and INFO is displayed at VERBOSITY_VERY_VERBOSE.
- *
- * Robo overrides the default such that NOTICE is displayed at
- * VERBOSITY_NORMAL and INFO is displayed at VERBOSITY_VERBOSE.
- *
- * n.b. We should probably have printTaskNotice for our ordinary
- * output, and use printTaskInfo for less interesting messages.
- *
- * @param string $text
- * @param null|array $context
- */
- protected function printTaskInfo($text, $context = null)
- {
- // The 'note' style is used for both 'notice' and 'info' log levels;
- // However, 'notice' is printed at VERBOSITY_NORMAL, whereas 'info'
- // is only printed at VERBOSITY_VERBOSE.
- $this->printTaskOutput(LogLevel::NOTICE, $text, $this->getTaskContext($context));
- }
-
- /**
- * Provide notification that some part of the task succeeded.
- *
- * With the Symfony Console logger, success messages are remapped to NOTICE,
- * and displayed in VERBOSITY_VERBOSE. When used with the Robo logger,
- * success messages are displayed at VERBOSITY_NORMAL.
- *
- * @param string $text
- * @param null|array $context
- */
- protected function printTaskSuccess($text, $context = null)
- {
- // Not all loggers will recognize ConsoleLogLevel::SUCCESS.
- // We therefore log as LogLevel::NOTICE, and apply a '_level'
- // override in the context so that this message will be
- // logged as SUCCESS if that log level is recognized.
- $context['_level'] = ConsoleLogLevel::SUCCESS;
- $this->printTaskOutput(LogLevel::NOTICE, $text, $this->getTaskContext($context));
- }
-
- /**
- * Provide notification that there is something wrong, but
- * execution can continue.
- *
- * Warning messages are displayed at VERBOSITY_NORMAL.
- *
- * @param string $text
- * @param null|array $context
- */
- protected function printTaskWarning($text, $context = null)
- {
- $this->printTaskOutput(LogLevel::WARNING, $text, $this->getTaskContext($context));
- }
-
- /**
- * Provide notification that some operation in the task failed,
- * and the task cannot continue.
- *
- * Error messages are displayed at VERBOSITY_NORMAL.
- *
- * @param string $text
- * @param null|array $context
- */
- protected function printTaskError($text, $context = null)
- {
- $this->printTaskOutput(LogLevel::ERROR, $text, $this->getTaskContext($context));
- }
-
- /**
- * Provide debugging notification. These messages are only
- * displayed if the log level is VERBOSITY_DEBUG.
- *
- * @param string$text
- * @param null|array $context
- */
- protected function printTaskDebug($text, $context = null)
- {
- $this->printTaskOutput(LogLevel::DEBUG, $text, $this->getTaskContext($context));
- }
-
- /**
- * @param string $level
- * One of the \Psr\Log\LogLevel constant
- * @param string $text
- * @param null|array $context
- */
- protected function printTaskOutput($level, $text, $context)
- {
- if (!$this->verbosityMeetsThreshold()) {
- return;
- }
- $logger = $this->logger();
- if (!$logger) {
- return;
- }
- // Hide the progress indicator, if it is visible.
- $inProgress = $this->hideTaskProgress();
- $logger->log($level, $text, $this->getTaskContext($context));
- // After we have printed our log message, redraw the progress indicator.
- $this->showTaskProgress($inProgress);
- }
-
- /**
- * @return bool
- */
- protected function hideTaskProgress()
- {
- $inProgress = false;
- if ($this instanceof ProgressIndicatorAwareInterface) {
- $inProgress = $this->inProgress();
- }
-
- // If a progress indicator is running on this task, then we mush
- // hide it before we print anything, or its display will be overwritten.
- if ($inProgress) {
- $inProgress = $this->hideProgressIndicator();
- }
- return $inProgress;
- }
-
- /**
- * @param $inProgress
- */
- protected function showTaskProgress($inProgress)
- {
- if ($inProgress) {
- $this->restoreProgressIndicator($inProgress);
- }
- }
-
- /**
- * Format a quantity of bytes.
- *
- * @param int $size
- * @param int $precision
- *
- * @return string
- */
- protected function formatBytes($size, $precision = 2)
- {
- if ($size === 0) {
- return 0;
- }
- $base = log($size, 1024);
- $suffixes = array('', 'k', 'M', 'G', 'T');
- return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)];
- }
-
- /**
- * Get the formatted task name for use in task output.
- * This is placed in the task context under 'name', and
- * used as the log label by Robo\Common\RoboLogStyle,
- * which is inserted at the head of log messages by
- * Robo\Common\CustomLogStyle::formatMessage().
- *
- * @param null|object $task
- *
- * @return string
- */
- protected function getPrintedTaskName($task = null)
- {
- if (!$task) {
- $task = $this;
- }
- return TaskInfo::formatTaskName($task);
- }
-
- /**
- * @param null|array $context
- *
- * @return array with context information
- */
- protected function getTaskContext($context = null)
- {
- if (!$context) {
- $context = [];
- }
- if (!is_array($context)) {
- $context = ['task' => $context];
- }
- if (!array_key_exists('task', $context)) {
- $context['task'] = $this;
- }
-
- return $context + TaskInfo::getTaskContext($context['task']);
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/TimeKeeper.php b/vendor/consolidation/robo/src/Common/TimeKeeper.php
deleted file mode 100644
index 1cd3e3344..000000000
--- a/vendor/consolidation/robo/src/Common/TimeKeeper.php
+++ /dev/null
@@ -1,69 +0,0 @@
-startedAt) {
- return;
- }
- // Get time in seconds as a float, accurate to the microsecond.
- $this->startedAt = microtime(true);
- }
-
- public function stop()
- {
- $this->finishedAt = microtime(true);
- }
-
- /**
- * @return float|null
- */
- public function elapsed()
- {
- $finished = $this->finishedAt ? $this->finishedAt : microtime(true);
- if ($finished - $this->startedAt <= 0) {
- return null;
- }
- return $finished - $this->startedAt;
- }
-
- /**
- * Format a duration into a human-readable time
- *
- * @param float $duration Duration in seconds, with fractional component
- *
- * @return string
- */
- public static function formatDuration($duration)
- {
- if ($duration >= self::DAY * 2) {
- return gmdate('z \d\a\y\s H:i:s', $duration);
- }
- if ($duration > self::DAY) {
- return gmdate('\1 \d\a\y H:i:s', $duration);
- }
- if ($duration > self::HOUR) {
- return gmdate("H:i:s", $duration);
- }
- if ($duration > self::MINUTE) {
- return gmdate("i:s", $duration);
- }
- return round($duration, 3).'s';
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/Timer.php b/vendor/consolidation/robo/src/Common/Timer.php
deleted file mode 100644
index 955eb5bb3..000000000
--- a/vendor/consolidation/robo/src/Common/Timer.php
+++ /dev/null
@@ -1,37 +0,0 @@
-timer)) {
- $this->timer = new TimeKeeper();
- }
- $this->timer->start();
- }
-
- protected function stopTimer()
- {
- if (!isset($this->timer)) {
- return;
- }
- $this->timer->stop();
- }
-
- /**
- * @return float|null
- */
- protected function getExecutionTime()
- {
- if (!isset($this->timer)) {
- return null;
- }
- return $this->timer->elapsed();
- }
-}
diff --git a/vendor/consolidation/robo/src/Common/VerbosityThresholdTrait.php b/vendor/consolidation/robo/src/Common/VerbosityThresholdTrait.php
deleted file mode 100644
index 2fc51c22b..000000000
--- a/vendor/consolidation/robo/src/Common/VerbosityThresholdTrait.php
+++ /dev/null
@@ -1,79 +0,0 @@
-verbosityThreshold = $verbosityThreshold;
- return $this;
- }
-
- public function verbosityThreshold()
- {
- return $this->verbosityThreshold;
- }
-
- public function setOutputAdapter(OutputAdapterInterface $outputAdapter)
- {
- $this->outputAdapter = $outputAdapter;
- }
-
- /**
- * @return OutputAdapterInterface
- */
- public function outputAdapter()
- {
- return $this->outputAdapter;
- }
-
- public function hasOutputAdapter()
- {
- return isset($this->outputAdapter);
- }
-
- public function verbosityMeetsThreshold()
- {
- if ($this->hasOutputAdapter()) {
- return $this->outputAdapter()->verbosityMeetsThreshold($this->verbosityThreshold());
- }
- return true;
- }
-
- /**
- * Print a message if the selected verbosity level is over this task's
- * verbosity threshhold.
- */
- public function writeMessage($message)
- {
- if (!$this->verbosityMeetsThreshold()) {
- return;
- }
- $this->outputAdapter()->writeMessage($message);
- }
-}
diff --git a/vendor/consolidation/robo/src/Config.php b/vendor/consolidation/robo/src/Config.php
deleted file mode 100644
index 9e9370d81..000000000
--- a/vendor/consolidation/robo/src/Config.php
+++ /dev/null
@@ -1,9 +0,0 @@
-import($data);
- $this->defaults = $this->getGlobalOptionDefaultValues();
- }
-
- /**
- * {@inheritdoc}
- */
- public function import($data)
- {
- return $this->replace($data);
- }
-
- /**
- * {@inheritdoc}
- */
- public function replace($data)
- {
- $this->getContext(ConfigOverlay::DEFAULT_CONTEXT)->replace($data);
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function combine($data)
- {
- $this->getContext(ConfigOverlay::DEFAULT_CONTEXT)->combine($data);
- return $this;
- }
-
- /**
- * Return an associative array containing all of the global configuration
- * options and their default values.
- *
- * @return array
- */
- public function getGlobalOptionDefaultValues()
- {
- $globalOptions =
- [
- self::PROGRESS_BAR_AUTO_DISPLAY_INTERVAL => self::DEFAULT_PROGRESS_DELAY,
- self::SIMULATE => false,
- ];
- return $this->trimPrefixFromGlobalOptions($globalOptions);
- }
-
- /**
- * Remove the 'options.' prefix from the global options list.
- */
- protected function trimPrefixFromGlobalOptions($globalOptions)
- {
- $result = [];
- foreach ($globalOptions as $option => $value) {
- $option = str_replace('options.', '', $option);
- $result[$option] = $value;
- }
- return $result;
- }
-
- /**
- * @deprecated Use $config->get(Config::SIMULATE)
- *
- * @return bool
- */
- public function isSimulated()
- {
- return $this->get(self::SIMULATE);
- }
-
- /**
- * @deprecated Use $config->set(Config::SIMULATE, true)
- *
- * @param bool $simulated
- *
- * @return $this
- */
- public function setSimulated($simulated = true)
- {
- return $this->set(self::SIMULATE, $simulated);
- }
-
- /**
- * @deprecated Use $config->get(Config::INTERACTIVE)
- *
- * @return bool
- */
- public function isInteractive()
- {
- return $this->get(self::INTERACTIVE);
- }
-
- /**
- * @deprecated Use $config->set(Config::INTERACTIVE, true)
- *
- * @param bool $interactive
- *
- * @return $this
- */
- public function setInteractive($interactive = true)
- {
- return $this->set(self::INTERACTIVE, $interactive);
- }
-
- /**
- * @deprecated Use $config->get(Config::DECORATED)
- *
- * @return bool
- */
- public function isDecorated()
- {
- return $this->get(self::DECORATED);
- }
-
- /**
- * @deprecated Use $config->set(Config::DECORATED, true)
- *
- * @param bool $decorated
- *
- * @return $this
- */
- public function setDecorated($decorated = true)
- {
- return $this->set(self::DECORATED, $decorated);
- }
-
- /**
- * @deprecated Use $config->set(Config::PROGRESS_BAR_AUTO_DISPLAY_INTERVAL, $interval)
- *
- * @param int $interval
- *
- * @return $this
- */
- public function setProgressBarAutoDisplayInterval($interval)
- {
- return $this->set(self::PROGRESS_BAR_AUTO_DISPLAY_INTERVAL, $interval);
- }
-}
diff --git a/vendor/consolidation/robo/src/Config/GlobalOptionDefaultValuesInterface.php b/vendor/consolidation/robo/src/Config/GlobalOptionDefaultValuesInterface.php
deleted file mode 100644
index f76394554..000000000
--- a/vendor/consolidation/robo/src/Config/GlobalOptionDefaultValuesInterface.php
+++ /dev/null
@@ -1,17 +0,0 @@
-inflect($this)
- * ->initializer()
- * ->...
- *
- * Instead of:
- *
- * (new SomeTask($args))
- * ->setLogger($this->logger)
- * ->initializer()
- * ->...
- *
- * The reason `inflect` is better than the more explicit alternative is
- * that subclasses of BaseTask that implement a new FooAwareInterface
- * can override injectDependencies() as explained below, and add more
- * dependencies that can be injected as needed.
- *
- * @param \Robo\Contract\InflectionInterface $parent
- */
- public function inflect(InflectionInterface $parent);
-
- /**
- * Take all dependencies availble to this task and inject any that are
- * needed into the provided task. The general pattern is that, for every
- * FooAwareInterface that this class implements, it should test to see
- * if the child also implements the same interface, and if so, should call
- * $child->setFoo($this->foo).
- *
- * The benefits of this are pretty large. Any time an object that implements
- * InflectionInterface is created, just call `$child->inflect($this)`, and
- * any available optional dependencies will be hooked up via setter injection.
- *
- * The required dependencies of an object should be provided via constructor
- * injection, not inflection.
- *
- * @param InflectionInterface $child An object created by this class that
- * should have its dependencies injected.
- *
- * @see https://mwop.net/blog/2016-04-26-on-locators.html
- */
- public function injectDependencies(InflectionInterface $child);
-}
diff --git a/vendor/consolidation/robo/src/Contract/OutputAdapterInterface.php b/vendor/consolidation/robo/src/Contract/OutputAdapterInterface.php
deleted file mode 100644
index 948d384cb..000000000
--- a/vendor/consolidation/robo/src/Contract/OutputAdapterInterface.php
+++ /dev/null
@@ -1,11 +0,0 @@
-prefix = 'options';
- }
-
- /**
- * Add a reference to the Symfony Console application object.
- */
- public function setApplication($application)
- {
- $this->application = $application;
- return $this;
- }
-
- /**
- * Stipulate the prefix to use for option injection.
- * @param string $prefix
- */
- public function setGlobalOptionsPrefix($prefix)
- {
- $this->prefix = $prefix;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public static function getSubscribedEvents()
- {
- return [ConsoleEvents::COMMAND => 'handleCommandEvent'];
- }
-
- /**
- * Run all of our individual operations when a command event is received.
- */
- public function handleCommandEvent(ConsoleCommandEvent $event)
- {
- $this->setGlobalOptions($event);
- $this->setConfigurationValues($event);
- }
-
- /**
- * Before a Console command runs, examine the global
- * commandline options from the event Input, and set
- * configuration values as appropriate.
- *
- * @param \Symfony\Component\Console\Event\ConsoleCommandEvent $event
- */
- public function setGlobalOptions(ConsoleCommandEvent $event)
- {
- $config = $this->getConfig();
- $input = $event->getInput();
-
- $globalOptions = $config->get($this->prefix, []);
- if ($config instanceof \Consolidation\Config\GlobalOptionDefaultValuesInterface) {
- $globalOptions += $config->getGlobalOptionDefaultValues();
- }
-
- $globalOptions += $this->applicationOptionDefaultValues();
-
- // Set any config value that has a defined global option (e.g. --simulate)
- foreach ($globalOptions as $option => $default) {
- $value = $input->hasOption($option) ? $input->getOption($option) : null;
- // Unfortunately, the `?:` operator does not differentate between `0` and `null`
- if (!isset($value)) {
- $value = $default;
- }
- $config->set($this->prefix . '.' . $option, $value);
- }
- }
-
- /**
- * Examine the commandline --define / -D options, and apply the provided
- * values to the active configuration.
- *
- * @param \Symfony\Component\Console\Event\ConsoleCommandEvent $event
- */
- public function setConfigurationValues(ConsoleCommandEvent $event)
- {
- $config = $this->getConfig();
- $input = $event->getInput();
-
- // Also set any `-D config.key=value` options from the commandline.
- if ($input->hasOption('define')) {
- $configDefinitions = $input->getOption('define');
- foreach ($configDefinitions as $value) {
- list($key, $value) = $this->splitConfigKeyValue($value);
- $config->set($key, $value);
- }
- }
- }
-
- /**
- * Split up the key=value config setting into its component parts. If
- * the input string contains no '=' character, then the value will be 'true'.
- *
- * @param string $value
- * @return array
- */
- protected function splitConfigKeyValue($value)
- {
- $parts = explode('=', $value, 2);
- $parts[] = true;
- return $parts;
- }
-
- /**
- * Get default option values from the Symfony Console application, if
- * it is available.
- */
- protected function applicationOptionDefaultValues()
- {
- if (!$this->application) {
- return [];
- }
-
- $result = [];
- foreach ($this->application->getDefinition()->getOptions() as $key => $option) {
- $result[$key] = $option->acceptValue() ? $option->getDefault() : null;
- }
- return $result;
- }
-}
diff --git a/vendor/consolidation/robo/src/LoadAllTasks.php b/vendor/consolidation/robo/src/LoadAllTasks.php
deleted file mode 100644
index 3183d5b6a..000000000
--- a/vendor/consolidation/robo/src/LoadAllTasks.php
+++ /dev/null
@@ -1,39 +0,0 @@
-getTask();
- if ($task instanceof VerbosityThresholdInterface && !$task->verbosityMeetsThreshold()) {
- return;
- }
- if (!$result->wasSuccessful()) {
- return $this->printError($result);
- } else {
- return $this->printSuccess($result);
- }
- }
-
- /**
- * Log that we are about to abort due to an error being encountered
- * in 'stop on fail' mode.
- *
- * @param \Robo\Result $result
- */
- public function printStopOnFail($result)
- {
- $this->printMessage(LogLevel::NOTICE, 'Stopping on fail. Exiting....');
- $this->printMessage(LogLevel::ERROR, 'Exit Code: {code}', ['code' => $result->getExitCode()]);
- }
-
- /**
- * Log the result of a Robo task that returned an error.
- *
- * @param \Robo\Result $result
- *
- * @return bool
- */
- protected function printError(Result $result)
- {
- $task = $result->getTask();
- $context = $result->getContext() + ['timer-label' => 'Time', '_style' => []];
- $context['_style']['message'] = '';
-
- $printOutput = true;
- if ($task instanceof PrintedInterface) {
- $printOutput = !$task->getPrinted();
- }
- if ($printOutput) {
- $this->printMessage(LogLevel::ERROR, "{message}", $context);
- }
- $this->printMessage(LogLevel::ERROR, 'Exit code {code}', $context);
- return true;
- }
-
- /**
- * Log the result of a Robo task that was successful.
- *
- * @param \Robo\Result $result
- *
- * @return bool
- */
- protected function printSuccess(Result $result)
- {
- $task = $result->getTask();
- $context = $result->getContext() + ['timer-label' => 'in'];
- $time = $result->getExecutionTime();
- if ($time) {
- $this->printMessage(ConsoleLogLevel::SUCCESS, 'Done', $context);
- }
- return false;
- }
-
- /**
- * @param string $level
- * @param string $message
- * @param array $context
- */
- protected function printMessage($level, $message, $context = [])
- {
- $inProgress = $this->hideProgressIndicator();
- $this->logger->log($level, $message, $context);
- if ($inProgress) {
- $this->restoreProgressIndicator($inProgress);
- }
- }
-}
diff --git a/vendor/consolidation/robo/src/Log/RoboLogLevel.php b/vendor/consolidation/robo/src/Log/RoboLogLevel.php
deleted file mode 100644
index d7d5eb0a6..000000000
--- a/vendor/consolidation/robo/src/Log/RoboLogLevel.php
+++ /dev/null
@@ -1,11 +0,0 @@
-labelStyles += [
- RoboLogLevel::SIMULATED_ACTION => self::TASK_STYLE_SIMULATED,
- ];
- $this->messageStyles += [
- RoboLogLevel::SIMULATED_ACTION => '',
- ];
- }
-
- /**
- * Log style customization for Robo: replace the log level with
- * the task name.
- *
- * @param string $level
- * @param string $message
- * @param array $context
- *
- * @return string
- */
- protected function formatMessageByLevel($level, $message, $context)
- {
- $label = $level;
- if (array_key_exists('name', $context)) {
- $label = $context['name'];
- }
- return $this->formatMessage($label, $message, $context, $this->labelStyles[$level], $this->messageStyles[$level]);
- }
-
- /**
- * Log style customization for Robo: add the time indicator to the
- * end of the log message if it exists in the context.
- *
- * @param string $label
- * @param string $message
- * @param array $context
- * @param string $taskNameStyle
- * @param string $messageStyle
- *
- * @return string
- */
- protected function formatMessage($label, $message, $context, $taskNameStyle, $messageStyle = '')
- {
- $message = parent::formatMessage($label, $message, $context, $taskNameStyle, $messageStyle);
-
- if (array_key_exists('time', $context) && !empty($context['time']) && array_key_exists('timer-label', $context)) {
- $duration = TimeKeeper::formatDuration($context['time']);
- $message .= ' ' . $context['timer-label'] . ' ' . $this->wrapFormatString($duration, 'fg=yellow');
- }
-
- return $message;
- }
-}
diff --git a/vendor/consolidation/robo/src/Log/RoboLogger.php b/vendor/consolidation/robo/src/Log/RoboLogger.php
deleted file mode 100644
index 75cf23f7c..000000000
--- a/vendor/consolidation/robo/src/Log/RoboLogger.php
+++ /dev/null
@@ -1,29 +0,0 @@
- OutputInterface::VERBOSITY_NORMAL, // Default is "verbose"
- LogLevel::NOTICE => OutputInterface::VERBOSITY_NORMAL, // Default is "verbose"
- LogLevel::INFO => OutputInterface::VERBOSITY_VERBOSE, // Default is "very verbose"
- ];
- parent::__construct($output, $roboVerbosityOverrides);
- }
-}
diff --git a/vendor/consolidation/robo/src/Result.php b/vendor/consolidation/robo/src/Result.php
deleted file mode 100644
index 7d7793520..000000000
--- a/vendor/consolidation/robo/src/Result.php
+++ /dev/null
@@ -1,258 +0,0 @@
-task = $task;
- $this->printResult();
-
- if (self::$stopOnFail) {
- $this->stopOnFail();
- }
- }
-
- /**
- * Tasks should always return a Result. However, they are also
- * allowed to return NULL or an array to indicate success.
- */
- public static function ensureResult($task, $result)
- {
- if ($result instanceof Result) {
- return $result;
- }
- if (!isset($result)) {
- return static::success($task);
- }
- if ($result instanceof Data) {
- return static::success($task, $result->getMessage(), $result->getData());
- }
- if ($result instanceof ResultData) {
- return new Result($task, $result->getExitCode(), $result->getMessage(), $result->getData());
- }
- if (is_array($result)) {
- return static::success($task, '', $result);
- }
- throw new \Exception(sprintf('Task %s returned a %s instead of a \Robo\Result.', get_class($task), get_class($result)));
- }
-
- protected function printResult()
- {
- // For historic reasons, the Result constructor is responsible
- // for printing task results.
- // TODO: Make IO the responsibility of some other class. Maintaining
- // existing behavior for backwards compatibility. This is undesirable
- // in the long run, though, as it can result in unwanted repeated input
- // in task collections et. al.
- $resultPrinter = Robo::resultPrinter();
- if ($resultPrinter) {
- if ($resultPrinter->printResult($this)) {
- $this->alreadyPrinted();
- }
- }
- }
-
- /**
- * @param \Robo\Contract\TaskInterface $task
- * @param string $extension
- * @param string $service
- *
- * @return \Robo\Result
- */
- public static function errorMissingExtension(TaskInterface $task, $extension, $service)
- {
- $messageTpl = 'PHP extension required for %s. Please enable %s';
- $message = sprintf($messageTpl, $service, $extension);
-
- return self::error($task, $message);
- }
-
- /**
- * @param \Robo\Contract\TaskInterface $task
- * @param string $class
- * @param string $package
- *
- * @return \Robo\Result
- */
- public static function errorMissingPackage(TaskInterface $task, $class, $package)
- {
- $messageTpl = 'Class %s not found. Please install %s Composer package';
- $message = sprintf($messageTpl, $class, $package);
-
- return self::error($task, $message);
- }
-
- /**
- * @param \Robo\Contract\TaskInterface $task
- * @param string $message
- * @param array $data
- *
- * @return \Robo\Result
- */
- public static function error(TaskInterface $task, $message, $data = [])
- {
- return new self($task, self::EXITCODE_ERROR, $message, $data);
- }
-
- /**
- * @param \Robo\Contract\TaskInterface $task
- * @param \Exception $e
- * @param array $data
- *
- * @return \Robo\Result
- */
- public static function fromException(TaskInterface $task, \Exception $e, $data = [])
- {
- $exitCode = $e->getCode();
- if (!$exitCode) {
- $exitCode = self::EXITCODE_ERROR;
- }
- return new self($task, $exitCode, $e->getMessage(), $data);
- }
-
- /**
- * @param \Robo\Contract\TaskInterface $task
- * @param string $message
- * @param array $data
- *
- * @return \Robo\Result
- */
- public static function success(TaskInterface $task, $message = '', $data = [])
- {
- return new self($task, self::EXITCODE_OK, $message, $data);
- }
-
- /**
- * Return a context useful for logging messages.
- *
- * @return array
- */
- public function getContext()
- {
- $task = $this->getTask();
-
- return TaskInfo::getTaskContext($task) + [
- 'code' => $this->getExitCode(),
- 'data' => $this->getArrayCopy(),
- 'time' => $this->getExecutionTime(),
- 'message' => $this->getMessage(),
- ];
- }
-
- /**
- * Add the results from the most recent task to the accumulated
- * results from all tasks that have run so far, merging data
- * as necessary.
- *
- * @param int|string $key
- * @param \Robo\Result $taskResult
- */
- public function accumulate($key, Result $taskResult)
- {
- // If the task is unnamed, then all of its data elements
- // just get merged in at the top-level of the final Result object.
- if (static::isUnnamed($key)) {
- $this->merge($taskResult);
- } elseif (isset($this[$key])) {
- // There can only be one task with a given name; however, if
- // there are tasks added 'before' or 'after' the named task,
- // then the results from these will be stored under the same
- // name unless they are given a name of their own when added.
- $current = $this[$key];
- $this[$key] = $taskResult->merge($current);
- } else {
- $this[$key] = $taskResult;
- }
- }
-
- /**
- * We assume that named values (e.g. for associative array keys)
- * are non-numeric; numeric keys are presumed to simply be the
- * index of an array, and therefore insignificant.
- *
- * @param int|string $key
- *
- * @return bool
- */
- public static function isUnnamed($key)
- {
- return is_numeric($key);
- }
-
- /**
- * @return \Robo\Contract\TaskInterface
- */
- public function getTask()
- {
- return $this->task;
- }
-
- /**
- * @return \Robo\Contract\TaskInterface
- */
- public function cloneTask()
- {
- $reflect = new \ReflectionClass(get_class($this->task));
- return $reflect->newInstanceArgs(func_get_args());
- }
-
- /**
- * @return bool
- *
- * @deprecated since 1.0.
- *
- * @see wasSuccessful()
- */
- public function __invoke()
- {
- trigger_error(__METHOD__ . ' is deprecated: use wasSuccessful() instead.', E_USER_DEPRECATED);
- return $this->wasSuccessful();
- }
-
- /**
- * @return $this
- */
- public function stopOnFail()
- {
- if (!$this->wasSuccessful()) {
- $resultPrinter = Robo::resultPrinter();
- if ($resultPrinter) {
- $resultPrinter->printStopOnFail($this);
- }
- $this->exitEarly($this->getExitCode());
- }
- return $this;
- }
-
- /**
- * @param int $status
- *
- * @throws \Robo\Exception\TaskExitException
- */
- private function exitEarly($status)
- {
- throw new TaskExitException($this->getTask(), $this->getMessage(), $status);
- }
-}
diff --git a/vendor/consolidation/robo/src/ResultData.php b/vendor/consolidation/robo/src/ResultData.php
deleted file mode 100644
index 90baf6e92..000000000
--- a/vendor/consolidation/robo/src/ResultData.php
+++ /dev/null
@@ -1,110 +0,0 @@
-exitCode = $exitCode;
- parent::__construct($message, $data);
- }
-
- /**
- * @param string $message
- * @param array $data
- *
- * @return \Robo\ResultData
- */
- public static function message($message, $data = [])
- {
- return new self(self::EXITCODE_OK, $message, $data);
- }
-
- /**
- * @param string $message
- * @param array $data
- *
- * @return \Robo\ResultData
- */
- public static function cancelled($message = '', $data = [])
- {
- return new ResultData(self::EXITCODE_USER_CANCEL, $message, $data);
- }
-
- /**
- * @return int
- */
- public function getExitCode()
- {
- return $this->exitCode;
- }
-
- /**
- * @return null|string
- */
- public function getOutputData()
- {
- if (!empty($this->message) && !isset($this['already-printed']) && isset($this['provide-outputdata'])) {
- return $this->message;
- }
- }
-
- /**
- * Indicate that the message in this data has already been displayed.
- */
- public function alreadyPrinted()
- {
- $this['already-printed'] = true;
- }
-
- /**
- * Opt-in to providing the result message as the output data
- */
- public function provideOutputdata()
- {
- $this['provide-outputdata'] = true;
- }
-
- /**
- * @return bool
- */
- public function wasSuccessful()
- {
- return $this->exitCode === self::EXITCODE_OK;
- }
-
- /**
- * @return bool
- */
- public function wasCancelled()
- {
- return $this->exitCode == self::EXITCODE_USER_CANCEL;
- }
-}
diff --git a/vendor/consolidation/robo/src/Robo.php b/vendor/consolidation/robo/src/Robo.php
deleted file mode 100644
index fcb4f16dc..000000000
--- a/vendor/consolidation/robo/src/Robo.php
+++ /dev/null
@@ -1,406 +0,0 @@
-setSelfUpdateRepository($repository);
- $statusCode = $runner->execute($argv, $appName, $appVersion, $output);
- return $statusCode;
- }
-
- /**
- * Sets a new global container.
- *
- * @param ContainerInterface $container
- * A new container instance to replace the current.
- */
- public static function setContainer(ContainerInterface $container)
- {
- static::$container = $container;
- }
-
- /**
- * Unsets the global container.
- */
- public static function unsetContainer()
- {
- static::$container = null;
- }
-
- /**
- * Returns the currently active global container.
- *
- * @return \League\Container\ContainerInterface
- *
- * @throws \RuntimeException
- */
- public static function getContainer()
- {
- if (static::$container === null) {
- throw new \RuntimeException('container is not initialized yet. \Robo\Robo::setContainer() must be called with a real container.');
- }
- return static::$container;
- }
-
- /**
- * Returns TRUE if the container has been initialized, FALSE otherwise.
- *
- * @return bool
- */
- public static function hasContainer()
- {
- return static::$container !== null;
- }
-
- /**
- * Create a config object and load it from the provided paths.
- */
- public static function createConfiguration($paths)
- {
- $config = new \Robo\Config\Config();
- static::loadConfiguration($paths, $config);
- return $config;
- }
-
- /**
- * Use a simple config loader to load configuration values from specified paths
- */
- public static function loadConfiguration($paths, $config = null)
- {
- if ($config == null) {
- $config = static::config();
- }
- $loader = new YamlConfigLoader();
- $processor = new ConfigProcessor();
- $processor->add($config->export());
- foreach ($paths as $path) {
- $processor->extend($loader->load($path));
- }
- $config->import($processor->export());
- }
-
- /**
- * Create a container and initiailze it. If you wish to *change*
- * anything defined in the container, then you should call
- * \Robo::configureContainer() instead of this function.
- *
- * @param null|\Symfony\Component\Console\Input\InputInterface $input
- * @param null|\Symfony\Component\Console\Output\OutputInterface $output
- * @param null|\Robo\Application $app
- * @param null|ConfigInterface $config
- * @param null|\Composer\Autoload\ClassLoader $classLoader
- *
- * @return \League\Container\Container|\League\Container\ContainerInterface
- */
- public static function createDefaultContainer($input = null, $output = null, $app = null, $config = null, $classLoader = null)
- {
- // Do not allow this function to be called more than once.
- if (static::hasContainer()) {
- return static::getContainer();
- }
-
- if (!$app) {
- $app = static::createDefaultApplication();
- }
-
- if (!$config) {
- $config = new \Robo\Config\Config();
- }
-
- // Set up our dependency injection container.
- $container = new Container();
- static::configureContainer($container, $app, $config, $input, $output, $classLoader);
-
- // Set the application dispatcher
- $app->setDispatcher($container->get('eventDispatcher'));
-
- return $container;
- }
-
- /**
- * Initialize a container with all of the default Robo services.
- * IMPORTANT: after calling this method, clients MUST call:
- *
- * $dispatcher = $container->get('eventDispatcher');
- * $app->setDispatcher($dispatcher);
- *
- * Any modification to the container should be done prior to fetching
- * objects from it.
- *
- * It is recommended to use \Robo::createDefaultContainer()
- * instead, which does all required setup for the caller, but has
- * the limitation that the container it creates can only be
- * extended, not modified.
- *
- * @param \League\Container\ContainerInterface $container
- * @param \Symfony\Component\Console\Application $app
- * @param ConfigInterface $config
- * @param null|\Symfony\Component\Console\Input\InputInterface $input
- * @param null|\Symfony\Component\Console\Output\OutputInterface $output
- * @param null|\Composer\Autoload\ClassLoader $classLoader
- */
- public static function configureContainer(ContainerInterface $container, SymfonyApplication $app, ConfigInterface $config, $input = null, $output = null, $classLoader = null)
- {
- // Self-referential container refernce for the inflector
- $container->add('container', $container);
- static::setContainer($container);
-
- // Create default input and output objects if they were not provided
- if (!$input) {
- $input = new StringInput('');
- }
- if (!$output) {
- $output = new \Symfony\Component\Console\Output\ConsoleOutput();
- }
- if (!$classLoader) {
- $classLoader = new ClassLoader();
- }
- $config->set(Config::DECORATED, $output->isDecorated());
- $config->set(Config::INTERACTIVE, $input->isInteractive());
-
- $container->share('application', $app);
- $container->share('config', $config);
- $container->share('input', $input);
- $container->share('output', $output);
- $container->share('outputAdapter', \Robo\Common\OutputAdapter::class);
- $container->share('classLoader', $classLoader);
-
- // Register logging and related services.
- $container->share('logStyler', \Robo\Log\RoboLogStyle::class);
- $container->share('logger', \Robo\Log\RoboLogger::class)
- ->withArgument('output')
- ->withMethodCall('setLogOutputStyler', ['logStyler']);
- $container->add('progressBar', \Symfony\Component\Console\Helper\ProgressBar::class)
- ->withArgument('output');
- $container->share('progressIndicator', \Robo\Common\ProgressIndicator::class)
- ->withArgument('progressBar')
- ->withArgument('output');
- $container->share('resultPrinter', \Robo\Log\ResultPrinter::class);
- $container->add('simulator', \Robo\Task\Simulator::class);
- $container->share('globalOptionsEventListener', \Robo\GlobalOptionsEventListener::class)
- ->withMethodCall('setApplication', ['application']);
- $container->share('injectConfigEventListener', \Consolidation\Config\Inject\ConfigForCommand::class)
- ->withArgument('config')
- ->withMethodCall('setApplication', ['application']);
- $container->share('collectionProcessHook', \Robo\Collection\CollectionProcessHook::class);
- $container->share('alterOptionsCommandEvent', \Consolidation\AnnotatedCommand\Options\AlterOptionsCommandEvent::class)
- ->withArgument('application');
- $container->share('hookManager', \Consolidation\AnnotatedCommand\Hooks\HookManager::class)
- ->withMethodCall('addCommandEvent', ['alterOptionsCommandEvent'])
- ->withMethodCall('addCommandEvent', ['injectConfigEventListener'])
- ->withMethodCall('addCommandEvent', ['globalOptionsEventListener'])
- ->withMethodCall('addResultProcessor', ['collectionProcessHook', '*']);
- $container->share('eventDispatcher', \Symfony\Component\EventDispatcher\EventDispatcher::class)
- ->withMethodCall('addSubscriber', ['hookManager']);
- $container->share('formatterManager', \Consolidation\OutputFormatters\FormatterManager::class)
- ->withMethodCall('addDefaultFormatters', [])
- ->withMethodCall('addDefaultSimplifiers', []);
- $container->share('prepareTerminalWidthOption', \Consolidation\AnnotatedCommand\Options\PrepareTerminalWidthOption::class)
- ->withMethodCall('setApplication', ['application']);
- $container->share('commandProcessor', \Consolidation\AnnotatedCommand\CommandProcessor::class)
- ->withArgument('hookManager')
- ->withMethodCall('setFormatterManager', ['formatterManager'])
- ->withMethodCall('addPrepareFormatter', ['prepareTerminalWidthOption'])
- ->withMethodCall(
- 'setDisplayErrorFunction',
- [
- function ($output, $message) use ($container) {
- $logger = $container->get('logger');
- $logger->error($message);
- }
- ]
- );
- $container->share('stdinHandler', \Consolidation\AnnotatedCommand\Input\StdinHandler::class);
- $container->share('commandFactory', \Consolidation\AnnotatedCommand\AnnotatedCommandFactory::class)
- ->withMethodCall('setCommandProcessor', ['commandProcessor']);
- $container->share('relativeNamespaceDiscovery', \Robo\ClassDiscovery\RelativeNamespaceDiscovery::class)
- ->withArgument('classLoader');
-
- // Deprecated: favor using collection builders to direct use of collections.
- $container->add('collection', \Robo\Collection\Collection::class);
- // Deprecated: use CollectionBuilder::create() instead -- or, better
- // yet, BuilderAwareInterface::collectionBuilder() if available.
- $container->add('collectionBuilder', \Robo\Collection\CollectionBuilder::class);
-
- static::addInflectors($container);
-
- // Make sure the application is appropriately initialized.
- $app->setAutoExit(false);
- }
-
- /**
- * @param null|string $appName
- * @param null|string $appVersion
- *
- * @return \Robo\Application
- */
- public static function createDefaultApplication($appName = null, $appVersion = null)
- {
- $appName = $appName ?: self::APPLICATION_NAME;
- $appVersion = $appVersion ?: self::VERSION;
-
- $app = new \Robo\Application($appName, $appVersion);
- $app->setAutoExit(false);
- return $app;
- }
-
- /**
- * Add the Robo League\Container inflectors to the container
- *
- * @param \League\Container\ContainerInterface $container
- */
- public static function addInflectors($container)
- {
- // Register our various inflectors.
- $container->inflector(\Robo\Contract\ConfigAwareInterface::class)
- ->invokeMethod('setConfig', ['config']);
- $container->inflector(\Psr\Log\LoggerAwareInterface::class)
- ->invokeMethod('setLogger', ['logger']);
- $container->inflector(\League\Container\ContainerAwareInterface::class)
- ->invokeMethod('setContainer', ['container']);
- $container->inflector(\Symfony\Component\Console\Input\InputAwareInterface::class)
- ->invokeMethod('setInput', ['input']);
- $container->inflector(\Robo\Contract\OutputAwareInterface::class)
- ->invokeMethod('setOutput', ['output']);
- $container->inflector(\Robo\Contract\ProgressIndicatorAwareInterface::class)
- ->invokeMethod('setProgressIndicator', ['progressIndicator']);
- $container->inflector(\Consolidation\AnnotatedCommand\Events\CustomEventAwareInterface::class)
- ->invokeMethod('setHookManager', ['hookManager']);
- $container->inflector(\Robo\Contract\VerbosityThresholdInterface::class)
- ->invokeMethod('setOutputAdapter', ['outputAdapter']);
- $container->inflector(\Consolidation\AnnotatedCommand\Input\StdinAwareInterface::class)
- ->invokeMethod('setStdinHandler', ['stdinHandler']);
- }
-
- /**
- * Retrieves a service from the container.
- *
- * Use this method if the desired service is not one of those with a dedicated
- * accessor method below. If it is listed below, those methods are preferred
- * as they can return useful type hints.
- *
- * @param string $id
- * The ID of the service to retrieve.
- *
- * @return mixed
- * The specified service.
- */
- public static function service($id)
- {
- return static::getContainer()->get($id);
- }
-
- /**
- * Indicates if a service is defined in the container.
- *
- * @param string $id
- * The ID of the service to check.
- *
- * @return bool
- * TRUE if the specified service exists, FALSE otherwise.
- */
- public static function hasService($id)
- {
- // Check hasContainer() first in order to always return a Boolean.
- return static::hasContainer() && static::getContainer()->has($id);
- }
-
- /**
- * Return the result printer object.
- *
- * @return \Robo\Log\ResultPrinter
- */
- public static function resultPrinter()
- {
- return static::service('resultPrinter');
- }
-
- /**
- * @return ConfigInterface
- */
- public static function config()
- {
- return static::service('config');
- }
-
- /**
- * @return \Consolidation\Log\Logger
- */
- public static function logger()
- {
- return static::service('logger');
- }
-
- /**
- * @return \Robo\Application
- */
- public static function application()
- {
- return static::service('application');
- }
-
- /**
- * Return the output object.
- *
- * @return \Symfony\Component\Console\Output\OutputInterface
- */
- public static function output()
- {
- return static::service('output');
- }
-
- /**
- * Return the input object.
- *
- * @return \Symfony\Component\Console\Input\InputInterface
- */
- public static function input()
- {
- return static::service('input');
- }
-
- public static function process(Process $process)
- {
- return ProcessExecutor::create(static::getContainer(), $process);
- }
-}
diff --git a/vendor/consolidation/robo/src/Runner.php b/vendor/consolidation/robo/src/Runner.php
deleted file mode 100644
index 026ac871b..000000000
--- a/vendor/consolidation/robo/src/Runner.php
+++ /dev/null
@@ -1,575 +0,0 @@
-roboClass = $roboClass ? $roboClass : self::ROBOCLASS ;
- $this->roboFile = $roboFile ? $roboFile : self::ROBOFILE;
- $this->dir = getcwd();
- }
-
- protected function errorCondition($msg, $errorType)
- {
- $this->errorConditions[$msg] = $errorType;
- }
-
- /**
- * @param \Symfony\Component\Console\Output\OutputInterface $output
- *
- * @return bool
- */
- protected function loadRoboFile($output)
- {
- // If we have not been provided an output object, make a temporary one.
- if (!$output) {
- $output = new \Symfony\Component\Console\Output\ConsoleOutput();
- }
-
- // If $this->roboClass is a single class that has not already
- // been loaded, then we will try to obtain it from $this->roboFile.
- // If $this->roboClass is an array, we presume all classes requested
- // are available via the autoloader.
- if (is_array($this->roboClass) || class_exists($this->roboClass)) {
- return true;
- }
- if (!file_exists($this->dir)) {
- $this->errorCondition("Path `{$this->dir}` is invalid; please provide a valid absolute path to the Robofile to load.", 'red');
- return false;
- }
-
- $realDir = realpath($this->dir);
-
- $roboFilePath = $realDir . DIRECTORY_SEPARATOR . $this->roboFile;
- if (!file_exists($roboFilePath)) {
- $requestedRoboFilePath = $this->dir . DIRECTORY_SEPARATOR . $this->roboFile;
- $this->errorCondition("Requested RoboFile `$requestedRoboFilePath` is invalid, please provide valid absolute path to load Robofile.", 'red');
- return false;
- }
- require_once $roboFilePath;
-
- if (!class_exists($this->roboClass)) {
- $this->errorCondition("Class {$this->roboClass} was not loaded.", 'red');
- return false;
- }
- return true;
- }
-
- /**
- * @param array $argv
- * @param null|string $appName
- * @param null|string $appVersion
- * @param null|\Symfony\Component\Console\Output\OutputInterface $output
- *
- * @return int
- */
- public function execute($argv, $appName = null, $appVersion = null, $output = null)
- {
- $argv = $this->shebang($argv);
- $argv = $this->processRoboOptions($argv);
- $app = null;
- if ($appName && $appVersion) {
- $app = Robo::createDefaultApplication($appName, $appVersion);
- }
- $commandFiles = $this->getRoboFileCommands($output);
- return $this->run($argv, $output, $app, $commandFiles, $this->classLoader);
- }
-
- /**
- * Get a list of locations where config files may be loaded
- * @return string[]
- */
- protected function getConfigFilePaths($userConfig)
- {
- $roboAppConfig = dirname(__DIR__) . '/' . basename($userConfig);
- $configFiles = [$userConfig, $roboAppConfig];
- if (dirname($userConfig) != '.') {
- array_unshift($configFiles, basename($userConfig));
- }
- return $configFiles;
- }
- /**
- * @param null|\Symfony\Component\Console\Input\InputInterface $input
- * @param null|\Symfony\Component\Console\Output\OutputInterface $output
- * @param null|\Robo\Application $app
- * @param array[] $commandFiles
- * @param null|ClassLoader $classLoader
- *
- * @return int
- */
- public function run($input = null, $output = null, $app = null, $commandFiles = [], $classLoader = null)
- {
- // Create default input and output objects if they were not provided
- if (!$input) {
- $input = new StringInput('');
- }
- if (is_array($input)) {
- $input = new ArgvInput($input);
- }
- if (!$output) {
- $output = new \Symfony\Component\Console\Output\ConsoleOutput();
- }
- $this->setInput($input);
- $this->setOutput($output);
-
- // If we were not provided a container, then create one
- if (!$this->getContainer()) {
- $configFiles = $this->getConfigFilePaths($this->configFilename);
- $config = Robo::createConfiguration($configFiles);
- if ($this->envConfigPrefix) {
- $envConfig = new EnvConfig($this->envConfigPrefix);
- $config->addContext('env', $envConfig);
- }
- $container = Robo::createDefaultContainer($input, $output, $app, $config, $classLoader);
- $this->setContainer($container);
- // Automatically register a shutdown function and
- // an error handler when we provide the container.
- $this->installRoboHandlers();
- }
-
- if (!$app) {
- $app = Robo::application();
- }
- if ($app instanceof \Robo\Application) {
- $app->addSelfUpdateCommand($this->getSelfUpdateRepository());
- if (!isset($commandFiles)) {
- $this->errorCondition("Robo is not initialized here. Please run `robo init` to create a new RoboFile.", 'yellow');
- $app->addInitRoboFileCommand($this->roboFile, $this->roboClass);
- $commandFiles = [];
- }
- }
-
- if (!empty($this->relativePluginNamespace)) {
- $commandClasses = $this->discoverCommandClasses($this->relativePluginNamespace);
- $commandFiles = array_merge((array)$commandFiles, $commandClasses);
- }
-
- $this->registerCommandClasses($app, $commandFiles);
-
- try {
- $statusCode = $app->run($input, $output);
- } catch (TaskExitException $e) {
- $statusCode = $e->getCode() ?: 1;
- }
-
- // If there were any error conditions in bootstrapping Robo,
- // print them only if the requested command did not complete
- // successfully.
- if ($statusCode) {
- foreach ($this->errorConditions as $msg => $color) {
- $this->yell($msg, 40, $color);
- }
- }
- return $statusCode;
- }
-
- /**
- * @param \Symfony\Component\Console\Output\OutputInterface $output
- *
- * @return null|string
- */
- protected function getRoboFileCommands($output)
- {
- if (!$this->loadRoboFile($output)) {
- return;
- }
- return $this->roboClass;
- }
-
- /**
- * @param \Robo\Application $app
- * @param array $commandClasses
- */
- public function registerCommandClasses($app, $commandClasses)
- {
- foreach ((array)$commandClasses as $commandClass) {
- $this->registerCommandClass($app, $commandClass);
- }
- }
-
- /**
- * @param $relativeNamespace
- *
- * @return array|string[]
- */
- protected function discoverCommandClasses($relativeNamespace)
- {
- /** @var \Robo\ClassDiscovery\RelativeNamespaceDiscovery $discovery */
- $discovery = Robo::service('relativeNamespaceDiscovery');
- $discovery->setRelativeNamespace($relativeNamespace.'\Commands')
- ->setSearchPattern('*Commands.php');
- return $discovery->getClasses();
- }
-
- /**
- * @param \Robo\Application $app
- * @param string|BuilderAwareInterface|ContainerAwareInterface $commandClass
- *
- * @return mixed|void
- */
- public function registerCommandClass($app, $commandClass)
- {
- $container = Robo::getContainer();
- $roboCommandFileInstance = $this->instantiateCommandClass($commandClass);
- if (!$roboCommandFileInstance) {
- return;
- }
-
- // Register commands for all of the public methods in the RoboFile.
- $commandFactory = $container->get('commandFactory');
- $commandList = $commandFactory->createCommandsFromClass($roboCommandFileInstance);
- foreach ($commandList as $command) {
- $app->add($command);
- }
- return $roboCommandFileInstance;
- }
-
- /**
- * @param string|BuilderAwareInterface|ContainerAwareInterface $commandClass
- *
- * @return null|object
- */
- protected function instantiateCommandClass($commandClass)
- {
- $container = Robo::getContainer();
-
- // Register the RoboFile with the container and then immediately
- // fetch it; this ensures that all of the inflectors will run.
- // If the command class is already an instantiated object, then
- // just use it exactly as it was provided to us.
- if (is_string($commandClass)) {
- if (!class_exists($commandClass)) {
- return;
- }
- $reflectionClass = new \ReflectionClass($commandClass);
- if ($reflectionClass->isAbstract()) {
- return;
- }
-
- $commandFileName = "{$commandClass}Commands";
- $container->share($commandFileName, $commandClass);
- $commandClass = $container->get($commandFileName);
- }
- // If the command class is a Builder Aware Interface, then
- // ensure that it has a builder. Every command class needs
- // its own collection builder, as they have references to each other.
- if ($commandClass instanceof BuilderAwareInterface) {
- $builder = CollectionBuilder::create($container, $commandClass);
- $commandClass->setBuilder($builder);
- }
- if ($commandClass instanceof ContainerAwareInterface) {
- $commandClass->setContainer($container);
- }
- return $commandClass;
- }
-
- public function installRoboHandlers()
- {
- register_shutdown_function(array($this, 'shutdown'));
- set_error_handler(array($this, 'handleError'));
- }
-
- /**
- * Process a shebang script, if one was used to launch this Runner.
- *
- * @param array $args
- *
- * @return array $args with shebang script removed
- */
- protected function shebang($args)
- {
- // Option 1: Shebang line names Robo, but includes no parameters.
- // #!/bin/env robo
- // The robo class may contain multiple commands; the user may
- // select which one to run, or even get a list of commands or
- // run 'help' on any of the available commands as usual.
- if ((count($args) > 1) && $this->isShebangFile($args[1])) {
- return array_merge([$args[0]], array_slice($args, 2));
- }
- // Option 2: Shebang line stipulates which command to run.
- // #!/bin/env robo mycommand
- // The robo class must contain a public method named 'mycommand'.
- // This command will be executed every time. Arguments and options
- // may be provided on the commandline as usual.
- if ((count($args) > 2) && $this->isShebangFile($args[2])) {
- return array_merge([$args[0]], explode(' ', $args[1]), array_slice($args, 3));
- }
- return $args;
- }
-
- /**
- * Determine if the specified argument is a path to a shebang script.
- * If so, load it.
- *
- * @param string $filepath file to check
- *
- * @return bool Returns TRUE if shebang script was processed
- */
- protected function isShebangFile($filepath)
- {
- // Avoid trying to call $filepath on remote URLs
- if ((strpos($filepath, '://') !== false) && (substr($filepath, 0, 7) != 'file://')) {
- return false;
- }
- if (!is_file($filepath)) {
- return false;
- }
- $fp = fopen($filepath, "r");
- if ($fp === false) {
- return false;
- }
- $line = fgets($fp);
- $result = $this->isShebangLine($line);
- if ($result) {
- while ($line = fgets($fp)) {
- $line = trim($line);
- if ($line == 'roboClass = $matches[1];
- eval($script);
- $result = true;
- }
- }
- }
- }
- fclose($fp);
-
- return $result;
- }
-
- /**
- * Test to see if the provided line is a robo 'shebang' line.
- *
- * @param string $line
- *
- * @return bool
- */
- protected function isShebangLine($line)
- {
- return ((substr($line, 0, 2) == '#!') && (strstr($line, 'robo') !== false));
- }
-
- /**
- * Check for Robo-specific arguments such as --load-from, process them,
- * and remove them from the array. We have to process --load-from before
- * we set up Symfony Console.
- *
- * @param array $argv
- *
- * @return array
- */
- protected function processRoboOptions($argv)
- {
- // loading from other directory
- $pos = $this->arraySearchBeginsWith('--load-from', $argv) ?: array_search('-f', $argv);
- if ($pos === false) {
- return $argv;
- }
-
- $passThru = array_search('--', $argv);
- if (($passThru !== false) && ($passThru < $pos)) {
- return $argv;
- }
-
- if (substr($argv[$pos], 0, 12) == '--load-from=') {
- $this->dir = substr($argv[$pos], 12);
- } elseif (isset($argv[$pos +1])) {
- $this->dir = $argv[$pos +1];
- unset($argv[$pos +1]);
- }
- unset($argv[$pos]);
- // Make adjustments if '--load-from' points at a file.
- if (is_file($this->dir) || (substr($this->dir, -4) == '.php')) {
- $this->roboFile = basename($this->dir);
- $this->dir = dirname($this->dir);
- $className = basename($this->roboFile, '.php');
- if ($className != $this->roboFile) {
- $this->roboClass = $className;
- }
- }
- // Convert directory to a real path, but only if the
- // path exists. We do not want to lose the original
- // directory if the user supplied a bad value.
- $realDir = realpath($this->dir);
- if ($realDir) {
- chdir($realDir);
- $this->dir = $realDir;
- }
-
- return $argv;
- }
-
- /**
- * @param string $needle
- * @param string[] $haystack
- *
- * @return bool|int
- */
- protected function arraySearchBeginsWith($needle, $haystack)
- {
- for ($i = 0; $i < count($haystack); ++$i) {
- if (substr($haystack[$i], 0, strlen($needle)) == $needle) {
- return $i;
- }
- }
- return false;
- }
-
- public function shutdown()
- {
- $error = error_get_last();
- if (!is_array($error)) {
- return;
- }
- $this->writeln(sprintf("ERROR: %s \nin %s:%d\n ", $error['message'], $error['file'], $error['line']));
- }
-
- /**
- * This is just a proxy error handler that checks the current error_reporting level.
- * In case error_reporting is disabled the error is marked as handled, otherwise
- * the normal internal error handling resumes.
- *
- * @return bool
- */
- public function handleError()
- {
- if (error_reporting() === 0) {
- return true;
- }
- return false;
- }
-
- /**
- * @return string
- */
- public function getSelfUpdateRepository()
- {
- return $this->selfUpdateRepository;
- }
-
- /**
- * @param $selfUpdateRepository
- *
- * @return $this
- */
- public function setSelfUpdateRepository($selfUpdateRepository)
- {
- $this->selfUpdateRepository = $selfUpdateRepository;
- return $this;
- }
-
- /**
- * @param string $configFilename
- *
- * @return $this
- */
- public function setConfigurationFilename($configFilename)
- {
- $this->configFilename = $configFilename;
- return $this;
- }
-
- /**
- * @param string $envConfigPrefix
- *
- * @return $this
- */
- public function setEnvConfigPrefix($envConfigPrefix)
- {
- $this->envConfigPrefix = $envConfigPrefix;
- return $this;
- }
-
- /**
- * @param \Composer\Autoload\ClassLoader $classLoader
- *
- * @return $this
- */
- public function setClassLoader(ClassLoader $classLoader)
- {
- $this->classLoader = $classLoader;
- return $this;
- }
-
- /**
- * @param string $relativeNamespace
- *
- * @return $this
- */
- public function setRelativePluginNamespace($relativeNamespace)
- {
- $this->relativePluginNamespace = $relativeNamespace;
- return $this;
- }
-}
diff --git a/vendor/consolidation/robo/src/State/Consumer.php b/vendor/consolidation/robo/src/State/Consumer.php
deleted file mode 100644
index ab9c0e277..000000000
--- a/vendor/consolidation/robo/src/State/Consumer.php
+++ /dev/null
@@ -1,12 +0,0 @@
-message = $message;
- parent::__construct($data);
- }
-
- /**
- * @return array
- */
- public function getData()
- {
- return $this->getArrayCopy();
- }
-
- /**
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * @param string message
- */
- public function setMessage($message)
- {
- $this->message = $message;
- }
-
- /**
- * Merge another result into this result. Data already
- * existing in this result takes precedence over the
- * data in the Result being merged.
- *
- * @param \Robo\ResultData $result
- *
- * @return $this
- */
- public function merge(Data $result)
- {
- $mergedData = $this->getArrayCopy() + $result->getArrayCopy();
- $this->exchangeArray($mergedData);
- return $this;
- }
-
- /**
- * Update the current data with the data provided in the parameter.
- * Provided data takes precedence.
- *
- * @param \ArrayObject $update
- *
- * @return $this
- */
- public function update(\ArrayObject $update)
- {
- $iterator = $update->getIterator();
-
- while ($iterator->valid()) {
- $this[$iterator->key()] = $iterator->current();
- $iterator->next();
- }
-
- return $this;
- }
-
- /**
- * Merge another result into this result. Data already
- * existing in this result takes precedence over the
- * data in the Result being merged.
- *
- * $data['message'] is handled specially, and is appended
- * to $this->message if set.
- *
- * @param array $data
- *
- * @return array
- */
- public function mergeData(array $data)
- {
- $mergedData = $this->getArrayCopy() + $data;
- $this->exchangeArray($mergedData);
- return $mergedData;
- }
-
- /**
- * @return bool
- */
- public function hasExecutionTime()
- {
- return isset($this['time']);
- }
-
- /**
- * @return null|float
- */
- public function getExecutionTime()
- {
- if (!$this->hasExecutionTime()) {
- return null;
- }
- return $this['time'];
- }
-
- /**
- * Accumulate execution time
- */
- public function accumulateExecutionTime($duration)
- {
- // Convert data arrays to scalar
- if (is_array($duration)) {
- $duration = isset($duration['time']) ? $duration['time'] : 0;
- }
- $this['time'] = $this->getExecutionTime() + $duration;
- return $this->getExecutionTime();
- }
-
- /**
- * Accumulate the message.
- */
- public function accumulateMessage($message)
- {
- if (!empty($this->message)) {
- $this->message .= "\n";
- }
- $this->message .= $message;
- return $this->getMessage();
- }
-}
diff --git a/vendor/consolidation/robo/src/State/StateAwareInterface.php b/vendor/consolidation/robo/src/State/StateAwareInterface.php
deleted file mode 100644
index f86bccb87..000000000
--- a/vendor/consolidation/robo/src/State/StateAwareInterface.php
+++ /dev/null
@@ -1,30 +0,0 @@
-state;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setState(Data $state)
- {
- $this->state = $state;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setStateValue($key, $value)
- {
- $this->state[$key] = $value;
- }
-
- /**
- * {@inheritdoc}
- */
- public function updateState(Data $update)
- {
- $this->state->update($update);
- }
-
- /**
- * {@inheritdoc}
- */
- public function resetState()
- {
- $this->state = new Data();
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/ApiGen/ApiGen.php b/vendor/consolidation/robo/src/Task/ApiGen/ApiGen.php
deleted file mode 100644
index 11ff764c2..000000000
--- a/vendor/consolidation/robo/src/Task/ApiGen/ApiGen.php
+++ /dev/null
@@ -1,518 +0,0 @@
-taskApiGen('./vendor/apigen/apigen.phar')
- * ->config('./apigen.neon')
- * ->templateConfig('vendor/apigen/apigen/templates/bootstrap/config.neon')
- * ->wipeout(true)
- * ->run();
- * ?>
- * ```
- */
-class ApiGen extends BaseTask implements CommandInterface
-{
- use \Robo\Common\ExecOneCommand;
-
- const BOOL_NO = 'no';
- const BOOL_YES = 'yes';
-
- /**
- * @var string
- */
- protected $command;
- protected $operation = 'generate';
-
- /**
- * @param null|string $pathToApiGen
- *
- * @throws \Robo\Exception\TaskException
- */
- public function __construct($pathToApiGen = null)
- {
- $this->command = $pathToApiGen;
- $command_parts = [];
- preg_match('/((?:.+)?apigen(?:\.phar)?) ?( \w+)? ?(.+)?/', $this->command, $command_parts);
- if (count($command_parts) === 3) {
- list(, $this->command, $this->operation) = $command_parts;
- }
- if (count($command_parts) === 4) {
- list(, $this->command, $this->operation, $arg) = $command_parts;
- $this->arg($arg);
- }
- if (!$this->command) {
- $this->command = $this->findExecutablePhar('apigen');
- }
- if (!$this->command) {
- throw new TaskException(__CLASS__, "No apigen installation found");
- }
- }
-
- /**
- * Pass methods parameters as arguments to executable. Argument values
- * are automatically escaped.
- *
- * @param string|string[] $args
- *
- * @return $this
- */
- public function args($args)
- {
- if (!is_array($args)) {
- $args = func_get_args();
- }
- $args = array_map(function ($arg) {
- if (preg_match('/^\w+$/', trim($arg)) === 1) {
- $this->operation = $arg;
- return null;
- }
- return $arg;
- }, $args);
- $args = array_filter($args);
- $this->arguments .= ' ' . implode(' ', array_map('static::escape', $args));
- return $this;
- }
-
- /**
- * @param array|Traversable|string $arg a single object or something traversable
- *
- * @return array|Traversable the provided argument if it was already traversable, or the given
- * argument returned as a one-element array
- */
- protected static function forceTraversable($arg)
- {
- $traversable = $arg;
- if (!is_array($traversable) && !($traversable instanceof \Traversable)) {
- $traversable = array($traversable);
- }
- return $traversable;
- }
-
- /**
- * @param array|string $arg a single argument or an array of multiple string values
- *
- * @return string a comma-separated string of all of the provided arguments, suitable
- * as a command-line "list" type argument for ApiGen
- */
- protected static function asList($arg)
- {
- $normalized = is_array($arg) ? $arg : array($arg);
- return implode(',', $normalized);
- }
-
- /**
- * @param bool|string $val an argument to be normalized
- * @param string $default one of self::BOOL_YES or self::BOOK_NO if the provided
- * value could not deterministically be converted to a
- * yes or no value
- *
- * @return string the given value as a command-line "yes|no" type of argument for ApiGen,
- * or the default value if none could be determined
- */
- protected static function asTextBool($val, $default)
- {
- if ($val === self::BOOL_YES || $val === self::BOOL_NO) {
- return $val;
- }
- if (!$val) {
- return self::BOOL_NO;
- }
- if ($val === true) {
- return self::BOOL_YES;
- }
- if (is_numeric($val) && $val != 0) {
- return self::BOOL_YES;
- }
- if (strcasecmp($val[0], 'y') === 0) {
- return self::BOOL_YES;
- }
- if (strcasecmp($val[0], 'n') === 0) {
- return self::BOOL_NO;
- }
- // meh, good enough, let apigen sort it out
- return $default;
- }
-
- /**
- * @param string $config
- *
- * @return $this
- */
- public function config($config)
- {
- $this->option('config', $config);
- return $this;
- }
-
- /**
- * @param array|string|Traversable $src one or more source values
- *
- * @return $this
- */
- public function source($src)
- {
- foreach (self::forceTraversable($src) as $source) {
- $this->option('source', $source);
- }
- return $this;
- }
-
- /**
- * @param string $dest
- *
- * @return $this
- */
- public function destination($dest)
- {
- $this->option('destination', $dest);
- return $this;
- }
-
- /**
- * @param array|string $exts one or more extensions
- *
- * @return $this
- */
- public function extensions($exts)
- {
- $this->option('extensions', self::asList($exts));
- return $this;
- }
-
- /**
- * @param array|string $exclude one or more exclusions
- *
- * @return $this
- */
- public function exclude($exclude)
- {
- foreach (self::forceTraversable($exclude) as $excl) {
- $this->option('exclude', $excl);
- }
- return $this;
- }
-
- /**
- * @param array|string|Traversable $path one or more skip-doc-path values
- *
- * @return $this
- */
- public function skipDocPath($path)
- {
- foreach (self::forceTraversable($path) as $skip) {
- $this->option('skip-doc-path', $skip);
- }
- return $this;
- }
-
- /**
- * @param array|string|Traversable $prefix one or more skip-doc-prefix values
- *
- * @return $this
- */
- public function skipDocPrefix($prefix)
- {
- foreach (self::forceTraversable($prefix) as $skip) {
- $this->option('skip-doc-prefix', $skip);
- }
- return $this;
- }
-
- /**
- * @param array|string $charset one or more charsets
- *
- * @return $this
- */
- public function charset($charset)
- {
- $this->option('charset', self::asList($charset));
- return $this;
- }
-
- /**
- * @param string $name
- *
- * @return $this
- */
- public function mainProjectNamePrefix($name)
- {
- $this->option('main', $name);
- return $this;
- }
-
- /**
- * @param string $title
- *
- * @return $this
- */
- public function title($title)
- {
- $this->option('title', $title);
- return $this;
- }
-
- /**
- * @param string $baseUrl
- *
- * @return $this
- */
- public function baseUrl($baseUrl)
- {
- $this->option('base-url', $baseUrl);
- return $this;
- }
-
- /**
- * @param string $id
- *
- * @return $this
- */
- public function googleCseId($id)
- {
- $this->option('google-cse-id', $id);
- return $this;
- }
-
- /**
- * @param string $trackingCode
- *
- * @return $this
- */
- public function googleAnalytics($trackingCode)
- {
- $this->option('google-analytics', $trackingCode);
- return $this;
- }
-
- /**
- * @param mixed $templateConfig
- *
- * @return $this
- */
- public function templateConfig($templateConfig)
- {
- $this->option('template-config', $templateConfig);
- return $this;
- }
-
- /**
- * @param array|string $tags one or more supported html tags
- *
- * @return $this
- */
- public function allowedHtml($tags)
- {
- $this->option('allowed-html', self::asList($tags));
- return $this;
- }
-
- /**
- * @param string $groups
- *
- * @return $this
- */
- public function groups($groups)
- {
- $this->option('groups', $groups);
- return $this;
- }
-
- /**
- * @param array|string $types or more supported autocomplete types
- *
- * @return $this
- */
- public function autocomplete($types)
- {
- $this->option('autocomplete', self::asList($types));
- return $this;
- }
-
- /**
- * @param array|string $levels one or more access levels
- *
- * @return $this
- */
- public function accessLevels($levels)
- {
- $this->option('access-levels', self::asList($levels));
- return $this;
- }
-
- /**
- * @param boolean|string $internal 'yes' or true if internal, 'no' or false if not
- *
- * @return $this
- */
- public function internal($internal)
- {
- $this->option('internal', self::asTextBool($internal, self::BOOL_NO));
- return $this;
- }
-
- /**
- * @param boolean|string $php 'yes' or true to generate documentation for internal php classes,
- * 'no' or false otherwise
- *
- * @return $this
- */
- public function php($php)
- {
- $this->option('php', self::asTextBool($php, self::BOOL_YES));
- return $this;
- }
-
- /**
- * @param bool|string $tree 'yes' or true to generate a tree view of classes, 'no' or false otherwise
- *
- * @return $this
- */
- public function tree($tree)
- {
- $this->option('tree', self::asTextBool($tree, self::BOOL_YES));
- return $this;
- }
-
- /**
- * @param bool|string $dep 'yes' or true to generate documentation for deprecated classes, 'no' or false otherwise
- *
- * @return $this
- */
- public function deprecated($dep)
- {
- $this->option('deprecated', self::asTextBool($dep, self::BOOL_NO));
- return $this;
- }
-
- /**
- * @param bool|string $todo 'yes' or true to document tasks, 'no' or false otherwise
- *
- * @return $this
- */
- public function todo($todo)
- {
- $this->option('todo', self::asTextBool($todo, self::BOOL_NO));
- return $this;
- }
-
- /**
- * @param bool|string $src 'yes' or true to generate highlighted source code, 'no' or false otherwise
- *
- * @return $this
- */
- public function sourceCode($src)
- {
- $this->option('source-code', self::asTextBool($src, self::BOOL_YES));
- return $this;
- }
-
- /**
- * @param bool|string $zipped 'yes' or true to generate downloadable documentation, 'no' or false otherwise
- *
- * @return $this
- */
- public function download($zipped)
- {
- $this->option('download', self::asTextBool($zipped, self::BOOL_NO));
- return $this;
- }
-
- public function report($path)
- {
- $this->option('report', $path);
- return $this;
- }
-
- /**
- * @param bool|string $wipeout 'yes' or true to clear out the destination directory, 'no' or false otherwise
- *
- * @return $this
- */
- public function wipeout($wipeout)
- {
- $this->option('wipeout', self::asTextBool($wipeout, self::BOOL_YES));
- return $this;
- }
-
- /**
- * @param bool|string $quiet 'yes' or true for quiet, 'no' or false otherwise
- *
- * @return $this
- */
- public function quiet($quiet)
- {
- $this->option('quiet', self::asTextBool($quiet, self::BOOL_NO));
- return $this;
- }
-
- /**
- * @param bool|string $bar 'yes' or true to display a progress bar, 'no' or false otherwise
- *
- * @return $this
- */
- public function progressbar($bar)
- {
- $this->option('progressbar', self::asTextBool($bar, self::BOOL_YES));
- return $this;
- }
-
- /**
- * @param bool|string $colors 'yes' or true colorize the output, 'no' or false otherwise
- *
- * @return $this
- */
- public function colors($colors)
- {
- $this->option('colors', self::asTextBool($colors, self::BOOL_YES));
- return $this;
- }
-
- /**
- * @param bool|string $check 'yes' or true to check for updates, 'no' or false otherwise
- *
- * @return $this
- */
- public function updateCheck($check)
- {
- $this->option('update-check', self::asTextBool($check, self::BOOL_YES));
- return $this;
- }
-
- /**
- * @param bool|string $debug 'yes' or true to enable debug mode, 'no' or false otherwise
- *
- * @return $this
- */
- public function debug($debug)
- {
- $this->option('debug', self::asTextBool($debug, self::BOOL_NO));
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return "$this->command $this->operation$this->arguments";
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Running ApiGen {args}', ['args' => $this->arguments]);
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/ApiGen/loadTasks.php b/vendor/consolidation/robo/src/Task/ApiGen/loadTasks.php
deleted file mode 100644
index e8cd372af..000000000
--- a/vendor/consolidation/robo/src/Task/ApiGen/loadTasks.php
+++ /dev/null
@@ -1,15 +0,0 @@
-task(ApiGen::class, $pathToApiGen);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Archive/Extract.php b/vendor/consolidation/robo/src/Task/Archive/Extract.php
deleted file mode 100644
index a00a0baf8..000000000
--- a/vendor/consolidation/robo/src/Task/Archive/Extract.php
+++ /dev/null
@@ -1,279 +0,0 @@
-taskExtract($archivePath)
- * ->to($destination)
- * ->preserveTopDirectory(false) // the default
- * ->run();
- * ?>
- * ```
- */
-class Extract extends BaseTask implements BuilderAwareInterface
-{
- use BuilderAwareTrait;
-
- /**
- * @var string
- */
- protected $filename;
-
- /**
- * @var string
- */
- protected $to;
-
- /**
- * @var bool
- */
- private $preserveTopDirectory = false;
-
- /**
- * @param string $filename
- */
- public function __construct($filename)
- {
- $this->filename = $filename;
- }
-
- /**
- * Location to store extracted files.
- *
- * @param string $to
- *
- * @return $this
- */
- public function to($to)
- {
- $this->to = $to;
- return $this;
- }
-
- /**
- * @param bool $preserve
- *
- * @return $this
- */
- public function preserveTopDirectory($preserve = true)
- {
- $this->preserveTopDirectory = $preserve;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (!file_exists($this->filename)) {
- $this->printTaskError("File {filename} does not exist", ['filename' => $this->filename]);
-
- return false;
- }
- if (!($mimetype = static::archiveType($this->filename))) {
- $this->printTaskError("Could not determine type of archive for {filename}", ['filename' => $this->filename]);
-
- return false;
- }
-
- // We will first extract to $extractLocation and then move to $this->to
- $extractLocation = static::getTmpDir();
- @mkdir($extractLocation);
- @mkdir(dirname($this->to));
-
- $this->startTimer();
-
- $this->printTaskInfo("Extracting {filename}", ['filename' => $this->filename]);
-
- $result = $this->extractAppropriateType($mimetype, $extractLocation);
- if ($result->wasSuccessful()) {
- $this->printTaskInfo("{filename} extracted", ['filename' => $this->filename]);
- // Now, we want to move the extracted files to $this->to. There
- // are two possibilities that we must consider:
- //
- // (1) Archived files were encapsulated in a folder with an arbitrary name
- // (2) There was no encapsulating folder, and all the files in the archive
- // were extracted into $extractLocation
- //
- // In the case of (1), we want to move and rename the encapsulating folder
- // to $this->to.
- //
- // In the case of (2), we will just move and rename $extractLocation.
- $filesInExtractLocation = glob("$extractLocation/*");
- $hasEncapsulatingFolder = ((count($filesInExtractLocation) == 1) && is_dir($filesInExtractLocation[0]));
- if ($hasEncapsulatingFolder && !$this->preserveTopDirectory) {
- $result = (new FilesystemStack())
- ->inflect($this)
- ->rename($filesInExtractLocation[0], $this->to)
- ->run();
- (new DeleteDir($extractLocation))
- ->inflect($this)
- ->run();
- } else {
- $result = (new FilesystemStack())
- ->inflect($this)
- ->rename($extractLocation, $this->to)
- ->run();
- }
- }
- $this->stopTimer();
- $result['time'] = $this->getExecutionTime();
-
- return $result;
- }
-
- /**
- * @param string $mimetype
- * @param string $extractLocation
- *
- * @return \Robo\Result
- */
- protected function extractAppropriateType($mimetype, $extractLocation)
- {
- // Perform the extraction of a zip file.
- if (($mimetype == 'application/zip') || ($mimetype == 'application/x-zip')) {
- return $this->extractZip($extractLocation);
- }
- return $this->extractTar($extractLocation);
- }
-
- /**
- * @param string $extractLocation
- *
- * @return \Robo\Result
- */
- protected function extractZip($extractLocation)
- {
- if (!extension_loaded('zlib')) {
- return Result::errorMissingExtension($this, 'zlib', 'zip extracting');
- }
-
- $zip = new \ZipArchive();
- if (($status = $zip->open($this->filename)) !== true) {
- return Result::error($this, "Could not open zip archive {$this->filename}");
- }
- if (!$zip->extractTo($extractLocation)) {
- return Result::error($this, "Could not extract zip archive {$this->filename}");
- }
- $zip->close();
-
- return Result::success($this);
- }
-
- /**
- * @param string $extractLocation
- *
- * @return \Robo\Result
- */
- protected function extractTar($extractLocation)
- {
- if (!class_exists('Archive_Tar')) {
- return Result::errorMissingPackage($this, 'Archive_Tar', 'pear/archive_tar');
- }
- $tar_object = new \Archive_Tar($this->filename);
- if (!$tar_object->extract($extractLocation)) {
- return Result::error($this, "Could not extract tar archive {$this->filename}");
- }
-
- return Result::success($this);
- }
-
- /**
- * @param string $filename
- *
- * @return bool|string
- */
- protected static function archiveType($filename)
- {
- $content_type = false;
- if (class_exists('finfo')) {
- $finfo = new \finfo(FILEINFO_MIME_TYPE);
- $content_type = $finfo->file($filename);
- // If finfo cannot determine the content type, then we will try other methods
- if ($content_type == 'application/octet-stream') {
- $content_type = false;
- }
- }
- // Examing the file's magic header bytes.
- if (!$content_type) {
- if ($file = fopen($filename, 'rb')) {
- $first = fread($file, 2);
- fclose($file);
- if ($first !== false) {
- // Interpret the two bytes as a little endian 16-bit unsigned int.
- $data = unpack('v', $first);
- switch ($data[1]) {
- case 0x8b1f:
- // First two bytes of gzip files are 0x1f, 0x8b (little-endian).
- // See http://www.gzip.org/zlib/rfc-gzip.html#header-trailer
- $content_type = 'application/x-gzip';
- break;
-
- case 0x4b50:
- // First two bytes of zip files are 0x50, 0x4b ('PK') (little-endian).
- // See http://en.wikipedia.org/wiki/Zip_(file_format)#File_headers
- $content_type = 'application/zip';
- break;
-
- case 0x5a42:
- // First two bytes of bzip2 files are 0x5a, 0x42 ('BZ') (big-endian).
- // See http://en.wikipedia.org/wiki/Bzip2#File_format
- $content_type = 'application/x-bzip2';
- break;
- }
- }
- }
- }
- // 3. Lastly if above methods didn't work, try to guess the mime type from
- // the file extension. This is useful if the file has no identificable magic
- // header bytes (for example tarballs).
- if (!$content_type) {
- // Remove querystring from the filename, if present.
- $filename = basename(current(explode('?', $filename, 2)));
- $extension_mimetype = array(
- '.tar.gz' => 'application/x-gzip',
- '.tgz' => 'application/x-gzip',
- '.tar' => 'application/x-tar',
- );
- foreach ($extension_mimetype as $extension => $ct) {
- if (substr($filename, -strlen($extension)) === $extension) {
- $content_type = $ct;
- break;
- }
- }
- }
-
- return $content_type;
- }
-
- /**
- * @return string
- */
- protected static function getTmpDir()
- {
- return getcwd().'/tmp'.rand().time();
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Archive/Pack.php b/vendor/consolidation/robo/src/Task/Archive/Pack.php
deleted file mode 100644
index 0970f8e88..000000000
--- a/vendor/consolidation/robo/src/Task/Archive/Pack.php
+++ /dev/null
@@ -1,257 +0,0 @@
-taskPack(
- * )
- * ->add('README') // Puts file 'README' in archive at the root
- * ->add('project') // Puts entire contents of directory 'project' in archinve inside 'project'
- * ->addFile('dir/file.txt', 'file.txt') // Takes 'file.txt' from cwd and puts it in archive inside 'dir'.
- * ->run();
- * ?>
- * ```
- */
-class Pack extends BaseTask implements PrintedInterface
-{
- /**
- * The list of items to be packed into the archive.
- *
- * @var array
- */
- private $items = [];
-
- /**
- * The full path to the archive to be created.
- *
- * @var string
- */
- private $archiveFile;
-
- /**
- * Construct the class.
- *
- * @param string $archiveFile The full path and name of the archive file to create.
- *
- * @since 1.0
- */
- public function __construct($archiveFile)
- {
- $this->archiveFile = $archiveFile;
- }
-
- /**
- * Satisfy the parent requirement.
- *
- * @return bool Always returns true.
- *
- * @since 1.0
- */
- public function getPrinted()
- {
- return true;
- }
-
- /**
- * @param string $archiveFile
- *
- * @return $this
- */
- public function archiveFile($archiveFile)
- {
- $this->archiveFile = $archiveFile;
- return $this;
- }
-
- /**
- * Add an item to the archive. Like file_exists(), the parameter
- * may be a file or a directory.
- *
- * @var string
- * Relative path and name of item to store in archive
- * @var string
- * Absolute or relative path to file or directory's location in filesystem
- *
- * @return $this
- */
- public function addFile($placementLocation, $filesystemLocation)
- {
- $this->items[$placementLocation] = $filesystemLocation;
-
- return $this;
- }
-
- /**
- * Alias for addFile, in case anyone has angst about using
- * addFile with a directory.
- *
- * @var string
- * Relative path and name of directory to store in archive
- * @var string
- * Absolute or relative path to directory or directory's location in filesystem
- *
- * @return $this
- */
- public function addDir($placementLocation, $filesystemLocation)
- {
- $this->addFile($placementLocation, $filesystemLocation);
-
- return $this;
- }
-
- /**
- * Add a file or directory, or list of same to the archive.
- *
- * @var string|array
- * If given a string, should contain the relative filesystem path to the
- * the item to store in archive; this will also be used as the item's
- * path in the archive, so absolute paths should not be used here.
- * If given an array, the key of each item should be the path to store
- * in the archive, and the value should be the filesystem path to the
- * item to store.
- * @return $this
- */
- public function add($item)
- {
- if (is_array($item)) {
- $this->items = array_merge($this->items, $item);
- } else {
- $this->addFile($item, $item);
- }
-
- return $this;
- }
-
- /**
- * Create a zip archive for distribution.
- *
- * @return \Robo\Result
- *
- * @since 1.0
- */
- public function run()
- {
- $this->startTimer();
-
- // Use the file extension to determine what kind of archive to create.
- $fileInfo = new \SplFileInfo($this->archiveFile);
- $extension = strtolower($fileInfo->getExtension());
- if (empty($extension)) {
- return Result::error($this, "Archive filename must use an extension (e.g. '.zip') to specify the kind of archive to create.");
- }
-
- try {
- // Inform the user which archive we are creating
- $this->printTaskInfo("Creating archive {filename}", ['filename' => $this->archiveFile]);
- if ($extension == 'zip') {
- $result = $this->archiveZip($this->archiveFile, $this->items);
- } else {
- $result = $this->archiveTar($this->archiveFile, $this->items);
- }
- $this->printTaskSuccess("{filename} created.", ['filename' => $this->archiveFile]);
- } catch (\Exception $e) {
- $this->printTaskError("Could not create {filename}. {exception}", ['filename' => $this->archiveFile, 'exception' => $e->getMessage(), '_style' => ['exception' => '']]);
- $result = Result::error($this, sprintf('Could not create %s. %s', $this->archiveFile, $e->getMessage()));
- }
- $this->stopTimer();
- $result['time'] = $this->getExecutionTime();
-
- return $result;
- }
-
- /**
- * @param string $archiveFile
- * @param array $items
- *
- * @return \Robo\Result
- */
- protected function archiveTar($archiveFile, $items)
- {
- if (!class_exists('Archive_Tar')) {
- return Result::errorMissingPackage($this, 'Archive_Tar', 'pear/archive_tar');
- }
-
- $tar_object = new \Archive_Tar($archiveFile);
- foreach ($items as $placementLocation => $filesystemLocation) {
- $p_remove_dir = $filesystemLocation;
- $p_add_dir = $placementLocation;
- if (is_file($filesystemLocation)) {
- $p_remove_dir = dirname($filesystemLocation);
- $p_add_dir = dirname($placementLocation);
- if (basename($filesystemLocation) != basename($placementLocation)) {
- return Result::error($this, "Tar archiver does not support renaming files during extraction; could not add $filesystemLocation as $placementLocation.");
- }
- }
-
- if (!$tar_object->addModify([$filesystemLocation], $p_add_dir, $p_remove_dir)) {
- return Result::error($this, "Could not add $filesystemLocation to the archive.");
- }
- }
-
- return Result::success($this);
- }
-
- /**
- * @param string $archiveFile
- * @param array $items
- *
- * @return \Robo\Result
- */
- protected function archiveZip($archiveFile, $items)
- {
- if (!extension_loaded('zlib')) {
- return Result::errorMissingExtension($this, 'zlib', 'zip packing');
- }
-
- $zip = new \ZipArchive($archiveFile, \ZipArchive::CREATE);
- if (!$zip->open($archiveFile, \ZipArchive::CREATE)) {
- return Result::error($this, "Could not create zip archive {$archiveFile}");
- }
- $result = $this->addItemsToZip($zip, $items);
- $zip->close();
-
- return $result;
- }
-
- /**
- * @param \ZipArchive $zip
- * @param array $items
- *
- * @return \Robo\Result
- */
- protected function addItemsToZip($zip, $items)
- {
- foreach ($items as $placementLocation => $filesystemLocation) {
- if (is_dir($filesystemLocation)) {
- $finder = new Finder();
- $finder->files()->in($filesystemLocation)->ignoreDotFiles(false);
-
- foreach ($finder as $file) {
- // Replace Windows slashes or resulting zip will have issues on *nixes.
- $relativePathname = str_replace('\\', '/', $file->getRelativePathname());
-
- if (!$zip->addFile($file->getRealpath(), "{$placementLocation}/{$relativePathname}")) {
- return Result::error($this, "Could not add directory $filesystemLocation to the archive; error adding {$file->getRealpath()}.");
- }
- }
- } elseif (is_file($filesystemLocation)) {
- if (!$zip->addFile($filesystemLocation, $placementLocation)) {
- return Result::error($this, "Could not add file $filesystemLocation to the archive.");
- }
- } else {
- return Result::error($this, "Could not find $filesystemLocation for the archive.");
- }
- }
-
- return Result::success($this);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Archive/loadTasks.php b/vendor/consolidation/robo/src/Task/Archive/loadTasks.php
deleted file mode 100644
index cf846fdf8..000000000
--- a/vendor/consolidation/robo/src/Task/Archive/loadTasks.php
+++ /dev/null
@@ -1,25 +0,0 @@
-task(Pack::class, $filename);
- }
-
- /**
- * @param $filename
- *
- * @return Extract
- */
- protected function taskExtract($filename)
- {
- return $this->task(Extract::class, $filename);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Assets/CssPreprocessor.php b/vendor/consolidation/robo/src/Task/Assets/CssPreprocessor.php
deleted file mode 100644
index a15d20784..000000000
--- a/vendor/consolidation/robo/src/Task/Assets/CssPreprocessor.php
+++ /dev/null
@@ -1,214 +0,0 @@
-files = $input;
-
- $this->setDefaultCompiler();
- }
-
- protected function setDefaultCompiler()
- {
- if (isset($this->compilers[0])) {
- //set first compiler as default
- $this->compiler = $this->compilers[0];
- }
- }
-
- /**
- * Sets import directories
- * Alias for setImportPaths
- * @see CssPreprocessor::setImportPaths
- *
- * @param array|string $dirs
- *
- * @return $this
- */
- public function importDir($dirs)
- {
- return $this->setImportPaths($dirs);
- }
-
- /**
- * Adds import directory
- *
- * @param string $dir
- *
- * @return $this
- */
- public function addImportPath($dir)
- {
- if (!isset($this->compilerOptions['importDirs'])) {
- $this->compilerOptions['importDirs'] = [];
- }
-
- if (!in_array($dir, $this->compilerOptions['importDirs'], true)) {
- $this->compilerOptions['importDirs'][] = $dir;
- }
-
- return $this;
- }
-
- /**
- * Sets import directories
- *
- * @param array|string $dirs
- *
- * @return $this
- */
- public function setImportPaths($dirs)
- {
- if (!is_array($dirs)) {
- $dirs = [$dirs];
- }
-
- $this->compilerOptions['importDirs'] = $dirs;
-
- return $this;
- }
-
- /**
- * @param string $formatterName
- *
- * @return $this
- */
- public function setFormatter($formatterName)
- {
- $this->compilerOptions['formatter'] = $formatterName;
-
- return $this;
- }
-
- /**
- * Sets the compiler.
- *
- * @param string $compiler
- * @param array $options
- *
- * @return $this
- */
- public function compiler($compiler, array $options = [])
- {
- $this->compiler = $compiler;
- $this->compilerOptions = array_merge($this->compilerOptions, $options);
-
- return $this;
- }
-
- /**
- * Compiles file
- *
- * @param $file
- *
- * @return bool|mixed
- */
- protected function compile($file)
- {
- if (is_callable($this->compiler)) {
- return call_user_func($this->compiler, $file, $this->compilerOptions);
- }
-
- if (method_exists($this, $this->compiler)) {
- return $this->{$this->compiler}($file);
- }
-
- return false;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (!in_array($this->compiler, $this->compilers, true)
- && !is_callable($this->compiler)
- ) {
- $message = sprintf('Invalid ' . static::FORMAT_NAME . ' compiler %s!', $this->compiler);
-
- return Result::error($this, $message);
- }
-
- foreach ($this->files as $in => $out) {
- if (!file_exists($in)) {
- $message = sprintf('File %s not found.', $in);
-
- return Result::error($this, $message);
- }
- if (file_exists($out) && !is_writable($out)) {
- return Result::error($this, 'Destination already exists and cannot be overwritten.');
- }
- }
-
- foreach ($this->files as $in => $out) {
- $css = $this->compile($in);
-
- if ($css instanceof Result) {
- return $css;
- } elseif (false === $css) {
- $message = sprintf(
- ucfirst(static::FORMAT_NAME) . ' compilation failed for %s.',
- $in
- );
-
- return Result::error($this, $message);
- }
-
- $dst = $out . '.part';
- $write_result = file_put_contents($dst, $css);
-
- if (false === $write_result) {
- $message = sprintf('File write failed: %s', $out);
-
- @unlink($dst);
- return Result::error($this, $message);
- }
-
- // Cannot be cross-volume: should always succeed
- @rename($dst, $out);
-
- $this->printTaskSuccess('Wrote CSS to {filename}', ['filename' => $out]);
- }
-
- return Result::success($this, 'All ' . static::FORMAT_NAME . ' files compiled.');
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Assets/ImageMinify.php b/vendor/consolidation/robo/src/Task/Assets/ImageMinify.php
deleted file mode 100644
index 1aa625932..000000000
--- a/vendor/consolidation/robo/src/Task/Assets/ImageMinify.php
+++ /dev/null
@@ -1,716 +0,0 @@
-taskImageMinify('assets/images/*')
- * ->to('dist/images/')
- * ->run();
- * ```
- *
- * This will use the following minifiers:
- *
- * - PNG: optipng
- * - GIF: gifsicle
- * - JPG, JPEG: jpegtran
- * - SVG: svgo
- *
- * When the minifier is specified the task will use that for all the input files. In that case
- * it is useful to filter the files with the extension:
- *
- * ```php
- * $this->taskImageMinify('assets/images/*.png')
- * ->to('dist/images/')
- * ->minifier('pngcrush');
- * ->run();
- * ```
- *
- * The task supports the following minifiers:
- *
- * - optipng
- * - pngquant
- * - advpng
- * - pngout
- * - zopflipng
- * - pngcrush
- * - gifsicle
- * - jpegoptim
- * - jpeg-recompress
- * - jpegtran
- * - svgo (only minification, no downloading)
- *
- * You can also specifiy extra options for the minifiers:
- *
- * ```php
- * $this->taskImageMinify('assets/images/*.jpg')
- * ->to('dist/images/')
- * ->minifier('jpegtran', ['-progressive' => null, '-copy' => 'none'])
- * ->run();
- * ```
- *
- * This will execute as:
- * `jpegtran -copy none -progressive -optimize -outfile "dist/images/test.jpg" "/var/www/test/assets/images/test.jpg"`
- */
-class ImageMinify extends BaseTask
-{
- /**
- * Destination directory for the minified images.
- *
- * @var string
- */
- protected $to;
-
- /**
- * Array of the source files.
- *
- * @var array
- */
- protected $dirs = [];
-
- /**
- * Symfony 2 filesystem.
- *
- * @var sfFilesystem
- */
- protected $fs;
-
- /**
- * Target directory for the downloaded binary executables.
- *
- * @var string
- */
- protected $executableTargetDir;
-
- /**
- * Array for the downloaded binary executables.
- *
- * @var array
- */
- protected $executablePaths = [];
-
- /**
- * Array for the individual results of all the files.
- *
- * @var array
- */
- protected $results = [];
-
- /**
- * Default minifier to use.
- *
- * @var string
- */
- protected $minifier;
-
- /**
- * Array for minifier options.
- *
- * @var array
- */
- protected $minifierOptions = [];
-
- /**
- * Supported minifiers.
- *
- * @var array
- */
- protected $minifiers = [
- // Default 4
- 'optipng',
- 'gifsicle',
- 'jpegtran',
- 'svgo',
- // PNG
- 'pngquant',
- 'advpng',
- 'pngout',
- 'zopflipng',
- 'pngcrush',
- // JPG
- 'jpegoptim',
- 'jpeg-recompress',
- ];
-
- /**
- * Binary repositories of Imagemin.
- *
- * @link https://github.com/imagemin
- *
- * @var array
- */
- protected $imageminRepos = [
- // PNG
- 'optipng' => 'https://github.com/imagemin/optipng-bin',
- 'pngquant' => 'https://github.com/imagemin/pngquant-bin',
- 'advpng' => 'https://github.com/imagemin/advpng-bin',
- 'pngout' => 'https://github.com/imagemin/pngout-bin',
- 'zopflipng' => 'https://github.com/imagemin/zopflipng-bin',
- 'pngcrush' => 'https://github.com/imagemin/pngcrush-bin',
- // Gif
- 'gifsicle' => 'https://github.com/imagemin/gifsicle-bin',
- // JPG
- 'jpegtran' => 'https://github.com/imagemin/jpegtran-bin',
- 'jpegoptim' => 'https://github.com/imagemin/jpegoptim-bin',
- 'cjpeg' => 'https://github.com/imagemin/mozjpeg-bin', // note: we do not support this minifier because it creates JPG from non-JPG files
- 'jpeg-recompress' => 'https://github.com/imagemin/jpeg-recompress-bin',
- // WebP
- 'cwebp' => 'https://github.com/imagemin/cwebp-bin', // note: we do not support this minifier because it creates WebP from non-WebP files
- ];
-
- public function __construct($dirs)
- {
- is_array($dirs)
- ? $this->dirs = $dirs
- : $this->dirs[] = $dirs;
-
- $this->fs = new sfFilesystem();
-
- // guess the best path for the executables based on __DIR__
- if (($pos = strpos(__DIR__, 'consolidation/robo')) !== false) {
- // the executables should be stored in vendor/bin
- $this->executableTargetDir = substr(__DIR__, 0, $pos).'bin';
- }
-
- // check if the executables are already available
- foreach ($this->imageminRepos as $exec => $url) {
- $path = $this->executableTargetDir.'/'.$exec;
- // if this is Windows add a .exe extension
- if (substr($this->getOS(), 0, 3) == 'win') {
- $path .= '.exe';
- }
- if (is_file($path)) {
- $this->executablePaths[$exec] = $path;
- }
- }
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- // find the files
- $files = $this->findFiles($this->dirs);
-
- // minify the files
- $result = $this->minify($files);
- // check if there was an error
- if ($result instanceof Result) {
- return $result;
- }
-
- $amount = (count($files) == 1 ? 'image' : 'images');
- $message = "Minified {filecount} out of {filetotal} $amount into {destination}";
- $context = ['filecount' => count($this->results['success']), 'filetotal' => count($files), 'destination' => $this->to];
-
- if (count($this->results['success']) == count($files)) {
- $this->printTaskSuccess($message, $context);
-
- return Result::success($this, $message, $context);
- } else {
- return Result::error($this, $message, $context);
- }
- }
-
- /**
- * Sets the target directory where the files will be copied to.
- *
- * @param string $target
- *
- * @return $this
- */
- public function to($target)
- {
- $this->to = rtrim($target, '/');
-
- return $this;
- }
-
- /**
- * Sets the minifier.
- *
- * @param string $minifier
- * @param array $options
- *
- * @return $this
- */
- public function minifier($minifier, array $options = [])
- {
- $this->minifier = $minifier;
- $this->minifierOptions = array_merge($this->minifierOptions, $options);
-
- return $this;
- }
-
- /**
- * @param array $dirs
- *
- * @return array|\Robo\Result
- *
- * @throws \Robo\Exception\TaskException
- */
- protected function findFiles($dirs)
- {
- $files = array();
-
- // find the files
- foreach ($dirs as $k => $v) {
- // reset finder
- $finder = new Finder();
-
- $dir = $k;
- $to = $v;
- // check if target was given with the to() method instead of key/value pairs
- if (is_int($k)) {
- $dir = $v;
- if (isset($this->to)) {
- $to = $this->to;
- } else {
- throw new TaskException($this, 'target directory is not defined');
- }
- }
-
- try {
- $finder->files()->in($dir);
- } catch (\InvalidArgumentException $e) {
- // if finder cannot handle it, try with in()->name()
- if (strpos($dir, '/') === false) {
- $dir = './'.$dir;
- }
- $parts = explode('/', $dir);
- $new_dir = implode('/', array_slice($parts, 0, -1));
- try {
- $finder->files()->in($new_dir)->name(array_pop($parts));
- } catch (\InvalidArgumentException $e) {
- return Result::fromException($this, $e);
- }
- }
-
- foreach ($finder as $file) {
- // store the absolute path as key and target as value in the files array
- $files[$file->getRealpath()] = $this->getTarget($file->getRealPath(), $to);
- }
- $fileNoun = count($finder) == 1 ? ' file' : ' files';
- $this->printTaskInfo("Found {filecount} $fileNoun in {dir}", ['filecount' => count($finder), 'dir' => $dir]);
- }
-
- return $files;
- }
-
- /**
- * @param string $file
- * @param string $to
- *
- * @return string
- */
- protected function getTarget($file, $to)
- {
- $target = $to.'/'.basename($file);
-
- return $target;
- }
-
- /**
- * @param array $files
- *
- * @return \Robo\Result
- */
- protected function minify($files)
- {
- // store the individual results into the results array
- $this->results = [
- 'success' => [],
- 'error' => [],
- ];
-
- // loop through the files
- foreach ($files as $from => $to) {
- if (!isset($this->minifier)) {
- // check filetype based on the extension
- $extension = strtolower(pathinfo($from, PATHINFO_EXTENSION));
-
- // set the default minifiers based on the extension
- switch ($extension) {
- case 'png':
- $minifier = 'optipng';
- break;
- case 'jpg':
- case 'jpeg':
- $minifier = 'jpegtran';
- break;
- case 'gif':
- $minifier = 'gifsicle';
- break;
- case 'svg':
- $minifier = 'svgo';
- break;
- }
- } else {
- if (!in_array($this->minifier, $this->minifiers, true)
- && !is_callable(strtr($this->minifier, '-', '_'))
- ) {
- $message = sprintf('Invalid minifier %s!', $this->minifier);
-
- return Result::error($this, $message);
- }
- $minifier = $this->minifier;
- }
-
- // Convert minifier name to camelCase (e.g. jpeg-recompress)
- $funcMinifier = $this->camelCase($minifier);
-
- // call the minifier method which prepares the command
- if (is_callable($funcMinifier)) {
- $command = call_user_func($funcMinifier, $from, $to, $this->minifierOptions);
- } elseif (method_exists($this, $funcMinifier)) {
- $command = $this->{$funcMinifier}($from, $to);
- } else {
- $message = sprintf('Minifier method %s cannot be found!', $funcMinifier);
-
- return Result::error($this, $message);
- }
-
- // launch the command
- $this->printTaskInfo('Minifying {filepath} with {minifier}', ['filepath' => $from, 'minifier' => $minifier]);
- $result = $this->executeCommand($command);
-
- // check the return code
- if ($result->getExitCode() == 127) {
- $this->printTaskError('The {minifier} executable cannot be found', ['minifier' => $minifier]);
- // try to install from imagemin repository
- if (array_key_exists($minifier, $this->imageminRepos)) {
- $result = $this->installFromImagemin($minifier);
- if ($result instanceof Result) {
- if ($result->wasSuccessful()) {
- $this->printTaskSuccess($result->getMessage());
- // retry the conversion with the downloaded executable
- if (is_callable($minifier)) {
- $command = call_user_func($minifier, $from, $to, $minifierOptions);
- } elseif (method_exists($this, $minifier)) {
- $command = $this->{$minifier}($from, $to);
- }
- // launch the command
- $this->printTaskInfo('Minifying {filepath} with {minifier}', ['filepath' => $from, 'minifier' => $minifier]);
- $result = $this->executeCommand($command);
- } else {
- $this->printTaskError($result->getMessage());
- // the download was not successful
- return $result;
- }
- }
- } else {
- return $result;
- }
- }
-
- // check the success of the conversion
- if ($result->getExitCode() !== 0) {
- $this->results['error'][] = $from;
- } else {
- $this->results['success'][] = $from;
- }
- }
- }
-
- /**
- * @return string
- */
- protected function getOS()
- {
- $os = php_uname('s');
- $os .= '/'.php_uname('m');
- // replace x86_64 to x64, because the imagemin repo uses that
- $os = str_replace('x86_64', 'x64', $os);
- // replace i386, i686, etc to x86, because of imagemin
- $os = preg_replace('/i[0-9]86/', 'x86', $os);
- // turn info to lowercase, because of imagemin
- $os = strtolower($os);
-
- return $os;
- }
-
- /**
- * @param string $command
- *
- * @return \Robo\Result
- */
- protected function executeCommand($command)
- {
- // insert the options into the command
- $a = explode(' ', $command);
- $executable = array_shift($a);
- foreach ($this->minifierOptions as $key => $value) {
- // first prepend the value
- if (!empty($value)) {
- array_unshift($a, $value);
- }
- // then add the key
- if (!is_numeric($key)) {
- array_unshift($a, $key);
- }
- }
- // check if the executable can be replaced with the downloaded one
- if (array_key_exists($executable, $this->executablePaths)) {
- $executable = $this->executablePaths[$executable];
- }
- array_unshift($a, $executable);
- $command = implode(' ', $a);
-
- // execute the command
- $exec = new Exec($command);
-
- return $exec->inflect($this)->printed(false)->run();
- }
-
- /**
- * @param string $executable
- *
- * @return \Robo\Result
- */
- protected function installFromImagemin($executable)
- {
- // check if there is an url defined for the executable
- if (!array_key_exists($executable, $this->imageminRepos)) {
- $message = sprintf('The executable %s cannot be found in the defined imagemin repositories', $executable);
-
- return Result::error($this, $message);
- }
- $this->printTaskInfo('Downloading the {executable} executable from the imagemin repository', ['executable' => $executable]);
-
- $os = $this->getOS();
- $url = $this->imageminRepos[$executable].'/blob/master/vendor/'.$os.'/'.$executable.'?raw=true';
- if (substr($os, 0, 3) == 'win') {
- // if it is win, add a .exe extension
- $url = $this->imageminRepos[$executable].'/blob/master/vendor/'.$os.'/'.$executable.'.exe?raw=true';
- }
- $data = @file_get_contents($url, false, null);
- if ($data === false) {
- // there is something wrong with the url, try it without the version info
- $url = preg_replace('/x[68][64]\//', '', $url);
- $data = @file_get_contents($url, false, null);
- if ($data === false) {
- // there is still something wrong with the url if it is win, try with win32
- if (substr($os, 0, 3) == 'win') {
- $url = preg_replace('win/', 'win32/', $url);
- $data = @file_get_contents($url, false, null);
- if ($data === false) {
- // there is nothing more we can do
- $message = sprintf('Could not download the executable %s ', $executable);
-
- return Result::error($this, $message);
- }
- }
- // if it is not windows there is nothing we can do
- $message = sprintf('Could not download the executable %s ', $executable);
-
- return Result::error($this, $message);
- }
- }
- // check if target directory exists
- if (!is_dir($this->executableTargetDir)) {
- mkdir($this->executableTargetDir);
- }
- // save the executable into the target dir
- $path = $this->executableTargetDir.'/'.$executable;
- if (substr($os, 0, 3) == 'win') {
- // if it is win, add a .exe extension
- $path = $this->executableTargetDir.'/'.$executable.'.exe';
- }
- $result = file_put_contents($path, $data);
- if ($result === false) {
- $message = sprintf('Could not copy the executable %s to %s', $executable, $target_dir);
-
- return Result::error($this, $message);
- }
- // set the binary to executable
- chmod($path, 0755);
-
- // if everything successful, store the executable path
- $this->executablePaths[$executable] = $this->executableTargetDir.'/'.$executable;
- // if it is win, add a .exe extension
- if (substr($os, 0, 3) == 'win') {
- $this->executablePaths[$executable] .= '.exe';
- }
-
- $message = sprintf('Executable %s successfully downloaded', $executable);
-
- return Result::success($this, $message);
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function optipng($from, $to)
- {
- $command = sprintf('optipng -quiet -out "%s" -- "%s"', $to, $from);
- if ($from != $to && is_file($to)) {
- // earlier versions of optipng do not overwrite the target without a backup
- // http://sourceforge.net/p/optipng/bugs/37/
- unlink($to);
- }
-
- return $command;
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function jpegtran($from, $to)
- {
- $command = sprintf('jpegtran -optimize -outfile "%s" "%s"', $to, $from);
-
- return $command;
- }
-
- protected function gifsicle($from, $to)
- {
- $command = sprintf('gifsicle -o "%s" "%s"', $to, $from);
-
- return $command;
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function svgo($from, $to)
- {
- $command = sprintf('svgo "%s" "%s"', $from, $to);
-
- return $command;
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function pngquant($from, $to)
- {
- $command = sprintf('pngquant --force --output "%s" "%s"', $to, $from);
-
- return $command;
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function advpng($from, $to)
- {
- // advpng does not have any output parameters, copy the file and then compress the copy
- $command = sprintf('advpng --recompress --quiet "%s"', $to);
- $this->fs->copy($from, $to, true);
-
- return $command;
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function pngout($from, $to)
- {
- $command = sprintf('pngout -y -q "%s" "%s"', $from, $to);
-
- return $command;
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function zopflipng($from, $to)
- {
- $command = sprintf('zopflipng -y "%s" "%s"', $from, $to);
-
- return $command;
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function pngcrush($from, $to)
- {
- $command = sprintf('pngcrush -q -ow "%s" "%s"', $from, $to);
-
- return $command;
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function jpegoptim($from, $to)
- {
- // jpegoptim only takes the destination directory as an argument
- $command = sprintf('jpegoptim --quiet -o --dest "%s" "%s"', dirname($to), $from);
-
- return $command;
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return string
- */
- protected function jpegRecompress($from, $to)
- {
- $command = sprintf('jpeg-recompress --quiet "%s" "%s"', $from, $to);
-
- return $command;
- }
-
- /**
- * @param string $text
- *
- * @return string
- */
- public static function camelCase($text)
- {
- // non-alpha and non-numeric characters become spaces
- $text = preg_replace('/[^a-z0-9]+/i', ' ', $text);
- $text = trim($text);
- // uppercase the first character of each word
- $text = ucwords($text);
- $text = str_replace(" ", "", $text);
- $text = lcfirst($text);
-
- return $text;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Assets/Less.php b/vendor/consolidation/robo/src/Task/Assets/Less.php
deleted file mode 100644
index 4cfa09780..000000000
--- a/vendor/consolidation/robo/src/Task/Assets/Less.php
+++ /dev/null
@@ -1,108 +0,0 @@
-taskLess([
- * 'less/default.less' => 'css/default.css'
- * ])
- * ->run();
- * ?>
- * ```
- *
- * Use one of both less compilers in your project:
- *
- * ```
- * "leafo/lessphp": "~0.5",
- * "oyejorge/less.php": "~1.5"
- * ```
- *
- * Specify directory (string or array) for less imports lookup:
- *
- * ```php
- * taskLess([
- * 'less/default.less' => 'css/default.css'
- * ])
- * ->importDir('less')
- * ->compiler('lessphp')
- * ->run();
- * ?>
- * ```
- *
- * You can implement additional compilers by extending this task and adding a
- * method named after them and overloading the lessCompilers() method to
- * inject the name there.
- */
-class Less extends CssPreprocessor
-{
- const FORMAT_NAME = 'less';
-
- /**
- * @var string[]
- */
- protected $compilers = [
- 'less', // https://github.com/oyejorge/less.php
- 'lessphp', //https://github.com/leafo/lessphp
- ];
-
- /**
- * lessphp compiler
- * @link https://github.com/leafo/lessphp
- *
- * @param string $file
- *
- * @return string
- */
- protected function lessphp($file)
- {
- if (!class_exists('\lessc')) {
- return Result::errorMissingPackage($this, 'lessc', 'leafo/lessphp');
- }
-
- $lessCode = file_get_contents($file);
-
- $less = new \lessc();
- if (isset($this->compilerOptions['importDirs'])) {
- $less->setImportDir($this->compilerOptions['importDirs']);
- }
-
- return $less->compile($lessCode);
- }
-
- /**
- * less compiler
- * @link https://github.com/oyejorge/less.php
- *
- * @param string $file
- *
- * @return string
- */
- protected function less($file)
- {
- if (!class_exists('\Less_Parser')) {
- return Result::errorMissingPackage($this, 'Less_Parser', 'oyejorge/less.php');
- }
-
- $lessCode = file_get_contents($file);
-
- $parser = new \Less_Parser();
- $parser->SetOptions($this->compilerOptions);
- if (isset($this->compilerOptions['importDirs'])) {
- $importDirs = [];
- foreach ($this->compilerOptions['importDirs'] as $dir) {
- $importDirs[$dir] = $dir;
- }
- $parser->SetImportDirs($importDirs);
- }
-
- $parser->parse($lessCode);
-
- return $parser->getCss();
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Assets/Minify.php b/vendor/consolidation/robo/src/Task/Assets/Minify.php
deleted file mode 100644
index 3187714ec..000000000
--- a/vendor/consolidation/robo/src/Task/Assets/Minify.php
+++ /dev/null
@@ -1,297 +0,0 @@
-taskMinify( 'web/assets/theme.css' )
- * ->run()
- * ?>
- * ```
- * Please install additional dependencies to use:
- *
- * ```
- * "patchwork/jsqueeze": "~1.0",
- * "natxet/CssMin": "~3.0"
- * ```
- */
-class Minify extends BaseTask
-{
- /**
- * @var array
- */
- protected $types = ['css', 'js'];
-
- /**
- * @var string
- */
- protected $text;
-
- /**
- * @var string
- */
- protected $dst;
-
- /**
- * @var string
- */
- protected $type;
-
- /**
- * @var array
- */
- protected $squeezeOptions = [
- 'singleLine' => true,
- 'keepImportantComments' => true,
- 'specialVarRx' => false,
- ];
-
- /**
- * Constructor. Accepts asset file path or string source.
- *
- * @param string $input
- */
- public function __construct($input)
- {
- if (file_exists($input)) {
- $this->fromFile($input);
- return;
- }
-
- $this->fromText($input);
- }
-
- /**
- * Sets destination. Tries to guess type from it.
- *
- * @param string $dst
- *
- * @return $this
- */
- public function to($dst)
- {
- $this->dst = $dst;
-
- if (!empty($this->dst) && empty($this->type)) {
- $this->type($this->getExtension($this->dst));
- }
-
- return $this;
- }
-
- /**
- * Sets type with validation.
- *
- * @param string $type css|js
- *
- * @return $this
- */
- public function type($type)
- {
- $type = strtolower($type);
-
- if (in_array($type, $this->types)) {
- $this->type = $type;
- }
-
- return $this;
- }
-
- /**
- * Sets text from string source.
- *
- * @param string $text
- *
- * @return $this
- */
- protected function fromText($text)
- {
- $this->text = (string)$text;
- unset($this->type);
-
- return $this;
- }
-
- /**
- * Sets text from asset file path. Tries to guess type and set default destination.
- *
- * @param string $path
- *
- * @return $this
- */
- protected function fromFile($path)
- {
- $this->text = file_get_contents($path);
-
- unset($this->type);
- $this->type($this->getExtension($path));
-
- if (empty($this->dst) && !empty($this->type)) {
- $ext_length = strlen($this->type) + 1;
- $this->dst = substr($path, 0, -$ext_length) . '.min.' . $this->type;
- }
-
- return $this;
- }
-
- /**
- * Gets file extension from path.
- *
- * @param string $path
- *
- * @return string
- */
- protected function getExtension($path)
- {
- return pathinfo($path, PATHINFO_EXTENSION);
- }
-
- /**
- * Minifies and returns text.
- *
- * @return string|bool
- */
- protected function getMinifiedText()
- {
- switch ($this->type) {
- case 'css':
- if (!class_exists('\CssMin')) {
- return Result::errorMissingPackage($this, 'CssMin', 'natxet/CssMin');
- }
-
- return \CssMin::minify($this->text);
- break;
-
- case 'js':
- if (!class_exists('\JSqueeze') && !class_exists('\Patchwork\JSqueeze')) {
- return Result::errorMissingPackage($this, 'Patchwork\JSqueeze', 'patchwork/jsqueeze');
- }
-
- if (class_exists('\JSqueeze')) {
- $jsqueeze = new \JSqueeze();
- } else {
- $jsqueeze = new \Patchwork\JSqueeze();
- }
-
- return $jsqueeze->squeeze(
- $this->text,
- $this->squeezeOptions['singleLine'],
- $this->squeezeOptions['keepImportantComments'],
- $this->squeezeOptions['specialVarRx']
- );
- break;
- }
-
- return false;
- }
-
- /**
- * Single line option for the JS minimisation.
- *
- * @param bool $singleLine
- *
- * @return $this
- */
- public function singleLine($singleLine)
- {
- $this->squeezeOptions['singleLine'] = (bool)$singleLine;
- return $this;
- }
-
- /**
- * keepImportantComments option for the JS minimisation.
- *
- * @param bool $keepImportantComments
- *
- * @return $this
- */
- public function keepImportantComments($keepImportantComments)
- {
- $this->squeezeOptions['keepImportantComments'] = (bool)$keepImportantComments;
- return $this;
- }
-
- /**
- * specialVarRx option for the JS minimisation.
- *
- * @param bool $specialVarRx
- *
- * @return $this ;
- */
- public function specialVarRx($specialVarRx)
- {
- $this->squeezeOptions['specialVarRx'] = (bool)$specialVarRx;
- return $this;
- }
-
- /**
- * @return string
- */
- public function __toString()
- {
- return (string) $this->getMinifiedText();
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (empty($this->type)) {
- return Result::error($this, 'Unknown asset type.');
- }
-
- if (empty($this->dst)) {
- return Result::error($this, 'Unknown file destination.');
- }
-
- if (file_exists($this->dst) && !is_writable($this->dst)) {
- return Result::error($this, 'Destination already exists and cannot be overwritten.');
- }
-
- $size_before = strlen($this->text);
- $minified = $this->getMinifiedText();
-
- if ($minified instanceof Result) {
- return $minified;
- } elseif (false === $minified) {
- return Result::error($this, 'Minification failed.');
- }
-
- $size_after = strlen($minified);
-
- // Minification did not reduce file size, so use original file.
- if ($size_after > $size_before) {
- $minified = $this->text;
- $size_after = $size_before;
- }
-
- $dst = $this->dst . '.part';
- $write_result = file_put_contents($dst, $minified);
-
- if (false === $write_result) {
- @unlink($dst);
- return Result::error($this, 'File write failed.');
- }
- // Cannot be cross-volume; should always succeed.
- @rename($dst, $this->dst);
- if ($size_before === 0) {
- $minified_percent = 0;
- } else {
- $minified_percent = number_format(100 - ($size_after / $size_before * 100), 1);
- }
- $this->printTaskSuccess('Wrote {filepath}', ['filepath' => $this->dst]);
- $context = [
- 'bytes' => $this->formatBytes($size_after),
- 'reduction' => $this->formatBytes(($size_before - $size_after)),
- 'percentage' => $minified_percent,
- ];
- $this->printTaskSuccess('Wrote {bytes} (reduced by {reduction} / {percentage})', $context);
- return Result::success($this, 'Asset minified.');
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Assets/Scss.php b/vendor/consolidation/robo/src/Task/Assets/Scss.php
deleted file mode 100644
index ffd39345a..000000000
--- a/vendor/consolidation/robo/src/Task/Assets/Scss.php
+++ /dev/null
@@ -1,93 +0,0 @@
-taskScss([
- * 'scss/default.scss' => 'css/default.css'
- * ])
- * ->importDir('assets/styles')
- * ->run();
- * ?>
- * ```
- *
- * Use the following scss compiler in your project:
- *
- * ```
- * "leafo/scssphp": "~0.1",
- * ```
- *
- * You can implement additional compilers by extending this task and adding a
- * method named after them and overloading the scssCompilers() method to
- * inject the name there.
- */
-class Scss extends CssPreprocessor
-{
- const FORMAT_NAME = 'scss';
-
- /**
- * @var string[]
- */
- protected $compilers = [
- 'scssphp', // https://github.com/leafo/scssphp
- ];
-
- /**
- * scssphp compiler
- * @link https://github.com/leafo/scssphp
- *
- * @param string $file
- *
- * @return string
- */
- protected function scssphp($file)
- {
- if (!class_exists('\Leafo\ScssPhp\Compiler')) {
- return Result::errorMissingPackage($this, 'scssphp', 'leafo/scssphp');
- }
-
- $scssCode = file_get_contents($file);
- $scss = new \Leafo\ScssPhp\Compiler();
-
- // set options for the scssphp compiler
- if (isset($this->compilerOptions['importDirs'])) {
- $scss->setImportPaths($this->compilerOptions['importDirs']);
- }
-
- if (isset($this->compilerOptions['formatter'])) {
- $scss->setFormatter($this->compilerOptions['formatter']);
- }
-
- return $scss->compile($scssCode);
- }
-
- /**
- * Sets the formatter for scssphp
- *
- * The method setFormatter($formatterName) sets the current formatter to $formatterName,
- * the name of a class as a string that implements the formatting interface. See the source
- * for Leafo\ScssPhp\Formatter\Expanded for an example.
- *
- * Five formatters are included with leafo/scssphp:
- * - Leafo\ScssPhp\Formatter\Expanded
- * - Leafo\ScssPhp\Formatter\Nested (default)
- * - Leafo\ScssPhp\Formatter\Compressed
- * - Leafo\ScssPhp\Formatter\Compact
- * - Leafo\ScssPhp\Formatter\Crunched
- *
- * @link http://leafo.github.io/scssphp/docs/#output-formatting
- *
- * @param string $formatterName
- *
- * @return $this
- */
- public function setFormatter($formatterName)
- {
- return parent::setFormatter($formatterName);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Assets/loadTasks.php b/vendor/consolidation/robo/src/Task/Assets/loadTasks.php
deleted file mode 100644
index 12192dd80..000000000
--- a/vendor/consolidation/robo/src/Task/Assets/loadTasks.php
+++ /dev/null
@@ -1,45 +0,0 @@
-task(Minify::class, $input);
- }
-
- /**
- * @param string|string[] $input
- *
- * @return \Robo\Task\Assets\ImageMinify
- */
- protected function taskImageMinify($input)
- {
- return $this->task(ImageMinify::class, $input);
- }
-
- /**
- * @param array $input
- *
- * @return \Robo\Task\Assets\Less
- */
- protected function taskLess($input)
- {
- return $this->task(Less::class, $input);
- }
-
- /**
- * @param array $input
- *
- * @return \Robo\Task\Assets\Scss
- */
- protected function taskScss($input)
- {
- return $this->task(Scss::class, $input);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Base/Exec.php b/vendor/consolidation/robo/src/Task/Base/Exec.php
deleted file mode 100644
index 057c86a9b..000000000
--- a/vendor/consolidation/robo/src/Task/Base/Exec.php
+++ /dev/null
@@ -1,127 +0,0 @@
-taskExec('compass')->arg('watch')->run();
- * // or use shortcut
- * $this->_exec('compass watch');
- *
- * $this->taskExec('compass watch')->background()->run();
- *
- * if ($this->taskExec('phpunit .')->run()->wasSuccessful()) {
- * $this->say('tests passed');
- * }
- *
- * ?>
- * ```
- */
-class Exec extends BaseTask implements CommandInterface, PrintedInterface, SimulatedInterface
-{
- use \Robo\Common\CommandReceiver;
- use \Robo\Common\ExecOneCommand;
-
- /**
- * @var static[]
- */
- protected static $instances = [];
-
- /**
- * @var string|\Robo\Contract\CommandInterface
- */
- protected $command;
-
- /**
- * @param string|\Robo\Contract\CommandInterface $command
- */
- public function __construct($command)
- {
- $this->command = $this->receiveCommand($command);
- }
-
- /**
- *
- */
- public function __destruct()
- {
- $this->stop();
- }
-
- /**
- * Executes command in background mode (asynchronously)
- *
- * @return $this
- */
- public function background($arg = true)
- {
- self::$instances[] = $this;
- $this->background = $arg;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- protected function getCommandDescription()
- {
- return $this->getCommand();
- }
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return trim($this->command . $this->arguments);
- }
-
- /**
- * {@inheritdoc}
- */
- public function simulate($context)
- {
- $this->printAction($context);
- }
-
- public static function stopRunningJobs()
- {
- foreach (self::$instances as $instance) {
- if ($instance) {
- unset($instance);
- }
- }
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->hideProgressIndicator();
- // TODO: Symfony 4 requires that we supply the working directory.
- $result_data = $this->execute(new Process($this->getCommand(), getcwd()));
- return new Result(
- $this,
- $result_data->getExitCode(),
- $result_data->getMessage(),
- $result_data->getData()
- );
- $this->showProgressIndicator();
- }
-}
-
-if (function_exists('pcntl_signal')) {
- pcntl_signal(SIGTERM, ['Robo\Task\Base\Exec', 'stopRunningJobs']);
-}
-
-register_shutdown_function(['Robo\Task\Base\Exec', 'stopRunningJobs']);
diff --git a/vendor/consolidation/robo/src/Task/Base/ExecStack.php b/vendor/consolidation/robo/src/Task/Base/ExecStack.php
deleted file mode 100644
index 51b39ef1d..000000000
--- a/vendor/consolidation/robo/src/Task/Base/ExecStack.php
+++ /dev/null
@@ -1,23 +0,0 @@
-taskExecStack()
- * ->stopOnFail()
- * ->exec('mkdir site')
- * ->exec('cd site')
- * ->run();
- *
- * ?>
- * ```
- */
-class ExecStack extends CommandStack
-{
-}
diff --git a/vendor/consolidation/robo/src/Task/Base/ParallelExec.php b/vendor/consolidation/robo/src/Task/Base/ParallelExec.php
deleted file mode 100644
index c98b78419..000000000
--- a/vendor/consolidation/robo/src/Task/Base/ParallelExec.php
+++ /dev/null
@@ -1,199 +0,0 @@
-taskParallelExec()
- * ->process('php ~/demos/script.php hey')
- * ->process('php ~/demos/script.php hoy')
- * ->process('php ~/demos/script.php gou')
- * ->run();
- * ?>
- * ```
- */
-class ParallelExec extends BaseTask implements CommandInterface, PrintedInterface
-{
- use \Robo\Common\CommandReceiver;
-
- /**
- * @var Process[]
- */
- protected $processes = [];
-
- /**
- * @var null|int
- */
- protected $timeout = null;
-
- /**
- * @var null|int
- */
- protected $idleTimeout = null;
-
- /**
- * @var null|int
- */
- protected $waitInterval = 0;
-
- /**
- * @var bool
- */
- protected $isPrinted = false;
-
- /**
- * {@inheritdoc}
- */
- public function getPrinted()
- {
- return $this->isPrinted;
- }
-
- /**
- * @param bool $isPrinted
- *
- * @return $this
- */
- public function printed($isPrinted = true)
- {
- $this->isPrinted = $isPrinted;
- return $this;
- }
-
- /**
- * @param string|\Robo\Contract\CommandInterface $command
- *
- * @return $this
- */
- public function process($command)
- {
- // TODO: Symfony 4 requires that we supply the working directory.
- $this->processes[] = new Process($this->receiveCommand($command), getcwd());
- return $this;
- }
-
- /**
- * Stops process if it runs longer then `$timeout` (seconds).
- *
- * @param int $timeout
- *
- * @return $this
- */
- public function timeout($timeout)
- {
- $this->timeout = $timeout;
- return $this;
- }
-
- /**
- * Stops process if it does not output for time longer then `$timeout` (seconds).
- *
- * @param int $idleTimeout
- *
- * @return $this
- */
- public function idleTimeout($idleTimeout)
- {
- $this->idleTimeout = $idleTimeout;
- return $this;
- }
-
- /**
- * Parallel processing will wait `$waitInterval` seconds after launching each process and before
- * the next one.
- *
- * @param int $waitInterval
- *
- * @return $this
- */
- public function waitInterval($waitInterval)
- {
- $this->waitInterval = $waitInterval;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return implode(' && ', $this->processes);
- }
-
- /**
- * @return int
- */
- public function progressIndicatorSteps()
- {
- return count($this->processes);
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->startProgressIndicator();
- $running = [];
- $queue = $this->processes;
- $nextTime = time();
- while (true) {
- if (($nextTime <= time()) && !empty($queue)) {
- $process = array_shift($queue);
- $process->setIdleTimeout($this->idleTimeout);
- $process->setTimeout($this->timeout);
- $process->start();
- $this->printTaskInfo($process->getCommandLine());
- $running[] = $process;
- $nextTime = time() + $this->waitInterval;
- }
- foreach ($running as $k => $process) {
- try {
- $process->checkTimeout();
- } catch (ProcessTimedOutException $e) {
- $this->printTaskWarning("Process timed out for {command}", ['command' => $process->getCommandLine(), '_style' => ['command' => 'fg=white;bg=magenta']]);
- }
- if (!$process->isRunning()) {
- $this->advanceProgressIndicator();
- if ($this->isPrinted) {
- $this->printTaskInfo("Output for {command}:\n\n{output}", ['command' => $process->getCommandLine(), 'output' => $process->getOutput(), '_style' => ['command' => 'fg=white;bg=magenta']]);
- $errorOutput = $process->getErrorOutput();
- if ($errorOutput) {
- $this->printTaskError(rtrim($errorOutput));
- }
- }
- unset($running[$k]);
- }
- }
- if (empty($running) && empty($queue)) {
- break;
- }
- usleep(1000);
- }
- $this->stopProgressIndicator();
-
- $errorMessage = '';
- $exitCode = 0;
- foreach ($this->processes as $p) {
- if ($p->getExitCode() === 0) {
- continue;
- }
- $errorMessage .= "'" . $p->getCommandLine() . "' exited with code ". $p->getExitCode()." \n";
- $exitCode = max($exitCode, $p->getExitCode());
- }
- if (!$errorMessage) {
- $this->printTaskSuccess('{process-count} processes finished running', ['process-count' => count($this->processes)]);
- }
-
- return new Result($this, $exitCode, $errorMessage, ['time' => $this->getExecutionTime()]);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Base/SymfonyCommand.php b/vendor/consolidation/robo/src/Task/Base/SymfonyCommand.php
deleted file mode 100644
index 708ea8451..000000000
--- a/vendor/consolidation/robo/src/Task/Base/SymfonyCommand.php
+++ /dev/null
@@ -1,75 +0,0 @@
-taskSymfonyCommand(new \Codeception\Command\Run('run'))
- * ->arg('suite','acceptance')
- * ->opt('debug')
- * ->run();
- *
- * // Artisan Command
- * $this->taskSymfonyCommand(new ModelGeneratorCommand())
- * ->arg('name', 'User')
- * ->run();
- * ?>
- * ```
- */
-class SymfonyCommand extends BaseTask
-{
- /**
- * @var \Symfony\Component\Console\Command\Command
- */
- protected $command;
-
- /**
- * @var string[]
- */
- protected $input;
-
- public function __construct(Command $command)
- {
- $this->command = $command;
- $this->input = [];
- }
-
- /**
- * @param string $arg
- * @param string $value
- *
- * @return $this
- */
- public function arg($arg, $value)
- {
- $this->input[$arg] = $value;
- return $this;
- }
-
- public function opt($option, $value = null)
- {
- $this->input["--$option"] = $value;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Running command {command}', ['command' => $this->command->getName()]);
- return new Result(
- $this,
- $this->command->run(new ArrayInput($this->input), Robo::output())
- );
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Base/Watch.php b/vendor/consolidation/robo/src/Task/Base/Watch.php
deleted file mode 100644
index 3b2152d96..000000000
--- a/vendor/consolidation/robo/src/Task/Base/Watch.php
+++ /dev/null
@@ -1,106 +0,0 @@
-taskWatch()
- * ->monitor(
- * 'composer.json',
- * function() {
- * $this->taskComposerUpdate()->run();
- * }
- * )->monitor(
- * 'src',
- * function() {
- * $this->taskExec('phpunit')->run();
- * },
- * \Lurker\Event\FilesystemEvent::ALL
- * )->monitor(
- * 'migrations',
- * function() {
- * //do something
- * },
- * [
- * \Lurker\Event\FilesystemEvent::CREATE,
- * \Lurker\Event\FilesystemEvent::DELETE
- * ]
- * )->run();
- * ?>
- * ```
- */
-class Watch extends BaseTask
-{
- /**
- * @var \Closure
- */
- protected $closure;
-
- /**
- * @var array
- */
- protected $monitor = [];
-
- /**
- * @var object
- */
- protected $bindTo;
-
- /**
- * @param $bindTo
- */
- public function __construct($bindTo)
- {
- $this->bindTo = $bindTo;
- }
-
- /**
- * @param string|string[] $paths
- * @param \Closure $callable
- * @param int|int[] $events
- *
- * @return $this
- */
- public function monitor($paths, \Closure $callable, $events = 2)
- {
- $this->monitor[] = [(array)$paths, $callable, (array)$events];
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (!class_exists('Lurker\\ResourceWatcher')) {
- return Result::errorMissingPackage($this, 'ResourceWatcher', 'henrikbjorn/lurker');
- }
-
- $watcher = new ResourceWatcher();
-
- foreach ($this->monitor as $k => $monitor) {
- /** @var \Closure $closure */
- $closure = $monitor[1];
- $closure->bindTo($this->bindTo);
- foreach ($monitor[0] as $i => $dir) {
- foreach ($monitor[2] as $j => $event) {
- $watcher->track("fs.$k.$i.$j", $dir, $event);
- $watcher->addListener("fs.$k.$i.$j", $closure);
- }
- $this->printTaskInfo('Watching {dir} for changes...', ['dir' => $dir]);
- }
- }
-
- $watcher->start();
- return Result::success($this);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Base/loadShortcuts.php b/vendor/consolidation/robo/src/Task/Base/loadShortcuts.php
deleted file mode 100644
index dba0af661..000000000
--- a/vendor/consolidation/robo/src/Task/Base/loadShortcuts.php
+++ /dev/null
@@ -1,17 +0,0 @@
-taskExec($command)->run();
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Base/loadTasks.php b/vendor/consolidation/robo/src/Task/Base/loadTasks.php
deleted file mode 100644
index ab5301bbe..000000000
--- a/vendor/consolidation/robo/src/Task/Base/loadTasks.php
+++ /dev/null
@@ -1,48 +0,0 @@
-task(Exec::class, $command);
- }
-
- /**
- * @return ExecStack
- */
- protected function taskExecStack()
- {
- return $this->task(ExecStack::class);
- }
-
- /**
- * @return ParallelExec
- */
- protected function taskParallelExec()
- {
- return $this->task(ParallelExec::class);
- }
-
- /**
- * @param $command
- * @return SymfonyCommand
- */
- protected function taskSymfonyCommand($command)
- {
- return $this->task(SymfonyCommand::class, $command);
- }
-
- /**
- * @return Watch
- */
- protected function taskWatch()
- {
- return $this->task(Watch::class, $this);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/BaseTask.php b/vendor/consolidation/robo/src/Task/BaseTask.php
deleted file mode 100644
index 66155c093..000000000
--- a/vendor/consolidation/robo/src/Task/BaseTask.php
+++ /dev/null
@@ -1,60 +0,0 @@
-logger) {
- $child->setLogger($this->logger);
- }
- if ($child instanceof ProgressIndicatorAwareInterface && $this->progressIndicator) {
- $child->setProgressIndicator($this->progressIndicator);
- }
- if ($child instanceof ConfigAwareInterface && $this->getConfig()) {
- $child->setConfig($this->getConfig());
- }
- if ($child instanceof VerbosityThresholdInterface && $this->outputAdapter()) {
- $child->setOutputAdapter($this->outputAdapter());
- }
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Bower/Base.php b/vendor/consolidation/robo/src/Task/Bower/Base.php
deleted file mode 100644
index 9bc614c63..000000000
--- a/vendor/consolidation/robo/src/Task/Bower/Base.php
+++ /dev/null
@@ -1,88 +0,0 @@
-option('allow-root');
- return $this;
- }
-
- /**
- * adds `force-latest` option to bower
- *
- * @return $this
- */
- public function forceLatest()
- {
- $this->option('force-latest');
- return $this;
- }
-
- /**
- * adds `production` option to bower
- *
- * @return $this
- */
- public function noDev()
- {
- $this->option('production');
- return $this;
- }
-
- /**
- * adds `offline` option to bower
- *
- * @return $this
- */
- public function offline()
- {
- $this->option('offline');
- return $this;
- }
-
- /**
- * Base constructor.
- *
- * @param null|string $pathToBower
- *
- * @throws \Robo\Exception\TaskException
- */
- public function __construct($pathToBower = null)
- {
- $this->command = $pathToBower;
- if (!$this->command) {
- $this->command = $this->findExecutable('bower');
- }
- if (!$this->command) {
- throw new TaskException(__CLASS__, "Bower executable not found.");
- }
- }
-
- /**
- * @return string
- */
- public function getCommand()
- {
- return "{$this->command} {$this->action}{$this->arguments}";
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Bower/Install.php b/vendor/consolidation/robo/src/Task/Bower/Install.php
deleted file mode 100644
index c3c0ce755..000000000
--- a/vendor/consolidation/robo/src/Task/Bower/Install.php
+++ /dev/null
@@ -1,36 +0,0 @@
-taskBowerInstall()->run();
- *
- * // prefer dist with custom path
- * $this->taskBowerInstall('path/to/my/bower')
- * ->noDev()
- * ->run();
- * ?>
- * ```
- */
-class Install extends Base implements CommandInterface
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'install';
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Install Bower packages: {arguments}', ['arguments' => $this->arguments]);
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Bower/Update.php b/vendor/consolidation/robo/src/Task/Bower/Update.php
deleted file mode 100644
index f0dfa94e3..000000000
--- a/vendor/consolidation/robo/src/Task/Bower/Update.php
+++ /dev/null
@@ -1,34 +0,0 @@
-taskBowerUpdate->run();
- *
- * // prefer dist with custom path
- * $this->taskBowerUpdate('path/to/my/bower')
- * ->noDev()
- * ->run();
- * ?>
- * ```
- */
-class Update extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'update';
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Update Bower packages: {arguments}', ['arguments' => $this->arguments]);
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Bower/loadTasks.php b/vendor/consolidation/robo/src/Task/Bower/loadTasks.php
deleted file mode 100644
index 6e33f8acf..000000000
--- a/vendor/consolidation/robo/src/Task/Bower/loadTasks.php
+++ /dev/null
@@ -1,25 +0,0 @@
-task(Install::class, $pathToBower);
- }
-
- /**
- * @param null|string $pathToBower
- *
- * @return Update
- */
- protected function taskBowerUpdate($pathToBower = null)
- {
- return $this->task(Update::class, $pathToBower);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/CommandStack.php b/vendor/consolidation/robo/src/Task/CommandStack.php
deleted file mode 100644
index 43fbd7ccf..000000000
--- a/vendor/consolidation/robo/src/Task/CommandStack.php
+++ /dev/null
@@ -1,145 +0,0 @@
-exec as $command) {
- $commands[] = $this->receiveCommand($command);
- }
-
- return implode(' && ', $commands);
- }
-
- /**
- * @param string $executable
- *
- * @return $this
- */
- public function executable($executable)
- {
- $this->executable = $executable;
- return $this;
- }
-
- /**
- * @param string|string[]|CommandInterface $command
- *
- * @return $this
- */
- public function exec($command)
- {
- if (is_array($command)) {
- $command = implode(' ', array_filter($command));
- }
-
- if (is_string($command)) {
- $command = $this->executable . ' ' . $this->stripExecutableFromCommand($command);
- $command = trim($command);
- }
-
- $this->exec[] = $command;
-
- return $this;
- }
-
- /**
- * @param bool $stopOnFail
- *
- * @return $this
- */
- public function stopOnFail($stopOnFail = true)
- {
- $this->stopOnFail = $stopOnFail;
- return $this;
- }
-
- public function result($result)
- {
- $this->result = $result;
- return $this;
- }
-
- /**
- * @param string $command
- *
- * @return string
- */
- protected function stripExecutableFromCommand($command)
- {
- $command = trim($command);
- $executable = $this->executable . ' ';
- if (strpos($command, $executable) === 0) {
- $command = substr($command, strlen($executable));
- }
- return $command;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (empty($this->exec)) {
- throw new TaskException($this, 'You must add at least one command');
- }
- // If 'stopOnFail' is not set, or if there is only one command to run,
- // then execute the single command to run.
- if (!$this->stopOnFail || (count($this->exec) == 1)) {
- $this->printTaskInfo('{command}', ['command' => $this->getCommand()]);
- return $this->executeCommand($this->getCommand());
- }
-
- // When executing multiple commands in 'stopOnFail' mode, run them
- // one at a time so that the result will have the exact command
- // that failed available to the caller. This is at the expense of
- // losing the output from all successful commands.
- $data = [];
- $message = '';
- $result = null;
- foreach ($this->exec as $command) {
- $this->printTaskInfo("Executing {command}", ['command' => $command]);
- $result = $this->executeCommand($command);
- $result->accumulateExecutionTime($data);
- $message = $result->accumulateMessage($message);
- $data = $result->mergeData($data);
- if (!$result->wasSuccessful()) {
- return $result;
- }
- }
-
- return $result;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/Base.php b/vendor/consolidation/robo/src/Task/Composer/Base.php
deleted file mode 100644
index de3fe2174..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/Base.php
+++ /dev/null
@@ -1,248 +0,0 @@
-command = $pathToComposer;
- if (!$this->command) {
- $this->command = $this->findExecutablePhar('composer');
- }
- if (!$this->command) {
- throw new TaskException(__CLASS__, "Neither local composer.phar nor global composer installation could be found.");
- }
- }
-
- /**
- * adds `prefer-dist` option to composer
- *
- * @return $this
- */
- public function preferDist($preferDist = true)
- {
- if (!$preferDist) {
- return $this->preferSource();
- }
- $this->prefer = '--prefer-dist';
- return $this;
- }
-
- /**
- * adds `prefer-source` option to composer
- *
- * @return $this
- */
- public function preferSource()
- {
- $this->prefer = '--prefer-source';
- return $this;
- }
-
- /**
- * adds `dev` option to composer
- *
- * @return $this
- */
- public function dev($dev = true)
- {
- if (!$dev) {
- return $this->noDev();
- }
- $this->dev = '--dev';
- return $this;
- }
-
- /**
- * adds `no-dev` option to composer
- *
- * @return $this
- */
- public function noDev()
- {
- $this->dev = '--no-dev';
- return $this;
- }
-
- /**
- * adds `ansi` option to composer
- *
- * @return $this
- */
- public function ansi($ansi = true)
- {
- if (!$ansi) {
- return $this->noAnsi();
- }
- $this->ansi = '--ansi';
- return $this;
- }
-
- /**
- * adds `no-ansi` option to composer
- *
- * @return $this
- */
- public function noAnsi()
- {
- $this->ansi = '--no-ansi';
- return $this;
- }
-
- public function interaction($interaction = true)
- {
- if (!$interaction) {
- return $this->noInteraction();
- }
- return $this;
- }
-
- /**
- * adds `no-interaction` option to composer
- *
- * @return $this
- */
- public function noInteraction()
- {
- $this->nointeraction = '--no-interaction';
- return $this;
- }
-
- /**
- * adds `optimize-autoloader` option to composer
- *
- * @return $this
- */
- public function optimizeAutoloader($optimize = true)
- {
- if ($optimize) {
- $this->option('--optimize-autoloader');
- }
- return $this;
- }
-
- /**
- * adds `ignore-platform-reqs` option to composer
- *
- * @return $this
- */
- public function ignorePlatformRequirements($ignore = true)
- {
- $this->option('--ignore-platform-reqs');
- return $this;
- }
-
- /**
- * disable plugins
- *
- * @return $this
- */
- public function disablePlugins($disable = true)
- {
- if ($disable) {
- $this->option('--no-plugins');
- }
- return $this;
- }
-
- /**
- * skip scripts
- *
- * @return $this
- */
- public function noScripts($disable = true)
- {
- if ($disable) {
- $this->option('--no-scripts');
- }
- return $this;
- }
-
- /**
- * adds `--working-dir $dir` option to composer
- *
- * @return $this
- */
- public function workingDir($dir)
- {
- $this->option("--working-dir", $dir);
- return $this;
- }
-
- /**
- * Copy class fields into command options as directed.
- */
- public function buildCommand()
- {
- if (!isset($this->ansi) && $this->getConfig()->get(\Robo\Config\Config::DECORATED)) {
- $this->ansi();
- }
- if (!isset($this->nointeraction) && !$this->getConfig()->get(\Robo\Config\Config::INTERACTIVE)) {
- $this->noInteraction();
- }
- $this->option($this->prefer)
- ->option($this->dev)
- ->option($this->nointeraction)
- ->option($this->ansi);
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- if (!$this->built) {
- $this->buildCommand();
- $this->built = true;
- }
- return "{$this->command} {$this->action}{$this->arguments}";
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/Config.php b/vendor/consolidation/robo/src/Task/Composer/Config.php
deleted file mode 100644
index b5a6bbff9..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/Config.php
+++ /dev/null
@@ -1,93 +0,0 @@
-taskComposerConfig()->set('bin-dir', 'bin/')->run();
- * ?>
- * ```
- */
-class Config extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'config';
-
- /**
- * Set a configuration value
- * @return $this
- */
- public function set($key, $value)
- {
- $this->arg($key);
- $this->arg($value);
- return $this;
- }
-
- /**
- * Operate on the global repository
- * @return $this
- */
- public function useGlobal($useGlobal = true)
- {
- if ($useGlobal) {
- $this->option('global');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function repository($id, $uri, $repoType = 'vcs')
- {
- $this->arg("repositories.$id");
- $this->arg($repoType);
- $this->arg($uri);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function removeRepository($id)
- {
- $this->option('unset', "repositories.$id");
- return $this;
- }
-
- /**
- * @return $this
- */
- public function disableRepository($id)
- {
- $this->arg("repositories.$id");
- $this->arg('false');
- return $this;
- }
-
- /**
- * @return $this
- */
- public function enableRepository($id)
- {
- $this->arg("repositories.$id");
- $this->arg('true');
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Configuring composer.json: {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/CreateProject.php b/vendor/consolidation/robo/src/Task/Composer/CreateProject.php
deleted file mode 100644
index 5f979a646..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/CreateProject.php
+++ /dev/null
@@ -1,112 +0,0 @@
-taskComposerCreateProject()->source('foo/bar')->target('myBar')->run();
- * ?>
- * ```
- */
-class CreateProject extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'create-project';
-
- protected $source;
- protected $target = '';
- protected $version = '';
-
- /**
- * @return $this
- */
- public function source($source)
- {
- $this->source = $source;
- return $this;
- }
-
- /**
- * @return $this
- */
- public function target($target)
- {
- $this->target = $target;
- return $this;
- }
-
- /**
- * @return $this
- */
- public function version($version)
- {
- $this->version = $version;
- return $this;
- }
-
- public function keepVcs($keep = true)
- {
- if ($keep) {
- $this->option('--keep-vcs');
- }
- return $this;
- }
-
- public function noInstall($noInstall = true)
- {
- if ($noInstall) {
- $this->option('--no-install');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function repository($repository)
- {
- if (!empty($repository)) {
- $this->option('repository', $repository);
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function stability($stability)
- {
- if (!empty($stability)) {
- $this->option('stability', $stability);
- }
- return $this;
- }
-
- public function buildCommand()
- {
- $this->arg($this->source);
- if (!empty($this->target)) {
- $this->arg($this->target);
- }
- if (!empty($this->version)) {
- $this->arg($this->version);
- }
-
- return parent::buildCommand();
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Creating project: {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/DumpAutoload.php b/vendor/consolidation/robo/src/Task/Composer/DumpAutoload.php
deleted file mode 100644
index 55b1ea00e..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/DumpAutoload.php
+++ /dev/null
@@ -1,62 +0,0 @@
-taskComposerDumpAutoload()->run();
- *
- * // dump auto loader with custom path
- * $this->taskComposerDumpAutoload('path/to/my/composer.phar')
- * ->preferDist()
- * ->run();
- *
- * // optimize autoloader dump with custom path
- * $this->taskComposerDumpAutoload('path/to/my/composer.phar')
- * ->optimize()
- * ->run();
- *
- * // optimize autoloader dump with custom path and no dev
- * $this->taskComposerDumpAutoload('path/to/my/composer.phar')
- * ->optimize()
- * ->noDev()
- * ->run();
- * ?>
- * ```
- */
-class DumpAutoload extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'dump-autoload';
-
- /**
- * @var string
- */
- protected $optimize;
-
- /**
- * @return $this
- */
- public function optimize($optimize = true)
- {
- if ($optimize) {
- $this->option("--optimize");
- }
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Dumping Autoloader: {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/Init.php b/vendor/consolidation/robo/src/Task/Composer/Init.php
deleted file mode 100644
index c841299dd..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/Init.php
+++ /dev/null
@@ -1,115 +0,0 @@
-taskComposerInit()->run();
- * ?>
- * ```
- */
-class Init extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'init';
-
- /**
- * @return $this
- */
- public function projectName($projectName)
- {
- $this->option('name', $projectName);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function description($description)
- {
- $this->option('description', $description);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function author($author)
- {
- $this->option('author', $author);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function projectType($type)
- {
- $this->option('type', $type);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function homepage($homepage)
- {
- $this->option('homepage', $homepage);
- return $this;
- }
-
- /**
- * 'require' is a keyword, so it cannot be a method name.
- * @return $this
- */
- public function dependency($project, $version = null)
- {
- if (isset($version)) {
- $project .= ":$version";
- }
- $this->option('require', $project);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function stability($stability)
- {
- $this->option('stability', $stability);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function license($license)
- {
- $this->option('license', $license);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function repository($repository)
- {
- $this->option('repository', $repository);
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Creating composer.json: {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/Install.php b/vendor/consolidation/robo/src/Task/Composer/Install.php
deleted file mode 100644
index 76cb9861f..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/Install.php
+++ /dev/null
@@ -1,40 +0,0 @@
-taskComposerInstall()->run();
- *
- * // prefer dist with custom path
- * $this->taskComposerInstall('path/to/my/composer.phar')
- * ->preferDist()
- * ->run();
- *
- * // optimize autoloader with custom path
- * $this->taskComposerInstall('path/to/my/composer.phar')
- * ->optimizeAutoloader()
- * ->run();
- * ?>
- * ```
- */
-class Install extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'install';
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Installing Packages: {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/Remove.php b/vendor/consolidation/robo/src/Task/Composer/Remove.php
deleted file mode 100644
index b0316f051..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/Remove.php
+++ /dev/null
@@ -1,85 +0,0 @@
-taskComposerRemove()->run();
- * ?>
- * ```
- */
-class Remove extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'remove';
-
- /**
- * @return $this
- */
- public function dev($dev = true)
- {
- if ($dev) {
- $this->option('--dev');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function noProgress($noProgress = true)
- {
- if ($noProgress) {
- $this->option('--no-progress');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function noUpdate($noUpdate = true)
- {
- if ($noUpdate) {
- $this->option('--no-update');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function updateNoDev($updateNoDev = true)
- {
- if ($updateNoDev) {
- $this->option('--update-no-dev');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function noUpdateWithDependencies($updateWithDependencies = true)
- {
- if ($updateWithDependencies) {
- $this->option('--no-update-with-dependencies');
- }
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Removing packages: {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/RequireDependency.php b/vendor/consolidation/robo/src/Task/Composer/RequireDependency.php
deleted file mode 100644
index 6cdbf6139..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/RequireDependency.php
+++ /dev/null
@@ -1,50 +0,0 @@
-taskComposerRequire()->dependency('foo/bar', '^.2.4.8')->run();
- * ?>
- * ```
- */
-class RequireDependency extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'require';
-
- /**
- * 'require' is a keyword, so it cannot be a method name.
- * @return $this
- */
- public function dependency($project, $version = null)
- {
- $project = (array)$project;
-
- if (isset($version)) {
- $project = array_map(
- function ($item) use ($version) {
- return "$item:$version";
- },
- $project
- );
- }
- $this->args($project);
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Requiring packages: {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/Update.php b/vendor/consolidation/robo/src/Task/Composer/Update.php
deleted file mode 100644
index 3a0a64afc..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/Update.php
+++ /dev/null
@@ -1,40 +0,0 @@
-taskComposerUpdate()->run();
- *
- * // prefer dist with custom path
- * $this->taskComposerUpdate('path/to/my/composer.phar')
- * ->preferDist()
- * ->run();
- *
- * // optimize autoloader with custom path
- * $this->taskComposerUpdate('path/to/my/composer.phar')
- * ->optimizeAutoloader()
- * ->run();
- * ?>
- * ```
- */
-class Update extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'update';
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Updating Packages: {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/Validate.php b/vendor/consolidation/robo/src/Task/Composer/Validate.php
deleted file mode 100644
index adb158543..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/Validate.php
+++ /dev/null
@@ -1,85 +0,0 @@
-taskComposerValidate()->run();
- * ?>
- * ```
- */
-class Validate extends Base
-{
- /**
- * {@inheritdoc}
- */
- protected $action = 'validate';
-
- /**
- * @return $this
- */
- public function noCheckAll($noCheckAll = true)
- {
- if ($noCheckAll) {
- $this->option('--no-check-all');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function noCheckLock($noCheckLock = true)
- {
- if ($noCheckLock) {
- $this->option('--no-check-lock');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function noCheckPublish($noCheckPublish = true)
- {
- if ($noCheckPublish) {
- $this->option('--no-check-publish');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function withDependencies($withDependencies = true)
- {
- if ($withDependencies) {
- $this->option('--with-dependencies');
- }
- return $this;
- }
-
- /**
- * @return $this
- */
- public function strict($strict = true)
- {
- if ($strict) {
- $this->option('--strict');
- }
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Validating composer.json: {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Composer/loadTasks.php b/vendor/consolidation/robo/src/Task/Composer/loadTasks.php
deleted file mode 100644
index a7149f8a2..000000000
--- a/vendor/consolidation/robo/src/Task/Composer/loadTasks.php
+++ /dev/null
@@ -1,95 +0,0 @@
-task(Install::class, $pathToComposer);
- }
-
- /**
- * @param null|string $pathToComposer
- *
- * @return Update
- */
- protected function taskComposerUpdate($pathToComposer = null)
- {
- return $this->task(Update::class, $pathToComposer);
- }
-
- /**
- * @param null|string $pathToComposer
- *
- * @return DumpAutoload
- */
- protected function taskComposerDumpAutoload($pathToComposer = null)
- {
- return $this->task(DumpAutoload::class, $pathToComposer);
- }
-
- /**
- * @param null|string $pathToComposer
- *
- * @return Init
- */
- protected function taskComposerInit($pathToComposer = null)
- {
- return $this->task(Init::class, $pathToComposer);
- }
-
- /**
- * @param null|string $pathToComposer
- *
- * @return Config
- */
- protected function taskComposerConfig($pathToComposer = null)
- {
- return $this->task(Config::class, $pathToComposer);
- }
-
- /**
- * @param null|string $pathToComposer
- *
- * @return Validate
- */
- protected function taskComposerValidate($pathToComposer = null)
- {
- return $this->task(Validate::class, $pathToComposer);
- }
-
- /**
- * @param null|string $pathToComposer
- *
- * @return Remove
- */
- protected function taskComposerRemove($pathToComposer = null)
- {
- return $this->task(Remove::class, $pathToComposer);
- }
-
- /**
- * @param null|string $pathToComposer
- *
- * @return RequireDependency
- */
- protected function taskComposerRequire($pathToComposer = null)
- {
- return $this->task(RequireDependency::class, $pathToComposer);
- }
-
- /**
- * @param null|string $pathToComposer
- *
- * @return CreateProject
- */
- protected function taskComposerCreateProject($pathToComposer = null)
- {
- return $this->task(CreateProject::class, $pathToComposer);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/Changelog.php b/vendor/consolidation/robo/src/Task/Development/Changelog.php
deleted file mode 100644
index 44af6d820..000000000
--- a/vendor/consolidation/robo/src/Task/Development/Changelog.php
+++ /dev/null
@@ -1,246 +0,0 @@
-taskChangelog()
- * ->version($version)
- * ->change("released to github")
- * ->run();
- * ?>
- * ```
- *
- * Changes can be asked from Console
- *
- * ``` php
- * taskChangelog()
- * ->version($version)
- * ->askForChanges()
- * ->run();
- * ?>
- * ```
- */
-class Changelog extends BaseTask implements BuilderAwareInterface
-{
- use BuilderAwareTrait;
-
- /**
- * @var string
- */
- protected $filename;
-
- /**
- * @var array
- */
- protected $log = [];
-
- /**
- * @var string
- */
- protected $anchor = "# Changelog";
-
- /**
- * @var string
- */
- protected $version = "";
-
- /**
- * @var string
- */
- protected $body = "";
-
- /**
- * @var string
- */
- protected $header = "";
-
- /**
- * @param string $filename
- *
- * @return $this
- */
- public function filename($filename)
- {
- $this->filename = $filename;
- return $this;
- }
-
- /**
- * Sets the changelog body text.
- *
- * This method permits the raw changelog text to be set directly If this is set, $this->log changes will be ignored.
- *
- * @param string $body
- *
- * @return $this
- */
- public function setBody($body)
- {
- $this->body = $body;
- return $this;
- }
-
- /**
- * @param string $header
- *
- * @return $this
- */
- public function setHeader($header)
- {
- $this->header = $header;
- return $this;
- }
-
- /**
- * @param string $item
- *
- * @return $this
- */
- public function log($item)
- {
- $this->log[] = $item;
- return $this;
- }
-
- /**
- * @param string $anchor
- *
- * @return $this
- */
- public function anchor($anchor)
- {
- $this->anchor = $anchor;
- return $this;
- }
-
- /**
- * @param string $version
- *
- * @return $this
- */
- public function version($version)
- {
- $this->version = $version;
- return $this;
- }
-
- /**
- * @param string $filename
- */
- public function __construct($filename)
- {
- $this->filename = $filename;
- }
-
- /**
- * @param array $data
- *
- * @return $this
- */
- public function changes(array $data)
- {
- $this->log = array_merge($this->log, $data);
- return $this;
- }
-
- /**
- * @param string $change
- *
- * @return $this
- */
- public function change($change)
- {
- $this->log[] = $change;
- return $this;
- }
-
- /**
- * @return array
- */
- public function getChanges()
- {
- return $this->log;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (empty($this->body)) {
- if (empty($this->log)) {
- return Result::error($this, "Changelog is empty");
- }
- $this->body = $this->generateBody();
- }
- if (empty($this->header)) {
- $this->header = $this->generateHeader();
- }
-
- $text = $this->header . $this->body;
-
- if (!file_exists($this->filename)) {
- $this->printTaskInfo('Creating {filename}', ['filename' => $this->filename]);
- $res = file_put_contents($this->filename, $this->anchor);
- if ($res === false) {
- return Result::error($this, "File {filename} cant be created", ['filename' => $this->filename]);
- }
- }
-
- /** @var \Robo\Result $result */
- // trying to append to changelog for today
- $result = $this->collectionBuilder()->taskReplaceInFile($this->filename)
- ->from($this->header)
- ->to($text)
- ->run();
-
- if (!isset($result['replaced']) || !$result['replaced']) {
- $result = $this->collectionBuilder()->taskReplaceInFile($this->filename)
- ->from($this->anchor)
- ->to($this->anchor . "\n\n" . $text)
- ->run();
- }
-
- return new Result($this, $result->getExitCode(), $result->getMessage(), $this->log);
- }
-
- /**
- * @return \Robo\Result|string
- */
- protected function generateBody()
- {
- $text = implode("\n", array_map([$this, 'processLogRow'], $this->log));
- $text .= "\n";
-
- return $text;
- }
-
- /**
- * @return string
- */
- protected function generateHeader()
- {
- return "#### {$this->version}\n\n";
- }
-
- /**
- * @param $i
- *
- * @return string
- */
- public function processLogRow($i)
- {
- return "* $i *" . date('Y-m-d') . "*";
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/GenerateMarkdownDoc.php b/vendor/consolidation/robo/src/Task/Development/GenerateMarkdownDoc.php
deleted file mode 100644
index 490aef31f..000000000
--- a/vendor/consolidation/robo/src/Task/Development/GenerateMarkdownDoc.php
+++ /dev/null
@@ -1,782 +0,0 @@
-taskGenDoc('models.md')
- * ->docClass('Model\User') // take class Model\User
- * ->docClass('Model\Post') // take class Model\Post
- * ->filterMethods(function(\ReflectionMethod $r) {
- * return $r->isPublic() or $r->isProtected(); // process public and protected methods
- * })->processClass(function(\ReflectionClass $r, $text) {
- * return "Class ".$r->getName()."\n\n$text\n\n###Methods\n";
- * })->run();
- * ```
- *
- * By default this task generates a documentation for each public method of a class, interface or trait.
- * It combines method signature with a docblock. Both can be post-processed.
- *
- * ``` php
- * taskGenDoc('models.md')
- * ->docClass('Model\User')
- * ->processClassSignature(false) // false can be passed to not include class signature
- * ->processClassDocBlock(function(\ReflectionClass $r, $text) {
- * return "[This is part of application model]\n" . $text;
- * })->processMethodSignature(function(\ReflectionMethod $r, $text) {
- * return "#### {$r->name}()";
- * })->processMethodDocBlock(function(\ReflectionMethod $r, $text) {
- * return strpos($r->name, 'save')===0 ? "[Saves to the database]\n" . $text : $text;
- * })->run();
- * ```
- */
-class GenerateMarkdownDoc extends BaseTask implements BuilderAwareInterface
-{
- use BuilderAwareTrait;
-
- /**
- * @var string[]
- */
- protected $docClass = [];
-
- /**
- * @var callable
- */
- protected $filterMethods;
-
- /**
- * @var callable
- */
- protected $filterClasses;
-
- /**
- * @var callable
- */
- protected $filterProperties;
-
- /**
- * @var callable
- */
- protected $processClass;
-
- /**
- * @var callable|false
- */
- protected $processClassSignature;
-
- /**
- * @var callable|false
- */
- protected $processClassDocBlock;
-
- /**
- * @var callable|false
- */
- protected $processMethod;
-
- /**
- * @var callable|false
- */
- protected $processMethodSignature;
-
- /**
- * @var callable|false
- */
- protected $processMethodDocBlock;
-
- /**
- * @var callable|false
- */
- protected $processProperty;
-
- /**
- * @var callable|false
- */
- protected $processPropertySignature;
-
- /**
- * @var callable|false
- */
- protected $processPropertyDocBlock;
-
- /**
- * @var callable
- */
- protected $reorder;
-
- /**
- * @var callable
- */
- protected $reorderMethods;
-
- /**
- * @todo Unused property.
- *
- * @var callable
- */
- protected $reorderProperties;
-
- /**
- * @var string
- */
- protected $filename;
-
- /**
- * @var string
- */
- protected $prepend = "";
-
- /**
- * @var string
- */
- protected $append = "";
-
- /**
- * @var string
- */
- protected $text;
-
- /**
- * @var string[]
- */
- protected $textForClass = [];
-
- /**
- * @param string $filename
- *
- * @return static
- */
- public static function init($filename)
- {
- return new static($filename);
- }
-
- /**
- * @param string $filename
- */
- public function __construct($filename)
- {
- $this->filename = $filename;
- }
-
- /**
- * Put a class you want to be documented.
- *
- * @param string $item
- *
- * @return $this
- */
- public function docClass($item)
- {
- $this->docClass[] = $item;
- return $this;
- }
-
- /**
- * Using a callback function filter out methods that won't be documented.
- *
- * @param callable $filterMethods
- *
- * @return $this
- */
- public function filterMethods($filterMethods)
- {
- $this->filterMethods = $filterMethods;
- return $this;
- }
-
- /**
- * Using a callback function filter out classes that won't be documented.
- *
- * @param callable $filterClasses
- *
- * @return $this
- */
- public function filterClasses($filterClasses)
- {
- $this->filterClasses = $filterClasses;
- return $this;
- }
-
- /**
- * Using a callback function filter out properties that won't be documented.
- *
- * @param callable $filterProperties
- *
- * @return $this
- */
- public function filterProperties($filterProperties)
- {
- $this->filterProperties = $filterProperties;
- return $this;
- }
-
- /**
- * Post-process class documentation.
- *
- * @param callable $processClass
- *
- * @return $this
- */
- public function processClass($processClass)
- {
- $this->processClass = $processClass;
- return $this;
- }
-
- /**
- * Post-process class signature. Provide *false* to skip.
- *
- * @param callable|false $processClassSignature
- *
- * @return $this
- */
- public function processClassSignature($processClassSignature)
- {
- $this->processClassSignature = $processClassSignature;
- return $this;
- }
-
- /**
- * Post-process class docblock contents. Provide *false* to skip.
- *
- * @param callable|false $processClassDocBlock
- *
- * @return $this
- */
- public function processClassDocBlock($processClassDocBlock)
- {
- $this->processClassDocBlock = $processClassDocBlock;
- return $this;
- }
-
- /**
- * Post-process method documentation. Provide *false* to skip.
- *
- * @param callable|false $processMethod
- *
- * @return $this
- */
- public function processMethod($processMethod)
- {
- $this->processMethod = $processMethod;
- return $this;
- }
-
- /**
- * Post-process method signature. Provide *false* to skip.
- *
- * @param callable|false $processMethodSignature
- *
- * @return $this
- */
- public function processMethodSignature($processMethodSignature)
- {
- $this->processMethodSignature = $processMethodSignature;
- return $this;
- }
-
- /**
- * Post-process method docblock contents. Provide *false* to skip.
- *
- * @param callable|false $processMethodDocBlock
- *
- * @return $this
- */
- public function processMethodDocBlock($processMethodDocBlock)
- {
- $this->processMethodDocBlock = $processMethodDocBlock;
- return $this;
- }
-
- /**
- * Post-process property documentation. Provide *false* to skip.
- *
- * @param callable|false $processProperty
- *
- * @return $this
- */
- public function processProperty($processProperty)
- {
- $this->processProperty = $processProperty;
- return $this;
- }
-
- /**
- * Post-process property signature. Provide *false* to skip.
- *
- * @param callable|false $processPropertySignature
- *
- * @return $this
- */
- public function processPropertySignature($processPropertySignature)
- {
- $this->processPropertySignature = $processPropertySignature;
- return $this;
- }
-
- /**
- * Post-process property docblock contents. Provide *false* to skip.
- *
- * @param callable|false $processPropertyDocBlock
- *
- * @return $this
- */
- public function processPropertyDocBlock($processPropertyDocBlock)
- {
- $this->processPropertyDocBlock = $processPropertyDocBlock;
- return $this;
- }
-
- /**
- * Use a function to reorder classes.
- *
- * @param callable $reorder
- *
- * @return $this
- */
- public function reorder($reorder)
- {
- $this->reorder = $reorder;
- return $this;
- }
-
- /**
- * Use a function to reorder methods in class.
- *
- * @param callable $reorderMethods
- *
- * @return $this
- */
- public function reorderMethods($reorderMethods)
- {
- $this->reorderMethods = $reorderMethods;
- return $this;
- }
-
- /**
- * @param callable $reorderProperties
- *
- * @return $this
- */
- public function reorderProperties($reorderProperties)
- {
- $this->reorderProperties = $reorderProperties;
- return $this;
- }
-
- /**
- * @param string $filename
- *
- * @return $this
- */
- public function filename($filename)
- {
- $this->filename = $filename;
- return $this;
- }
-
- /**
- * Inserts text at the beginning of markdown file.
- *
- * @param string $prepend
- *
- * @return $this
- */
- public function prepend($prepend)
- {
- $this->prepend = $prepend;
- return $this;
- }
-
- /**
- * Inserts text at the end of markdown file.
- *
- * @param string $append
- *
- * @return $this
- */
- public function append($append)
- {
- $this->append = $append;
- return $this;
- }
-
- /**
- * @param string $text
- *
- * @return $this
- */
- public function text($text)
- {
- $this->text = $text;
- return $this;
- }
-
- /**
- * @param string $item
- *
- * @return $this
- */
- public function textForClass($item)
- {
- $this->textForClass[] = $item;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- foreach ($this->docClass as $class) {
- $this->printTaskInfo("Processing {class}", ['class' => $class]);
- $this->textForClass[$class] = $this->documentClass($class);
- }
-
- if (is_callable($this->reorder)) {
- $this->printTaskInfo("Applying reorder function");
- call_user_func_array($this->reorder, [$this->textForClass]);
- }
-
- $this->text = implode("\n", $this->textForClass);
-
- /** @var \Robo\Result $result */
- $result = $this->collectionBuilder()->taskWriteToFile($this->filename)
- ->line($this->prepend)
- ->text($this->text)
- ->line($this->append)
- ->run();
-
- $this->printTaskSuccess('{filename} created. {class-count} classes documented', ['filename' => $this->filename, 'class-count' => count($this->docClass)]);
-
- return new Result($this, $result->getExitCode(), $result->getMessage(), $this->textForClass);
- }
-
- /**
- * @param string $class
- *
- * @return null|string
- */
- protected function documentClass($class)
- {
- if (!class_exists($class) && !trait_exists($class)) {
- return "";
- }
- $refl = new \ReflectionClass($class);
-
- if (is_callable($this->filterClasses)) {
- $ret = call_user_func($this->filterClasses, $refl);
- if (!$ret) {
- return;
- }
- }
- $doc = $this->documentClassSignature($refl);
- $doc .= "\n" . $this->documentClassDocBlock($refl);
- $doc .= "\n";
-
- if (is_callable($this->processClass)) {
- $doc = call_user_func($this->processClass, $refl, $doc);
- }
-
- $properties = [];
- foreach ($refl->getProperties() as $reflProperty) {
- $properties[] = $this->documentProperty($reflProperty);
- }
-
- $properties = array_filter($properties);
- $doc .= implode("\n", $properties);
-
- $methods = [];
- foreach ($refl->getMethods() as $reflMethod) {
- $methods[$reflMethod->name] = $this->documentMethod($reflMethod);
- }
- if (is_callable($this->reorderMethods)) {
- call_user_func_array($this->reorderMethods, [&$methods]);
- }
-
- $methods = array_filter($methods);
-
- $doc .= implode("\n", $methods)."\n";
-
- return $doc;
- }
-
- /**
- * @param \ReflectionClass $reflectionClass
- *
- * @return string
- */
- protected function documentClassSignature(\ReflectionClass $reflectionClass)
- {
- if ($this->processClassSignature === false) {
- return "";
- }
-
- $signature = "## {$reflectionClass->name}\n\n";
-
- if ($parent = $reflectionClass->getParentClass()) {
- $signature .= "* *Extends* `{$parent->name}`";
- }
- $interfaces = $reflectionClass->getInterfaceNames();
- if (count($interfaces)) {
- $signature .= "\n* *Implements* `" . implode('`, `', $interfaces) . '`';
- }
- $traits = $reflectionClass->getTraitNames();
- if (count($traits)) {
- $signature .= "\n* *Uses* `" . implode('`, `', $traits) . '`';
- }
- if (is_callable($this->processClassSignature)) {
- $signature = call_user_func($this->processClassSignature, $reflectionClass, $signature);
- }
-
- return $signature;
- }
-
- /**
- * @param \ReflectionClass $reflectionClass
- *
- * @return string
- */
- protected function documentClassDocBlock(\ReflectionClass $reflectionClass)
- {
- if ($this->processClassDocBlock === false) {
- return "";
- }
- $doc = self::indentDoc($reflectionClass->getDocComment());
- if (is_callable($this->processClassDocBlock)) {
- $doc = call_user_func($this->processClassDocBlock, $reflectionClass, $doc);
- }
- return $doc;
- }
-
- /**
- * @param \ReflectionMethod $reflectedMethod
- *
- * @return string
- */
- protected function documentMethod(\ReflectionMethod $reflectedMethod)
- {
- if ($this->processMethod === false) {
- return "";
- }
- if (is_callable($this->filterMethods)) {
- $ret = call_user_func($this->filterMethods, $reflectedMethod);
- if (!$ret) {
- return "";
- }
- } else {
- if (!$reflectedMethod->isPublic()) {
- return "";
- }
- }
-
- $signature = $this->documentMethodSignature($reflectedMethod);
- $docblock = $this->documentMethodDocBlock($reflectedMethod);
- $methodDoc = "$signature $docblock";
- if (is_callable($this->processMethod)) {
- $methodDoc = call_user_func($this->processMethod, $reflectedMethod, $methodDoc);
- }
- return $methodDoc;
- }
-
- /**
- * @param \ReflectionProperty $reflectedProperty
- *
- * @return string
- */
- protected function documentProperty(\ReflectionProperty $reflectedProperty)
- {
- if ($this->processProperty === false) {
- return "";
- }
- if (is_callable($this->filterProperties)) {
- $ret = call_user_func($this->filterProperties, $reflectedProperty);
- if (!$ret) {
- return "";
- }
- } else {
- if (!$reflectedProperty->isPublic()) {
- return "";
- }
- }
- $signature = $this->documentPropertySignature($reflectedProperty);
- $docblock = $this->documentPropertyDocBlock($reflectedProperty);
- $propertyDoc = $signature . $docblock;
- if (is_callable($this->processProperty)) {
- $propertyDoc = call_user_func($this->processProperty, $reflectedProperty, $propertyDoc);
- }
- return $propertyDoc;
- }
-
- /**
- * @param \ReflectionProperty $reflectedProperty
- *
- * @return string
- */
- protected function documentPropertySignature(\ReflectionProperty $reflectedProperty)
- {
- if ($this->processPropertySignature === false) {
- return "";
- }
- $modifiers = implode(' ', \Reflection::getModifierNames($reflectedProperty->getModifiers()));
- $signature = "#### *$modifiers* {$reflectedProperty->name}";
- if (is_callable($this->processPropertySignature)) {
- $signature = call_user_func($this->processPropertySignature, $reflectedProperty, $signature);
- }
- return $signature;
- }
-
- /**
- * @param \ReflectionProperty $reflectedProperty
- *
- * @return string
- */
- protected function documentPropertyDocBlock(\ReflectionProperty $reflectedProperty)
- {
- if ($this->processPropertyDocBlock === false) {
- return "";
- }
- $propertyDoc = $reflectedProperty->getDocComment();
- // take from parent
- if (!$propertyDoc) {
- $parent = $reflectedProperty->getDeclaringClass();
- while ($parent = $parent->getParentClass()) {
- if ($parent->hasProperty($reflectedProperty->name)) {
- $propertyDoc = $parent->getProperty($reflectedProperty->name)->getDocComment();
- }
- }
- }
- $propertyDoc = self::indentDoc($propertyDoc, 7);
- $propertyDoc = preg_replace("~^@(.*?)([$\s])~", ' * `$1` $2', $propertyDoc); // format annotations
- if (is_callable($this->processPropertyDocBlock)) {
- $propertyDoc = call_user_func($this->processPropertyDocBlock, $reflectedProperty, $propertyDoc);
- }
- return ltrim($propertyDoc);
- }
-
- /**
- * @param \ReflectionParameter $param
- *
- * @return string
- */
- protected function documentParam(\ReflectionParameter $param)
- {
- $text = "";
- if ($param->isArray()) {
- $text .= 'array ';
- }
- if ($param->isCallable()) {
- $text .= 'callable ';
- }
- $text .= '$' . $param->name;
- if ($param->isDefaultValueAvailable()) {
- if ($param->allowsNull()) {
- $text .= ' = null';
- } else {
- $text .= ' = ' . str_replace("\n", ' ', print_r($param->getDefaultValue(), true));
- }
- }
-
- return $text;
- }
-
- /**
- * @param string $doc
- * @param int $indent
- *
- * @return string
- */
- public static function indentDoc($doc, $indent = 3)
- {
- if (!$doc) {
- return $doc;
- }
- return implode(
- "\n",
- array_map(
- function ($line) use ($indent) {
- return substr($line, $indent);
- },
- explode("\n", $doc)
- )
- );
- }
-
- /**
- * @param \ReflectionMethod $reflectedMethod
- *
- * @return string
- */
- protected function documentMethodSignature(\ReflectionMethod $reflectedMethod)
- {
- if ($this->processMethodSignature === false) {
- return "";
- }
- $modifiers = implode(' ', \Reflection::getModifierNames($reflectedMethod->getModifiers()));
- $params = implode(
- ', ',
- array_map(
- function ($p) {
- return $this->documentParam($p);
- },
- $reflectedMethod->getParameters()
- )
- );
- $signature = "#### *$modifiers* {$reflectedMethod->name}($params)";
- if (is_callable($this->processMethodSignature)) {
- $signature = call_user_func($this->processMethodSignature, $reflectedMethod, $signature);
- }
- return $signature;
- }
-
- /**
- * @param \ReflectionMethod $reflectedMethod
- *
- * @return string
- */
- protected function documentMethodDocBlock(\ReflectionMethod $reflectedMethod)
- {
- if ($this->processMethodDocBlock === false) {
- return "";
- }
- $methodDoc = $reflectedMethod->getDocComment();
- // take from parent
- if (!$methodDoc) {
- $parent = $reflectedMethod->getDeclaringClass();
- while ($parent = $parent->getParentClass()) {
- if ($parent->hasMethod($reflectedMethod->name)) {
- $methodDoc = $parent->getMethod($reflectedMethod->name)->getDocComment();
- }
- }
- }
- // take from interface
- if (!$methodDoc) {
- $interfaces = $reflectedMethod->getDeclaringClass()->getInterfaces();
- foreach ($interfaces as $interface) {
- $i = new \ReflectionClass($interface->name);
- if ($i->hasMethod($reflectedMethod->name)) {
- $methodDoc = $i->getMethod($reflectedMethod->name)->getDocComment();
- break;
- }
- }
- }
-
- $methodDoc = self::indentDoc($methodDoc, 7);
- $methodDoc = preg_replace("~^@(.*?) ([$\s])~m", ' * `$1` $2', $methodDoc); // format annotations
- if (is_callable($this->processMethodDocBlock)) {
- $methodDoc = call_user_func($this->processMethodDocBlock, $reflectedMethod, $methodDoc);
- }
-
- return $methodDoc;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/GenerateTask.php b/vendor/consolidation/robo/src/Task/Development/GenerateTask.php
deleted file mode 100644
index 9d7a698e9..000000000
--- a/vendor/consolidation/robo/src/Task/Development/GenerateTask.php
+++ /dev/null
@@ -1,107 +0,0 @@
-taskGenerateTask('Symfony\Component\Filesystem\Filesystem', 'FilesystemStack')
- * ->run();
- * ```
- */
-class GenerateTask extends BaseTask
-{
- /**
- * @var string
- */
- protected $className;
-
- /**
- * @var string
- */
- protected $wrapperClassName;
-
- /**
- * @param string $className
- * @param string $wrapperClassName
- */
- public function __construct($className, $wrapperClassName = '')
- {
- $this->className = $className;
- $this->wrapperClassName = $wrapperClassName;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $delegate = new \ReflectionClass($this->className);
- $replacements = [];
-
- $leadingCommentChars = " * ";
- $methodDescriptions = [];
- $methodImplementations = [];
- $immediateMethods = [];
- foreach ($delegate->getMethods(\ReflectionMethod::IS_PUBLIC) as $method) {
- $methodName = $method->name;
- $getter = preg_match('/^(get|has|is)/', $methodName);
- $setter = preg_match('/^(set|unset)/', $methodName);
- $argPrototypeList = [];
- $argNameList = [];
- $needsImplementation = false;
- foreach ($method->getParameters() as $arg) {
- $argDescription = '$' . $arg->name;
- $argNameList[] = $argDescription;
- if ($arg->isOptional()) {
- $argDescription = $argDescription . ' = ' . str_replace("\n", "", var_export($arg->getDefaultValue(), true));
- // We will create wrapper methods for any method that
- // has default parameters.
- $needsImplementation = true;
- }
- $argPrototypeList[] = $argDescription;
- }
- $argPrototypeString = implode(', ', $argPrototypeList);
- $argNameListString = implode(', ', $argNameList);
-
- if ($methodName[0] != '_') {
- $methodDescriptions[] = "@method $methodName($argPrototypeString)";
-
- if ($getter) {
- $immediateMethods[] = " public function $methodName($argPrototypeString)\n {\n return \$this->delegate->$methodName($argNameListString);\n }";
- } elseif ($setter) {
- $immediateMethods[] = " public function $methodName($argPrototypeString)\n {\n \$this->delegate->$methodName($argNameListString);\n return \$this;\n }";
- } elseif ($needsImplementation) {
- // Include an implementation for the wrapper method if necessary
- $methodImplementations[] = " protected function _$methodName($argPrototypeString)\n {\n \$this->delegate->$methodName($argNameListString);\n }";
- }
- }
- }
-
- $classNameParts = explode('\\', $this->className);
- $delegate = array_pop($classNameParts);
- $delegateNamespace = implode('\\', $classNameParts);
-
- if (empty($this->wrapperClassName)) {
- $this->wrapperClassName = $delegate;
- }
-
- $replacements['{delegateNamespace}'] = $delegateNamespace;
- $replacements['{delegate}'] = $delegate;
- $replacements['{wrapperClassName}'] = $this->wrapperClassName;
- $replacements['{taskname}'] = "task$delegate";
- $replacements['{methodList}'] = $leadingCommentChars . implode("\n$leadingCommentChars", $methodDescriptions);
- $replacements['{immediateMethods}'] = "\n\n" . implode("\n\n", $immediateMethods);
- $replacements['{methodImplementations}'] = "\n\n" . implode("\n\n", $methodImplementations);
-
- $template = file_get_contents(__DIR__ . '/../../../data/Task/Development/GeneratedWrapper.tmpl');
- $template = str_replace(array_keys($replacements), array_values($replacements), $template);
-
- // Returning data in the $message will cause it to be printed.
- return Result::success($this, $template);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/GitHub.php b/vendor/consolidation/robo/src/Task/Development/GitHub.php
deleted file mode 100644
index 9fc9909d4..000000000
--- a/vendor/consolidation/robo/src/Task/Development/GitHub.php
+++ /dev/null
@@ -1,157 +0,0 @@
-repo = $repo;
- return $this;
- }
-
- /**
- * @param string $owner
- *
- * @return $this
- */
- public function owner($owner)
- {
- $this->owner = $owner;
- return $this;
- }
-
- /**
- * @param string $uri
- *
- * @return $this
- */
- public function uri($uri)
- {
- list($this->owner, $this->repo) = explode('/', $uri);
- return $this;
- }
-
- /**
- * @return string
- */
- protected function getUri()
- {
- return $this->owner . '/' . $this->repo;
- }
-
- /**
- * @param string $user
- *
- * @return $this
- */
- public function user($user)
- {
- $this->user = $user;
- return $this;
- }
-
- /**
- * @param $password
- *
- * @return $this
- */
- public function password($password)
- {
- $this->password = $password;
- return $this;
- }
-
- /**
- * @param $accessToken
- *
- * @return $this
- */
- public function accessToken($token)
- {
- $this->accessToken = $token;
- return $this;
- }
-
- /**
- * @param string $uri
- * @param array $params
- * @param string $method
- *
- * @return array
- *
- * @throws \Robo\Exception\TaskException
- */
- protected function sendRequest($uri, $params = [], $method = 'POST')
- {
- if (!$this->owner or !$this->repo) {
- throw new TaskException($this, 'Repo URI is not set');
- }
-
- $ch = curl_init();
- $url = sprintf('%s/repos/%s/%s', self::GITHUB_URL, $this->getUri(), $uri);
- $this->printTaskInfo($url);
- $this->printTaskInfo('{method} {url}', ['method' => $method, 'url' => $url]);
-
- if (!empty($this->user)) {
- curl_setopt($ch, CURLOPT_USERPWD, $this->user . ':' . $this->password);
- }
-
- if (!empty($this->accessToken)) {
- $url .= "?access_token=" . $this->accessToken;
- }
-
- curl_setopt_array(
- $ch,
- array(
- CURLOPT_URL => $url,
- CURLOPT_RETURNTRANSFER => true,
- CURLOPT_POST => $method != 'GET',
- CURLOPT_POSTFIELDS => json_encode($params),
- CURLOPT_FOLLOWLOCATION => true,
- CURLOPT_USERAGENT => "Robo"
- )
- );
-
- $output = curl_exec($ch);
- $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
- $response = json_decode($output);
-
- $this->printTaskInfo($output);
- return [$code, $response];
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/GitHubRelease.php b/vendor/consolidation/robo/src/Task/Development/GitHubRelease.php
deleted file mode 100644
index bf7a4889e..000000000
--- a/vendor/consolidation/robo/src/Task/Development/GitHubRelease.php
+++ /dev/null
@@ -1,208 +0,0 @@
-taskGitHubRelease('0.1.0')
- * ->uri('consolidation-org/Robo')
- * ->description('Add stuff people need.')
- * ->change('Fix #123')
- * ->change('Add frobulation method to all widgets')
- * ->run();
- * ?>
- * ```
- */
-class GitHubRelease extends GitHub
-{
- /**
- * @var string
- */
- protected $tag;
-
- /**
- * @var string
- */
- protected $name;
-
- /**
- * @var string
- */
- protected $description = '';
-
- /**
- * @var string[]
- */
- protected $changes = [];
-
- /**
- * @var bool
- */
- protected $draft = false;
-
- /**
- * @var bool
- */
- protected $prerelease = false;
-
- /**
- * @var string
- */
- protected $comittish = 'master';
-
- /**
- * @param string $tag
- */
- public function __construct($tag)
- {
- $this->tag = $tag;
- }
-
- /**
- * @param string $tag
- *
- * @return $this
- */
- public function tag($tag)
- {
- $this->tag = $tag;
- return $this;
- }
-
- /**
- * @param bool $draft
- *
- * @return $this
- */
- public function draft($draft)
- {
- $this->draft = $draft;
- return $this;
- }
-
- /**
- * @param string $name
- *
- * @return $this
- */
- public function name($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * @param string $description
- *
- * @return $this
- */
- public function description($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * @param bool $prerelease
- *
- * @return $this
- */
- public function prerelease($prerelease)
- {
- $this->prerelease = $prerelease;
- return $this;
- }
-
- /**
- * @param string $comittish
- *
- * @return $this
- */
- public function comittish($comittish)
- {
- $this->comittish = $comittish;
- return $this;
- }
-
- /**
- * @param string $description
- *
- * @return $this
- */
- public function appendDescription($description)
- {
- if (!empty($this->description)) {
- $this->description .= "\n\n";
- }
- $this->description .= $description;
- return $this;
- }
-
- public function changes(array $changes)
- {
- $this->changes = array_merge($this->changes, $changes);
- return $this;
- }
-
- /**
- * @param string $change
- *
- * @return $this
- */
- public function change($change)
- {
- $this->changes[] = $change;
- return $this;
- }
-
- /**
- * @return string
- */
- protected function getBody()
- {
- $body = $this->description;
- if (!empty($this->changes)) {
- $changes = array_map(
- function ($line) {
- return "* $line";
- },
- $this->changes
- );
- $changesText = implode("\n", $changes);
- $body .= "### Changelog \n\n$changesText";
- }
- return $body;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Releasing {tag}', ['tag' => $this->tag]);
- $this->startTimer();
- list($code, $data) = $this->sendRequest(
- 'releases',
- [
- "tag_name" => $this->tag,
- "target_commitish" => $this->comittish,
- "name" => $this->name,
- "body" => $this->getBody(),
- "draft" => $this->draft,
- "prerelease" => $this->prerelease
- ]
- );
- $this->stopTimer();
-
- return new Result(
- $this,
- in_array($code, [200, 201]) ? 0 : 1,
- isset($data->message) ? $data->message : '',
- ['response' => $data, 'time' => $this->getExecutionTime()]
- );
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/OpenBrowser.php b/vendor/consolidation/robo/src/Task/Development/OpenBrowser.php
deleted file mode 100644
index ea01b326d..000000000
--- a/vendor/consolidation/robo/src/Task/Development/OpenBrowser.php
+++ /dev/null
@@ -1,80 +0,0 @@
-taskOpenBrowser('http://localhost')
- * ->run();
- *
- * // open two browser windows
- * $this->taskOpenBrowser([
- * 'http://localhost/mysite',
- * 'http://localhost/mysite2'
- * ])
- * ->run();
- * ```
- */
-class OpenBrowser extends BaseTask
-{
- /**
- * @var string[]
- */
- protected $urls = [];
-
- /**
- * @param string|array $url
- */
- public function __construct($url)
- {
- $this->urls = (array) $url;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $openCommand = $this->getOpenCommand();
-
- if (empty($openCommand)) {
- return Result::error($this, 'no suitable browser opening command found');
- }
-
- foreach ($this->urls as $url) {
- passthru(sprintf($openCommand, ProcessUtils::escapeArgument($url)));
- $this->printTaskInfo('Opened {url}', ['url' => $url]);
- }
-
- return Result::success($this);
- }
-
- /**
- * @return null|string
- */
- private function getOpenCommand()
- {
- if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
- return 'start "web" explorer "%s"';
- }
-
- passthru('which xdg-open', $linux);
- passthru('which open', $osx);
-
- if (0 === $linux) {
- return 'xdg-open %s';
- }
-
- if (0 === $osx) {
- return 'open %s';
- }
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/PackPhar.php b/vendor/consolidation/robo/src/Task/Development/PackPhar.php
deleted file mode 100644
index 6d0a04d72..000000000
--- a/vendor/consolidation/robo/src/Task/Development/PackPhar.php
+++ /dev/null
@@ -1,252 +0,0 @@
-taskPackPhar('package/codecept.phar')
- * ->compress()
- * ->stub('package/stub.php');
- *
- * $finder = Finder::create()
- * ->name('*.php')
- * ->in('src');
- *
- * foreach ($finder as $file) {
- * $pharTask->addFile('src/'.$file->getRelativePathname(), $file->getRealPath());
- * }
- *
- * $finder = Finder::create()->files()
- * ->name('*.php')
- * ->in('vendor');
- *
- * foreach ($finder as $file) {
- * $pharTask->addStripped('vendor/'.$file->getRelativePathname(), $file->getRealPath());
- * }
- * $pharTask->run();
- *
- * // verify Phar is packed correctly
- * $code = $this->_exec('php package/codecept.phar');
- * ?>
- * ```
- */
-class PackPhar extends BaseTask implements PrintedInterface, ProgressIndicatorAwareInterface
-{
- /**
- * @var \Phar
- */
- protected $phar;
-
- /**
- * @var null|string
- */
- protected $compileDir = null;
-
- /**
- * @var string
- */
- protected $filename;
-
- /**
- * @var bool
- */
- protected $compress = false;
-
- protected $stub;
-
- protected $bin;
-
- /**
- * @var string
- */
- protected $stubTemplate = <<filename = $filename;
- if (file_exists($file->getRealPath())) {
- @unlink($file->getRealPath());
- }
- $this->phar = new \Phar($file->getPathname(), 0, $file->getFilename());
- }
-
- /**
- * @param bool $compress
- *
- * @return $this
- */
- public function compress($compress = true)
- {
- $this->compress = $compress;
- return $this;
- }
-
- /**
- * @param string $stub
- *
- * @return $this
- */
- public function stub($stub)
- {
- $this->phar->setStub(file_get_contents($stub));
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function progressIndicatorSteps()
- {
- // run() will call advanceProgressIndicator() once for each
- // file, one after calling stopBuffering, and again after compression.
- return count($this->files)+2;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Creating {filename}', ['filename' => $this->filename]);
- $this->phar->setSignatureAlgorithm(\Phar::SHA1);
- $this->phar->startBuffering();
-
- $this->printTaskInfo('Packing {file-count} files into phar', ['file-count' => count($this->files)]);
-
- $this->startProgressIndicator();
- foreach ($this->files as $path => $content) {
- $this->phar->addFromString($path, $content);
- $this->advanceProgressIndicator();
- }
- $this->phar->stopBuffering();
- $this->advanceProgressIndicator();
-
- if ($this->compress and in_array('GZ', \Phar::getSupportedCompression())) {
- if (count($this->files) > 1000) {
- $this->printTaskInfo('Too many files. Compression DISABLED');
- } else {
- $this->printTaskInfo('{filename} compressed', ['filename' => $this->filename]);
- $this->phar = $this->phar->compressFiles(\Phar::GZ);
- }
- }
- $this->advanceProgressIndicator();
- $this->stopProgressIndicator();
- $this->printTaskSuccess('{filename} produced', ['filename' => $this->filename]);
- return Result::success($this, '', ['time' => $this->getExecutionTime()]);
- }
-
- /**
- * @param string $path
- * @param string $file
- *
- * @return $this
- */
- public function addStripped($path, $file)
- {
- $this->files[$path] = $this->stripWhitespace(file_get_contents($file));
- return $this;
- }
-
- /**
- * @param string $path
- * @param string $file
- *
- * @return $this
- */
- public function addFile($path, $file)
- {
- $this->files[$path] = file_get_contents($file);
- return $this;
- }
-
- /**
- * @param \Symfony\Component\Finder\SplFileInfo[] $files
- */
- public function addFiles($files)
- {
- foreach ($files as $file) {
- $this->addFile($file->getRelativePathname(), $file->getRealPath());
- }
- }
-
- /**
- * @param string $file
- *
- * @return $this
- */
- public function executable($file)
- {
- $source = file_get_contents($file);
- if (strpos($source, '#!/usr/bin/env php') === 0) {
- $source = substr($source, strpos($source, 'phar->setStub(sprintf($this->stubTemplate, $source));
- return $this;
- }
-
- /**
- * Strips whitespace from source. Taken from composer
- *
- * @param string $source
- *
- * @return string
- */
- private function stripWhitespace($source)
- {
- if (!function_exists('token_get_all')) {
- return $source;
- }
-
- $output = '';
- foreach (token_get_all($source) as $token) {
- if (is_string($token)) {
- $output .= $token;
- } elseif (in_array($token[0], array(T_COMMENT, T_DOC_COMMENT))) {
- // $output .= $token[1];
- $output .= str_repeat("\n", substr_count($token[1], "\n"));
- } elseif (T_WHITESPACE === $token[0]) {
- // reduce wide spaces
- $whitespace = preg_replace('{[ \t]+}', ' ', $token[1]);
- // normalize newlines to \n
- $whitespace = preg_replace('{(?:\r\n|\r|\n)}', "\n", $whitespace);
- // trim leading spaces
- $whitespace = preg_replace('{\n +}', "\n", $whitespace);
- $output .= $whitespace;
- } else {
- $output .= $token[1];
- }
- }
-
- return $output;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/PhpServer.php b/vendor/consolidation/robo/src/Task/Development/PhpServer.php
deleted file mode 100644
index 6dd36680a..000000000
--- a/vendor/consolidation/robo/src/Task/Development/PhpServer.php
+++ /dev/null
@@ -1,86 +0,0 @@
-taskServer(8000)
- * ->dir('public')
- * ->run();
- *
- * // run with IP 0.0.0.0
- * $this->taskServer(8000)
- * ->host('0.0.0.0')
- * ->run();
- *
- * // execute server in background
- * $this->taskServer(8000)
- * ->background()
- * ->run();
- * ?>
- * ```
- */
-class PhpServer extends Exec
-{
- /**
- * @var int
- */
- protected $port;
-
- /**
- * @var string
- */
- protected $host = '127.0.0.1';
-
- /**
- * {@inheritdoc}
- */
- protected $command = 'php -S %s:%d ';
-
- /**
- * @param int $port
- */
- public function __construct($port)
- {
- $this->port = $port;
-
- if (strtolower(PHP_OS) === 'linux') {
- $this->command = 'exec php -S %s:%d ';
- }
- }
-
- /**
- * @param string $host
- *
- * @return $this
- */
- public function host($host)
- {
- $this->host = $host;
- return $this;
- }
-
- /**
- * @param string $path
- *
- * @return $this
- */
- public function dir($path)
- {
- $this->command .= "-t $path";
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return sprintf($this->command . $this->arguments, $this->host, $this->port);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/SemVer.php b/vendor/consolidation/robo/src/Task/Development/SemVer.php
deleted file mode 100644
index 639c15323..000000000
--- a/vendor/consolidation/robo/src/Task/Development/SemVer.php
+++ /dev/null
@@ -1,255 +0,0 @@
-taskSemVer('.semver')
- * ->increment()
- * ->run();
- * ?>
- * ```
- *
- */
-class SemVer implements TaskInterface
-{
- const SEMVER = "---\n:major: %d\n:minor: %d\n:patch: %d\n:special: '%s'\n:metadata: '%s'";
-
- const REGEX = "/^\-\-\-\r?\n:major:\s(0|[1-9]\d*)\r?\n:minor:\s(0|[1-9]\d*)\r?\n:patch:\s(0|[1-9]\d*)\r?\n:special:\s'([a-zA-z0-9]*\.?(?:0|[1-9]\d*)?)'\r?\n:metadata:\s'((?:0|[1-9]\d*)?(?:\.[a-zA-z0-9\.]*)?)'/";
-
- const REGEX_STRING = '/^(?[0-9]+)\.(?[0-9]+)\.(?[0-9]+)(|-(?[0-9a-zA-Z.]+))(|\+(?[0-9a-zA-Z.]+))$/';
-
- /**
- * @var string
- */
- protected $format = 'v%M.%m.%p%s';
-
- /**
- * @var string
- */
- protected $specialSeparator = '-';
-
- /**
- * @var string
- */
- protected $metadataSeparator = '+';
-
- /**
- * @var string
- */
- protected $path;
-
- /**
- * @var array
- */
- protected $version = [
- 'major' => 0,
- 'minor' => 0,
- 'patch' => 0,
- 'special' => '',
- 'metadata' => ''
- ];
-
- /**
- * @param string $filename
- */
- public function __construct($filename = '')
- {
- $this->path = $filename;
-
- if (file_exists($this->path)) {
- $semverFileContents = file_get_contents($this->path);
- $this->parseFile($semverFileContents);
- }
- }
-
- /**
- * @return string
- */
- public function __toString()
- {
- $search = ['%M', '%m', '%p', '%s'];
- $replace = $this->version + ['extra' => ''];
-
- foreach (['special', 'metadata'] as $key) {
- if (!empty($replace[$key])) {
- $separator = $key . 'Separator';
- $replace['extra'] .= $this->{$separator} . $replace[$key];
- }
- unset($replace[$key]);
- }
-
- return str_replace($search, $replace, $this->format);
- }
-
- public function version($version)
- {
- $this->parseString($version);
- return $this;
- }
-
- /**
- * @param string $format
- *
- * @return $this
- */
- public function setFormat($format)
- {
- $this->format = $format;
- return $this;
- }
-
- /**
- * @param string $separator
- *
- * @return $this
- */
- public function setMetadataSeparator($separator)
- {
- $this->metadataSeparator = $separator;
- return $this;
- }
-
- /**
- * @param string $separator
- *
- * @return $this
- */
- public function setPrereleaseSeparator($separator)
- {
- $this->specialSeparator = $separator;
- return $this;
- }
-
- /**
- * @param string $what
- *
- * @return $this
- *
- * @throws \Robo\Exception\TaskException
- */
- public function increment($what = 'patch')
- {
- switch ($what) {
- case 'major':
- $this->version['major']++;
- $this->version['minor'] = 0;
- $this->version['patch'] = 0;
- break;
- case 'minor':
- $this->version['minor']++;
- $this->version['patch'] = 0;
- break;
- case 'patch':
- $this->version['patch']++;
- break;
- default:
- throw new TaskException(
- $this,
- 'Bad argument, only one of the following is allowed: major, minor, patch'
- );
- }
- return $this;
- }
-
- /**
- * @param string $tag
- *
- * @return $this
- *
- * @throws \Robo\Exception\TaskException
- */
- public function prerelease($tag = 'RC')
- {
- if (!is_string($tag)) {
- throw new TaskException($this, 'Bad argument, only strings allowed.');
- }
-
- $number = 0;
-
- if (!empty($this->version['special'])) {
- list($current, $number) = explode('.', $this->version['special']);
- if ($tag != $current) {
- $number = 0;
- }
- }
-
- $number++;
-
- $this->version['special'] = implode('.', [$tag, $number]);
- return $this;
- }
-
- /**
- * @param array|string $data
- *
- * @return $this
- */
- public function metadata($data)
- {
- if (is_array($data)) {
- $data = implode('.', $data);
- }
-
- $this->version['metadata'] = $data;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $written = $this->dump();
- return new Result($this, (int)($written === false), $this->__toString());
- }
-
- /**
- * @return bool
- *
- * @throws \Robo\Exception\TaskException
- */
- protected function dump()
- {
- if (empty($this->path)) {
- return true;
- }
- extract($this->version);
- $semver = sprintf(self::SEMVER, $major, $minor, $patch, $special, $metadata);
- if (is_writeable($this->path) === false || file_put_contents($this->path, $semver) === false) {
- throw new TaskException($this, 'Failed to write semver file.');
- }
- return true;
- }
-
- protected function parseString($semverString)
- {
- if (!preg_match_all(self::REGEX_STRING, $semverString, $matches)) {
- throw new TaskException($this, 'Bad semver value: ' . $semverString);
- }
-
- $this->version = array_intersect_key($matches, $this->version);
- $this->version = array_map(function ($item) {
- return $item[0];
- }, $this->version);
- }
-
- /**
- * @throws \Robo\Exception\TaskException
- */
- protected function parseFile($semverFileContents)
- {
- if (!preg_match_all(self::REGEX, $semverFileContents, $matches)) {
- throw new TaskException($this, 'Bad semver file.');
- }
-
- list(, $major, $minor, $patch, $special, $metadata) = array_map('current', $matches);
- $this->version = compact('major', 'minor', 'patch', 'special', 'metadata');
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Development/loadTasks.php b/vendor/consolidation/robo/src/Task/Development/loadTasks.php
deleted file mode 100644
index e3dc49a39..000000000
--- a/vendor/consolidation/robo/src/Task/Development/loadTasks.php
+++ /dev/null
@@ -1,86 +0,0 @@
-task(Changelog::class, $filename);
- }
-
- /**
- * @param string $filename
- *
- * @return GenerateMarkdownDoc
- */
- protected function taskGenDoc($filename)
- {
- return $this->task(GenerateMarkdownDoc::class, $filename);
- }
-
- /**
- * @param string $className
- * @param string $wrapperClassName
- *
- * @return \Robo\Task\Development\GenerateTask
- */
- protected function taskGenTask($className, $wrapperClassName = '')
- {
- return $this->task(GenerateTask::class, $className, $wrapperClassName);
- }
-
- /**
- * @param string $pathToSemVer
- *
- * @return SemVer
- */
- protected function taskSemVer($pathToSemVer = '.semver')
- {
- return $this->task(SemVer::class, $pathToSemVer);
- }
-
- /**
- * @param int $port
- *
- * @return PhpServer
- */
- protected function taskServer($port = 8000)
- {
- return $this->task(PhpServer::class, $port);
- }
-
- /**
- * @param string $filename
- *
- * @return PackPhar
- */
- protected function taskPackPhar($filename)
- {
- return $this->task(PackPhar::class, $filename);
- }
-
- /**
- * @param string $tag
- *
- * @return GitHubRelease
- */
- protected function taskGitHubRelease($tag)
- {
- return $this->task(GitHubRelease::class, $tag);
- }
-
- /**
- * @param string|array $url
- *
- * @return OpenBrowser
- */
- protected function taskOpenBrowser($url)
- {
- return $this->task(OpenBrowser::class, $url);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/Base.php b/vendor/consolidation/robo/src/Task/Docker/Base.php
deleted file mode 100644
index 135f39e7a..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/Base.php
+++ /dev/null
@@ -1,28 +0,0 @@
-getCommand();
- return $this->executeCommand($command);
- }
-
- abstract public function getCommand();
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/Build.php b/vendor/consolidation/robo/src/Task/Docker/Build.php
deleted file mode 100644
index 11eb92ab4..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/Build.php
+++ /dev/null
@@ -1,55 +0,0 @@
-taskDockerBuild()->run();
- *
- * $this->taskDockerBuild('path/to/dir')
- * ->tag('database')
- * ->run();
- *
- * ?>
- *
- * ```
- *
- * Class Build
- * @package Robo\Task\Docker
- */
-class Build extends Base
-{
- /**
- * @var string
- */
- protected $path;
-
- /**
- * @param string $path
- */
- public function __construct($path = '.')
- {
- $this->command = "docker build";
- $this->path = $path;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . ' ' . $this->arguments . ' ' . $this->path;
- }
-
- /**
- * @param string $tag
- *
- * @return $this
- */
- public function tag($tag)
- {
- return $this->option('-t', $tag);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/Commit.php b/vendor/consolidation/robo/src/Task/Docker/Commit.php
deleted file mode 100644
index 302f1920e..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/Commit.php
+++ /dev/null
@@ -1,66 +0,0 @@
-taskDockerCommit($containerId)
- * ->name('my/database')
- * ->run();
- *
- * // alternatively you can take the result from DockerRun task:
- *
- * $result = $this->taskDockerRun('db')
- * ->exec('./prepare_database.sh')
- * ->run();
- *
- * $task->dockerCommit($result)
- * ->name('my/database')
- * ->run();
- * ```
- */
-class Commit extends Base
-{
- /**
- * @var string
- */
- protected $command = "docker commit";
-
- /**
- * @var string
- */
- protected $name;
-
- /**
- * @var string
- */
- protected $cid;
-
- /**
- * @param string|\Robo\Task\Docker\Result $cidOrResult
- */
- public function __construct($cidOrResult)
- {
- $this->cid = $cidOrResult instanceof Result ? $cidOrResult->getCid() : $cidOrResult;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . ' ' . $this->cid . ' ' . $this->name . ' ' . $this->arguments;
- }
-
- /**
- * @param $name
- *
- * @return $this
- */
- public function name($name)
- {
- $this->name = $name;
- return $this;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/Exec.php b/vendor/consolidation/robo/src/Task/Docker/Exec.php
deleted file mode 100644
index fa67c8da0..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/Exec.php
+++ /dev/null
@@ -1,95 +0,0 @@
-taskDockerRun('test_env')
- * ->detached()
- * ->run();
- *
- * $this->taskDockerExec($test)
- * ->interactive()
- * ->exec('./runtests')
- * ->run();
- *
- * // alternatively use commands from other tasks
- *
- * $this->taskDockerExec($test)
- * ->interactive()
- * ->exec($this->taskCodecept()->suite('acceptance'))
- * ->run();
- * ?>
- * ```
- *
- */
-class Exec extends Base
-{
- use CommandReceiver;
-
- /**
- * @var string
- */
- protected $command = "docker exec";
-
- /**
- * @var string
- */
- protected $cid;
-
- /**
- * @var string
- */
- protected $run = '';
-
- /**
- * @param string|\Robo\Result $cidOrResult
- */
- public function __construct($cidOrResult)
- {
- $this->cid = $cidOrResult instanceof Result ? $cidOrResult->getCid() : $cidOrResult;
- }
-
- /**
- * @return $this
- */
- public function detached()
- {
- $this->option('-d');
- return $this;
- }
-
- /**
- * {@inheritdoc)}
- */
- public function interactive($interactive = true)
- {
- if ($interactive) {
- $this->option('-i');
- }
- return parent::interactive($interactive);
- }
-
- /**
- * @param string|\Robo\Contract\CommandInterface $command
- *
- * @return $this
- */
- public function exec($command)
- {
- $this->run = $this->receiveCommand($command);
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . ' ' . $this->arguments . ' ' . $this->cid.' '.$this->run;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/Pull.php b/vendor/consolidation/robo/src/Task/Docker/Pull.php
deleted file mode 100644
index 32ba5b40f..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/Pull.php
+++ /dev/null
@@ -1,33 +0,0 @@
-taskDockerPull('wordpress')
- * ->run();
- *
- * ?>
- * ```
- *
- */
-class Pull extends Base
-{
- /**
- * @param string $image
- */
- public function __construct($image)
- {
- $this->command = "docker pull $image ";
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . ' ' . $this->arguments;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/Remove.php b/vendor/consolidation/robo/src/Task/Docker/Remove.php
deleted file mode 100644
index 0a8c0ac61..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/Remove.php
+++ /dev/null
@@ -1,32 +0,0 @@
-taskDockerRemove($container)
- * ->run();
- * ?>
- * ```
- *
- */
-class Remove extends Base
-{
- /**
- * @param string $container
- */
- public function __construct($container)
- {
- $this->command = "docker rm $container ";
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . ' ' . $this->arguments;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/Result.php b/vendor/consolidation/robo/src/Task/Docker/Result.php
deleted file mode 100644
index 0533159a8..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/Result.php
+++ /dev/null
@@ -1,35 +0,0 @@
-taskDockerRun('mysql')->run();
- *
- * $result = $this->taskDockerRun('my_db_image')
- * ->env('DB', 'database_name')
- * ->volume('/path/to/data', '/data')
- * ->detached()
- * ->publish(3306)
- * ->name('my_mysql')
- * ->run();
- *
- * // retrieve container's cid:
- * $this->say("Running container ".$result->getCid());
- *
- * // execute script inside container
- * $result = $this->taskDockerRun('db')
- * ->exec('prepare_test_data.sh')
- * ->run();
- *
- * $this->taskDockerCommit($result)
- * ->name('test_db')
- * ->run();
- *
- * // link containers
- * $mysql = $this->taskDockerRun('mysql')
- * ->name('wp_db') // important to set name for linked container
- * ->env('MYSQL_ROOT_PASSWORD', '123456')
- * ->run();
- *
- * $this->taskDockerRun('wordpress')
- * ->link($mysql)
- * ->publish(80, 8080)
- * ->detached()
- * ->run();
- *
- * ?>
- * ```
- *
- */
-class Run extends Base
-{
- use CommandReceiver;
-
- /**
- * @var string
- */
- protected $image = '';
-
- /**
- * @var string
- */
- protected $run = '';
-
- /**
- * @var string
- */
- protected $cidFile;
-
- /**
- * @var string
- */
- protected $name;
-
- /**
- * @var string
- */
- protected $dir;
-
- /**
- * @param string $image
- */
- public function __construct($image)
- {
- $this->image = $image;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getPrinted()
- {
- return $this->isPrinted;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- if ($this->isPrinted) {
- $this->option('-i');
- }
- if ($this->cidFile) {
- $this->option('cidfile', $this->cidFile);
- }
- return trim('docker run ' . $this->arguments . ' ' . $this->image . ' ' . $this->run);
- }
-
- /**
- * @return $this
- */
- public function detached()
- {
- $this->option('-d');
- return $this;
- }
-
- /**
- * {@inheritdoc)}
- */
- public function interactive($interactive = true)
- {
- if ($interactive) {
- $this->option('-i');
- }
- return parent::interactive($interactive);
- }
-
- /**
- * @param string|\Robo\Contract\CommandInterface $run
- *
- * @return $this
- */
- public function exec($run)
- {
- $this->run = $this->receiveCommand($run);
- return $this;
- }
-
- /**
- * @param string $from
- * @param null|string $to
- *
- * @return $this
- */
- public function volume($from, $to = null)
- {
- $volume = $to ? "$from:$to" : $from;
- $this->option('-v', $volume);
- return $this;
- }
-
- /**
- * Set environment variables.
- * n.b. $this->env($variable, $value) also available here,
- * inherited from ExecTrait.
- *
- * @param array $env
- * @return type
- */
- public function envVars(array $env)
- {
- foreach ($env as $variable => $value) {
- $this->setDockerEnv($variable, $value);
- }
- return $this;
- }
-
- /**
- * @param string $variable
- * @param null|string $value
- *
- * @return $this
- */
- protected function setDockerEnv($variable, $value = null)
- {
- $env = $value ? "$variable=$value" : $variable;
- return $this->option("-e", $env);
- }
-
- /**
- * @param null|int $port
- * @param null|int $portTo
- *
- * @return $this
- */
- public function publish($port = null, $portTo = null)
- {
- if (!$port) {
- return $this->option('-P');
- }
- if ($portTo) {
- $port = "$port:$portTo";
- }
- return $this->option('-p', $port);
- }
-
- /**
- * @param string $dir
- *
- * @return $this
- */
- public function containerWorkdir($dir)
- {
- return $this->option('-w', $dir);
- }
-
- /**
- * @param string $user
- *
- * @return $this
- */
- public function user($user)
- {
- return $this->option('-u', $user);
- }
-
- /**
- * @return $this
- */
- public function privileged()
- {
- return $this->option('--privileged');
- }
-
- /**
- * @param string $name
- *
- * @return $this
- */
- public function name($name)
- {
- $this->name = $name;
- return $this->option('name', $name);
- }
-
- /**
- * @param string|\Robo\Task\Docker\Result $name
- * @param string $alias
- *
- * @return $this
- */
- public function link($name, $alias)
- {
- if ($name instanceof Result) {
- $name = $name->getContainerName();
- }
- $this->option('link', "$name:$alias");
- return $this;
- }
-
- /**
- * @param string $dir
- *
- * @return $this
- */
- public function tmpDir($dir)
- {
- $this->dir = $dir;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTmpDir()
- {
- return $this->dir ? $this->dir : sys_get_temp_dir();
- }
-
- /**
- * @return string
- */
- public function getUniqId()
- {
- return uniqid();
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->cidFile = $this->getTmpDir() . '/docker_' . $this->getUniqId() . '.cid';
- $result = parent::run();
- $result['cid'] = $this->getCid();
- return $result;
- }
-
- /**
- * @return null|string
- */
- protected function getCid()
- {
- if (!$this->cidFile || !file_exists($this->cidFile)) {
- return null;
- }
- $cid = trim(file_get_contents($this->cidFile));
- @unlink($this->cidFile);
- return $cid;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/Start.php b/vendor/consolidation/robo/src/Task/Docker/Start.php
deleted file mode 100644
index ef19d74d1..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/Start.php
+++ /dev/null
@@ -1,41 +0,0 @@
-taskDockerStart($cidOrResult)
- * ->run();
- * ?>
- * ```
- */
-class Start extends Base
-{
- /**
- * @var string
- */
- protected $command = "docker start";
-
- /**
- * @var null|string
- */
- protected $cid;
-
- /**
- * @param string|\Robo\Task\Docker\Result $cidOrResult
- */
- public function __construct($cidOrResult)
- {
- $this->cid = $cidOrResult instanceof Result ? $cidOrResult->getCid() : $cidOrResult;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . ' ' . $this->arguments . ' ' . $this->cid;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/Stop.php b/vendor/consolidation/robo/src/Task/Docker/Stop.php
deleted file mode 100644
index 4d0d436d3..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/Stop.php
+++ /dev/null
@@ -1,41 +0,0 @@
-taskDockerStop($cidOrResult)
- * ->run();
- * ?>
- * ```
- */
-class Stop extends Base
-{
- /**
- * @var string
- */
- protected $command = "docker stop";
-
- /**
- * @var null|string
- */
- protected $cid;
-
- /**
- * @param string|\Robo\Task\Docker\Result $cidOrResult
- */
- public function __construct($cidOrResult)
- {
- $this->cid = $cidOrResult instanceof Result ? $cidOrResult->getCid() : $cidOrResult;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . ' ' . $this->arguments . ' ' . $this->cid;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Docker/loadTasks.php b/vendor/consolidation/robo/src/Task/Docker/loadTasks.php
deleted file mode 100644
index e58f5ef0c..000000000
--- a/vendor/consolidation/robo/src/Task/Docker/loadTasks.php
+++ /dev/null
@@ -1,85 +0,0 @@
-task(Run::class, $image);
- }
-
- /**
- * @param string $image
- *
- * @return \Robo\Task\Docker\Pull
- */
- protected function taskDockerPull($image)
- {
- return $this->task(Pull::class, $image);
- }
-
- /**
- * @param string $path
- *
- * @return \Robo\Task\Docker\Build
- */
- protected function taskDockerBuild($path = '.')
- {
- return $this->task(Build::class, $path);
- }
-
- /**
- * @param string|\Robo\Task\Docker\Result $cidOrResult
- *
- * @return \Robo\Task\Docker\Stop
- */
- protected function taskDockerStop($cidOrResult)
- {
- return $this->task(Stop::class, $cidOrResult);
- }
-
- /**
- * @param string|\Robo\Task\Docker\Result $cidOrResult
- *
- * @return \Robo\Task\Docker\Commit
- */
- protected function taskDockerCommit($cidOrResult)
- {
- return $this->task(Commit::class, $cidOrResult);
- }
-
- /**
- * @param string|\Robo\Task\Docker\Result $cidOrResult
- *
- * @return \Robo\Task\Docker\Start
- */
- protected function taskDockerStart($cidOrResult)
- {
- return $this->task(Start::class, $cidOrResult);
- }
-
- /**
- * @param string|\Robo\Task\Docker\Result $cidOrResult
- *
- * @return \Robo\Task\Docker\Remove
- */
- protected function taskDockerRemove($cidOrResult)
- {
- return $this->task(Remove::class, $cidOrResult);
- }
-
- /**
- * @param string|\Robo\Task\Docker\Result $cidOrResult
- *
- * @return \Robo\Task\Docker\Exec
- */
- protected function taskDockerExec($cidOrResult)
- {
- return $this->task(Exec::class, $cidOrResult);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/File/Concat.php b/vendor/consolidation/robo/src/Task/File/Concat.php
deleted file mode 100644
index 12b1eca00..000000000
--- a/vendor/consolidation/robo/src/Task/File/Concat.php
+++ /dev/null
@@ -1,101 +0,0 @@
-taskConcat([
- * 'web/assets/screen.css',
- * 'web/assets/print.css',
- * 'web/assets/theme.css'
- * ])
- * ->to('web/assets/style.css')
- * ->run()
- * ?>
- * ```
- */
-class Concat extends BaseTask
-{
- use ResourceExistenceChecker;
-
- /**
- * @var array|Iterator
- */
- protected $files;
-
- /**
- * @var string
- */
- protected $dst;
-
- /**
- * Constructor.
- *
- * @param array|Iterator $files
- */
- public function __construct($files)
- {
- $this->files = $files;
- }
-
- /**
- * set the destination file
- *
- * @param string $dst
- *
- * @return $this
- */
- public function to($dst)
- {
- $this->dst = $dst;
-
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (is_null($this->dst) || "" === $this->dst) {
- return Result::error($this, 'You must specify a destination file with to() method.');
- }
-
- if (!$this->checkResources($this->files, 'file')) {
- return Result::error($this, 'Source files are missing!');
- }
-
- if (file_exists($this->dst) && !is_writable($this->dst)) {
- return Result::error($this, 'Destination already exists and cannot be overwritten.');
- }
-
- $dump = '';
-
- foreach ($this->files as $path) {
- foreach (glob($path) as $file) {
- $dump .= file_get_contents($file) . "\n";
- }
- }
-
- $this->printTaskInfo('Writing {destination}', ['destination' => $this->dst]);
-
- $dst = $this->dst . '.part';
- $write_result = file_put_contents($dst, $dump);
-
- if (false === $write_result) {
- @unlink($dst);
- return Result::error($this, 'File write failed.');
- }
- // Cannot be cross-volume; should always succeed.
- @rename($dst, $this->dst);
-
- return Result::success($this);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/File/Replace.php b/vendor/consolidation/robo/src/Task/File/Replace.php
deleted file mode 100644
index 0107df13c..000000000
--- a/vendor/consolidation/robo/src/Task/File/Replace.php
+++ /dev/null
@@ -1,141 +0,0 @@
-taskReplaceInFile('VERSION')
- * ->from('0.2.0')
- * ->to('0.3.0')
- * ->run();
- *
- * $this->taskReplaceInFile('README.md')
- * ->from(date('Y')-1)
- * ->to(date('Y'))
- * ->run();
- *
- * $this->taskReplaceInFile('config.yml')
- * ->regex('~^service:~')
- * ->to('services:')
- * ->run();
- *
- * $this->taskReplaceInFile('box/robo.txt')
- * ->from(array('##dbname##', '##dbhost##'))
- * ->to(array('robo', 'localhost'))
- * ->run();
- * ?>
- * ```
- */
-class Replace extends BaseTask
-{
- /**
- * @var string
- */
- protected $filename;
-
- /**
- * @var string|string[]
- */
- protected $from;
-
- /**
- * @var string|string[]
- */
- protected $to;
-
- /**
- * @var string
- */
- protected $regex;
-
- /**
- * @param string $filename
- */
- public function __construct($filename)
- {
- $this->filename = $filename;
- }
-
- /**
- * @param string $filename
- *
- * @return $this
- */
- public function filename($filename)
- {
- $this->filename = $filename;
- return $this;
- }
-
- /**
- * String(s) to be replaced.
- *
- * @param string|string[] $from
- *
- * @return $this
- */
- public function from($from)
- {
- $this->from = $from;
- return $this;
- }
-
- /**
- * Value(s) to be set as a replacement.
- *
- * @param string|string[] $to
- *
- * @return $this
- */
- public function to($to)
- {
- $this->to = $to;
- return $this;
- }
-
- /**
- * Regex to match string to be replaced.
- *
- * @param string $regex
- *
- * @return $this
- */
- public function regex($regex)
- {
- $this->regex = $regex;
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (!file_exists($this->filename)) {
- $this->printTaskError('File {filename} does not exist', ['filename' => $this->filename]);
- return false;
- }
-
- $text = file_get_contents($this->filename);
- if ($this->regex) {
- $text = preg_replace($this->regex, $this->to, $text, -1, $count);
- } else {
- $text = str_replace($this->from, $this->to, $text, $count);
- }
- if ($count > 0) {
- $res = file_put_contents($this->filename, $text);
- if ($res === false) {
- return Result::error($this, "Error writing to file {filename}.", ['filename' => $this->filename]);
- }
- $this->printTaskSuccess("{filename} updated. {count} items replaced", ['filename' => $this->filename, 'count' => $count]);
- } else {
- $this->printTaskInfo("{filename} unchanged. {count} items replaced", ['filename' => $this->filename, 'count' => $count]);
- }
- return Result::success($this, '', ['replaced' => $count]);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/File/TmpFile.php b/vendor/consolidation/robo/src/Task/File/TmpFile.php
deleted file mode 100644
index 4a18691d6..000000000
--- a/vendor/consolidation/robo/src/Task/File/TmpFile.php
+++ /dev/null
@@ -1,72 +0,0 @@
-collectionBuilder();
- * $tmpFilePath = $collection->taskTmpFile()
- * ->line('-----')
- * ->line(date('Y-m-d').' '.$title)
- * ->line('----')
- * ->getPath();
- * $collection->run();
- * ?>
- * ```
- */
-class TmpFile extends Write implements CompletionInterface
-{
- /**
- * @param string $filename
- * @param string $extension
- * @param string $baseDir
- * @param bool $includeRandomPart
- */
- public function __construct($filename = 'tmp', $extension = '', $baseDir = '', $includeRandomPart = true)
- {
- if (empty($baseDir)) {
- $baseDir = sys_get_temp_dir();
- }
- if ($includeRandomPart) {
- $random = static::randomString();
- $filename = "{$filename}_{$random}";
- }
- $filename .= $extension;
- parent::__construct("{$baseDir}/{$filename}");
- }
-
- /**
- * Generate a suitably random string to use as the suffix for our
- * temporary file.
- *
- * @param int $length
- *
- * @return string
- */
- private static function randomString($length = 12)
- {
- return substr(str_shuffle('23456789abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'), 0, $length);
- }
-
- /**
- * Delete this file when our collection completes.
- * If this temporary file is not part of a collection,
- * then it will be deleted when the program terminates,
- * presuming that it was created by taskTmpFile() or _tmpFile().
- */
- public function complete()
- {
- unlink($this->getPath());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/File/Write.php b/vendor/consolidation/robo/src/Task/File/Write.php
deleted file mode 100644
index dc2199f92..000000000
--- a/vendor/consolidation/robo/src/Task/File/Write.php
+++ /dev/null
@@ -1,335 +0,0 @@
-taskWriteToFile('blogpost.md')
- * ->line('-----')
- * ->line(date('Y-m-d').' '.$title)
- * ->line('----')
- * ->run();
- * ?>
- * ```
- */
-class Write extends BaseTask
-{
- /**
- * @var array
- */
- protected $stack = [];
-
- /**
- * @var string
- */
- protected $filename;
-
- /**
- * @var bool
- */
- protected $append = false;
-
- /**
- * @var null|string
- */
- protected $originalContents = null;
-
- /**
- * @param string $filename
- */
- public function __construct($filename)
- {
- $this->filename = $filename;
- }
-
- /**
- * @param string $filename
- *
- * @return $this
- */
- public function filename($filename)
- {
- $this->filename = $filename;
- return $this;
- }
-
- /**
- * @param bool $append
- *
- * @return $this
- */
- public function append($append = true)
- {
- $this->append = $append;
- return $this;
- }
-
- /**
- * add a line.
- *
- * @param string $line
- *
- * @return $this The current instance
- */
- public function line($line)
- {
- $this->text($line . "\n");
- return $this;
- }
-
- /**
- * add more lines.
- *
- * @param array $lines
- *
- * @return $this The current instance
- */
- public function lines(array $lines)
- {
- $this->text(implode("\n", $lines) . "\n");
- return $this;
- }
-
- /**
- * add a text.
- *
- * @param string $text
- *
- * @return $this The current instance
- */
- public function text($text)
- {
- $this->stack[] = array_merge([__FUNCTION__ . 'Collect'], func_get_args());
- return $this;
- }
-
- /**
- * add a text from a file.
- *
- * Note that the file is read in the run() method of this task.
- * To load text from the current state of a file (e.g. one that may
- * be deleted or altered by other tasks prior the execution of this one),
- * use:
- * $task->text(file_get_contents($filename));
- *
- * @param string $filename
- *
- * @return $this The current instance
- */
- public function textFromFile($filename)
- {
- $this->stack[] = array_merge([__FUNCTION__ . 'Collect'], func_get_args());
- return $this;
- }
-
- /**
- * substitute a placeholder with value, placeholder must be enclosed by `{}`.
- *
- * @param string $name
- * @param string $val
- *
- * @return $this The current instance
- */
- public function place($name, $val)
- {
- $this->replace('{'.$name.'}', $val);
-
- return $this;
- }
-
- /**
- * replace any string with value.
- *
- * @param string $string
- * @param string $replacement
- *
- * @return $this The current instance
- */
- public function replace($string, $replacement)
- {
- $this->stack[] = array_merge([__FUNCTION__ . 'Collect'], func_get_args());
- return $this;
- }
-
- /**
- * replace any string with value using regular expression.
- *
- * @param string $pattern
- * @param string $replacement
- *
- * @return $this The current instance
- */
- public function regexReplace($pattern, $replacement)
- {
- $this->stack[] = array_merge([__FUNCTION__ . 'Collect'], func_get_args());
- return $this;
- }
-
- /**
- * Append the provided text to the end of the buffer if the provided
- * regex pattern matches any text already in the buffer.
- *
- * @param string $pattern
- * @param string $text
- *
- * @return $this
- */
- public function appendIfMatches($pattern, $text)
- {
- $this->stack[] = array_merge(['appendIfMatchesCollect'], [$pattern, $text, true]);
- return $this;
- }
-
- /**
- * Append the provided text to the end of the buffer unless the provided
- * regex pattern matches any text already in the buffer.
- *
- * @param string $pattern
- * @param string $text
- *
- * @return $this
- */
- public function appendUnlessMatches($pattern, $text)
- {
- $this->stack[] = array_merge(['appendIfMatchesCollect'], [$pattern, $text, false]);
- return $this;
- }
-
- /**
- * @param $contents string
- * @param $filename string
- *
- * @return string
- */
- protected function textFromFileCollect($contents, $filename)
- {
- if (file_exists($filename)) {
- $contents .= file_get_contents($filename);
- }
- return $contents;
- }
-
- /**
- * @param string|string[] $contents
- * @param string|string[] $string
- * @param string|string[] $replacement
- *
- * @return string|string[]
- */
- protected function replaceCollect($contents, $string, $replacement)
- {
- return str_replace($string, $replacement, $contents);
- }
-
- /**
- * @param string|string[] $contents
- * @param string|string[] $pattern
- * @param string|string[] $replacement
- *
- * @return string|string[]
- */
- protected function regexReplaceCollect($contents, $pattern, $replacement)
- {
- return preg_replace($pattern, $replacement, $contents);
- }
-
- /**
- * @param string $contents
- * @param string $text
- *
- * @return string
- */
- protected function textCollect($contents, $text)
- {
- return $contents . $text;
- }
-
- /**
- * @param string $contents
- * @param string $pattern
- * @param string $text
- * @param bool $shouldMatch
- *
- * @return string
- */
- protected function appendIfMatchesCollect($contents, $pattern, $text, $shouldMatch)
- {
- if (preg_match($pattern, $contents) == $shouldMatch) {
- $contents .= $text;
- }
- return $contents;
- }
-
- /**
- * @return string
- */
- public function originalContents()
- {
- if (!isset($this->originalContents)) {
- $this->originalContents = '';
- if (file_exists($this->filename)) {
- $this->originalContents = file_get_contents($this->filename);
- }
- }
- return $this->originalContents;
- }
-
- /**
- * @return bool
- */
- public function wouldChange()
- {
- return $this->originalContents() != $this->getContentsToWrite();
- }
-
- /**
- * @return string
- */
- protected function getContentsToWrite()
- {
- $contents = "";
- if ($this->append) {
- $contents = $this->originalContents();
- }
- foreach ($this->stack as $action) {
- $command = array_shift($action);
- if (method_exists($this, $command)) {
- array_unshift($action, $contents);
- $contents = call_user_func_array([$this, $command], $action);
- }
- }
- return $contents;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo("Writing to {filename}.", ['filename' => $this->filename]);
- $contents = $this->getContentsToWrite();
- if (!file_exists(dirname($this->filename))) {
- mkdir(dirname($this->filename), 0777, true);
- }
- $res = file_put_contents($this->filename, $contents);
- if ($res === false) {
- return Result::error($this, "File {$this->filename} couldn't be created");
- }
-
- return Result::success($this);
- }
-
- /**
- * @return string
- */
- public function getPath()
- {
- return $this->filename;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/File/loadTasks.php b/vendor/consolidation/robo/src/Task/File/loadTasks.php
deleted file mode 100644
index c5f39c950..000000000
--- a/vendor/consolidation/robo/src/Task/File/loadTasks.php
+++ /dev/null
@@ -1,48 +0,0 @@
-task(Concat::class, $files);
- }
-
- /**
- * @param string $file
- *
- * @return \Robo\Task\File\Replace
- */
- protected function taskReplaceInFile($file)
- {
- return $this->task(Replace::class, $file);
- }
-
- /**
- * @param string $file
- *
- * @return \Robo\Task\File\Write
- */
- protected function taskWriteToFile($file)
- {
- return $this->task(Write::class, $file);
- }
-
- /**
- * @param string $filename
- * @param string $extension
- * @param string $baseDir
- * @param bool $includeRandomPart
- *
- * @return \Robo\Task\File\TmpFile
- */
- protected function taskTmpFile($filename = 'tmp', $extension = '', $baseDir = '', $includeRandomPart = true)
- {
- return $this->task(TmpFile::class, $filename, $extension, $baseDir, $includeRandomPart);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/BaseDir.php b/vendor/consolidation/robo/src/Task/Filesystem/BaseDir.php
deleted file mode 100644
index 434334d79..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/BaseDir.php
+++ /dev/null
@@ -1,30 +0,0 @@
-dirs = $dirs
- : $this->dirs[] = $dirs;
-
- $this->fs = new sfFilesystem();
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/CleanDir.php b/vendor/consolidation/robo/src/Task/Filesystem/CleanDir.php
deleted file mode 100644
index 762f85509..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/CleanDir.php
+++ /dev/null
@@ -1,63 +0,0 @@
-taskCleanDir(['tmp','logs'])->run();
- * // as shortcut
- * $this->_cleanDir('app/cache');
- * ?>
- * ```
- */
-class CleanDir extends BaseDir
-{
- use ResourceExistenceChecker;
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (!$this->checkResources($this->dirs, 'dir')) {
- return Result::error($this, 'Source directories are missing!');
- }
- foreach ($this->dirs as $dir) {
- $this->emptyDir($dir);
- $this->printTaskInfo("Cleaned {dir}", ['dir' => $dir]);
- }
- return Result::success($this);
- }
-
- /**
- * @param string $path
- */
- protected function emptyDir($path)
- {
- $iterator = new \RecursiveIteratorIterator(
- new \RecursiveDirectoryIterator($path),
- \RecursiveIteratorIterator::CHILD_FIRST
- );
-
- foreach ($iterator as $path) {
- if ($path->isDir()) {
- $dir = (string)$path;
- if (basename($dir) === '.' || basename($dir) === '..') {
- continue;
- }
- $this->fs->remove($dir);
- } else {
- $file = (string)$path;
- if (basename($file) === '.gitignore' || basename($file) === '.gitkeep') {
- continue;
- }
- $this->fs->remove($file);
- }
- }
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/CopyDir.php b/vendor/consolidation/robo/src/Task/Filesystem/CopyDir.php
deleted file mode 100644
index 084822229..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/CopyDir.php
+++ /dev/null
@@ -1,162 +0,0 @@
-taskCopyDir(['dist/config' => 'config'])->run();
- * // as shortcut
- * $this->_copyDir('dist/config', 'config');
- * ?>
- * ```
- */
-class CopyDir extends BaseDir
-{
- use ResourceExistenceChecker;
-
- /**
- * Explicitly declare our consturctor, so that
- * our copyDir() method does not look like a php4 constructor.
- */
- public function __construct($dirs)
- {
- parent::__construct($dirs);
- }
-
- /**
- * @var int
- */
- protected $chmod = 0755;
-
- /**
- * Files to exclude on copying.
- *
- * @var string[]
- */
- protected $exclude = [];
-
- /**
- * Overwrite destination files newer than source files.
- */
- protected $overwrite = true;
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (!$this->checkResources($this->dirs, 'dir')) {
- return Result::error($this, 'Source directories are missing!');
- }
- foreach ($this->dirs as $src => $dst) {
- $this->copyDir($src, $dst);
- $this->printTaskInfo('Copied from {source} to {destination}', ['source' => $src, 'destination' => $dst]);
- }
- return Result::success($this);
- }
-
- /**
- * Sets the default folder permissions for the destination if it doesn't exist
- *
- * @link http://en.wikipedia.org/wiki/Chmod
- * @link http://php.net/manual/en/function.mkdir.php
- * @link http://php.net/manual/en/function.chmod.php
- *
- * @param int $value
- *
- * @return $this
- */
- public function dirPermissions($value)
- {
- $this->chmod = (int)$value;
- return $this;
- }
-
- /**
- * List files to exclude.
- *
- * @param string[] $exclude
- *
- * @return $this
- */
- public function exclude($exclude = [])
- {
- $this->exclude = $this->simplifyForCompare($exclude);
- return $this;
- }
-
- /**
- * Destination files newer than source files are overwritten.
- *
- * @param bool $overwrite
- *
- * @return $this
- */
- public function overwrite($overwrite)
- {
- $this->overwrite = $overwrite;
- return $this;
- }
-
- /**
- * Copies a directory to another location.
- *
- * @param string $src Source directory
- * @param string $dst Destination directory
- * @param string $parent Parent directory
- *
- * @throws \Robo\Exception\TaskException
- */
- protected function copyDir($src, $dst, $parent = '')
- {
- $dir = @opendir($src);
- if (false === $dir) {
- throw new TaskException($this, "Cannot open source directory '" . $src . "'");
- }
- if (!is_dir($dst)) {
- mkdir($dst, $this->chmod, true);
- }
- while (false !== ($file = readdir($dir))) {
- // Support basename and full path exclusion.
- if ($this->excluded($file, $src, $parent)) {
- continue;
- }
- $srcFile = $src . '/' . $file;
- $destFile = $dst . '/' . $file;
- if (is_dir($srcFile)) {
- $this->copyDir($srcFile, $destFile, $parent . $file . DIRECTORY_SEPARATOR);
- } else {
- $this->fs->copy($srcFile, $destFile, $this->overwrite);
- }
- }
- closedir($dir);
- }
-
- /**
- * Check to see if the current item is excluded.
- */
- protected function excluded($file, $src, $parent)
- {
- return
- ($file == '.') ||
- ($file == '..') ||
- in_array($file, $this->exclude) ||
- in_array($this->simplifyForCompare($parent . $file), $this->exclude) ||
- in_array($this->simplifyForCompare($src . DIRECTORY_SEPARATOR . $file), $this->exclude);
- }
-
- /**
- * Avoid problems comparing paths on Windows that may have a
- * combination of DIRECTORY_SEPARATOR and /.
- */
- protected function simplifyForCompare($item)
- {
- return str_replace(DIRECTORY_SEPARATOR, '/', $item);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/DeleteDir.php b/vendor/consolidation/robo/src/Task/Filesystem/DeleteDir.php
deleted file mode 100644
index 25cf007b5..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/DeleteDir.php
+++ /dev/null
@@ -1,36 +0,0 @@
-taskDeleteDir('tmp')->run();
- * // as shortcut
- * $this->_deleteDir(['tmp', 'log']);
- * ?>
- * ```
- */
-class DeleteDir extends BaseDir
-{
- use ResourceExistenceChecker;
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (!$this->checkResources($this->dirs, 'dir')) {
- return Result::error($this, 'Source directories are missing!');
- }
- foreach ($this->dirs as $dir) {
- $this->fs->remove($dir);
- $this->printTaskInfo("Deleted {dir}...", ['dir' => $dir]);
- }
- return Result::success($this);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/FilesystemStack.php b/vendor/consolidation/robo/src/Task/Filesystem/FilesystemStack.php
deleted file mode 100644
index 8663e245d..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/FilesystemStack.php
+++ /dev/null
@@ -1,154 +0,0 @@
-taskFilesystemStack()
- * ->mkdir('logs')
- * ->touch('logs/.gitignore')
- * ->chgrp('www', 'www-data')
- * ->symlink('/var/log/nginx/error.log', 'logs/error.log')
- * ->run();
- *
- * // one line
- * $this->_touch('.gitignore');
- * $this->_mkdir('logs');
- *
- * ?>
- * ```
- *
- * @method $this mkdir(string|array|\Traversable $dir, int $mode = 0777)
- * @method $this touch(string|array|\Traversable $file, int $time = null, int $atime = null)
- * @method $this copy(string $from, string $to, bool $force = false)
- * @method $this chmod(string|array|\Traversable $file, int $permissions, int $umask = 0000, bool $recursive = false)
- * @method $this chgrp(string|array|\Traversable $file, string $group, bool $recursive = false)
- * @method $this chown(string|array|\Traversable $file, string $user, bool $recursive = false)
- * @method $this remove(string|array|\Traversable $file)
- * @method $this rename(string $from, string $to, bool $force = false)
- * @method $this symlink(string $from, string $to, bool $copyOnWindows = false)
- * @method $this mirror(string $from, string $to, \Traversable $iterator = null, array $options = [])
- */
-class FilesystemStack extends StackBasedTask implements BuilderAwareInterface
-{
- use BuilderAwareTrait;
-
- /**
- * @var \Symfony\Component\Filesystem\Filesystem
- */
- protected $fs;
-
- public function __construct()
- {
- $this->fs = new sfFilesystem();
- }
-
- /**
- * @return \Symfony\Component\Filesystem\Filesystem
- */
- protected function getDelegate()
- {
- return $this->fs;
- }
-
- /**
- * @param string $from
- * @param string $to
- * @param bool $force
- */
- protected function _copy($from, $to, $force = false)
- {
- $this->fs->copy($from, $to, $force);
- }
-
- /**
- * @param string|string[]|\Traversable $file
- * @param int $permissions
- * @param int $umask
- * @param bool $recursive
- */
- protected function _chmod($file, $permissions, $umask = 0000, $recursive = false)
- {
- $this->fs->chmod($file, $permissions, $umask, $recursive);
- }
-
- /**
- * @param string|string[]|\Traversable $file
- * @param string $group
- * @param bool $recursive
- */
- protected function _chgrp($file, $group, $recursive = null)
- {
- $this->fs->chgrp($file, $group, $recursive);
- }
-
- /**
- * @param string|string[]|\Traversable $file
- * @param string $user
- * @param bool $recursive
- */
- protected function _chown($file, $user, $recursive = null)
- {
- $this->fs->chown($file, $user, $recursive);
- }
-
- /**
- * @param string $origin
- * @param string $target
- * @param bool $overwrite
- *
- * @return null|true|\Robo\Result
- */
- protected function _rename($origin, $target, $overwrite = false)
- {
- // we check that target does not exist
- if ((!$overwrite && is_readable($target)) || (file_exists($target) && !is_writable($target))) {
- throw new IOException(sprintf('Cannot rename because the target "%s" already exists.', $target), 0, null, $target);
- }
-
- // Due to a bug (limitation) in PHP, cross-volume renames do not work.
- // See: https://bugs.php.net/bug.php?id=54097
- if (true !== @rename($origin, $target)) {
- return $this->crossVolumeRename($origin, $target);
- }
- return true;
- }
-
- /**
- * @param string $origin
- * @param string $target
- *
- * @return null|\Robo\Result
- */
- protected function crossVolumeRename($origin, $target)
- {
- // First step is to try to get rid of the target. If there
- // is a single, deletable file, then we will just unlink it.
- if (is_file($target)) {
- unlink($target);
- }
- // If the target still exists, we will try to delete it.
- // TODO: Note that if this fails partway through, then we cannot
- // adequately rollback. Perhaps we need to preflight the operation
- // and determine if everything inside of $target is writable.
- if (file_exists($target)) {
- $this->fs->remove($target);
- }
-
- /** @var \Robo\Result $result */
- $result = $this->collectionBuilder()->taskCopyDir([$origin => $target])->run();
- if (!$result->wasSuccessful()) {
- return $result;
- }
- $this->fs->remove($origin);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/FlattenDir.php b/vendor/consolidation/robo/src/Task/Filesystem/FlattenDir.php
deleted file mode 100644
index 6e885112e..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/FlattenDir.php
+++ /dev/null
@@ -1,294 +0,0 @@
-taskFlattenDir(['assets/*.min.js' => 'dist'])->run();
- * // or use shortcut
- * $this->_flattenDir('assets/*.min.js', 'dist');
- * ?>
- * ```
- *
- * You can also define the target directory with an additional method, instead of
- * key/value pairs. More similar to the gulp-flatten syntax:
- *
- * ``` php
- * taskFlattenDir(['assets/*.min.js'])
- * ->to('dist')
- * ->run();
- * ?>
- * ```
- *
- * You can also append parts of the parent directories to the target path. If you give
- * the value `1` to the `includeParents()` method, then the top parent will be appended
- * to the target directory resulting in a path such as `dist/assets/asset-library1.min.js`.
- *
- * If you give a negative number, such as `-1` (the same as specifying `array(0, 1)` then
- * the bottom parent will be appended, resulting in a path such as
- * `dist/asset-library1/asset-library1.min.js`.
- *
- * The top parent directory will always be starting from the relative path to the current
- * directory. You can override that with the `parentDir()` method. If in the above example
- * you would specify `assets`, then the top parent directory would be `asset-library1`.
- *
- * ``` php
- * taskFlattenDir(['assets/*.min.js' => 'dist'])
- * ->parentDir('assets')
- * ->includeParents(1)
- * ->run();
- * ?>
- * ```
- */
-class FlattenDir extends BaseDir
-{
- /**
- * @var int
- */
- protected $chmod = 0755;
-
- /**
- * @var int[]
- */
- protected $parents = array(0, 0);
-
- /**
- * @var string
- */
- protected $parentDir = '';
-
- /**
- * @var string
- */
- protected $to;
-
- /**
- * {@inheritdoc}
- */
- public function __construct($dirs)
- {
- parent::__construct($dirs);
- $this->parentDir = getcwd();
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- // find the files
- $files = $this->findFiles($this->dirs);
-
- // copy the files
- $this->copyFiles($files);
-
- $fileNoun = count($files) == 1 ? ' file' : ' files';
- $this->printTaskSuccess("Copied {count} $fileNoun to {destination}", ['count' => count($files), 'destination' => $this->to]);
-
- return Result::success($this);
- }
-
- /**
- * Sets the default folder permissions for the destination if it does not exist.
- *
- * @link http://en.wikipedia.org/wiki/Chmod
- * @link http://php.net/manual/en/function.mkdir.php
- * @link http://php.net/manual/en/function.chmod.php
- *
- * @param int $permission
- *
- * @return $this
- */
- public function dirPermissions($permission)
- {
- $this->chmod = (int) $permission;
-
- return $this;
- }
-
- /**
- * Sets the value from which direction and how much parent dirs should be included.
- * Accepts a positive or negative integer or an array with two integer values.
- *
- * @param int|int[] $parents
- *
- * @return $this
- *
- * @throws TaskException
- */
- public function includeParents($parents)
- {
- if (is_int($parents)) {
- // if an integer is given check whether it is for top or bottom parent
- if ($parents >= 0) {
- $this->parents[0] = $parents;
- return $this;
- }
- $this->parents[1] = 0 - $parents;
- return $this;
- }
-
- if (is_array($parents)) {
- // check if the array has two values no more, no less
- if (count($parents) == 2) {
- $this->parents = $parents;
- return $this;
- }
- }
-
- throw new TaskException($this, 'includeParents expects an integer or an array with two values');
- }
-
- /**
- * Sets the parent directory from which the relative parent directories will be calculated.
- *
- * @param string $dir
- *
- * @return $this
- */
- public function parentDir($dir)
- {
- if (!$this->fs->isAbsolutePath($dir)) {
- // attach the relative path to current working directory
- $dir = getcwd().'/'.$dir;
- }
- $this->parentDir = $dir;
-
- return $this;
- }
-
- /**
- * Sets the target directory where the files will be copied to.
- *
- * @param string $target
- *
- * @return $this
- */
- public function to($target)
- {
- $this->to = rtrim($target, '/');
-
- return $this;
- }
-
- /**
- * @param array $dirs
- *
- * @return array|\Robo\Result
- *
- * @throws \Robo\Exception\TaskException
- */
- protected function findFiles($dirs)
- {
- $files = array();
-
- // find the files
- foreach ($dirs as $k => $v) {
- // reset finder
- $finder = new Finder();
-
- $dir = $k;
- $to = $v;
- // check if target was given with the to() method instead of key/value pairs
- if (is_int($k)) {
- $dir = $v;
- if (isset($this->to)) {
- $to = $this->to;
- } else {
- throw new TaskException($this, 'target directory is not defined');
- }
- }
-
- try {
- $finder->files()->in($dir);
- } catch (\InvalidArgumentException $e) {
- // if finder cannot handle it, try with in()->name()
- if (strpos($dir, '/') === false) {
- $dir = './'.$dir;
- }
- $parts = explode('/', $dir);
- $new_dir = implode('/', array_slice($parts, 0, -1));
- try {
- $finder->files()->in($new_dir)->name(array_pop($parts));
- } catch (\InvalidArgumentException $e) {
- return Result::fromException($this, $e);
- }
- }
-
- foreach ($finder as $file) {
- // store the absolute path as key and target as value in the files array
- $files[$file->getRealpath()] = $this->getTarget($file->getRealPath(), $to);
- }
- $fileNoun = count($files) == 1 ? ' file' : ' files';
- $this->printTaskInfo("Found {count} $fileNoun in {dir}", ['count' => count($files), 'dir' => $dir]);
- }
-
- return $files;
- }
-
- /**
- * @param string $file
- * @param string $to
- *
- * @return string
- */
- protected function getTarget($file, $to)
- {
- $target = $to.'/'.basename($file);
- if ($this->parents !== array(0, 0)) {
- // if the parent is set, create additional directories inside target
- // get relative path to parentDir
- $rel_path = $this->fs->makePathRelative(dirname($file), $this->parentDir);
- // get top parents and bottom parents
- $parts = explode('/', rtrim($rel_path, '/'));
- $prefix_dir = '';
- $prefix_dir .= ($this->parents[0] > 0 ? implode('/', array_slice($parts, 0, $this->parents[0])).'/' : '');
- $prefix_dir .= ($this->parents[1] > 0 ? implode('/', array_slice($parts, (0 - $this->parents[1]), $this->parents[1])) : '');
- $prefix_dir = rtrim($prefix_dir, '/');
- $target = $to.'/'.$prefix_dir.'/'.basename($file);
- }
-
- return $target;
- }
-
- /**
- * @param array $files
- */
- protected function copyFiles($files)
- {
- // copy the files
- foreach ($files as $from => $to) {
- // check if target dir exists
- if (!is_dir(dirname($to))) {
- $this->fs->mkdir(dirname($to), $this->chmod);
- }
- $this->fs->copy($from, $to);
- }
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/MirrorDir.php b/vendor/consolidation/robo/src/Task/Filesystem/MirrorDir.php
deleted file mode 100644
index 4eda9097b..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/MirrorDir.php
+++ /dev/null
@@ -1,40 +0,0 @@
-taskMirrorDir(['dist/config/' => 'config/'])->run();
- * // or use shortcut
- * $this->_mirrorDir('dist/config/', 'config/');
- *
- * ?>
- * ```
- */
-class MirrorDir extends BaseDir
-{
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- foreach ($this->dirs as $src => $dst) {
- $this->fs->mirror(
- $src,
- $dst,
- null,
- [
- 'override' => true,
- 'copy_on_windows' => true,
- 'delete' => true
- ]
- );
- $this->printTaskInfo("Mirrored from {source} to {destination}", ['source' => $src, 'destination' => $dst]);
- }
- return Result::success($this);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/TmpDir.php b/vendor/consolidation/robo/src/Task/Filesystem/TmpDir.php
deleted file mode 100644
index 104318ded..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/TmpDir.php
+++ /dev/null
@@ -1,173 +0,0 @@
-run().
- * $collection = $this->collectionBuilder();
- * $tmpPath = $collection->tmpDir()->getPath();
- * $collection->taskFilesystemStack()
- * ->mkdir("$tmpPath/log")
- * ->touch("$tmpPath/log/error.txt");
- * $collection->run();
- * // as shortcut (deleted when program exits)
- * $tmpPath = $this->_tmpDir();
- * ?>
- * ```
- */
-class TmpDir extends BaseDir implements CompletionInterface
-{
- /**
- * @var string
- */
- protected $base;
-
- /**
- * @var string
- */
- protected $prefix;
-
- /**
- * @var bool
- */
- protected $cwd;
-
- /**
- * @var string
- */
- protected $savedWorkingDirectory;
-
- /**
- * @param string $prefix
- * @param string $base
- * @param bool $includeRandomPart
- */
- public function __construct($prefix = 'tmp', $base = '', $includeRandomPart = true)
- {
- if (empty($base)) {
- $base = sys_get_temp_dir();
- }
- $path = "{$base}/{$prefix}";
- if ($includeRandomPart) {
- $path = static::randomLocation($path);
- }
- parent::__construct(["$path"]);
- }
-
- /**
- * Add a random part to a path, ensuring that the directory does
- * not (currently) exist.
- *
- * @param string $path The base/prefix path to add a random component to
- * @param int $length Number of digits in the random part
- *
- * @return string
- */
- protected static function randomLocation($path, $length = 12)
- {
- $random = static::randomString($length);
- while (is_dir("{$path}_{$random}")) {
- $random = static::randomString($length);
- }
- return "{$path}_{$random}";
- }
-
- /**
- * Generate a suitably random string to use as the suffix for our
- * temporary directory.
- *
- * @param int $length
- *
- * @return string
- */
- protected static function randomString($length = 12)
- {
- return substr(str_shuffle('23456789abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'), 0, max($length, 3));
- }
-
- /**
- * Flag that we should cwd to the temporary directory when it is
- * created, and restore the old working directory when it is deleted.
- *
- * @param bool $shouldChangeWorkingDirectory
- *
- * @return $this
- */
- public function cwd($shouldChangeWorkingDirectory = true)
- {
- $this->cwd = $shouldChangeWorkingDirectory;
-
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- // Save the current working directory
- $this->savedWorkingDirectory = getcwd();
- foreach ($this->dirs as $dir) {
- $this->fs->mkdir($dir);
- $this->printTaskInfo("Created {dir}...", ['dir' => $dir]);
-
- // Change the current working directory, if requested
- if ($this->cwd) {
- chdir($dir);
- }
- }
-
- return Result::success($this, '', ['path' => $this->getPath()]);
- }
-
- protected function restoreWorkingDirectory()
- {
- // Restore the current working directory, if we redirected it.
- if ($this->cwd) {
- chdir($this->savedWorkingDirectory);
- }
- }
-
- protected function deleteTmpDir()
- {
- foreach ($this->dirs as $dir) {
- $this->fs->remove($dir);
- }
- }
-
- /**
- * Delete this directory when our collection completes.
- * If this temporary directory is not part of a collection,
- * then it will be deleted when the program terminates,
- * presuming that it was created by taskTmpDir() or _tmpDir().
- */
- public function complete()
- {
- $this->restoreWorkingDirectory();
- $this->deleteTmpDir();
- }
-
- /**
- * Get a reference to the path to the temporary directory, so that
- * it may be used to create other tasks. Note that the directory
- * is not actually created until the task runs.
- *
- * @return string
- */
- public function getPath()
- {
- return $this->dirs[0];
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/WorkDir.php b/vendor/consolidation/robo/src/Task/Filesystem/WorkDir.php
deleted file mode 100644
index 4b75c6ed2..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/WorkDir.php
+++ /dev/null
@@ -1,126 +0,0 @@
-collectionBuilder();
- * $workingPath = $collection->workDir("build")->getPath();
- * $collection->taskFilesystemStack()
- * ->mkdir("$workingPath/log")
- * ->touch("$workingPath/log/error.txt");
- * $collection->run();
- * ?>
- * ```
- */
-class WorkDir extends TmpDir implements RollbackInterface, BuilderAwareInterface
-{
- use BuilderAwareTrait;
-
- /**
- * @var string
- */
- protected $finalDestination;
-
- /**
- * @param string $finalDestination
- */
- public function __construct($finalDestination)
- {
- $this->finalDestination = $finalDestination;
-
- // Create a temporary directory to work in. We will place our
- // temporary directory in the same location as the final destination
- // directory, so that the work directory can be moved into place
- // without having to be copied, e.g. in a cross-volume rename scenario.
- parent::__construct(basename($finalDestination), dirname($finalDestination));
- }
-
- /**
- * Create our working directory.
- *
- * @return \Robo\Result
- */
- public function run()
- {
- // Destination cannot be empty
- if (empty($this->finalDestination)) {
- return Result::error($this, "Destination directory not specified.");
- }
-
- // Before we do anything else, ensure that any directory in the
- // final destination is writable, so that we can at a minimum
- // move it out of the way before placing our results there.
- if (is_dir($this->finalDestination)) {
- if (!is_writable($this->finalDestination)) {
- return Result::error($this, "Destination directory {dir} exists and cannot be overwritten.", ['dir' => $this->finalDestination]);
- }
- }
-
- return parent::run();
- }
-
- /**
- * Move our working directory into its final destination once the
- * collection it belongs to completes.
- */
- public function complete()
- {
- $this->restoreWorkingDirectory();
-
- // Delete the final destination, if it exists.
- // Move it out of the way first, in case it cannot
- // be completely deleted.
- if (file_exists($this->finalDestination)) {
- $temporaryLocation = static::randomLocation($this->finalDestination . '_TO_DELETE_');
- // This should always work, because we already created a temporary
- // folder in the parent directory of the final destination, and we
- // have already checked to confirm that the final destination is
- // writable.
- rename($this->finalDestination, $temporaryLocation);
- // This may silently fail, leaving artifacts behind, if there
- // are permissions problems with some items somewhere inside
- // the folder being deleted.
- $this->fs->remove($temporaryLocation);
- }
-
- // Move our working directory over the final destination.
- // This should never be a cross-volume rename, so this should
- // always succeed.
- $workDir = reset($this->dirs);
- if (file_exists($workDir)) {
- rename($workDir, $this->finalDestination);
- }
- }
-
- /**
- * Delete our working directory
- */
- public function rollback()
- {
- $this->restoreWorkingDirectory();
- $this->deleteTmpDir();
- }
-
- /**
- * Get a reference to the path to the temporary directory, so that
- * it may be used to create other tasks. Note that the directory
- * is not actually created until the task runs.
- *
- * @return string
- */
- public function getPath()
- {
- return $this->dirs[0];
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/loadShortcuts.php b/vendor/consolidation/robo/src/Task/Filesystem/loadShortcuts.php
deleted file mode 100644
index fe72ce5a4..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/loadShortcuts.php
+++ /dev/null
@@ -1,159 +0,0 @@
-taskCopyDir([$src => $dst])->run();
- }
-
- /**
- * @param string $src
- * @param string $dst
- *
- * @return \Robo\Result
- */
- protected function _mirrorDir($src, $dst)
- {
- return $this->taskMirrorDir([$src => $dst])->run();
- }
-
- /**
- * @param string|string[] $dir
- *
- * @return \Robo\Result
- */
- protected function _deleteDir($dir)
- {
- return $this->taskDeleteDir($dir)->run();
- }
-
- /**
- * @param string|string[] $dir
- *
- * @return \Robo\Result
- */
- protected function _cleanDir($dir)
- {
- return $this->taskCleanDir($dir)->run();
- }
-
- /**
- * @param string $from
- * @param string $to
- * @param bool $overwrite
- *
- * @return \Robo\Result
- */
- protected function _rename($from, $to, $overwrite = false)
- {
- return $this->taskFilesystemStack()->rename($from, $to, $overwrite)->run();
- }
-
- /**
- * @param string|string[] $dir
- *
- * @return \Robo\Result
- */
- protected function _mkdir($dir)
- {
- return $this->taskFilesystemStack()->mkdir($dir)->run();
- }
-
- /**
- * @param string $prefix
- * @param string $base
- * @param bool $includeRandomPart
- *
- * @return string
- */
- protected function _tmpDir($prefix = 'tmp', $base = '', $includeRandomPart = true)
- {
- $result = $this->taskTmpDir($prefix, $base, $includeRandomPart)->run();
- return isset($result['path']) ? $result['path'] : '';
- }
-
- /**
- * @param string $file
- *
- * @return \Robo\Result
- */
- protected function _touch($file)
- {
- return $this->taskFilesystemStack()->touch($file)->run();
- }
-
- /**
- * @param string|string[] $file
- *
- * @return \Robo\Result
- */
- protected function _remove($file)
- {
- return $this->taskFilesystemStack()->remove($file)->run();
- }
-
- /**
- * @param string|string[] $file
- * @param string $group
- *
- * @return \Robo\Result
- */
- protected function _chgrp($file, $group)
- {
- return $this->taskFilesystemStack()->chgrp($file, $group)->run();
- }
-
- /**
- * @param string|string[] $file
- * @param int $permissions
- * @param int $umask
- * @param bool $recursive
- *
- * @return \Robo\Result
- */
- protected function _chmod($file, $permissions, $umask = 0000, $recursive = false)
- {
- return $this->taskFilesystemStack()->chmod($file, $permissions, $umask, $recursive)->run();
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return \Robo\Result
- */
- protected function _symlink($from, $to)
- {
- return $this->taskFilesystemStack()->symlink($from, $to)->run();
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return \Robo\Result
- */
- protected function _copy($from, $to)
- {
- return $this->taskFilesystemStack()->copy($from, $to)->run();
- }
-
- /**
- * @param string $from
- * @param string $to
- *
- * @return \Robo\Result
- */
- protected function _flattenDir($from, $to)
- {
- return $this->taskFlattenDir([$from => $to])->run();
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Filesystem/loadTasks.php b/vendor/consolidation/robo/src/Task/Filesystem/loadTasks.php
deleted file mode 100644
index 8fecaafff..000000000
--- a/vendor/consolidation/robo/src/Task/Filesystem/loadTasks.php
+++ /dev/null
@@ -1,85 +0,0 @@
-task(CleanDir::class, $dirs);
- }
-
- /**
- * @param string|string[] $dirs
- *
- * @return \Robo\Task\Filesystem\DeleteDir
- */
- protected function taskDeleteDir($dirs)
- {
- return $this->task(DeleteDir::class, $dirs);
- }
-
- /**
- * @param string $prefix
- * @param string $base
- * @param bool $includeRandomPart
- *
- * @return \Robo\Task\Filesystem\WorkDir
- */
- protected function taskTmpDir($prefix = 'tmp', $base = '', $includeRandomPart = true)
- {
- return $this->task(TmpDir::class, $prefix, $base, $includeRandomPart);
- }
-
- /**
- * @param string $finalDestination
- *
- * @return \Robo\Task\Filesystem\TmpDir
- */
- protected function taskWorkDir($finalDestination)
- {
- return $this->task(WorkDir::class, $finalDestination);
- }
-
- /**
- * @param string|string[] $dirs
- *
- * @return \Robo\Task\Filesystem\CopyDir
- */
- protected function taskCopyDir($dirs)
- {
- return $this->task(CopyDir::class, $dirs);
- }
-
- /**
- * @param string|string[] $dirs
- *
- * @return \Robo\Task\Filesystem\MirrorDir
- */
- protected function taskMirrorDir($dirs)
- {
- return $this->task(MirrorDir::class, $dirs);
- }
-
- /**
- * @param string|string[] $dirs
- *
- * @return \Robo\Task\Filesystem\FlattenDir
- */
- protected function taskFlattenDir($dirs)
- {
- return $this->task(FlattenDir::class, $dirs);
- }
-
- /**
- * @return \Robo\Task\Filesystem\FilesystemStack
- */
- protected function taskFilesystemStack()
- {
- return $this->task(FilesystemStack::class);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Gulp/Base.php b/vendor/consolidation/robo/src/Task/Gulp/Base.php
deleted file mode 100644
index 42728673c..000000000
--- a/vendor/consolidation/robo/src/Task/Gulp/Base.php
+++ /dev/null
@@ -1,97 +0,0 @@
-option('silent');
- return $this;
- }
-
- /**
- * adds `--no-color` option to gulp
- *
- * @return $this
- */
- public function noColor()
- {
- $this->option('no-color');
- return $this;
- }
-
- /**
- * adds `--color` option to gulp
- *
- * @return $this
- */
- public function color()
- {
- $this->option('color');
- return $this;
- }
-
- /**
- * adds `--tasks-simple` option to gulp
- *
- * @return $this
- */
- public function simple()
- {
- $this->option('tasks-simple');
- return $this;
- }
-
- /**
- * @param string $task
- * @param null|string $pathToGulp
- *
- * @throws \Robo\Exception\TaskException
- */
- public function __construct($task, $pathToGulp = null)
- {
- $this->task = $task;
- $this->command = $pathToGulp;
- if (!$this->command) {
- $this->command = $this->findExecutable('gulp');
- }
- if (!$this->command) {
- throw new TaskException(__CLASS__, "Gulp executable not found.");
- }
- }
-
- /**
- * @return string
- */
- public function getCommand()
- {
- return "{$this->command} " . ProcessUtils::escapeArgument($this->task) . "{$this->arguments}";
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Gulp/Run.php b/vendor/consolidation/robo/src/Task/Gulp/Run.php
deleted file mode 100644
index 8f2077b57..000000000
--- a/vendor/consolidation/robo/src/Task/Gulp/Run.php
+++ /dev/null
@@ -1,35 +0,0 @@
-taskGulpRun()->run();
- *
- * // run task 'clean' with --silent option
- * $this->taskGulpRun('clean')
- * ->silent()
- * ->run();
- * ?>
- * ```
- */
-class Run extends Base implements CommandInterface
-{
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- if (strlen($this->arguments)) {
- $this->printTaskInfo('Running Gulp task: {gulp_task} with arguments: {arguments}', ['gulp_task' => $this->task, 'arguments' => $this->arguments]);
- } else {
- $this->printTaskInfo('Running Gulp task: {gulp_task} without arguments', ['gulp_task' => $this->task]);
- }
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Gulp/loadTasks.php b/vendor/consolidation/robo/src/Task/Gulp/loadTasks.php
deleted file mode 100644
index 6fdc6ca70..000000000
--- a/vendor/consolidation/robo/src/Task/Gulp/loadTasks.php
+++ /dev/null
@@ -1,16 +0,0 @@
-task(Run::class, $task, $pathToGulp);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Npm/Base.php b/vendor/consolidation/robo/src/Task/Npm/Base.php
deleted file mode 100644
index 35ff9c48f..000000000
--- a/vendor/consolidation/robo/src/Task/Npm/Base.php
+++ /dev/null
@@ -1,60 +0,0 @@
-option('production');
- return $this;
- }
-
- /**
- * @param null|string $pathToNpm
- *
- * @throws \Robo\Exception\TaskException
- */
- public function __construct($pathToNpm = null)
- {
- $this->command = $pathToNpm;
- if (!$this->command) {
- $this->command = $this->findExecutable('npm');
- }
- if (!$this->command) {
- throw new TaskException(__CLASS__, "Npm executable not found.");
- }
- }
-
- /**
- * @return string
- */
- public function getCommand()
- {
- return "{$this->command} {$this->action}{$this->arguments}";
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Npm/Install.php b/vendor/consolidation/robo/src/Task/Npm/Install.php
deleted file mode 100644
index 65cbe6189..000000000
--- a/vendor/consolidation/robo/src/Task/Npm/Install.php
+++ /dev/null
@@ -1,36 +0,0 @@
-taskNpmInstall()->run();
- *
- * // prefer dist with custom path
- * $this->taskNpmInstall('path/to/my/npm')
- * ->noDev()
- * ->run();
- * ?>
- * ```
- */
-class Install extends Base implements CommandInterface
-{
- /**
- * @var string
- */
- protected $action = 'install';
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Install Npm packages: {arguments}', ['arguments' => $this->arguments]);
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Npm/Update.php b/vendor/consolidation/robo/src/Task/Npm/Update.php
deleted file mode 100644
index 75421b307..000000000
--- a/vendor/consolidation/robo/src/Task/Npm/Update.php
+++ /dev/null
@@ -1,34 +0,0 @@
-taskNpmUpdate()->run();
- *
- * // prefer dist with custom path
- * $this->taskNpmUpdate('path/to/my/npm')
- * ->noDev()
- * ->run();
- * ?>
- * ```
- */
-class Update extends Base
-{
- /**
- * @var string
- */
- protected $action = 'update';
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Update Npm packages: {arguments}', ['arguments' => $this->arguments]);
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Npm/loadTasks.php b/vendor/consolidation/robo/src/Task/Npm/loadTasks.php
deleted file mode 100644
index 4d9a26eb3..000000000
--- a/vendor/consolidation/robo/src/Task/Npm/loadTasks.php
+++ /dev/null
@@ -1,25 +0,0 @@
-task(Install::class, $pathToNpm);
- }
-
- /**
- * @param null|string $pathToNpm
- *
- * @return \Robo\Task\Npm\Update
- */
- protected function taskNpmUpdate($pathToNpm = null)
- {
- return $this->task(Update::class, $pathToNpm);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Remote/Rsync.php b/vendor/consolidation/robo/src/Task/Remote/Rsync.php
deleted file mode 100644
index 324a8d9a5..000000000
--- a/vendor/consolidation/robo/src/Task/Remote/Rsync.php
+++ /dev/null
@@ -1,484 +0,0 @@
-taskRsync()
- * ->fromPath('src/')
- * ->toHost('localhost')
- * ->toUser('dev')
- * ->toPath('/var/www/html/app/')
- * ->remoteShell('ssh -i public_key')
- * ->recursive()
- * ->excludeVcs()
- * ->checksum()
- * ->wholeFile()
- * ->verbose()
- * ->progress()
- * ->humanReadable()
- * ->stats()
- * ->run();
- * ```
- *
- * You could also clone the task and do a dry-run first:
- *
- * ``` php
- * $rsync = $this->taskRsync()
- * ->fromPath('src/')
- * ->toPath('example.com:/var/www/html/app/')
- * ->archive()
- * ->excludeVcs()
- * ->progress()
- * ->stats();
- *
- * $dryRun = clone $rsync;
- * $dryRun->dryRun()->run();
- * if ('y' === $this->ask('Do you want to run (y/n)')) {
- * $rsync->run();
- * }
- * ```
- */
-class Rsync extends BaseTask implements CommandInterface
-{
- use \Robo\Common\ExecOneCommand;
-
- /**
- * @var string
- */
- protected $command;
-
- /**
- * @var string
- */
- protected $fromUser;
-
- /**
- * @var string
- */
- protected $fromHost;
-
- /**
- * @var string
- */
- protected $fromPath;
-
- /**
- * @var string
- */
- protected $toUser;
-
- /**
- * @var string
- */
- protected $toHost;
-
- /**
- * @var string
- */
- protected $toPath;
-
- /**
- * @return static
- */
- public static function init()
- {
- return new static();
- }
-
- public function __construct()
- {
- $this->command = 'rsync';
- }
-
- /**
- * This can either be a full rsync path spec (user@host:path) or just a path.
- * In case of the former do not specify host and user.
- *
- * @param string|array $path
- *
- * @return $this
- */
- public function fromPath($path)
- {
- $this->fromPath = $path;
-
- return $this;
- }
-
- /**
- * This can either be a full rsync path spec (user@host:path) or just a path.
- * In case of the former do not specify host and user.
- *
- * @param string $path
- *
- * @return $this
- */
- public function toPath($path)
- {
- $this->toPath = $path;
-
- return $this;
- }
-
- /**
- * @param string $fromUser
- *
- * @return $this
- */
- public function fromUser($fromUser)
- {
- $this->fromUser = $fromUser;
- return $this;
- }
-
- /**
- * @param string $fromHost
- *
- * @return $this
- */
- public function fromHost($fromHost)
- {
- $this->fromHost = $fromHost;
- return $this;
- }
-
- /**
- * @param string $toUser
- *
- * @return $this
- */
- public function toUser($toUser)
- {
- $this->toUser = $toUser;
- return $this;
- }
-
- /**
- * @param string $toHost
- *
- * @return $this
- */
- public function toHost($toHost)
- {
- $this->toHost = $toHost;
- return $this;
- }
-
- /**
- * @return $this
- */
- public function progress()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function stats()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function recursive()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function verbose()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function checksum()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function archive()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function compress()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function owner()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function group()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function times()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function delete()
- {
- $this->option(__FUNCTION__);
-
- return $this;
- }
-
- /**
- * @param int $seconds
- *
- * @return $this
- */
- public function timeout($seconds)
- {
- $this->option(__FUNCTION__, $seconds);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function humanReadable()
- {
- $this->option('human-readable');
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function wholeFile()
- {
- $this->option('whole-file');
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function dryRun()
- {
- $this->option('dry-run');
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function itemizeChanges()
- {
- $this->option('itemize-changes');
-
- return $this;
- }
-
- /**
- * Excludes .git, .svn and .hg items at any depth.
- *
- * @return $this
- */
- public function excludeVcs()
- {
- return $this->exclude([
- '.git',
- '.svn',
- '.hg',
- ]);
- }
-
- /**
- * @param array|string $pattern
- *
- * @return $this
- */
- public function exclude($pattern)
- {
- return $this->optionList(__FUNCTION__, $pattern);
- }
-
- /**
- * @param string $file
- *
- * @return $this
- *
- * @throws \Robo\Exception\TaskException
- */
- public function excludeFrom($file)
- {
- if (!is_readable($file)) {
- throw new TaskException($this, "Exclude file $file is not readable");
- }
-
- return $this->option('exclude-from', $file);
- }
-
- /**
- * @param array|string $pattern
- *
- * @return $this
- */
- public function includeFilter($pattern)
- {
- return $this->optionList('include', $pattern);
- }
-
- /**
- * @param array|string $pattern
- *
- * @return $this
- */
- public function filter($pattern)
- {
- return $this->optionList(__FUNCTION__, $pattern);
- }
-
- /**
- * @param string $file
- *
- * @return $this
- *
- * @throws \Robo\Exception\TaskException
- */
- public function filesFrom($file)
- {
- if (!is_readable($file)) {
- throw new TaskException($this, "Files-from file $file is not readable");
- }
-
- return $this->option('files-from', $file);
- }
-
- /**
- * @param string $command
- *
- * @return $this
- */
- public function remoteShell($command)
- {
- $this->option('rsh', "$command");
-
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
-
- return $this->executeCommand($command);
- }
-
- /**
- * Returns command that can be executed.
- * This method is used to pass generated command from one task to another.
- *
- * @return string
- */
- public function getCommand()
- {
- foreach ((array)$this->fromPath as $from) {
- $this->option(null, $this->getFromPathSpec($from));
- }
- $this->option(null, $this->getToPathSpec());
-
- return $this->command . $this->arguments;
- }
-
- /**
- * @return string
- */
- protected function getFromPathSpec($from)
- {
- return $this->getPathSpec($this->fromHost, $this->fromUser, $from);
- }
-
- /**
- * @return string
- */
- protected function getToPathSpec()
- {
- return $this->getPathSpec($this->toHost, $this->toUser, $this->toPath);
- }
-
- /**
- * @param string $host
- * @param string $user
- * @param string $path
- *
- * @return string
- */
- protected function getPathSpec($host, $user, $path)
- {
- $spec = isset($path) ? $path : '';
- if (!empty($host)) {
- $spec = "{$host}:{$spec}";
- }
- if (!empty($user)) {
- $spec = "{$user}@{$spec}";
- }
-
- return $spec;
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Remote/Ssh.php b/vendor/consolidation/robo/src/Task/Remote/Ssh.php
deleted file mode 100644
index 69df9fe2c..000000000
--- a/vendor/consolidation/robo/src/Task/Remote/Ssh.php
+++ /dev/null
@@ -1,273 +0,0 @@
-taskSshExec('remote.example.com', 'user')
- * ->remoteDir('/var/www/html')
- * ->exec('ls -la')
- * ->exec('chmod g+x logs')
- * ->run();
- *
- * ```
- *
- * You can even exec other tasks (which implement CommandInterface):
- *
- * ```php
- * $gitTask = $this->taskGitStack()
- * ->checkout('master')
- * ->pull();
- *
- * $this->taskSshExec('remote.example.com')
- * ->remoteDir('/var/www/html/site')
- * ->exec($gitTask)
- * ->run();
- * ```
- *
- * You can configure the remote directory for all future calls:
- *
- * ```php
- * \Robo\Task\Remote\Ssh::configure('remoteDir', '/some-dir');
- * ```
- */
-class Ssh extends BaseTask implements CommandInterface, SimulatedInterface
-{
- use \Robo\Common\CommandReceiver;
- use \Robo\Common\ExecOneCommand;
-
- /**
- * @var null|string
- */
- protected $hostname;
-
- /**
- * @var null|string
- */
- protected $user;
-
- /**
- * @var bool
- */
- protected $stopOnFail = true;
-
- /**
- * @var array
- */
- protected $exec = [];
-
- /**
- * Changes to the given directory before running commands.
- *
- * @var string
- */
- protected $remoteDir;
-
- /**
- * @param null|string $hostname
- * @param null|string $user
- */
- public function __construct($hostname = null, $user = null)
- {
- $this->hostname = $hostname;
- $this->user = $user;
- }
-
- /**
- * @param string $hostname
- *
- * @return $this
- */
- public function hostname($hostname)
- {
- $this->hostname = $hostname;
- return $this;
- }
-
- /**
- * @param string $user
- *
- * @return $this
- */
- public function user($user)
- {
- $this->user = $user;
- return $this;
- }
-
- /**
- * Whether or not to chain commands together with && and stop the chain if one command fails.
- *
- * @param bool $stopOnFail
- *
- * @return $this
- */
- public function stopOnFail($stopOnFail = true)
- {
- $this->stopOnFail = $stopOnFail;
- return $this;
- }
-
- /**
- * Changes to the given directory before running commands.
- *
- * @param string $remoteDir
- *
- * @return $this
- */
- public function remoteDir($remoteDir)
- {
- $this->remoteDir = $remoteDir;
- return $this;
- }
-
- /**
- * @param string $filename
- *
- * @return $this
- */
- public function identityFile($filename)
- {
- $this->option('-i', $filename);
-
- return $this;
- }
-
- /**
- * @param int $port
- *
- * @return $this
- */
- public function port($port)
- {
- $this->option('-p', $port);
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function forcePseudoTty()
- {
- $this->option('-t');
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function quiet()
- {
- $this->option('-q');
-
- return $this;
- }
-
- /**
- * @return $this
- */
- public function verbose()
- {
- $this->option('-v');
-
- return $this;
- }
-
- /**
- * @param string|string[]|CommandInterface $command
- *
- * @return $this
- */
- public function exec($command)
- {
- if (is_array($command)) {
- $command = implode(' ', array_filter($command));
- }
-
- $this->exec[] = $command;
-
- return $this;
- }
-
- /**
- * Returns command that can be executed.
- * This method is used to pass generated command from one task to another.
- *
- * @return string
- */
- public function getCommand()
- {
- $commands = [];
- foreach ($this->exec as $command) {
- $commands[] = $this->receiveCommand($command);
- }
-
- $remoteDir = $this->remoteDir ? $this->remoteDir : $this->getConfigValue('remoteDir');
- if (!empty($remoteDir)) {
- array_unshift($commands, sprintf('cd "%s"', $remoteDir));
- }
- $command = implode($this->stopOnFail ? ' && ' : ' ; ', $commands);
-
- return $this->sshCommand($command);
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->validateParameters();
- $command = $this->getCommand();
- return $this->executeCommand($command);
- }
-
- /**
- * {@inheritdoc}
- */
- public function simulate($context)
- {
- $command = $this->getCommand();
- $this->printTaskInfo("Running {command}", ['command' => $command] + $context);
- }
-
- protected function validateParameters()
- {
- if (empty($this->hostname)) {
- throw new TaskException($this, 'Please set a hostname');
- }
- if (empty($this->exec)) {
- throw new TaskException($this, 'Please add at least one command');
- }
- }
-
- /**
- * Returns an ssh command string running $command on the remote.
- *
- * @param string|CommandInterface $command
- *
- * @return string
- */
- protected function sshCommand($command)
- {
- $command = $this->receiveCommand($command);
- $sshOptions = $this->arguments;
- $hostSpec = $this->hostname;
- if ($this->user) {
- $hostSpec = $this->user . '@' . $hostSpec;
- }
-
- return "ssh{$sshOptions} {$hostSpec} '{$command}'";
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Remote/loadTasks.php b/vendor/consolidation/robo/src/Task/Remote/loadTasks.php
deleted file mode 100644
index 092d2a554..000000000
--- a/vendor/consolidation/robo/src/Task/Remote/loadTasks.php
+++ /dev/null
@@ -1,24 +0,0 @@
-task(Rsync::class);
- }
-
- /**
- * @param null|string $hostname
- * @param null|string $user
- *
- * @return \Robo\Task\Remote\Ssh
- */
- protected function taskSshExec($hostname = null, $user = null)
- {
- return $this->task(Ssh::class, $hostname, $user);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Simulator.php b/vendor/consolidation/robo/src/Task/Simulator.php
deleted file mode 100644
index e69d23fa3..000000000
--- a/vendor/consolidation/robo/src/Task/Simulator.php
+++ /dev/null
@@ -1,168 +0,0 @@
-task = ($task instanceof WrappedTaskInterface) ? $task->original() : $task;
- $this->constructorParameters = $constructorParameters;
- }
-
- /**
- * @param string $function
- * @param array $args
- *
- * @return \Robo\Result|\Robo\Task\Simulator
- */
- public function __call($function, $args)
- {
- $this->stack[] = array_merge([$function], $args);
- $result = call_user_func_array([$this->task, $function], $args);
- return $result == $this->task ? $this : $result;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $callchain = '';
- foreach ($this->stack as $action) {
- $command = array_shift($action);
- $parameters = $this->formatParameters($action);
- $callchain .= "\n ->$command($parameters>)";
- }
- $context = $this->getTaskContext(
- [
- '_level' => RoboLogLevel::SIMULATED_ACTION,
- 'simulated' => TaskInfo::formatTaskName($this->task),
- 'parameters' => $this->formatParameters($this->constructorParameters),
- '_style' => ['simulated' => 'fg=blue;options=bold'],
- ]
- );
-
- // RoboLogLevel::SIMULATED_ACTION
- $this->printTaskInfo(
- "Simulating {simulated}({parameters})$callchain",
- $context
- );
-
- $result = null;
- if ($this->task instanceof SimulatedInterface) {
- $result = $this->task->simulate($context);
- }
- if (!isset($result)) {
- $result = Result::success($this);
- }
-
- return $result;
- }
-
- /**
- * Danger: reach through the simulated wrapper and pull out the command
- * to be executed. This is used when using a simulated task with another
- * simulated task that runs commands, e.g. the Remote\Ssh task. Using
- * a simulated CommandInterface task with a non-simulated task may produce
- * unexpected results (e.g. execution!).
- *
- * @return string
- *
- * @throws \Robo\Exception\TaskException
- */
- public function getCommand()
- {
- if (!$this->task instanceof CommandInterface) {
- throw new TaskException($this->task, 'Simulated task that is not a CommandInterface used as a CommandInterface.');
- }
- return $this->task->getCommand();
- }
-
- /**
- * @param string $action
- *
- * @return string
- */
- protected function formatParameters($action)
- {
- $parameterList = array_map([$this, 'convertParameter'], $action);
- return implode(', ', $parameterList);
- }
-
- /**
- * @param mixed $item
- *
- * @return string
- */
- protected function convertParameter($item)
- {
- if (is_callable($item)) {
- return 'inline_function(...)';
- }
- if (is_array($item)) {
- return $this->shortenParameter(var_export($item, true));
- }
- if (is_object($item)) {
- return '[' . get_class($item). ' object]';
- }
- if (is_string($item)) {
- return $this->shortenParameter("'$item'");
- }
- if (is_null($item)) {
- return 'null';
- }
- return $item;
- }
-
- /**
- * @param string $item
- * @param string $shortForm
- *
- * @return string
- */
- protected function shortenParameter($item, $shortForm = '')
- {
- $maxLength = 80;
- $tailLength = 20;
- if (strlen($item) < $maxLength) {
- return $item;
- }
- if (!empty($shortForm)) {
- return $shortForm;
- }
- $item = trim($item);
- $tail = preg_replace("#.*\n#ms", '', substr($item, -$tailLength));
- $head = preg_replace("#\n.*#ms", '', substr($item, 0, $maxLength - (strlen($tail) + 5)));
- return "$head ... $tail";
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/StackBasedTask.php b/vendor/consolidation/robo/src/Task/StackBasedTask.php
deleted file mode 100644
index 91659f33a..000000000
--- a/vendor/consolidation/robo/src/Task/StackBasedTask.php
+++ /dev/null
@@ -1,236 +0,0 @@
-friz()
- * ->fraz()
- * ->frob();
- *
- * We presume that the existing library throws an exception on error.
- *
- * You want:
- *
- * $result = $this->taskFrobinator($a, $b, $c)
- * ->friz()
- * ->fraz()
- * ->frob()
- * ->run();
- *
- * Execution is deferred until run(), and a Robo\Result instance is
- * returned. Additionally, using Robo will covert Exceptions
- * into RoboResult objects.
- *
- * To create a new Robo task:
- *
- * - Make a new class that extends StackBasedTask
- * - Give it a constructor that creates a new Frobinator
- * - Override getDelegate(), and return the Frobinator instance
- *
- * Finally, add your new class to loadTasks.php as usual,
- * and you are all done.
- *
- * If you need to add any methods to your task that should run
- * immediately (e.g. to set parameters used at run() time), just
- * implement them in your derived class.
- *
- * If you need additional methods that should run deferred, just
- * define them as 'protected function _foo()'. Then, users may
- * call $this->taskFrobinator()->foo() to get deferred execution
- * of _foo().
- */
-abstract class StackBasedTask extends BaseTask
-{
- /**
- * @var array
- */
- protected $stack = [];
-
- /**
- * @var bool
- */
- protected $stopOnFail = true;
-
- /**
- * @param bool $stop
- *
- * @return $this
- */
- public function stopOnFail($stop = true)
- {
- $this->stopOnFail = $stop;
- return $this;
- }
-
- /**
- * Derived classes should override the getDelegate() method, and
- * return an instance of the API class being wrapped. When this
- * is done, any method of the delegate is available as a method of
- * this class. Calling one of the delegate's methods will defer
- * execution until the run() method is called.
- *
- * @return null
- */
- protected function getDelegate()
- {
- return null;
- }
-
- /**
- * Derived classes that have more than one delegate may override
- * getCommandList to add as many delegate commands as desired to
- * the list of potential functions that __call() tried to find.
- *
- * @param string $function
- *
- * @return array
- */
- protected function getDelegateCommandList($function)
- {
- return [[$this, "_$function"], [$this->getDelegate(), $function]];
- }
-
- /**
- * Print progress about the commands being executed
- *
- * @param string $command
- * @param string $action
- */
- protected function printTaskProgress($command, $action)
- {
- $this->printTaskInfo('{command} {action}', ['command' => "{$command[1]}", 'action' => json_encode($action, JSON_UNESCAPED_SLASHES)]);
- }
-
- /**
- * Derived classes can override processResult to add more
- * logic to result handling from functions. By default, it
- * is assumed that if a function returns in int, then
- * 0 == success, and any other value is the error code.
- *
- * @param int|\Robo\Result $function_result
- *
- * @return \Robo\Result
- */
- protected function processResult($function_result)
- {
- if (is_int($function_result)) {
- if ($function_result) {
- return Result::error($this, $function_result);
- }
- }
- return Result::success($this);
- }
-
- /**
- * Record a function to call later.
- *
- * @param string $command
- * @param array $args
- *
- * @return $this
- */
- protected function addToCommandStack($command, $args)
- {
- $this->stack[] = array_merge([$command], $args);
- return $this;
- }
-
- /**
- * Any API function provided by the delegate that executes immediately
- * may be handled by __call automatically. These operations will all
- * be deferred until this task's run() method is called.
- *
- * @param string $function
- * @param array $args
- *
- * @return $this
- */
- public function __call($function, $args)
- {
- foreach ($this->getDelegateCommandList($function) as $command) {
- if (method_exists($command[0], $command[1])) {
- // Otherwise, we'll defer calling this function
- // until run(), and return $this.
- $this->addToCommandStack($command, $args);
- return $this;
- }
- }
-
- $message = "Method $function does not exist.\n";
- throw new \BadMethodCallException($message);
- }
-
- /**
- * @return int
- */
- public function progressIndicatorSteps()
- {
- // run() will call advanceProgressIndicator() once for each
- // file, one after calling stopBuffering, and again after compression.
- return count($this->stack);
- }
-
- /**
- * Run all of the queued objects on the stack
- *
- * @return \Robo\Result
- */
- public function run()
- {
- $this->startProgressIndicator();
- $result = Result::success($this);
-
- foreach ($this->stack as $action) {
- $command = array_shift($action);
- $this->printTaskProgress($command, $action);
- $this->advanceProgressIndicator();
- // TODO: merge data from the result on this call
- // with data from the result on the previous call?
- // For now, the result always comes from the last function.
- $result = $this->callTaskMethod($command, $action);
- if ($this->stopOnFail && $result && !$result->wasSuccessful()) {
- break;
- }
- }
-
- $this->stopProgressIndicator();
-
- // todo: add timing information to the result
- return $result;
- }
-
- /**
- * Execute one task method
- *
- * @param string $command
- * @param string $action
- *
- * @return \Robo\Result
- */
- protected function callTaskMethod($command, $action)
- {
- try {
- $function_result = call_user_func_array($command, $action);
- return $this->processResult($function_result);
- } catch (\Exception $e) {
- $this->printTaskError($e->getMessage());
- return Result::fromException($this, $e);
- }
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Testing/Atoum.php b/vendor/consolidation/robo/src/Task/Testing/Atoum.php
deleted file mode 100644
index 56b47d84f..000000000
--- a/vendor/consolidation/robo/src/Task/Testing/Atoum.php
+++ /dev/null
@@ -1,184 +0,0 @@
-taskAtoum()
- * ->files('path/to/test.php')
- * ->configFile('config/dev.php')
- * ->run()
- *
- * ?>
- * ```
- */
-class Atoum extends BaseTask implements CommandInterface, PrintedInterface
-{
- use \Robo\Common\ExecOneCommand;
-
- /**
- * @var string
- */
- protected $command;
-
- /**
- * Atoum constructor.
- *
- * @param null|string $pathToAtoum
- *
- * @throws \Robo\Exception\TaskException
- */
- public function __construct($pathToAtoum = null)
- {
- $this->command = $pathToAtoum;
- if (!$this->command) {
- $this->command = $this->findExecutable('atoum');
- }
- if (!$this->command) {
- throw new \Robo\Exception\TaskException(__CLASS__, "Neither local atoum nor global composer installation not found");
- }
- }
-
- /**
- * Tag or Tags to filter.
- *
- * @param string|array $tags
- *
- * @return $this
- */
- public function tags($tags)
- {
- return $this->addMultipleOption('tags', $tags);
- }
-
- /**
- * Display result using the light reporter.
- *
- * @return $this
- */
- public function lightReport()
- {
- $this->option("--use-light-report");
-
- return $this;
- }
-
- /**
- * Display result using the tap reporter.
- *
- * @return $this
- */
- public function tap()
- {
- $this->option("use-tap-report");
-
- return $this;
- }
-
- /**
- * Path to the bootstrap file.
-
- * @param string $file
- *
- * @return $this
- */
- public function bootstrap($file)
- {
- $this->option("bootstrap", $file);
-
- return $this;
- }
-
- /**
- * Path to the config file.
- *
- * @param string $file
- *
- * @return $this
- */
- public function configFile($file)
- {
- $this->option('-c', $file);
-
- return $this;
- }
-
- /**
- * Use atoum's debug mode.
- *
- * @return $this
- */
- public function debug()
- {
- $this->option("debug");
-
- return $this;
- }
-
- /**
- * Test file or test files to run.
- *
- * @param string|array
- *
- * @return $this
- */
- public function files($files)
- {
- return $this->addMultipleOption('f', $files);
- }
-
- /**
- * Test directory or directories to run.
- *
- * @param string|array A single directory or a list of directories.
- *
- * @return $this
- */
- public function directories($directories)
- {
- return $this->addMultipleOption('directories', $directories);
- }
-
- /**
- * @param string $option
- * @param string|array $values
- *
- * @return $this
- */
- protected function addMultipleOption($option, $values)
- {
- if (is_string($values)) {
- $values = [$values];
- }
-
- foreach ($values as $value) {
- $this->option($option, $value);
- }
-
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . $this->arguments;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Running atoum ' . $this->arguments);
-
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Testing/Behat.php b/vendor/consolidation/robo/src/Task/Testing/Behat.php
deleted file mode 100644
index 7e4f1d41a..000000000
--- a/vendor/consolidation/robo/src/Task/Testing/Behat.php
+++ /dev/null
@@ -1,163 +0,0 @@
-taskBehat()
- * ->format('pretty')
- * ->noInteraction()
- * ->run();
- * ?>
- * ```
- *
- */
-class Behat extends BaseTask implements CommandInterface, PrintedInterface
-{
- use \Robo\Common\ExecOneCommand;
-
- /**
- * @var string
- */
- protected $command;
-
- /**
- * @var string[] $formaters available formaters for format option
- */
- protected $formaters = ['progress', 'pretty', 'junit'];
-
- /**
- * @var string[] $verbose_levels available verbose levels
- */
- protected $verbose_levels = ['v', 'vv'];
-
- /**
- * Behat constructor.
- *
- * @param null|string $pathToBehat
- *
- * @throws \Robo\Exception\TaskException
- */
- public function __construct($pathToBehat = null)
- {
- $this->command = $pathToBehat;
- if (!$this->command) {
- $this->command = $this->findExecutable('behat');
- }
- if (!$this->command) {
- throw new \Robo\Exception\TaskException(__CLASS__, "Neither composer nor phar installation of Behat found");
- }
- }
-
- /**
- * @return $this
- */
- public function stopOnFail()
- {
- $this->option('stop-on-failure');
- return $this;
- }
-
- /**
- * @return $this
- */
- public function noInteraction()
- {
- $this->option('no-interaction');
- return $this;
- }
-
- /**
- * @param $config_file
- *
- * @return $this
- */
- public function config($config_file)
- {
- $this->option('config', $config_file);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function colors()
- {
- $this->option('colors');
- return $this;
- }
-
- /**
- * @return $this
- */
- public function noColors()
- {
- $this->option('no-colors');
- return $this;
- }
-
- /**
- * @param string $suite
- *
- * @return $this
- */
- public function suite($suite)
- {
- $this->option('suite', $suite);
- return $this;
- }
-
- /**
- * @param string $level
- *
- * @return $this
- */
- public function verbose($level = 'v')
- {
- if (!in_array($level, $this->verbose_levels)) {
- throw new \InvalidArgumentException('expected ' . implode(',', $this->verbose_levels));
- }
- $this->option('-' . $level);
- return $this;
- }
-
- /**
- * @param string $formater
- *
- * @return $this
- */
- public function format($formater)
- {
- if (!in_array($formater, $this->formaters)) {
- throw new \InvalidArgumentException('expected ' . implode(',', $this->formaters));
- }
- $this->option('format', $formater);
- return $this;
- }
-
- /**
- * Returns command that can be executed.
- * This method is used to pass generated command from one task to another.
- *
- * @return string
- */
- public function getCommand()
- {
- return $this->command . $this->arguments;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Running behat {arguments}', ['arguments' => $this->arguments]);
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Testing/Codecept.php b/vendor/consolidation/robo/src/Task/Testing/Codecept.php
deleted file mode 100644
index 1f8cce703..000000000
--- a/vendor/consolidation/robo/src/Task/Testing/Codecept.php
+++ /dev/null
@@ -1,271 +0,0 @@
-taskCodecept()
- * ->suite('acceptance')
- * ->env('chrome')
- * ->group('admin')
- * ->xml()
- * ->html()
- * ->run();
- *
- * ?>
- * ```
- *
- */
-class Codecept extends BaseTask implements CommandInterface, PrintedInterface
-{
- use \Robo\Common\ExecOneCommand;
-
- /**
- * @var string
- */
- protected $command;
-
- /**
- * @param string $pathToCodeception
- *
- * @throws \Robo\Exception\TaskException
- */
- public function __construct($pathToCodeception = '')
- {
- $this->command = $pathToCodeception;
- if (!$this->command) {
- $this->command = $this->findExecutable('codecept');
- }
- if (!$this->command) {
- throw new TaskException(__CLASS__, "Neither composer nor phar installation of Codeception found.");
- }
- $this->command .= ' run';
- }
-
- /**
- * @param string $suite
- *
- * @return $this
- */
- public function suite($suite)
- {
- $this->option(null, $suite);
- return $this;
- }
-
- /**
- * @param string $testName
- *
- * @return $this
- */
- public function test($testName)
- {
- $this->option(null, $testName);
- return $this;
- }
-
- /**
- * set group option. Can be called multiple times
- *
- * @param string $group
- *
- * @return $this
- */
- public function group($group)
- {
- $this->option("group", $group);
- return $this;
- }
-
- /**
- * @param string $group
- *
- * @return $this
- */
- public function excludeGroup($group)
- {
- $this->option("skip-group", $group);
- return $this;
- }
-
- /**
- * generate json report
- *
- * @param string $file
- *
- * @return $this
- */
- public function json($file = null)
- {
- $this->option("json", $file);
- return $this;
- }
-
- /**
- * generate xml JUnit report
- *
- * @param string $file
- *
- * @return $this
- */
- public function xml($file = null)
- {
- $this->option("xml", $file);
- return $this;
- }
-
- /**
- * Generate html report
- *
- * @param string $dir
- *
- * @return $this
- */
- public function html($dir = null)
- {
- $this->option("html", $dir);
- return $this;
- }
-
- /**
- * generate tap report
- *
- * @param string $file
- *
- * @return $this
- */
- public function tap($file = null)
- {
- $this->option("tap", $file);
- return $this;
- }
-
- /**
- * provides config file other then default `codeception.yml` with `-c` option
- *
- * @param string $file
- *
- * @return $this
- */
- public function configFile($file)
- {
- $this->option("-c", $file);
- return $this;
- }
-
- /**
- * collect codecoverage in raw format. You may pass name of cov file to save results
- *
- * @param null|string $cov
- *
- * @return $this
- */
- public function coverage($cov = null)
- {
- $this->option("coverage", $cov);
- return $this;
- }
-
- /**
- * execute in silent mode
- *
- * @return $this
- */
- public function silent()
- {
- $this->option("silent");
- return $this;
- }
-
- /**
- * collect code coverage in xml format. You may pass name of xml file to save results
- *
- * @param string $xml
- *
- * @return $this
- */
- public function coverageXml($xml = null)
- {
- $this->option("coverage-xml", $xml);
- return $this;
- }
-
- /**
- * collect code coverage and generate html report. You may pass
- *
- * @param string $html
- *
- * @return $this
- */
- public function coverageHtml($html = null)
- {
- $this->option("coverage-html", $html);
- return $this;
- }
-
- /**
- * @param string $env
- *
- * @return $this
- */
- public function env($env)
- {
- $this->option("env", $env);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function debug()
- {
- $this->option("debug");
- return $this;
- }
-
- /**
- * @return $this
- */
- public function noRebuild()
- {
- $this->option("no-rebuild");
- return $this;
- }
-
- /**
- * @param string $failGroup
- * @return $this
- */
- public function failGroup($failGroup)
- {
- $this->option('override', "extensions: config: Codeception\\Extension\\RunFailed: fail-group: {$failGroup}");
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . $this->arguments;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $command = $this->getCommand();
- $this->printTaskInfo('Executing {command}', ['command' => $command]);
- return $this->executeCommand($command);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Testing/PHPUnit.php b/vendor/consolidation/robo/src/Task/Testing/PHPUnit.php
deleted file mode 100644
index df67e1c75..000000000
--- a/vendor/consolidation/robo/src/Task/Testing/PHPUnit.php
+++ /dev/null
@@ -1,199 +0,0 @@
-taskPHPUnit()
- * ->group('core')
- * ->bootstrap('test/bootstrap.php')
- * ->run()
- *
- * ?>
- * ```
- */
-class PHPUnit extends BaseTask implements CommandInterface, PrintedInterface
-{
- use \Robo\Common\ExecOneCommand;
-
- /**
- * @var string
- */
- protected $command;
-
- /**
- * Directory of test files or single test file to run. Appended to
- * the command and arguments.
- *
- * @var string
- */
- protected $files = '';
-
- public function __construct($pathToPhpUnit = null)
- {
- $this->command = $pathToPhpUnit;
- if (!$this->command) {
- $this->command = $this->findExecutablePhar('phpunit');
- }
- if (!$this->command) {
- throw new \Robo\Exception\TaskException(__CLASS__, "Neither local phpunit nor global composer installation not found");
- }
- }
-
- /**
- * @param string $filter
- *
- * @return $this
- */
- public function filter($filter)
- {
- $this->option('filter', $filter);
- return $this;
- }
-
- /**
- * @param string $group
- *
- * @return $this
- */
- public function group($group)
- {
- $this->option("group", $group);
- return $this;
- }
-
- /**
- * @param string $group
- *
- * @return $this
- */
- public function excludeGroup($group)
- {
- $this->option("exclude-group", $group);
- return $this;
- }
-
- /**
- * adds `log-json` option to runner
- *
- * @param string $file
- *
- * @return $this
- */
- public function json($file = null)
- {
- $this->option("log-json", $file);
- return $this;
- }
-
- /**
- * adds `log-junit` option
- *
- * @param string $file
- *
- * @return $this
- */
- public function xml($file = null)
- {
- $this->option("log-junit", $file);
- return $this;
- }
-
- /**
- * @param string $file
- *
- * @return $this
- */
- public function tap($file = "")
- {
- $this->option("log-tap", $file);
- return $this;
- }
-
- /**
- * @param string $file
- *
- * @return $this
- */
- public function bootstrap($file)
- {
- $this->option("bootstrap", $file);
- return $this;
- }
-
- /**
- * @param string $file
- *
- * @return $this
- */
- public function configFile($file)
- {
- $this->option('-c', $file);
- return $this;
- }
-
- /**
- * @return $this
- */
- public function debug()
- {
- $this->option("debug");
- return $this;
- }
-
- /**
- * Directory of test files or single test file to run.
- *
- * @param string $files A single test file or a directory containing test files.
- *
- * @return $this
- *
- * @throws \Robo\Exception\TaskException
- *
- * @deprecated Use file() or dir() method instead
- */
- public function files($files)
- {
- if (!empty($this->files) || is_array($files)) {
- throw new \Robo\Exception\TaskException(__CLASS__, "Only one file or directory may be provided.");
- }
- $this->files = ' ' . $files;
-
- return $this;
- }
-
- /**
- * Test the provided file.
- *
- * @param string $file path to file to test
- *
- * @return $this
- */
- public function file($file)
- {
- return $this->files($file);
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCommand()
- {
- return $this->command . $this->arguments . $this->files;
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Running PHPUnit {arguments}', ['arguments' => $this->arguments]);
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Testing/Phpspec.php b/vendor/consolidation/robo/src/Task/Testing/Phpspec.php
deleted file mode 100644
index dd6a5ae77..000000000
--- a/vendor/consolidation/robo/src/Task/Testing/Phpspec.php
+++ /dev/null
@@ -1,116 +0,0 @@
-taskPhpspec()
- * ->format('pretty')
- * ->noInteraction()
- * ->run();
- * ?>
- * ```
- *
- */
-class Phpspec extends BaseTask implements CommandInterface, PrintedInterface
-{
- use \Robo\Common\ExecOneCommand;
-
- /**
- * @var string
- */
- protected $command;
-
- /**
- * @var string[] $formaters available formaters for format option
- */
- protected $formaters = ['progress', 'html', 'pretty', 'junit', 'dot', 'tap'];
-
- /**
- * @var array $verbose_levels available verbose levels
- */
- protected $verbose_levels = ['v', 'vv', 'vvv'];
-
- public function __construct($pathToPhpspec = null)
- {
- $this->command = $pathToPhpspec;
- if (!$this->command) {
- $this->command = $this->findExecutable('phpspec');
- }
- if (!$this->command) {
- throw new \Robo\Exception\TaskException(__CLASS__, "Neither composer nor phar installation of Phpspec found");
- }
- $this->arg('run');
- }
-
- public function stopOnFail()
- {
- $this->option('stop-on-failure');
- return $this;
- }
-
- public function noCodeGeneration()
- {
- $this->option('no-code-generation');
- return $this;
- }
-
- public function quiet()
- {
- $this->option('quiet');
- return $this;
- }
-
- public function verbose($level = 'v')
- {
- if (!in_array($level, $this->verbose_levels)) {
- throw new \InvalidArgumentException('expected ' . implode(',', $this->verbose_levels));
- }
- $this->option('-' . $level);
- return $this;
- }
-
- public function noAnsi()
- {
- $this->option('no-ansi');
- return $this;
- }
-
- public function noInteraction()
- {
- $this->option('no-interaction');
- return $this;
- }
-
- public function config($config_file)
- {
- $this->option('config', $config_file);
- return $this;
- }
-
- public function format($formater)
- {
- if (!in_array($formater, $this->formaters)) {
- throw new \InvalidArgumentException('expected ' . implode(',', $this->formaters));
- }
- $this->option('format', $formater);
- return $this;
- }
-
- public function getCommand()
- {
- return $this->command . $this->arguments;
- }
-
- public function run()
- {
- $this->printTaskInfo('Running phpspec {arguments}', ['arguments' => $this->arguments]);
- return $this->executeCommand($this->getCommand());
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Testing/loadTasks.php b/vendor/consolidation/robo/src/Task/Testing/loadTasks.php
deleted file mode 100644
index 43145b9b6..000000000
--- a/vendor/consolidation/robo/src/Task/Testing/loadTasks.php
+++ /dev/null
@@ -1,55 +0,0 @@
-task(Codecept::class, $pathToCodeception);
- }
-
- /**
- * @param null|string $pathToPhpUnit
- *
- * @return \Robo\Task\Testing\PHPUnit
- */
- protected function taskPhpUnit($pathToPhpUnit = null)
- {
- return $this->task(PHPUnit::class, $pathToPhpUnit);
- }
-
- /**
- * @param null $pathToPhpspec
- *
- * @return \Robo\Task\Testing\Phpspec
- */
- protected function taskPhpspec($pathToPhpspec = null)
- {
- return $this->task(Phpspec::class, $pathToPhpspec);
- }
-
- /**
- * @param null $pathToAtoum
- *
- * @return \Robo\Task\Testing\Atoum
- */
- protected function taskAtoum($pathToAtoum = null)
- {
- return $this->task(Atoum::class, $pathToAtoum);
- }
-
- /**
- * @param null $pathToBehat
- *
- * @return \Robo\Task\Testing\Behat
- */
- protected function taskBehat($pathToBehat = null)
- {
- return $this->task(Behat::class, $pathToBehat);
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Vcs/GitStack.php b/vendor/consolidation/robo/src/Task/Vcs/GitStack.php
deleted file mode 100644
index 6cb1783f0..000000000
--- a/vendor/consolidation/robo/src/Task/Vcs/GitStack.php
+++ /dev/null
@@ -1,177 +0,0 @@
-taskGitStack()
- * ->stopOnFail()
- * ->add('-A')
- * ->commit('adding everything')
- * ->push('origin','master')
- * ->tag('0.6.0')
- * ->push('origin','0.6.0')
- * ->run()
- *
- * $this->taskGitStack()
- * ->stopOnFail()
- * ->add('doc/*')
- * ->commit('doc updated')
- * ->push()
- * ->run();
- * ?>
- * ```
- */
-class GitStack extends CommandStack
-{
- /**
- * @param string $pathToGit
- */
- public function __construct($pathToGit = 'git')
- {
- $this->executable = $pathToGit;
- }
-
- /**
- * Executes `git clone`
- *
- * @param string $repo
- * @param string $to
- *
- * @return $this
- */
- public function cloneRepo($repo, $to = "", $branch = "")
- {
- $cmd = ['clone', $repo, $to];
- if (!empty($branch)) {
- $cmd[] = "--branch $branch";
- }
- return $this->exec($cmd);
- }
-
- /**
- * Executes `git clone` with depth 1 as default
- *
- * @param string $repo
- * @param string $to
- * @param string $branch
- * @param int $depth
- *
- * @return $this
- */
- public function cloneShallow($repo, $to = '', $branch = "", $depth = 1)
- {
- $cmd = ["clone --depth $depth", $repo, $to];
- if (!empty($branch)) {
- $cmd[] = "--branch $branch";
- }
-
- return $this->exec($cmd);
- }
-
- /**
- * Executes `git add` command with files to add pattern
- *
- * @param string $pattern
- *
- * @return $this
- */
- public function add($pattern)
- {
- return $this->exec([__FUNCTION__, $pattern]);
- }
-
- /**
- * Executes `git commit` command with a message
- *
- * @param string $message
- * @param string $options
- *
- * @return $this
- */
- public function commit($message, $options = "")
- {
- $message = ProcessUtils::escapeArgument($message);
- return $this->exec([__FUNCTION__, "-m $message", $options]);
- }
-
- /**
- * Executes `git pull` command.
- *
- * @param string $origin
- * @param string $branch
- *
- * @return $this
- */
- public function pull($origin = '', $branch = '')
- {
- return $this->exec([__FUNCTION__, $origin, $branch]);
- }
-
- /**
- * Executes `git push` command
- *
- * @param string $origin
- * @param string $branch
- *
- * @return $this
- */
- public function push($origin = '', $branch = '')
- {
- return $this->exec([__FUNCTION__, $origin, $branch]);
- }
-
- /**
- * Performs git merge
- *
- * @param string $branch
- *
- * @return $this
- */
- public function merge($branch)
- {
- return $this->exec([__FUNCTION__, $branch]);
- }
-
- /**
- * Executes `git checkout` command
- *
- * @param string $branch
- *
- * @return $this
- */
- public function checkout($branch)
- {
- return $this->exec([__FUNCTION__, $branch]);
- }
-
- /**
- * Executes `git tag` command
- *
- * @param string $tag_name
- * @param string $message
- *
- * @return $this
- */
- public function tag($tag_name, $message = "")
- {
- if ($message != "") {
- $message = "-m '$message'";
- }
- return $this->exec([__FUNCTION__, $message, $tag_name]);
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo("Running git commands...");
- return parent::run();
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Vcs/HgStack.php b/vendor/consolidation/robo/src/Task/Vcs/HgStack.php
deleted file mode 100644
index 71cc0ca9c..000000000
--- a/vendor/consolidation/robo/src/Task/Vcs/HgStack.php
+++ /dev/null
@@ -1,153 +0,0 @@
-hgStack
- * ->cloneRepo('https://bitbucket.org/durin42/hgsubversion')
- * ->pull()
- * ->add()
- * ->commit('changed')
- * ->push()
- * ->tag('0.6.0')
- * ->push('0.6.0')
- * ->run();
- * ?>
- * ```
- */
-class HgStack extends CommandStack
-{
-
- /**
- * @param string $pathToHg
- */
- public function __construct($pathToHg = 'hg')
- {
- $this->executable = $pathToHg;
- }
-
- /**
- * Executes `hg clone`
- *
- * @param string $repo
- * @param string $to
- *
- * @return $this
- */
- public function cloneRepo($repo, $to = '')
- {
- return $this->exec(['clone', $repo, $to]);
- }
-
- /**
- * Executes `hg add` command with files to add by pattern
- *
- * @param string $include
- * @param string $exclude
- *
- * @return $this
- */
- public function add($include = '', $exclude = '')
- {
- if (strlen($include) > 0) {
- $include = "-I {$include}";
- }
-
- if (strlen($exclude) > 0) {
- $exclude = "-X {$exclude}";
- }
-
- return $this->exec([__FUNCTION__, $include, $exclude]);
- }
-
- /**
- * Executes `hg commit` command with a message
- *
- * @param string $message
- * @param string $options
- *
- * @return $this
- */
- public function commit($message, $options = '')
- {
- return $this->exec([__FUNCTION__, "-m '{$message}'", $options]);
- }
-
- /**
- * Executes `hg pull` command.
- *
- * @param string $branch
- *
- * @return $this
- */
- public function pull($branch = '')
- {
- if (strlen($branch) > 0) {
- $branch = "-b '{$branch}''";
- }
-
- return $this->exec([__FUNCTION__, $branch]);
- }
-
- /**
- * Executes `hg push` command
- *
- * @param string $branch
- *
- * @return $this
- */
- public function push($branch = '')
- {
- if (strlen($branch) > 0) {
- $branch = "-b '{$branch}'";
- }
-
- return $this->exec([__FUNCTION__, $branch]);
- }
-
- /**
- * Performs hg merge
- *
- * @param string $revision
- *
- * @return $this
- */
- public function merge($revision = '')
- {
- if (strlen($revision) > 0) {
- $revision = "-r {$revision}";
- }
-
- return $this->exec([__FUNCTION__, $revision]);
- }
-
- /**
- * Executes `hg tag` command
- *
- * @param string $tag_name
- * @param string $message
- *
- * @return $this
- */
- public function tag($tag_name, $message = '')
- {
- if ($message !== '') {
- $message = "-m '{$message}'";
- }
- return $this->exec([__FUNCTION__, $message, $tag_name]);
- }
-
- /**
- * {@inheritdoc}
- */
- public function run()
- {
- $this->printTaskInfo('Running hg commands...');
- return parent::run();
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Vcs/SvnStack.php b/vendor/consolidation/robo/src/Task/Vcs/SvnStack.php
deleted file mode 100644
index ec719b538..000000000
--- a/vendor/consolidation/robo/src/Task/Vcs/SvnStack.php
+++ /dev/null
@@ -1,106 +0,0 @@
-taskSvnStack()
- * ->checkout('http://svn.collab.net/repos/svn/trunk')
- * ->run()
- *
- * // alternatively
- * $this->_svnCheckout('http://svn.collab.net/repos/svn/trunk');
- *
- * $this->taskSvnStack('username', 'password')
- * ->stopOnFail()
- * ->update()
- * ->add('doc/*')
- * ->commit('doc updated')
- * ->run();
- * ?>
- * ```
- */
-class SvnStack extends CommandStack implements CommandInterface
-{
- /**
- * @var bool
- */
- protected $stopOnFail = false;
-
- /**
- * @var \Robo\Result
- */
- protected $result;
-
- /**
- * @param string $username
- * @param string $password
- * @param string $pathToSvn
- */
- public function __construct($username = '', $password = '', $pathToSvn = 'svn')
- {
- $this->executable = $pathToSvn;
- if (!empty($username)) {
- $this->executable .= " --username $username";
- }
- if (!empty($password)) {
- $this->executable .= " --password $password";
- }
- $this->result = Result::success($this);
- }
-
- /**
- * Updates `svn update` command
- *
- * @param string $path
- *
- * @return $this;
- */
- public function update($path = '')
- {
- return $this->exec("update $path");
- }
-
- /**
- * Executes `svn add` command with files to add pattern
- *
- * @param string $pattern
- *
- * @return $this
- */
- public function add($pattern = '')
- {
- return $this->exec("add $pattern");
- }
-
- /**
- * Executes `svn commit` command with a message
- *
- * @param string $message
- * @param string $options
- *
- * @return $this
- */
- public function commit($message, $options = "")
- {
- return $this->exec("commit -m '$message' $options");
- }
-
- /**
- * Executes `svn checkout` command
- *
- * @param string $branch
- *
- * @return $this
- */
- public function checkout($branch)
- {
- return $this->exec("checkout $branch");
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Vcs/loadShortcuts.php b/vendor/consolidation/robo/src/Task/Vcs/loadShortcuts.php
deleted file mode 100644
index 7d64ab58c..000000000
--- a/vendor/consolidation/robo/src/Task/Vcs/loadShortcuts.php
+++ /dev/null
@@ -1,35 +0,0 @@
-taskSvnStack()->checkout($url)->run();
- }
-
- /**
- * @param string $url
- *
- * @return \Robo\Result
- */
- protected function _gitClone($url)
- {
- return $this->taskGitStack()->cloneRepo($url)->run();
- }
-
- /**
- * @param string $url
- *
- * @return \Robo\Result
- */
- protected function _hgClone($url)
- {
- return $this->taskHgStack()->cloneRepo($url)->run();
- }
-}
diff --git a/vendor/consolidation/robo/src/Task/Vcs/loadTasks.php b/vendor/consolidation/robo/src/Task/Vcs/loadTasks.php
deleted file mode 100644
index 6dd06228a..000000000
--- a/vendor/consolidation/robo/src/Task/Vcs/loadTasks.php
+++ /dev/null
@@ -1,37 +0,0 @@
-task(SvnStack::class, $username, $password, $pathToSvn);
- }
-
- /**
- * @param string $pathToGit
- *
- * @return \Robo\Task\Vcs\GitStack
- */
- protected function taskGitStack($pathToGit = 'git')
- {
- return $this->task(GitStack::class, $pathToGit);
- }
-
- /**
- * @param string $pathToHg
- *
- * @return \Robo\Task\Vcs\HgStack
- */
- protected function taskHgStack($pathToHg = 'hg')
- {
- return $this->task(HgStack::class, $pathToHg);
- }
-}
diff --git a/vendor/consolidation/robo/src/TaskAccessor.php b/vendor/consolidation/robo/src/TaskAccessor.php
deleted file mode 100644
index e65cd3eb3..000000000
--- a/vendor/consolidation/robo/src/TaskAccessor.php
+++ /dev/null
@@ -1,47 +0,0 @@
-task(Foo::class, $a, $b);
- *
- * instead of:
- *
- * $this->taskFoo($a, $b);
- *
- * The later form is preferred.
- *
- * @return \Robo\Collection\CollectionBuilder
- */
- protected function task()
- {
- $args = func_get_args();
- $name = array_shift($args);
-
- $collectionBuilder = $this->collectionBuilder();
- return $collectionBuilder->build($name, $args);
- }
-}
diff --git a/vendor/consolidation/robo/src/TaskInfo.php b/vendor/consolidation/robo/src/TaskInfo.php
deleted file mode 100644
index ce59c2d55..000000000
--- a/vendor/consolidation/robo/src/TaskInfo.php
+++ /dev/null
@@ -1,35 +0,0 @@
- TaskInfo::formatTaskName($task),
- 'task' => $task,
- ];
- }
-
- /**
- * @param object $task
- *
- * @return string
- */
- public static function formatTaskName($task)
- {
- $name = get_class($task);
- $name = preg_replace('~Stack^~', '', $name);
- $name = str_replace('Robo\\Task\Base\\', '', $name);
- $name = str_replace('Robo\\Task\\', '', $name);
- $name = str_replace('Robo\\Collection\\', '', $name);
- return $name;
- }
-}
diff --git a/vendor/consolidation/robo/src/Tasks.php b/vendor/consolidation/robo/src/Tasks.php
deleted file mode 100644
index 2822d7d50..000000000
--- a/vendor/consolidation/robo/src/Tasks.php
+++ /dev/null
@@ -1,23 +0,0 @@
-add($cmd);
-```
-
-## Similar Projects
-
-- https://github.com/DavaHome/self-update
-- https://github.com/padraic/phar-updater
diff --git a/vendor/consolidation/self-update/VERSION b/vendor/consolidation/self-update/VERSION
deleted file mode 100644
index e25d8d9f3..000000000
--- a/vendor/consolidation/self-update/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-1.1.5
diff --git a/vendor/consolidation/self-update/composer.json b/vendor/consolidation/self-update/composer.json
deleted file mode 100644
index 3125a65f6..000000000
--- a/vendor/consolidation/self-update/composer.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "name": "consolidation/self-update",
- "description": "Provides a self:update command for Symfony Console applications.",
- "license": "MIT",
- "authors": [
- {
- "name": "Alexander Menk",
- "email": "menk@mestrona.net"
- },
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "autoload":{
- "psr-4":{
- "SelfUpdate\\":"src"
- }
- },
- "require": {
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4"
- },
- "bin": [
- "scripts/release"
- ],
- "scripts": {
- "release": "./scripts/release VERSION"
- },
- "config": {
- "optimize-autoloader": true,
- "sort-packages": true,
- "platform": {
- "php": "5.6.3"
- }
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- }
-}
diff --git a/vendor/consolidation/self-update/composer.lock b/vendor/consolidation/self-update/composer.lock
deleted file mode 100644
index af14184c8..000000000
--- a/vendor/consolidation/self-update/composer.lock
+++ /dev/null
@@ -1,362 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "3c87d0a607c776a773e52613a1ae51a9",
- "packages": [
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.4.14",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "6b217594552b9323bcdcfc14f8a0ce126e84cd73"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/6b217594552b9323bcdcfc14f8a0ce126e84cd73",
- "reference": "6b217594552b9323bcdcfc14f8a0ce126e84cd73",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/debug": "~2.8|~3.0|~4.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.3|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.4.14",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "d5a058ff6ecad26b30c1ba452241306ea34c65cc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/d5a058ff6ecad26b30c1ba452241306ea34c65cc",
- "reference": "d5a058ff6ecad26b30c1ba452241306ea34c65cc",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0|~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.4.14",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "a59f917e3c5d82332514cb4538387638f5bde2d6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/a59f917e3c5d82332514cb4538387638f5bde2d6",
- "reference": "a59f917e3c5d82332514cb4538387638f5bde2d6",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- }
- ],
- "packages-dev": [],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.5.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "5.6.3"
- }
-}
diff --git a/vendor/consolidation/self-update/scripts/release b/vendor/consolidation/self-update/scripts/release
deleted file mode 100755
index 10314111a..000000000
--- a/vendor/consolidation/self-update/scripts/release
+++ /dev/null
@@ -1,178 +0,0 @@
-#!/usr/bin/env php
-[0-9]+\.[0-9]+\.[0-9]+)(?-[0-9a-zA-Z.]+)?(?\+[0-9a-zA-Z.]*)?';
-
-$optind = null;
-$options = getopt ("dvy", [
- 'pattern:',
- 'simulate',
- 'yes',
-], $optind) + [
- 'pattern' => "^SEMVER$",
-];
-$simulate = array_key_exists('simulate', $options);
-$yes = array_key_exists('yes', $options) || array_key_exists('y', $options);
-
-$pos_args = array_slice($argv, $optind);
-$path = array_shift($pos_args);
-
-if (empty($path)) {
- print "Path to version file must be specified as a commandline argument\n";
- exit(1);
-}
-
-if (!file_exists($path)) {
- print "Version file not found at $path\n";
- exit(1);
-}
-
-// The --pattern option is expected to contain the string SEMVER
-$regex = str_replace('SEMVER', "$semverRegEx", $options['pattern']);
-if ($regex == $options['pattern']) {
- print "Pattern '$regex' must contain the string 'SEMVER'.\n";
- exit(1);
-}
-
-// Read the contents of the version file and find the version string
-$contents = file_get_contents($path);
-if (!preg_match("#$regex#m", $contents, $matches)) {
- print "A semver version not found in $path\n";
- exit(1);
-}
-$matches += ['prerelease' => '', 'build' => ''];
-
-// Calculate the stable and next version strings
-$original_version_match = $matches[0];
-$original_version = $matches['version'] . $matches['prerelease'] . $matches['build'];
-$stable_version = $matches['version'] . (has_prerelease($matches) ? $matches['prerelease'] : '');
-$next_version = next_version($matches);
-
-$stable_version_replacement = str_replace($original_version, $stable_version, $original_version_match);
-$next_version_replacement = str_replace($original_version, $next_version, $original_version_match);
-
-$stable_version_contents = str_replace($original_version_match, $stable_version_replacement, $contents);
-$next_version_contents = str_replace($original_version_match, $next_version_replacement, $contents);
-
-$composerContents = file_get_contents('composer.json');
-$composerData = json_decode($composerContents, true);
-$project = $composerData['name'];
-
-$msg = "Release $project version $stable_version";
-$dashes = str_pad('', strlen($msg) + 8, '-', STR_PAD_LEFT);
-
-print "\n$dashes\n\n";
-print " $msg\n";
-print "\n$dashes\n\n";
-
-// Write the stable version into the version file, tag and push the release
-if (!$simulate) {
- file_put_contents($path, $stable_version_contents);
-}
-else {
- print "Replace stable version in $path:\n> $stable_version_replacement\n";
-}
-
-run('git add {path}', ['{path}' => $path], $simulate);
-run('git commit -m "Version {version}"', ['{version}' => $stable_version], $simulate);
-run('git tag {version}', ['{version}' => $stable_version], $simulate);
-run('git push origin {version}', ['{version}' => $stable_version], $simulate);
-
-// Put the next version into the version file and push the result back to master
-if (!$simulate) {
- file_put_contents($path, $next_version_contents);
-}
-else {
- print "Replace next version in $path:\n> $next_version_replacement\n";
-}
-
-run('git add {path}', ['{path}' => $path], $simulate);
-run('git commit -m "[ci skip] Back to {version}"', ['{version}' => $next_version], $simulate);
-run('git push origin master', [], $simulate);
-
-exit(0);
-
-/**
- * inflect replaces the placeholders in the command with the provided parameter values
- * @param string $cmd
- * @param array $parameters
- * @return string
- */
-function inflect($cmd, $parameters = [])
-{
- if (!empty($parameters)) {
- return str_replace(array_keys($parameters), array_values($parameters), $cmd);
- }
- return $cmd;
-}
-
-/**
- * Run the specified command. Abort most rudely if an error is encountered
- */
-function run($cmd, $parameters = [], $simulate = false)
-{
- $cmd = inflect($cmd, $parameters);
- if ($simulate) {
- print "$cmd\n";
- return;
- }
- passthru($cmd, $status);
- if ($status) {
- exit($status);
- }
-}
-
-/**
- * Determine the next version after the current release
- */
-function next_version($matches)
-{
- $version = $matches['version'];
-
- $next_version = next_version_prerelease($matches);
- if ($next_version !== false) {
- return $next_version;
- }
- return next_version_stable($matches);
-}
-
-/**
- * Determine the next version given that the current version is stable
- */
-function next_version_stable($matches)
-{
- $version_parts = explode('.', $matches['version']);
- $last_version = array_pop($version_parts);
- $last_version++;
- $version_parts[] = $last_version;
-
- return implode('.', $version_parts) . (empty($matches['prerelease']) ? '-dev' : $matches['prerelease']);
-}
-
-function has_prerelease($matches)
-{
- if (empty($matches['prerelease'])) {
- return false;
- }
-
- return is_numeric(substr($matches['prerelease'], -1));
-}
-
-/**
- * Determine the next version given that the current version has a pre-release
- * (e.g. '-alpha5').
- */
-function next_version_prerelease($version_parts)
-{
- if (!preg_match('#(.*?)([0-9]+)$#', $version_parts['prerelease'], $matches)) {
- return false;
- }
- $next = $matches[2] + 1;
- return $version_parts['version'] . $matches[1] . $next . '+dev';
-}
diff --git a/vendor/consolidation/self-update/src/SelfUpdateCommand.php b/vendor/consolidation/self-update/src/SelfUpdateCommand.php
deleted file mode 100644
index ad40e3477..000000000
--- a/vendor/consolidation/self-update/src/SelfUpdateCommand.php
+++ /dev/null
@@ -1,154 +0,0 @@
-
- */
-class SelfUpdateCommand extends Command
-{
- const SELF_UPDATE_COMMAND_NAME = 'self:update';
-
- protected $gitHubRepository;
-
- protected $currentVersion;
-
- protected $applicationName;
-
- public function __construct($applicationName = null, $currentVersion = null, $gitHubRepository = null)
- {
- $this->applicationName = $applicationName;
- $this->currentVersion = $currentVersion;
- $this->gitHubRepository = $gitHubRepository;
-
- parent::__construct(self::SELF_UPDATE_COMMAND_NAME);
- }
-
- /**
- * {@inheritdoc}
- */
- protected function configure()
- {
- $app = $this->applicationName;
-
- $this
- ->setAliases(array('update'))
- ->setDescription("Updates $app to the latest version.")
- ->setHelp(
- <<self-update command checks github for newer
-versions of $app and if found, installs the latest.
-EOT
- );
- }
-
- protected function getLatestReleaseFromGithub()
- {
- $opts = [
- 'http' => [
- 'method' => 'GET',
- 'header' => [
- 'User-Agent: ' . $this->applicationName . ' (' . $this->gitHubRepository . ')' . ' Self-Update (PHP)'
- ]
- ]
- ];
-
- $context = stream_context_create($opts);
-
- $releases = file_get_contents('https://api.github.com/repos/' . $this->gitHubRepository . '/releases', false, $context);
- $releases = json_decode($releases);
-
- if (! isset($releases[0])) {
- throw new \Exception('API error - no release found at GitHub repository ' . $this->gitHubRepository);
- }
-
- $version = $releases[0]->tag_name;
- $url = $releases[0]->assets[0]->browser_download_url;
-
- return [ $version, $url ];
- }
-
- /**
- * {@inheritdoc}
- */
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (empty(\Phar::running())) {
- throw new \Exception(self::SELF_UPDATE_COMMAND_NAME . ' only works when running the phar version of ' . $this->applicationName . '.');
- }
-
- $localFilename = realpath($_SERVER['argv'][0]) ?: $_SERVER['argv'][0];
- $programName = basename($localFilename);
- $tempFilename = dirname($localFilename) . '/' . basename($localFilename, '.phar') . '-temp.phar';
-
- // check for permissions in local filesystem before start connection process
- if (! is_writable($tempDirectory = dirname($tempFilename))) {
- throw new \Exception(
- $programName . ' update failed: the "' . $tempDirectory .
- '" directory used to download the temp file could not be written'
- );
- }
-
- if (! is_writable($localFilename)) {
- throw new \Exception(
- $programName . ' update failed: the "' . $localFilename . '" file could not be written (execute with sudo)'
- );
- }
-
- list( $latest, $downloadUrl ) = $this->getLatestReleaseFromGithub();
-
-
- if ($this->currentVersion == $latest) {
- $output->writeln('No update available');
- return;
- }
-
- $fs = new sfFilesystem();
-
- $output->writeln('Downloading ' . $this->applicationName . ' (' . $this->gitHubRepository . ') ' . $latest);
-
- $fs->copy($downloadUrl, $tempFilename);
-
- $output->writeln('Download finished');
-
- try {
- \error_reporting(E_ALL); // supress notices
-
- @chmod($tempFilename, 0777 & ~umask());
- // test the phar validity
- $phar = new \Phar($tempFilename);
- // free the variable to unlock the file
- unset($phar);
- @rename($tempFilename, $localFilename);
- $output->writeln('Successfully updated ' . $programName . ' ');
- $this->_exit();
- } catch (\Exception $e) {
- @unlink($tempFilename);
- if (! $e instanceof \UnexpectedValueException && ! $e instanceof \PharException) {
- throw $e;
- }
- $output->writeln('The download is corrupted (' . $e->getMessage() . '). ');
- $output->writeln('Please re-run the self-update command to try again. ');
- }
- }
-
- /**
- * Stop execution
- *
- * This is a workaround to prevent warning of dispatcher after replacing
- * the phar file.
- *
- * @return void
- */
- protected function _exit()
- {
- exit;
- }
-}
diff --git a/vendor/consolidation/site-alias/.editorconfig b/vendor/consolidation/site-alias/.editorconfig
deleted file mode 100644
index 0c29908ff..000000000
--- a/vendor/consolidation/site-alias/.editorconfig
+++ /dev/null
@@ -1,17 +0,0 @@
-# This file is for unifying the coding style for different editors and IDEs
-# editorconfig.org
-
-root = true
-
-[*]
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-
-[**.php]
-indent_style = space
-indent_size = 4
-
-[{composer.json,composer.lock}]
-indent_size = 4
diff --git a/vendor/consolidation/site-alias/.github/issue_template.md b/vendor/consolidation/site-alias/.github/issue_template.md
deleted file mode 100644
index 97335f49d..000000000
--- a/vendor/consolidation/site-alias/.github/issue_template.md
+++ /dev/null
@@ -1,11 +0,0 @@
-### Steps to reproduce
-What did you do?
-
-### Expected behavior
-Tell us what should happen
-
-### Actual behavior
-Tell us what happens instead
-
-### System Configuration
-Which O.S. and PHP version are you using?
diff --git a/vendor/consolidation/site-alias/.github/pull_request_template.md b/vendor/consolidation/site-alias/.github/pull_request_template.md
deleted file mode 100644
index 42ec29246..000000000
--- a/vendor/consolidation/site-alias/.github/pull_request_template.md
+++ /dev/null
@@ -1,16 +0,0 @@
-### Overview
-This pull request:
-
-| Q | A
-| ------------- | ---
-| Bug fix? | yes/no
-| New feature? | yes/no
-| Has tests? | yes/no
-| BC breaks? | no
-| Deprecations? | yes/no
-
-### Summary
-Short overview of what changed.
-
-### Description
-Any additional information.
diff --git a/vendor/consolidation/site-alias/.gitignore b/vendor/consolidation/site-alias/.gitignore
deleted file mode 100644
index 9722bd90d..000000000
--- a/vendor/consolidation/site-alias/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-.idea/
-box.phar
-build
-alias-tool.phar
-vendor/
diff --git a/vendor/consolidation/site-alias/.scenarios.lock/install b/vendor/consolidation/site-alias/.scenarios.lock/install
deleted file mode 100755
index 16c69e107..000000000
--- a/vendor/consolidation/site-alias/.scenarios.lock/install
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-
-SCENARIO=$1
-DEPENDENCIES=${2-install}
-
-# Convert the aliases 'highest', 'lowest' and 'lock' to
-# the corresponding composer command to run.
-case $DEPENDENCIES in
- highest)
- DEPENDENCIES=update
- ;;
- lowest)
- DEPENDENCIES='update --prefer-lowest'
- ;;
- lock|default|"")
- DEPENDENCIES=install
- ;;
-esac
-
-original_name=scenarios
-recommended_name=".scenarios.lock"
-
-base="$original_name"
-if [ -d "$recommended_name" ] ; then
- base="$recommended_name"
-fi
-
-# If scenario is not specified, install the lockfile at
-# the root of the project.
-dir="$base/${SCENARIO}"
-if [ -z "$SCENARIO" ] || [ "$SCENARIO" == "default" ] ; then
- SCENARIO=default
- dir=.
-fi
-
-# Test to make sure that the selected scenario exists.
-if [ ! -d "$dir" ] ; then
- echo "Requested scenario '${SCENARIO}' does not exist."
- exit 1
-fi
-
-echo
-echo "::"
-echo ":: Switch to ${SCENARIO} scenario"
-echo "::"
-echo
-
-set -ex
-
-composer -n validate --working-dir=$dir --no-check-all --ansi
-composer -n --working-dir=$dir ${DEPENDENCIES} --prefer-dist --no-scripts
-
-# If called from a CI context, print out some extra information about
-# what we just installed.
-if [[ -n "$CI" ]] ; then
- composer -n --working-dir=$dir info
-fi
diff --git a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/.gitignore b/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/.gitignore
deleted file mode 100644
index 22d0d82f8..000000000
--- a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-vendor
diff --git a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/composer.json b/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/composer.json
deleted file mode 100644
index bc86aacd7..000000000
--- a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/composer.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "name": "consolidation/site-alias",
- "description": "Template project for PHP libraries.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- },
- {
- "name": "Moshe Weitzman",
- "email": "weitzman@tejasa.com"
- }
- ],
- "autoload": {
- "psr-4": {
- "Consolidation\\SiteAlias\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\SiteAlias\\": "tests/src"
- }
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "consolidation/Robo": "^1.2.3",
- "g1a/composer-test-scenarios": "^2",
- "knplabs/github-api": "^2.7",
- "php-http/guzzle6-adapter": "^1.1",
- "phpunit/phpunit": "^5.7.27",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.8",
- "symfony/console": "^2.8|^3|^4",
- "symfony/yaml": "~2.3|^3"
- },
- "scripts": {
- "phar:install-tools": [
- "gem install mime-types -v 2.6.2",
- "curl -LSs https://box-project.github.io/box2/installer.php | php"
- ],
- "phar:build": "box build",
- "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",
- "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
- ],
- "test": [
- "@lint",
- "@unit",
- "@cs"
- ],
- "release": [
- "( sed -e 's/-dev$//' VERSION > VERSION.tmp && mv -f VERSION.tmp VERSION && ver=\"$(cat VERSION)\" && git add VERSION && git commit -m \"Version $ver\" && git tag \"$ver\" && git push origin \"$ver\" && a=( ${ver//./ } ) && ((a[2]++)) && echo \"${a[0]}.${a[1]}.${a[2]}-dev\" > VERSION && git add VERSION && git commit -m \"Back to -dev\" && git push origin master )"
- ],
- "scenario": ".scenarios.lock/install",
- "post-update-cmd": [
- "create-scenario phpunit5 'phpunit/phpunit:^5.7.27' --platform-php '5.6.33'",
- "dependency-licenses"
- ]
- },
- "config": {
- "optimize-autoloader": true,
- "sort-packages": true,
- "platform": {
- "php": "5.6.33"
- },
- "vendor-dir": "../../vendor"
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "minimum-stability": "stable"
-}
diff --git a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/composer.lock b/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/composer.lock
deleted file mode 100644
index 111be66f1..000000000
--- a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/composer.lock
+++ /dev/null
@@ -1,3708 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "125c879aa4bd882e58a507fae89da176",
- "packages": [],
- "packages-dev": [
- {
- "name": "clue/stream-filter",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/clue/php-stream-filter.git",
- "reference": "d80fdee9b3a7e0d16fc330a22f41f3ad0eeb09d0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/clue/php-stream-filter/zipball/d80fdee9b3a7e0d16fc330a22f41f3ad0eeb09d0",
- "reference": "d80fdee9b3a7e0d16fc330a22f41f3ad0eeb09d0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0 || ^4.8"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Clue\\StreamFilter\\": "src/"
- },
- "files": [
- "src/functions.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Lück",
- "email": "christian@lueck.tv"
- }
- ],
- "description": "A simple and modern approach to stream filtering in PHP",
- "homepage": "https://github.com/clue/php-stream-filter",
- "keywords": [
- "bucket brigade",
- "callback",
- "filter",
- "php_user_filter",
- "stream",
- "stream_filter_append",
- "stream_filter_register"
- ],
- "time": "2017-08-18T09:54:01+00:00"
- },
- {
- "name": "consolidation/annotated-command",
- "version": "2.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/annotated-command.git",
- "reference": "4bdbb8fa149e1cc1511bd77b0bc4729fd66bccac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/4bdbb8fa149e1cc1511bd77b0bc4729fd66bccac",
- "reference": "4bdbb8fa149e1cc1511bd77b0bc4729fd66bccac",
- "shasum": ""
- },
- "require": {
- "consolidation/output-formatters": "^3.1.12",
- "php": ">=5.4.0",
- "psr/log": "^1",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^6",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\AnnotatedCommand\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Initialize Symfony Console commands from annotated command class methods.",
- "time": "2018-09-19T17:47:18+00:00"
- },
- {
- "name": "consolidation/config",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/config.git",
- "reference": "c9fc25e9088a708637e18a256321addc0670e578"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/config/zipball/c9fc25e9088a708637e18a256321addc0670e578",
- "reference": "c9fc25e9088a708637e18a256321addc0670e578",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "grasmash/expander": "^1",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^5",
- "satooshi/php-coveralls": "^1.0",
- "squizlabs/php_codesniffer": "2.*",
- "symfony/console": "^2.5|^3|^4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "suggest": {
- "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\Config\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Provide configuration services for a commandline tool.",
- "time": "2018-08-07T22:57:00+00:00"
- },
- {
- "name": "consolidation/log",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/log.git",
- "reference": "dfd8189a771fe047bf3cd669111b2de5f1c79395"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/log/zipball/dfd8189a771fe047bf3cd669111b2de5f1c79395",
- "reference": "dfd8189a771fe047bf3cd669111b2de5f1c79395",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0",
- "psr/log": "~1.0",
- "symfony/console": "^2.8|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^1",
- "phpunit/phpunit": "4.*",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "2.*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\Log\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.",
- "time": "2018-05-25T18:14:39+00:00"
- },
- {
- "name": "consolidation/output-formatters",
- "version": "3.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/output-formatters.git",
- "reference": "d78ef59aea19d3e2e5a23f90a055155ee78a0ad5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/d78ef59aea19d3e2e5a23f90a055155ee78a0ad5",
- "reference": "d78ef59aea19d3e2e5a23f90a055155ee78a0ad5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^5.7.27",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7",
- "symfony/console": "3.2.3",
- "symfony/var-dumper": "^2.8|^3|^4",
- "victorjonsson/markdowndocs": "^1.3"
- },
- "suggest": {
- "symfony/var-dumper": "For using the var_dump formatter"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\OutputFormatters\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Format text by applying transformations provided by plug-in formatters.",
- "time": "2018-05-25T18:02:34+00:00"
- },
- {
- "name": "consolidation/robo",
- "version": "1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/Robo.git",
- "reference": "31f2d2562c4e1dcde70f2659eefd59aa9c7f5b2d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/Robo/zipball/31f2d2562c4e1dcde70f2659eefd59aa9c7f5b2d",
- "reference": "31f2d2562c4e1dcde70f2659eefd59aa9c7f5b2d",
- "shasum": ""
- },
- "require": {
- "consolidation/annotated-command": "^2.8.2",
- "consolidation/config": "^1.0.10",
- "consolidation/log": "~1",
- "consolidation/output-formatters": "^3.1.13",
- "consolidation/self-update": "^1",
- "g1a/composer-test-scenarios": "^2",
- "grasmash/yaml-expander": "^1.3",
- "league/container": "^2.2",
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4",
- "symfony/process": "^2.5|^3|^4"
- },
- "replace": {
- "codegyre/robo": "< 1.0"
- },
- "require-dev": {
- "codeception/aspect-mock": "^1|^2.1.1",
- "codeception/base": "^2.3.7",
- "codeception/verify": "^0.3.2",
- "goaop/framework": "~2.1.2",
- "goaop/parser-reflection": "^1.1.0",
- "natxet/cssmin": "3.0.4",
- "nikic/php-parser": "^3.1.5",
- "patchwork/jsqueeze": "~2",
- "pear/archive_tar": "^1.4.2",
- "phpunit/php-code-coverage": "~2|~4",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "suggest": {
- "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch",
- "natxet/CssMin": "For minifying CSS files in taskMinify",
- "patchwork/jsqueeze": "For minifying JS files in taskMinify",
- "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively."
- },
- "bin": [
- "robo"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev",
- "dev-state": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Robo\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Davert",
- "email": "davert.php@resend.cc"
- }
- ],
- "description": "Modern task runner",
- "time": "2018-08-17T18:44:18+00:00"
- },
- {
- "name": "consolidation/self-update",
- "version": "1.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/self-update.git",
- "reference": "de33822f907e0beb0ffad24cf4b1b4fae5ada318"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/self-update/zipball/de33822f907e0beb0ffad24cf4b1b4fae5ada318",
- "reference": "de33822f907e0beb0ffad24cf4b1b4fae5ada318",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4"
- },
- "bin": [
- "scripts/release"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "SelfUpdate\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- },
- {
- "name": "Alexander Menk",
- "email": "menk@mestrona.net"
- }
- ],
- "description": "Provides a self:update command for Symfony Console applications.",
- "time": "2018-08-24T17:01:46+00:00"
- },
- {
- "name": "container-interop/container-interop",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/container-interop/container-interop.git",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "shasum": ""
- },
- "require": {
- "psr/container": "^1.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Interop\\Container\\": "src/Interop/Container/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
- "homepage": "https://github.com/container-interop/container-interop",
- "time": "2017-02-14T19:40:03+00:00"
- },
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ],
- "time": "2017-01-20T21:14:22+00:00"
- },
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "2.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "a166fd15191aceab89f30c097e694b7cf3db4880"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/a166fd15191aceab89f30c097e694b7cf3db4880",
- "reference": "a166fd15191aceab89f30c097e694b7cf3db4880",
- "shasum": ""
- },
- "bin": [
- "scripts/create-scenario",
- "scripts/dependency-licenses",
- "scripts/install-scenario"
- ],
- "type": "library",
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-08-08T23:37:23+00:00"
- },
- {
- "name": "grasmash/expander",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/expander.git",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/expander/zipball/95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\Expander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in PHP arrays file.",
- "time": "2017-12-21T22:14:55+00:00"
- },
- {
- "name": "grasmash/yaml-expander",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/yaml-expander.git",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4.8|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\YamlExpander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in a yaml file.",
- "time": "2017-12-16T16:06:03+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.3-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2018-04-22T15:46:56+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "knplabs/github-api",
- "version": "2.10.1",
- "source": {
- "type": "git",
- "url": "https://github.com/KnpLabs/php-github-api.git",
- "reference": "493423ae7ad1fa9075924cdfb98537828b9e80b5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/493423ae7ad1fa9075924cdfb98537828b9e80b5",
- "reference": "493423ae7ad1fa9075924cdfb98537828b9e80b5",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0",
- "php-http/cache-plugin": "^1.4",
- "php-http/client-common": "^1.6",
- "php-http/client-implementation": "^1.0",
- "php-http/discovery": "^1.0",
- "php-http/httplug": "^1.1",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "cache/array-adapter": "^0.4",
- "guzzlehttp/psr7": "^1.2",
- "php-http/guzzle6-adapter": "^1.0",
- "php-http/mock-client": "^1.0",
- "phpunit/phpunit": "^5.5 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.10.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Github\\": "lib/Github/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Thibault Duplessis",
- "email": "thibault.duplessis@gmail.com",
- "homepage": "http://ornicar.github.com"
- },
- {
- "name": "KnpLabs Team",
- "homepage": "http://knplabs.com"
- }
- ],
- "description": "GitHub API v3 client",
- "homepage": "https://github.com/KnpLabs/php-github-api",
- "keywords": [
- "api",
- "gh",
- "gist",
- "github"
- ],
- "time": "2018-09-05T19:12:14+00:00"
- },
- {
- "name": "league/container",
- "version": "2.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/thephpleague/container.git",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/thephpleague/container/zipball/43f35abd03a12977a60ffd7095efd6a7808488c0",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0",
- "shasum": ""
- },
- "require": {
- "container-interop/container-interop": "^1.2",
- "php": "^5.4.0 || ^7.0"
- },
- "provide": {
- "container-interop/container-interop-implementation": "^1.2",
- "psr/container-implementation": "^1.0"
- },
- "replace": {
- "orno/di": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-2.x": "2.x-dev",
- "dev-1.x": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "League\\Container\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Phil Bennett",
- "email": "philipobenito@gmail.com",
- "homepage": "http://www.philipobenito.com",
- "role": "Developer"
- }
- ],
- "description": "A fast and intuitive dependency injection container.",
- "homepage": "https://github.com/thephpleague/container",
- "keywords": [
- "container",
- "dependency",
- "di",
- "injection",
- "league",
- "provider",
- "service"
- ],
- "time": "2017-05-10T09:20:27+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2017-10-19T19:58:43+00:00"
- },
- {
- "name": "php-http/cache-plugin",
- "version": "v1.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/cache-plugin.git",
- "reference": "c573ac6ea9b4e33fad567f875b844229d18000b9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/cache-plugin/zipball/c573ac6ea9b4e33fad567f875b844229d18000b9",
- "reference": "c573ac6ea9b4e33fad567f875b844229d18000b9",
- "shasum": ""
- },
- "require": {
- "php": "^5.4 || ^7.0",
- "php-http/client-common": "^1.1",
- "php-http/message-factory": "^1.0",
- "psr/cache": "^1.0",
- "symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.5-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Client\\Common\\Plugin\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "PSR-6 Cache plugin for HTTPlug",
- "homepage": "http://httplug.io",
- "keywords": [
- "cache",
- "http",
- "httplug",
- "plugin"
- ],
- "time": "2017-11-29T20:45:41+00:00"
- },
- {
- "name": "php-http/client-common",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/client-common.git",
- "reference": "9accb4a082eb06403747c0ffd444112eda41a0fd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/client-common/zipball/9accb4a082eb06403747c0ffd444112eda41a0fd",
- "reference": "9accb4a082eb06403747c0ffd444112eda41a0fd",
- "shasum": ""
- },
- "require": {
- "php": "^5.4 || ^7.0",
- "php-http/httplug": "^1.1",
- "php-http/message": "^1.6",
- "php-http/message-factory": "^1.0",
- "symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "guzzlehttp/psr7": "^1.4",
- "phpspec/phpspec": "^2.5 || ^3.4 || ^4.2"
- },
- "suggest": {
- "php-http/cache-plugin": "PSR-6 Cache plugin",
- "php-http/logger-plugin": "PSR-3 Logger plugin",
- "php-http/stopwatch-plugin": "Symfony Stopwatch plugin"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Client\\Common\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "Common HTTP Client implementations and tools for HTTPlug",
- "homepage": "http://httplug.io",
- "keywords": [
- "client",
- "common",
- "http",
- "httplug"
- ],
- "time": "2017-11-30T11:06:59+00:00"
- },
- {
- "name": "php-http/discovery",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/discovery.git",
- "reference": "9a6cb24de552bfe1aa9d7d1569e2d49c5b169a33"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/discovery/zipball/9a6cb24de552bfe1aa9d7d1569e2d49c5b169a33",
- "reference": "9a6cb24de552bfe1aa9d7d1569e2d49c5b169a33",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0"
- },
- "require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^2.0.2",
- "php-http/httplug": "^1.0",
- "php-http/message-factory": "^1.0",
- "phpspec/phpspec": "^2.4",
- "puli/composer-plugin": "1.0.0-beta10"
- },
- "suggest": {
- "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories",
- "puli/composer-plugin": "Sets up Puli which is recommended for Discovery to work. Check http://docs.php-http.org/en/latest/discovery.html for more details."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Discovery\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "Finds installed HTTPlug implementations and PSR-7 message factories",
- "homepage": "http://php-http.org",
- "keywords": [
- "adapter",
- "client",
- "discovery",
- "factory",
- "http",
- "message",
- "psr7"
- ],
- "time": "2018-02-06T10:55:24+00:00"
- },
- {
- "name": "php-http/guzzle6-adapter",
- "version": "v1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/guzzle6-adapter.git",
- "reference": "a56941f9dc6110409cfcddc91546ee97039277ab"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/guzzle6-adapter/zipball/a56941f9dc6110409cfcddc91546ee97039277ab",
- "reference": "a56941f9dc6110409cfcddc91546ee97039277ab",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "^6.0",
- "php": ">=5.5.0",
- "php-http/httplug": "^1.0"
- },
- "provide": {
- "php-http/async-client-implementation": "1.0",
- "php-http/client-implementation": "1.0"
- },
- "require-dev": {
- "ext-curl": "*",
- "php-http/adapter-integration-tests": "^0.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Adapter\\Guzzle6\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- },
- {
- "name": "David de Boer",
- "email": "david@ddeboer.nl"
- }
- ],
- "description": "Guzzle 6 HTTP Adapter",
- "homepage": "http://httplug.io",
- "keywords": [
- "Guzzle",
- "http"
- ],
- "time": "2016-05-10T06:13:32+00:00"
- },
- {
- "name": "php-http/httplug",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/httplug.git",
- "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/httplug/zipball/1c6381726c18579c4ca2ef1ec1498fdae8bdf018",
- "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4",
- "php-http/promise": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Client\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Eric GELOEN",
- "email": "geloen.eric@gmail.com"
- },
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "HTTPlug, the HTTP client abstraction for PHP",
- "homepage": "http://httplug.io",
- "keywords": [
- "client",
- "http"
- ],
- "time": "2016-08-31T08:30:17+00:00"
- },
- {
- "name": "php-http/message",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/message.git",
- "reference": "741f2266a202d59c4ed75436671e1b8e6f475ea3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/message/zipball/741f2266a202d59c4ed75436671e1b8e6f475ea3",
- "reference": "741f2266a202d59c4ed75436671e1b8e6f475ea3",
- "shasum": ""
- },
- "require": {
- "clue/stream-filter": "^1.4",
- "php": "^5.4 || ^7.0",
- "php-http/message-factory": "^1.0.2",
- "psr/http-message": "^1.0"
- },
- "provide": {
- "php-http/message-factory-implementation": "1.0"
- },
- "require-dev": {
- "akeneo/phpspec-skip-example-extension": "^1.0",
- "coduo/phpspec-data-provider-extension": "^1.0",
- "ext-zlib": "*",
- "guzzlehttp/psr7": "^1.0",
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.4",
- "slim/slim": "^3.0",
- "zendframework/zend-diactoros": "^1.0"
- },
- "suggest": {
- "ext-zlib": "Used with compressor/decompressor streams",
- "guzzlehttp/psr7": "Used with Guzzle PSR-7 Factories",
- "slim/slim": "Used with Slim Framework PSR-7 implementation",
- "zendframework/zend-diactoros": "Used with Diactoros Factories"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Message\\": "src/"
- },
- "files": [
- "src/filters.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "HTTP Message related tools",
- "homepage": "http://php-http.org",
- "keywords": [
- "http",
- "message",
- "psr-7"
- ],
- "time": "2018-08-15T06:37:30+00:00"
- },
- {
- "name": "php-http/message-factory",
- "version": "v1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/message-factory.git",
- "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/message-factory/zipball/a478cb11f66a6ac48d8954216cfed9aa06a501a1",
- "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4",
- "psr/http-message": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "Factory interfaces for PSR-7 HTTP Message",
- "homepage": "http://php-http.org",
- "keywords": [
- "factory",
- "http",
- "message",
- "stream",
- "uri"
- ],
- "time": "2015-12-19T14:08:53+00:00"
- },
- {
- "name": "php-http/promise",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/promise.git",
- "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/promise/zipball/dc494cdc9d7160b9a09bd5573272195242ce7980",
- "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980",
- "shasum": ""
- },
- "require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Promise\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- },
- {
- "name": "Joel Wurtz",
- "email": "joel.wurtz@gmail.com"
- }
- ],
- "description": "Promise used for asynchronous HTTP requests",
- "homepage": "http://httplug.io",
- "keywords": [
- "promise"
- ],
- "time": "2016-01-26T13:27:02+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-10T14:09:06+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "4.0.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^5.6 || ^7.0",
- "phpunit/php-file-iterator": "^1.3",
- "phpunit/php-text-template": "^1.2",
- "phpunit/php-token-stream": "^1.4.2 || ^2.0",
- "sebastian/code-unit-reverse-lookup": "^1.0",
- "sebastian/environment": "^1.3.2 || ^2.0",
- "sebastian/version": "^1.0 || ^2.0"
- },
- "require-dev": {
- "ext-xdebug": "^2.1.4",
- "phpunit/phpunit": "^5.7"
- },
- "suggest": {
- "ext-xdebug": "^2.5.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2017-04-02T07:44:40+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.12",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-12-04T08:55:13+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "5.7.27",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "~1.3",
- "php": "^5.6 || ^7.0",
- "phpspec/prophecy": "^1.6.2",
- "phpunit/php-code-coverage": "^4.0.4",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "^3.2",
- "sebastian/comparator": "^1.2.4",
- "sebastian/diff": "^1.4.3",
- "sebastian/environment": "^1.3.4 || ^2.0",
- "sebastian/exporter": "~2.0",
- "sebastian/global-state": "^1.1",
- "sebastian/object-enumerator": "~2.0",
- "sebastian/resource-operations": "~1.0",
- "sebastian/version": "^1.0.6|^2.0.1",
- "symfony/yaml": "~2.1|~3.0|~4.0"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.7.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-02-01T05:50:59+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "3.4.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.6 || ^7.0",
- "phpunit/php-text-template": "^1.2",
- "sebastian/exporter": "^1.2 || ^2.0"
- },
- "conflict": {
- "phpunit/phpunit": "<5.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2017-06-30T09:13:00+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/container",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/container.git",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Container\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common Container Interface (PHP FIG PSR-11)",
- "homepage": "https://github.com/php-fig/container",
- "keywords": [
- "PSR-11",
- "container",
- "container-interface",
- "container-interop",
- "psr"
- ],
- "time": "2017-02-14T16:28:37+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "satooshi/php-coveralls",
- "version": "v2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "3eaf7eb689cdf6b86801a3843940d974dc657068"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/3eaf7eb689cdf6b86801a3843940d974dc657068",
- "reference": "3eaf7eb689cdf6b86801a3843940d974dc657068",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzlehttp/guzzle": "^6.0",
- "php": "^5.5 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/php-coveralls"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "PhpCoveralls\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp",
- "role": "Original creator"
- },
- {
- "name": "Takashi Matsuo",
- "email": "tmatsuo@google.com"
- },
- {
- "name": "Google Inc"
- },
- {
- "name": "Dariusz Ruminski",
- "email": "dariusz.ruminski@gmail.com",
- "homepage": "https://github.com/keradus"
- },
- {
- "name": "Contributors",
- "homepage": "https://github.com/php-coveralls/php-coveralls/graphs/contributors"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "abandoned": "php-coveralls/php-coveralls",
- "time": "2017-12-08T14:28:16+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-11-26T07:53:53+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-11-19T08:54:04+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-02-18T15:18:39+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-11-19T07:33:16+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2017-05-22T02:43:20+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "7b08223b7f6abd859651c56bcabf900d1627d085"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/7b08223b7f6abd859651c56bcabf900d1627d085",
- "reference": "7b08223b7f6abd859651c56bcabf900d1627d085",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/filesystem": "~2.8|~3.0|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3",
- "symfony/finder": "<3.3"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/event-dispatcher": "~3.3|~4.0",
- "symfony/finder": "~3.3|~4.0",
- "symfony/yaml": "~3.0|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "6b217594552b9323bcdcfc14f8a0ce126e84cd73"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/6b217594552b9323bcdcfc14f8a0ce126e84cd73",
- "reference": "6b217594552b9323bcdcfc14f8a0ce126e84cd73",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/debug": "~2.8|~3.0|~4.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.3|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "c4625e75341e4fb309ce0c049cbf7fb84b8897cd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/c4625e75341e4fb309ce0c049cbf7fb84b8897cd",
- "reference": "c4625e75341e4fb309ce0c049cbf7fb84b8897cd",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0|~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-08-03T10:42:44+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb",
- "reference": "b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0|~4.0",
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/expression-language": "~2.8|~3.0|~4.0",
- "symfony/stopwatch": "~2.8|~3.0|~4.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T09:06:28+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "285ce5005cb01a0aeaa5b0cf590bd0cc40bb631c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/285ce5005cb01a0aeaa5b0cf590bd0cc40bb631c",
- "reference": "285ce5005cb01a0aeaa5b0cf590bd0cc40bb631c",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-08-10T07:29:05+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "8a84fcb207451df0013b2c74cbbf1b62d47b999a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/8a84fcb207451df0013b2c74cbbf1b62d47b999a",
- "reference": "8a84fcb207451df0013b2c74cbbf1b62d47b999a",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/options-resolver",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/options-resolver.git",
- "reference": "6debc476953a45969ab39afe8dee0b825f356dc7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/options-resolver/zipball/6debc476953a45969ab39afe8dee0b825f356dc7",
- "reference": "6debc476953a45969ab39afe8dee0b825f356dc7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\OptionsResolver\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony OptionsResolver Component",
- "homepage": "https://symfony.com",
- "keywords": [
- "config",
- "configuration",
- "options"
- ],
- "time": "2018-07-26T08:45:46+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "4d6b125d5293cbceedc2aa10f2c71617e76262e7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/4d6b125d5293cbceedc2aa10f2c71617e76262e7",
- "reference": "4d6b125d5293cbceedc2aa10f2c71617e76262e7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com",
- "time": "2018-08-03T10:42:44+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "deda2765e8dab2fc38492e926ea690f2a681f59d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/deda2765e8dab2fc38492e926ea690f2a681f59d",
- "reference": "deda2765e8dab2fc38492e926ea690f2a681f59d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T10:03:52+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "c2f4812ead9f847cb69e90917ca7502e6892d6b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/c2f4812ead9f847cb69e90917ca7502e6892d6b8",
- "reference": "c2f4812ead9f847cb69e90917ca7502e6892d6b8",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-08-10T07:34:36+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-01-29T19:49:41+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.5.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "5.6.33"
- }
-}
diff --git a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/src b/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/src
deleted file mode 120000
index 929cb3dc9..000000000
--- a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/src
+++ /dev/null
@@ -1 +0,0 @@
-../../src
\ No newline at end of file
diff --git a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/tests b/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/tests
deleted file mode 120000
index c2ebfe530..000000000
--- a/vendor/consolidation/site-alias/.scenarios.lock/phpunit5/tests
+++ /dev/null
@@ -1 +0,0 @@
-../../tests
\ No newline at end of file
diff --git a/vendor/consolidation/site-alias/.scrutinizer.yml b/vendor/consolidation/site-alias/.scrutinizer.yml
deleted file mode 100644
index 8528e06fb..000000000
--- a/vendor/consolidation/site-alias/.scrutinizer.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-checks:
- php: true
-filter:
- excluded_paths:
- - customize/*
- - tests/*
-tools:
- php_sim: true
- php_pdepend: true
- php_analyzer: true
- php_cs_fixer: false
diff --git a/vendor/consolidation/site-alias/.travis.yml b/vendor/consolidation/site-alias/.travis.yml
deleted file mode 100644
index b2300f691..000000000
--- a/vendor/consolidation/site-alias/.travis.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-dist: trusty
-language: php
-branches:
- only:
- - master
- - "/^[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+.*$/"
-matrix:
- fast_finish: true
- include:
- - php: 7.2
- env: DEPENCENCIES=highest
- - php: 7.2
- - php: 7.1
- - php: 7.0.11
- - php: 5.6
- env: SCENARIO=phpunit5
- - php: 5.6
- env: SCENARIO=phpunit5 DEPENDENCIES=lowest
-sudo: false
-cache:
- directories:
- - "$HOME/.composer/cache"
-install:
-- composer scenario "${SCENARIO}" "${DEPENDENCIES}"
-script:
-- composer test
-after_success:
-- travis_retry php vendor/bin/php-coveralls -v
-before_deploy:
-- composer phar:install-tools
-- composer install --prefer-dist --no-dev --no-interaction
-- php box.phar build
-deploy:
- provider: releases
- api_key:
- secure: Nk+oRXu2ZpF6UCKSxIK1FeQ4zykN8X2oGZrUjQy+tTVE2/BjhldFqlOxHhjfrtViC+eTvGbJbxGteQ7S+67WKyz5Kps9g2mlf7M2wJj9obIR2YJn1d8ch1PYKkWbiXcp8vZoMXDt++pP5TkL6IDTsV7pom7cBa9Yb7OlGkzyxQmu2sfqXzF4ivcsmmoF49ASkHpA6PmRJetXywW/zM1nglIGXZCqfIIYCMi6BLmWsDFBe1xLbvk4H4DgLyMs5O4p5cW9y2abQ0vydcUSoJmIo/7Ehjg4xy2UNWcJnS/oMc4jQj62uPgAtk81rrSAM8HgmCr/fDAVOdOryypElT6jCXSA0LRvCP67X9JkpM5PBGktFYJwMJFKygpGjyqYjI5u7CR8GQuUpJIhgOvIqJIsz+PoDkFnEohbS0NqtLkTfq4GP3wIr2u42NnArpUNw8ejawGk8sgHlhxWI98+3mif8ZHHZlUEr8JCppFIz/W9f2TiFvoRCsNUOR7t2FV/q0k5tbxRA3465fDy2fxz506c11rb6NHV61mu6Xl1RevtX97bHhRHT1Igmhzn3dnfxAyEWxU5CPeVUKFdAqx0WxrAlosQaUwmRXxUlq9qs5j8F2rjPbE+une/sB5S5+2+lSlz8ympF5vIKIE4eExdXaTaIoXO52hPIMKkhZCHxq5tdU4=
- file: alias-tool.phar
- skip_cleanup: true
- on:
- tags: true
- repo: consolidation/site-alias
diff --git a/vendor/consolidation/site-alias/CHANGELOG.md b/vendor/consolidation/site-alias/CHANGELOG.md
deleted file mode 100644
index 92b2fb8ca..000000000
--- a/vendor/consolidation/site-alias/CHANGELOG.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# Changelog
-
-### 1.1.9 - 1.1.7 - 2018/Oct/30
-
-* Fixes #11: Prevent calls to 'localRoot' from failing when there is no root set (#15)
-* Set short description in composer.json
-
-### 1.1.6 - 2018/Oct/27
-
-* Add an 'os' method to AliasRecord
-* Only run root through realpath if it is present (throw otherwise) (#11)
-* Add a site:value command for ad-hoc testing
-
-### 1.1.5 - 1.1.3 - 2018/Sept/21
-
-* Experimental wildcard environments
-* Find 'aliases.drushrc.php' files when converting aliases.
-* Fix get multiple (#6)
-
-### 1.1.2 - 2018/Aug/21
-
-* Allow SiteAliasFileLoader::loadMultiple to be filtered by location. (#3)
-
-### 1.1.0 + 1.1.1 - 2018/Aug/14
-
-* Add wildcard site alias environments. (#2)
-* Remove legacy AliasRecord definition; causes more problems than it solves.
-
-### 1.0.1 - 2018/Aug/7
-
-* Allow addSearchLocation to take an array
-
-### 1.0.0 - 2018/July/5
-
-* Initial release
-
diff --git a/vendor/consolidation/site-alias/CONTRIBUTING.md b/vendor/consolidation/site-alias/CONTRIBUTING.md
deleted file mode 100644
index 978799c11..000000000
--- a/vendor/consolidation/site-alias/CONTRIBUTING.md
+++ /dev/null
@@ -1,92 +0,0 @@
-# Contributing to SiteAlias
-
-Thank you for your interest in contributing to SiteAlias! Here are some of the guidelines you should follow to make the most of your efforts:
-
-## Code Style Guidelines
-
-This project adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code. An `.editorconfig` file is included with the repository to help you get up and running quickly. Most modern editors support this standard, but if yours does not or you would like to configure your editor manually, follow the guidelines in the document linked above.
-
-You can run the PHP Codesniffer on your work using a convenient command provided as a composer script:
-```
-composer cs
-```
-The above will run the PHP Codesniffer on the project sources. To automatically clean up code style violations, run:
-```
-composer cbf
-```
-Please ensure all contributions are compliant _before_ submitting a pull request.
-
-## Code of Conduct
-
-### Our Pledge
-
-In the interest of fostering an open and welcoming environment, we as
-contributors and maintainers pledge to making participation in our project and
-our community a harassment-free experience for everyone, regardless of age, body
-size, disability, ethnicity, gender identity and expression, level of experience,
-nationality, personal appearance, race, religion, or sexual identity and
-orientation.
-
-### Our Standards
-
-Examples of behavior that contributes to creating a positive environment
-include:
-
-* Using welcoming and inclusive language
-* Being respectful of differing viewpoints and experiences
-* Gracefully accepting constructive criticism
-* Focusing on what is best for the community
-* Showing empathy towards other community members
-
-Examples of unacceptable behavior by participants include:
-
-* The use of sexualized language or imagery and unwelcome sexual attention or
-advances
-* Trolling, insulting/derogatory comments, and personal or political attacks
-* Public or private harassment
-* Publishing others' private information, such as a physical or electronic
- address, without explicit permission
-* Other conduct which could reasonably be considered inappropriate in a
- professional setting
-
-### Our Responsibilities
-
-Project maintainers are responsible for clarifying the standards of acceptable
-behavior and are expected to take appropriate and fair corrective action in
-response to any instances of unacceptable behavior.
-
-Project maintainers have the right and responsibility to remove, edit, or
-reject comments, commits, code, wiki edits, issues, and other contributions
-that are not aligned to this Code of Conduct, or to ban temporarily or
-permanently any contributor for other behaviors that they deem inappropriate,
-threatening, offensive, or harmful.
-
-### Scope
-
-This Code of Conduct applies both within project spaces and in public spaces
-when an individual is representing the project or its community. Examples of
-representing a project or community include using an official project e-mail
-address, posting via an official social media account, or acting as an appointed
-representative at an online or offline event. Representation of a project may be
-further defined and clarified by project maintainers.
-
-### Enforcement
-
-Instances of abusive, harassing, or otherwise unacceptable behavior may be
-reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
-complaints will be reviewed and investigated and will result in a response that
-is deemed necessary and appropriate to the circumstances. The project team is
-obligated to maintain confidentiality with regard to the reporter of an incident.
-Further details of specific enforcement policies may be posted separately.
-
-Project maintainers who do not follow or enforce the Code of Conduct in good
-faith may face temporary or permanent repercussions as determined by other
-members of the project's leadership.
-
-### Attribution
-
-This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
-available at [http://contributor-covenant.org/version/1/4][version]
-
-[homepage]: http://contributor-covenant.org
-[version]: http://contributor-covenant.org/version/1/4/
diff --git a/vendor/consolidation/site-alias/LICENSE b/vendor/consolidation/site-alias/LICENSE
deleted file mode 100644
index 1ab5cdf0f..000000000
--- a/vendor/consolidation/site-alias/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2018 Greg Anderson
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-DEPENDENCY LICENSES:
-
-Name Version License
diff --git a/vendor/consolidation/site-alias/README.md b/vendor/consolidation/site-alias/README.md
deleted file mode 100644
index 55dee4d28..000000000
--- a/vendor/consolidation/site-alias/README.md
+++ /dev/null
@@ -1,178 +0,0 @@
-# SiteAlias
-
-Manage alias records for local and remote sites.
-
-[![Travis CI](https://travis-ci.org/consolidation/site-alias.svg?branch=master)](https://travis-ci.org/consolidation/site-alias)
-[![Windows CI](https://ci.appveyor.com/api/projects/status/6mp1hxmql85aw7ah?svg=true)](https://ci.appveyor.com/project/greg-1-anderson/site-alias)
-[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/consolidation/site-alias/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/consolidation/site-alias/?branch=master)
-[![Coverage Status](https://coveralls.io/repos/github/consolidation/site-alias/badge.svg?branch=master)](https://coveralls.io/github/consolidation/site-alias?branch=master)
-[![License](https://img.shields.io/badge/license-MIT-408677.svg)](LICENSE)
-
-## Overview
-
-This project provides the implementation for Drush site aliases. It is used in Drush 9 and later. It would also be possible to use this library to manage site aliases for similar commandline tools.
-
-### Alias naming conventions
-
-Site alias names always begin with a `@`, and typically are divided in three parts: the alias file location (optional), the site name, and the environment name, each separated by a dot. None of these names may contain a dot. An example alias that referenced the `dev` environment of the site `example` in the `myisp` directory might therefore look something like:
-```
-@myisp.example.dev
-```
-The location name is optional. If specified, it will only consider alias files located in directories with the same name as the provided location name. The remainder of the path is immaterial; only the directory that is the immediate parent of the site alias file is relevant. The location name may be omitted, e.g.:
-```
-@example.dev
-```
-If the location is not specified, then the alias manaager will consider all locations for an applicable site alias file. Note that by default, deep searching is disabled; unless deep searching is enabled, the location name must refer to a directory that is explicitly listed as a location to place site alias files (e.g. in the application's configuration file).
-
-It is also possible to use single-word aliases. These can sometimes be ambiguous; the site alias manager will resolve single-word aliases as follows:
-
-1. `@self` is interpreted to mean the site that has already been selected, or the site that would be selected in the absence of any alias.
-2. `@none` is interpreted as the empty alias--an alias with no items defined.
-3. `@`, for any `` is equivalent to `@self.` if such an alias is defined. See below.
-4. `@`, for any `` is equivalent to the default environment of ``, e.g. `@.`. The default environment defaults to `dev`, but may be explicitly set in the alias.
-
-### Alias placement on commandline
-
-It is up to each individual commandline tools how to utilize aliases. There are two primary examples:
-
-1. Site selection alias: `tool @sitealias command`
-2. Alias parameters: `tool command @source @destination`
-
-In the first example, with the site alias appearing before the command name, the alias is used to determine the target site for the current command. In the second example, the arguments of the command are used to specify source and destination sites.
-
-### Alias filenames and locations
-
-It is also up to each individual commandline tool where to search for alias files. Search locations may be added to the SiteAliasManager via an API call. By default, alias files are only found if they appear immediately inside one of the specified search locations. Deep searching is only done if explicitly enabled by the application.
-
-Aliases are typically stored in Yaml files, although other formats may also be used if a custom alias data file loader is provided. The extension of the file determines the loader type (.yml for Yaml). The base name of the file, sans its extension, is the site name used to address the alias on the commandline. Site names may not contain periods.
-
-### Alias file contents
-
-The canonical site alias will contain information about how to locate the site on the local file system, and how the site is addressed on the network (when accessed via a web browser).
-```
-dev:
- root: /path/to/site
- uri: https://example.com
-```
-A more complex alias might also contain information about the server that the site is running on (when accessed via ssh for deployment and maintenance).
-```
-dev:
- root: /path/to/site
- uri: https://example.com
- remote: server.com
- user: www-data
-```
-
-### Wildcard environments (Experimental)
-
-It is also possible to define "wildcard" environments that will match any provided environment name. This is only possible to do in instances where the contents of the wildcard aliases are all the same, except for places where the environment name appears. To substitute the name of the environment into a wildcard domain, use the variable replacement string `${env-name}`. For example, a wildcard alias that will match any multisite in a Drupal site might look something like the following example:
-```
-'*':
- root: /wild/path/to/wild
- uri: https://${env-name}.example.com
-```
-
-### 'Self' environment aliases
-
-As previously mentioned, an alias in the form of `@` is interpreted as `@self.`. This allows sites to define a `self.site.yml` file that contains common aliases shared among a team--for example, `@stage` and `@live`.
-
-## Site specifications
-
-Site specifications are specially-crafted commandline arguments that can serve as replacements for simple site aliases. Site specifications are particularly useful for scripts that may wish to operate on a remote site without generating a temporary alias file.
-
-The basic form for a site specification is:
-```
-user.name@example.com/path#uri
-```
-This is equivalent to the following alias record:
-```
-env:
- user: user.name
- host: example.com
- root: /path
- uri: somemultisite
-```
-
-## Getting Started
-
-To get started contributing to this project, simply clone it locally and then run `composer install`.
-
-### Running the tests
-
-The test suite may be run locally by way of some simple composer scripts:
-
-| Test | Command
-| ---------------- | ---
-| Run all tests | `composer test`
-| PHPUnit tests | `composer unit`
-| PHP linter | `composer lint`
-| Code style | `composer cs`
-| Fix style errors | `composer cbf`
-
-### Development Commandline Tool
-
-This library comes with a commandline tool called `alias-tool`. The only purpose
-this tool serves is to provide a way to do ad-hoc experimentation and testing
-for this library.
-
-Example:
-```
-$ ./alias-tool site:list tests/fixtures/sitealiases/sites/
-
- ! [NOTE] Add search location: tests/fixtures/sitealiases/sites/
-
-'@single.alternate':
- foo: bar
- root: /alternate/path/to/single
-'@single.dev':
- foo: bar
- root: /path/to/single
-'@wild.*':
- foo: bar
- root: /wild/path/to/wild
- uri: 'https://*.example.com'
-'@wild.dev':
- foo: bar
- root: /path/to/wild
- uri: 'https://dev.example.com'
-
-$ ./alias-tool site:get tests/fixtures/sitealiases/sites/ @single.dev
-
- ! [NOTE] Add search location: tests/fixtures/sitealiases/sites/
-
- ! [NOTE] Alias parameter: '@single.dev'
-
-foo: bar
-root: /path/to/single
-```
-See `./alias-tool help` and `./alias-tool list` for more information.
-
-## Release Procedure
-
-To create a release:
-
-- Edit the `VERSION` file to contain the version to release, and commit the change.
-- Run `composer release`
-
-## Built With
-
-This library was created with the [g1a/starter](https://github.com/g1a/starter) project, a fast way to create php libraries and [Robo](https://robo.li/) / [Symfony](https://symfony.com/) applications.
-
-## Contributing
-
-Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on the process for submitting pull requests to us.
-
-## Versioning
-
-We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [releases](https://github.com/consolidation/site-alias/releases) page.
-
-## Authors
-
-* **Greg Anderson**
-* **Moshe Weitzman**
-
-See also the list of [contributors](https://github.com/consolidation/site-alias/contributors) who participated in this project. Thanks also to all of the [drush contributors](https://github.com/drush-ops/drush/contributors) who contributed directly or indirectly to site aliases.
-
-## License
-
-This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
diff --git a/vendor/consolidation/site-alias/VERSION b/vendor/consolidation/site-alias/VERSION
deleted file mode 100644
index 9ee1f786d..000000000
--- a/vendor/consolidation/site-alias/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-1.1.11
diff --git a/vendor/consolidation/site-alias/alias-tool b/vendor/consolidation/site-alias/alias-tool
deleted file mode 100755
index c03e309aa..000000000
--- a/vendor/consolidation/site-alias/alias-tool
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env php
-setSelfUpdateRepository($selfUpdateRepository)
- ->setConfigurationFilename($configFilePath)
- ->setEnvConfigPrefix($configPrefix)
- ->setClassLoader($classLoader);
-
-// Execute the command and return the result.
-$output = new \Symfony\Component\Console\Output\ConsoleOutput();
-$statusCode = $runner->execute($argv, $appName, $appVersion, $output);
-exit($statusCode);
diff --git a/vendor/consolidation/site-alias/appveyor.yml b/vendor/consolidation/site-alias/appveyor.yml
deleted file mode 100644
index 0483b24f8..000000000
--- a/vendor/consolidation/site-alias/appveyor.yml
+++ /dev/null
@@ -1,63 +0,0 @@
-build: false
-shallow_clone: false
-platform: 'x86'
-clone_folder: C:\projects\work
-branches:
- only:
- - master
-
-## Cache composer bits
-cache:
- - '%LOCALAPPDATA%\Composer\files -> composer.lock'
-
-init:
- #https://github.com/composer/composer/blob/master/appveyor.yml
- #- SET ANSICON=121x90 (121x90)
-
-# Inspired by https://github.com/Codeception/base/blob/master/appveyor.yml and https://github.com/phpmd/phpmd/blob/master/appveyor.yml
-install:
- - cinst -y curl
- - SET PATH=C:\Program Files\curl;%PATH%
- #which is only needed by the test suite.
- - cinst -y which
- - SET PATH=C:\Program Files\which;%PATH%
- - git clone -q https://github.com/acquia/DevDesktopCommon.git #For tar, cksum, ...
- - SET PATH=%APPVEYOR_BUILD_FOLDER%/DevDesktopCommon/bintools-win/msys/bin;%PATH%
- - SET PATH=C:\Program Files\MySql\MySQL Server 5.7\bin\;%PATH%
- #Install PHP per https://blog.wyrihaximus.net/2016/11/running-php-unit-tests-on-windows-using-appveyor-and-chocolatey/
- - ps: appveyor-retry cinst --ignore-checksums -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $Env:php_ver_target | Select-Object -first 1) -replace '[php|]','')
- - cd c:\tools\php70
- - copy php.ini-production php.ini
-
- - echo extension_dir=ext >> php.ini
- - echo extension=php_openssl.dll >> php.ini
- - echo date.timezone="UTC" >> php.ini
- - echo variables_order="EGPCS" >> php.ini #May be unneeded.
- - echo mbstring.http_input=pass >> php.ini
- - echo mbstring.http_output=pass >> php.ini
- - echo sendmail_path=nul >> php.ini
- - echo extension=php_mbstring.dll >> php.ini
- - echo extension=php_curl.dll >> php.ini
- - echo extension=php_pdo_mysql.dll >> php.ini
- - echo extension=php_pdo_pgsql.dll >> php.ini
- - echo extension=php_pdo_sqlite.dll >> php.ini
- - echo extension=php_pgsql.dll >> php.ini
- - echo extension=php_gd2.dll >> php.ini
- - SET PATH=C:\tools\php70;%PATH%
- #Install Composer
- - cd %APPVEYOR_BUILD_FOLDER%
- #- appveyor DownloadFile https://getcomposer.org/composer.phar
- - php -r "readfile('http://getcomposer.org/installer');" | php
- #Install dependencies via Composer
- - php composer.phar -q install --prefer-dist -n
- - SET PATH=%APPVEYOR_BUILD_FOLDER%;%APPVEYOR_BUILD_FOLDER%/vendor/bin;%PATH%
- #Create a sandbox for testing. Don't think we need this.
- - mkdir c:\test_temp
-
-test_script:
- - php composer.phar unit
-
-# environment variables
-environment:
- global:
- php_ver_target: 7.0
diff --git a/vendor/consolidation/site-alias/box.json.dist b/vendor/consolidation/site-alias/box.json.dist
deleted file mode 100644
index c81342df0..000000000
--- a/vendor/consolidation/site-alias/box.json.dist
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "alias": "alias-tool.phar",
- "chmod": "0755",
- "compactors": [],
- "directories": ["src"],
- "files": ["alias-tool", "README.md", "VERSION"],
- "finder": [
- {
- "name": "*.php",
- "exclude": [
- "test",
- "tests",
- "Test",
- "Tests",
- "Tester"
- ],
- "in": "vendor"
- }
- ],
- "git-commit": "git-commit",
- "git-version": "git-version",
- "output": "alias-tool.phar",
- "main": "alias-tool",
- "stub": true
-}
diff --git a/vendor/consolidation/site-alias/composer.json b/vendor/consolidation/site-alias/composer.json
deleted file mode 100644
index 3a3c72a28..000000000
--- a/vendor/consolidation/site-alias/composer.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "name": "consolidation/site-alias",
- "description": "Manage alias records for local and remote sites.",
- "license": "MIT",
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- },
- {
- "name": "Moshe Weitzman",
- "email": "weitzman@tejasa.com"
- }
- ],
- "autoload": {
- "psr-4": {
- "Consolidation\\SiteAlias\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Consolidation\\SiteAlias\\": "tests/src"
- }
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "symfony/yaml": "~2.3|^3",
- "consolidation/Robo": "^1.2.3",
- "symfony/console": "^2.8|^3|^4",
- "knplabs/github-api": "^2.7",
- "php-http/guzzle6-adapter": "^1.1",
- "phpunit/phpunit": "^5",
- "g1a/composer-test-scenarios": "^2",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "scripts": {
- "phar:install-tools": [
- "gem install mime-types -v 2.6.2",
- "curl -LSs https://box-project.github.io/box2/installer.php | php"
- ],
- "phar:build": "box build",
- "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",
- "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
- ],
- "test": [
- "@lint",
- "@unit",
- "@cs"
- ],
- "release": [
- "release VERSION"
- ],
- "scenario": ".scenarios.lock/install",
- "post-update-cmd": [
- "create-scenario phpunit5 'phpunit/phpunit:^5.7.27' --platform-php '5.6.33'",
- "dependency-licenses"
- ]
- },
- "config": {
- "optimize-autoloader": true,
- "sort-packages": true,
- "platform": {
- "php": "7.0.8"
- }
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- }
-}
diff --git a/vendor/consolidation/site-alias/composer.lock b/vendor/consolidation/site-alias/composer.lock
deleted file mode 100644
index 952d2c48e..000000000
--- a/vendor/consolidation/site-alias/composer.lock
+++ /dev/null
@@ -1,3714 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "b7365571381c682d4bfa362f7ba15e38",
- "packages": [],
- "packages-dev": [
- {
- "name": "clue/stream-filter",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/clue/php-stream-filter.git",
- "reference": "d80fdee9b3a7e0d16fc330a22f41f3ad0eeb09d0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/clue/php-stream-filter/zipball/d80fdee9b3a7e0d16fc330a22f41f3ad0eeb09d0",
- "reference": "d80fdee9b3a7e0d16fc330a22f41f3ad0eeb09d0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0 || ^4.8"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Clue\\StreamFilter\\": "src/"
- },
- "files": [
- "src/functions.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Lück",
- "email": "christian@lueck.tv"
- }
- ],
- "description": "A simple and modern approach to stream filtering in PHP",
- "homepage": "https://github.com/clue/php-stream-filter",
- "keywords": [
- "bucket brigade",
- "callback",
- "filter",
- "php_user_filter",
- "stream",
- "stream_filter_append",
- "stream_filter_register"
- ],
- "time": "2017-08-18T09:54:01+00:00"
- },
- {
- "name": "consolidation/annotated-command",
- "version": "2.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/annotated-command.git",
- "reference": "4bdbb8fa149e1cc1511bd77b0bc4729fd66bccac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/4bdbb8fa149e1cc1511bd77b0bc4729fd66bccac",
- "reference": "4bdbb8fa149e1cc1511bd77b0bc4729fd66bccac",
- "shasum": ""
- },
- "require": {
- "consolidation/output-formatters": "^3.1.12",
- "php": ">=5.4.0",
- "psr/log": "^1",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^6",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\AnnotatedCommand\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Initialize Symfony Console commands from annotated command class methods.",
- "time": "2018-09-19T17:47:18+00:00"
- },
- {
- "name": "consolidation/config",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/config.git",
- "reference": "c9fc25e9088a708637e18a256321addc0670e578"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/config/zipball/c9fc25e9088a708637e18a256321addc0670e578",
- "reference": "c9fc25e9088a708637e18a256321addc0670e578",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "grasmash/expander": "^1",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^5",
- "satooshi/php-coveralls": "^1.0",
- "squizlabs/php_codesniffer": "2.*",
- "symfony/console": "^2.5|^3|^4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "suggest": {
- "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\Config\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Provide configuration services for a commandline tool.",
- "time": "2018-08-07T22:57:00+00:00"
- },
- {
- "name": "consolidation/log",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/log.git",
- "reference": "dfd8189a771fe047bf3cd669111b2de5f1c79395"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/log/zipball/dfd8189a771fe047bf3cd669111b2de5f1c79395",
- "reference": "dfd8189a771fe047bf3cd669111b2de5f1c79395",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0",
- "psr/log": "~1.0",
- "symfony/console": "^2.8|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^1",
- "phpunit/phpunit": "4.*",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "2.*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\Log\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.",
- "time": "2018-05-25T18:14:39+00:00"
- },
- {
- "name": "consolidation/output-formatters",
- "version": "3.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/output-formatters.git",
- "reference": "d78ef59aea19d3e2e5a23f90a055155ee78a0ad5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/d78ef59aea19d3e2e5a23f90a055155ee78a0ad5",
- "reference": "d78ef59aea19d3e2e5a23f90a055155ee78a0ad5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/finder": "^2.5|^3|^4"
- },
- "require-dev": {
- "g1a/composer-test-scenarios": "^2",
- "phpunit/phpunit": "^5.7.27",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.7",
- "symfony/console": "3.2.3",
- "symfony/var-dumper": "^2.8|^3|^4",
- "victorjonsson/markdowndocs": "^1.3"
- },
- "suggest": {
- "symfony/var-dumper": "For using the var_dump formatter"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Consolidation\\OutputFormatters\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Format text by applying transformations provided by plug-in formatters.",
- "time": "2018-05-25T18:02:34+00:00"
- },
- {
- "name": "consolidation/robo",
- "version": "1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/Robo.git",
- "reference": "31f2d2562c4e1dcde70f2659eefd59aa9c7f5b2d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/Robo/zipball/31f2d2562c4e1dcde70f2659eefd59aa9c7f5b2d",
- "reference": "31f2d2562c4e1dcde70f2659eefd59aa9c7f5b2d",
- "shasum": ""
- },
- "require": {
- "consolidation/annotated-command": "^2.8.2",
- "consolidation/config": "^1.0.10",
- "consolidation/log": "~1",
- "consolidation/output-formatters": "^3.1.13",
- "consolidation/self-update": "^1",
- "g1a/composer-test-scenarios": "^2",
- "grasmash/yaml-expander": "^1.3",
- "league/container": "^2.2",
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4",
- "symfony/process": "^2.5|^3|^4"
- },
- "replace": {
- "codegyre/robo": "< 1.0"
- },
- "require-dev": {
- "codeception/aspect-mock": "^1|^2.1.1",
- "codeception/base": "^2.3.7",
- "codeception/verify": "^0.3.2",
- "goaop/framework": "~2.1.2",
- "goaop/parser-reflection": "^1.1.0",
- "natxet/cssmin": "3.0.4",
- "nikic/php-parser": "^3.1.5",
- "patchwork/jsqueeze": "~2",
- "pear/archive_tar": "^1.4.2",
- "phpunit/php-code-coverage": "~2|~4",
- "satooshi/php-coveralls": "^2",
- "squizlabs/php_codesniffer": "^2.8"
- },
- "suggest": {
- "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch",
- "natxet/CssMin": "For minifying CSS files in taskMinify",
- "patchwork/jsqueeze": "For minifying JS files in taskMinify",
- "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively."
- },
- "bin": [
- "robo"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev",
- "dev-state": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Robo\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Davert",
- "email": "davert.php@resend.cc"
- }
- ],
- "description": "Modern task runner",
- "time": "2018-08-17T18:44:18+00:00"
- },
- {
- "name": "consolidation/self-update",
- "version": "1.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/consolidation/self-update.git",
- "reference": "de33822f907e0beb0ffad24cf4b1b4fae5ada318"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/consolidation/self-update/zipball/de33822f907e0beb0ffad24cf4b1b4fae5ada318",
- "reference": "de33822f907e0beb0ffad24cf4b1b4fae5ada318",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4"
- },
- "bin": [
- "scripts/release"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "SelfUpdate\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- },
- {
- "name": "Alexander Menk",
- "email": "menk@mestrona.net"
- }
- ],
- "description": "Provides a self:update command for Symfony Console applications.",
- "time": "2018-08-24T17:01:46+00:00"
- },
- {
- "name": "container-interop/container-interop",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/container-interop/container-interop.git",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8",
- "shasum": ""
- },
- "require": {
- "psr/container": "^1.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Interop\\Container\\": "src/Interop/Container/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
- "homepage": "https://github.com/container-interop/container-interop",
- "time": "2017-02-14T19:40:03+00:00"
- },
- {
- "name": "dflydev/dot-access-data",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a",
- "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Dflydev\\DotAccessData": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Dragonfly Development Inc.",
- "email": "info@dflydev.com",
- "homepage": "http://dflydev.com"
- },
- {
- "name": "Beau Simensen",
- "email": "beau@dflydev.com",
- "homepage": "http://beausimensen.com"
- },
- {
- "name": "Carlos Frutos",
- "email": "carlos@kiwing.it",
- "homepage": "https://github.com/cfrutos"
- }
- ],
- "description": "Given a deep data structure, access data by dot notation.",
- "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
- "keywords": [
- "access",
- "data",
- "dot",
- "notation"
- ],
- "time": "2017-01-20T21:14:22+00:00"
- },
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "g1a/composer-test-scenarios",
- "version": "2.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/g1a/composer-test-scenarios.git",
- "reference": "a166fd15191aceab89f30c097e694b7cf3db4880"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/g1a/composer-test-scenarios/zipball/a166fd15191aceab89f30c097e694b7cf3db4880",
- "reference": "a166fd15191aceab89f30c097e694b7cf3db4880",
- "shasum": ""
- },
- "bin": [
- "scripts/create-scenario",
- "scripts/dependency-licenses",
- "scripts/install-scenario"
- ],
- "type": "library",
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Greg Anderson",
- "email": "greg.1.anderson@greenknowe.org"
- }
- ],
- "description": "Useful scripts for testing multiple sets of Composer dependencies.",
- "time": "2018-08-08T23:37:23+00:00"
- },
- {
- "name": "grasmash/expander",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/expander.git",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/expander/zipball/95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\Expander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in PHP arrays file.",
- "time": "2017-12-21T22:14:55+00:00"
- },
- {
- "name": "grasmash/yaml-expander",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/yaml-expander.git",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4.8|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\YamlExpander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in a yaml file.",
- "time": "2017-12-16T16:06:03+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.3-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2018-04-22T15:46:56+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "knplabs/github-api",
- "version": "2.10.1",
- "source": {
- "type": "git",
- "url": "https://github.com/KnpLabs/php-github-api.git",
- "reference": "493423ae7ad1fa9075924cdfb98537828b9e80b5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/493423ae7ad1fa9075924cdfb98537828b9e80b5",
- "reference": "493423ae7ad1fa9075924cdfb98537828b9e80b5",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0",
- "php-http/cache-plugin": "^1.4",
- "php-http/client-common": "^1.6",
- "php-http/client-implementation": "^1.0",
- "php-http/discovery": "^1.0",
- "php-http/httplug": "^1.1",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "cache/array-adapter": "^0.4",
- "guzzlehttp/psr7": "^1.2",
- "php-http/guzzle6-adapter": "^1.0",
- "php-http/mock-client": "^1.0",
- "phpunit/phpunit": "^5.5 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.10.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Github\\": "lib/Github/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Thibault Duplessis",
- "email": "thibault.duplessis@gmail.com",
- "homepage": "http://ornicar.github.com"
- },
- {
- "name": "KnpLabs Team",
- "homepage": "http://knplabs.com"
- }
- ],
- "description": "GitHub API v3 client",
- "homepage": "https://github.com/KnpLabs/php-github-api",
- "keywords": [
- "api",
- "gh",
- "gist",
- "github"
- ],
- "time": "2018-09-05T19:12:14+00:00"
- },
- {
- "name": "league/container",
- "version": "2.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/thephpleague/container.git",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/thephpleague/container/zipball/43f35abd03a12977a60ffd7095efd6a7808488c0",
- "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0",
- "shasum": ""
- },
- "require": {
- "container-interop/container-interop": "^1.2",
- "php": "^5.4.0 || ^7.0"
- },
- "provide": {
- "container-interop/container-interop-implementation": "^1.2",
- "psr/container-implementation": "^1.0"
- },
- "replace": {
- "orno/di": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-2.x": "2.x-dev",
- "dev-1.x": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "League\\Container\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Phil Bennett",
- "email": "philipobenito@gmail.com",
- "homepage": "http://www.philipobenito.com",
- "role": "Developer"
- }
- ],
- "description": "A fast and intuitive dependency injection container.",
- "homepage": "https://github.com/thephpleague/container",
- "keywords": [
- "container",
- "dependency",
- "di",
- "injection",
- "league",
- "provider",
- "service"
- ],
- "time": "2017-05-10T09:20:27+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2017-10-19T19:58:43+00:00"
- },
- {
- "name": "php-http/cache-plugin",
- "version": "v1.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/cache-plugin.git",
- "reference": "c573ac6ea9b4e33fad567f875b844229d18000b9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/cache-plugin/zipball/c573ac6ea9b4e33fad567f875b844229d18000b9",
- "reference": "c573ac6ea9b4e33fad567f875b844229d18000b9",
- "shasum": ""
- },
- "require": {
- "php": "^5.4 || ^7.0",
- "php-http/client-common": "^1.1",
- "php-http/message-factory": "^1.0",
- "psr/cache": "^1.0",
- "symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.5-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Client\\Common\\Plugin\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "PSR-6 Cache plugin for HTTPlug",
- "homepage": "http://httplug.io",
- "keywords": [
- "cache",
- "http",
- "httplug",
- "plugin"
- ],
- "time": "2017-11-29T20:45:41+00:00"
- },
- {
- "name": "php-http/client-common",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/client-common.git",
- "reference": "9accb4a082eb06403747c0ffd444112eda41a0fd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/client-common/zipball/9accb4a082eb06403747c0ffd444112eda41a0fd",
- "reference": "9accb4a082eb06403747c0ffd444112eda41a0fd",
- "shasum": ""
- },
- "require": {
- "php": "^5.4 || ^7.0",
- "php-http/httplug": "^1.1",
- "php-http/message": "^1.6",
- "php-http/message-factory": "^1.0",
- "symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "guzzlehttp/psr7": "^1.4",
- "phpspec/phpspec": "^2.5 || ^3.4 || ^4.2"
- },
- "suggest": {
- "php-http/cache-plugin": "PSR-6 Cache plugin",
- "php-http/logger-plugin": "PSR-3 Logger plugin",
- "php-http/stopwatch-plugin": "Symfony Stopwatch plugin"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Client\\Common\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "Common HTTP Client implementations and tools for HTTPlug",
- "homepage": "http://httplug.io",
- "keywords": [
- "client",
- "common",
- "http",
- "httplug"
- ],
- "time": "2017-11-30T11:06:59+00:00"
- },
- {
- "name": "php-http/discovery",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/discovery.git",
- "reference": "9a6cb24de552bfe1aa9d7d1569e2d49c5b169a33"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/discovery/zipball/9a6cb24de552bfe1aa9d7d1569e2d49c5b169a33",
- "reference": "9a6cb24de552bfe1aa9d7d1569e2d49c5b169a33",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0"
- },
- "require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^2.0.2",
- "php-http/httplug": "^1.0",
- "php-http/message-factory": "^1.0",
- "phpspec/phpspec": "^2.4",
- "puli/composer-plugin": "1.0.0-beta10"
- },
- "suggest": {
- "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories",
- "puli/composer-plugin": "Sets up Puli which is recommended for Discovery to work. Check http://docs.php-http.org/en/latest/discovery.html for more details."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Discovery\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "Finds installed HTTPlug implementations and PSR-7 message factories",
- "homepage": "http://php-http.org",
- "keywords": [
- "adapter",
- "client",
- "discovery",
- "factory",
- "http",
- "message",
- "psr7"
- ],
- "time": "2018-02-06T10:55:24+00:00"
- },
- {
- "name": "php-http/guzzle6-adapter",
- "version": "v1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/guzzle6-adapter.git",
- "reference": "a56941f9dc6110409cfcddc91546ee97039277ab"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/guzzle6-adapter/zipball/a56941f9dc6110409cfcddc91546ee97039277ab",
- "reference": "a56941f9dc6110409cfcddc91546ee97039277ab",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "^6.0",
- "php": ">=5.5.0",
- "php-http/httplug": "^1.0"
- },
- "provide": {
- "php-http/async-client-implementation": "1.0",
- "php-http/client-implementation": "1.0"
- },
- "require-dev": {
- "ext-curl": "*",
- "php-http/adapter-integration-tests": "^0.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Adapter\\Guzzle6\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- },
- {
- "name": "David de Boer",
- "email": "david@ddeboer.nl"
- }
- ],
- "description": "Guzzle 6 HTTP Adapter",
- "homepage": "http://httplug.io",
- "keywords": [
- "Guzzle",
- "http"
- ],
- "time": "2016-05-10T06:13:32+00:00"
- },
- {
- "name": "php-http/httplug",
- "version": "v1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/httplug.git",
- "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/httplug/zipball/1c6381726c18579c4ca2ef1ec1498fdae8bdf018",
- "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4",
- "php-http/promise": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Client\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Eric GELOEN",
- "email": "geloen.eric@gmail.com"
- },
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "HTTPlug, the HTTP client abstraction for PHP",
- "homepage": "http://httplug.io",
- "keywords": [
- "client",
- "http"
- ],
- "time": "2016-08-31T08:30:17+00:00"
- },
- {
- "name": "php-http/message",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/message.git",
- "reference": "741f2266a202d59c4ed75436671e1b8e6f475ea3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/message/zipball/741f2266a202d59c4ed75436671e1b8e6f475ea3",
- "reference": "741f2266a202d59c4ed75436671e1b8e6f475ea3",
- "shasum": ""
- },
- "require": {
- "clue/stream-filter": "^1.4",
- "php": "^5.4 || ^7.0",
- "php-http/message-factory": "^1.0.2",
- "psr/http-message": "^1.0"
- },
- "provide": {
- "php-http/message-factory-implementation": "1.0"
- },
- "require-dev": {
- "akeneo/phpspec-skip-example-extension": "^1.0",
- "coduo/phpspec-data-provider-extension": "^1.0",
- "ext-zlib": "*",
- "guzzlehttp/psr7": "^1.0",
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.4",
- "slim/slim": "^3.0",
- "zendframework/zend-diactoros": "^1.0"
- },
- "suggest": {
- "ext-zlib": "Used with compressor/decompressor streams",
- "guzzlehttp/psr7": "Used with Guzzle PSR-7 Factories",
- "slim/slim": "Used with Slim Framework PSR-7 implementation",
- "zendframework/zend-diactoros": "Used with Diactoros Factories"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Message\\": "src/"
- },
- "files": [
- "src/filters.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "HTTP Message related tools",
- "homepage": "http://php-http.org",
- "keywords": [
- "http",
- "message",
- "psr-7"
- ],
- "time": "2018-08-15T06:37:30+00:00"
- },
- {
- "name": "php-http/message-factory",
- "version": "v1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/message-factory.git",
- "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/message-factory/zipball/a478cb11f66a6ac48d8954216cfed9aa06a501a1",
- "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4",
- "psr/http-message": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- }
- ],
- "description": "Factory interfaces for PSR-7 HTTP Message",
- "homepage": "http://php-http.org",
- "keywords": [
- "factory",
- "http",
- "message",
- "stream",
- "uri"
- ],
- "time": "2015-12-19T14:08:53+00:00"
- },
- {
- "name": "php-http/promise",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/promise.git",
- "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/promise/zipball/dc494cdc9d7160b9a09bd5573272195242ce7980",
- "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980",
- "shasum": ""
- },
- "require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Promise\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- },
- {
- "name": "Joel Wurtz",
- "email": "joel.wurtz@gmail.com"
- }
- ],
- "description": "Promise used for asynchronous HTTP requests",
- "homepage": "http://httplug.io",
- "keywords": [
- "promise"
- ],
- "time": "2016-01-26T13:27:02+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "4.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-30T07:14:17+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "4.0.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^5.6 || ^7.0",
- "phpunit/php-file-iterator": "^1.3",
- "phpunit/php-text-template": "^1.2",
- "phpunit/php-token-stream": "^1.4.2 || ^2.0",
- "sebastian/code-unit-reverse-lookup": "^1.0",
- "sebastian/environment": "^1.3.2 || ^2.0",
- "sebastian/version": "^1.0 || ^2.0"
- },
- "require-dev": {
- "ext-xdebug": "^2.1.4",
- "phpunit/phpunit": "^5.7"
- },
- "suggest": {
- "ext-xdebug": "^2.5.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2017-04-02T07:44:40+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "791198a2c6254db10131eecfe8c06670700904db"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db",
- "reference": "791198a2c6254db10131eecfe8c06670700904db",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-11-27T05:48:46+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "5.7.27",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "~1.3",
- "php": "^5.6 || ^7.0",
- "phpspec/prophecy": "^1.6.2",
- "phpunit/php-code-coverage": "^4.0.4",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "^3.2",
- "sebastian/comparator": "^1.2.4",
- "sebastian/diff": "^1.4.3",
- "sebastian/environment": "^1.3.4 || ^2.0",
- "sebastian/exporter": "~2.0",
- "sebastian/global-state": "^1.1",
- "sebastian/object-enumerator": "~2.0",
- "sebastian/resource-operations": "~1.0",
- "sebastian/version": "^1.0.6|^2.0.1",
- "symfony/yaml": "~2.1|~3.0|~4.0"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.7.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2018-02-01T05:50:59+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "3.4.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.6 || ^7.0",
- "phpunit/php-text-template": "^1.2",
- "sebastian/exporter": "^1.2 || ^2.0"
- },
- "conflict": {
- "phpunit/phpunit": "<5.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2017-06-30T09:13:00+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/container",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/container.git",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Container\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common Container Interface (PHP FIG PSR-11)",
- "homepage": "https://github.com/php-fig/container",
- "keywords": [
- "PSR-11",
- "container",
- "container-interface",
- "container-interop",
- "psr"
- ],
- "time": "2017-02-14T16:28:37+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "satooshi/php-coveralls",
- "version": "v2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-coveralls/php-coveralls.git",
- "reference": "3eaf7eb689cdf6b86801a3843940d974dc657068"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/3eaf7eb689cdf6b86801a3843940d974dc657068",
- "reference": "3eaf7eb689cdf6b86801a3843940d974dc657068",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzlehttp/guzzle": "^6.0",
- "php": "^5.5 || ^7.0",
- "psr/log": "^1.0",
- "symfony/config": "^2.1 || ^3.0 || ^4.0",
- "symfony/console": "^2.1 || ^3.0 || ^4.0",
- "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0",
- "symfony/yaml": "^2.0 || ^3.0 || ^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/php-coveralls"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "PhpCoveralls\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp",
- "role": "Original creator"
- },
- {
- "name": "Takashi Matsuo",
- "email": "tmatsuo@google.com"
- },
- {
- "name": "Google Inc"
- },
- {
- "name": "Dariusz Ruminski",
- "email": "dariusz.ruminski@gmail.com",
- "homepage": "https://github.com/keradus"
- },
- {
- "name": "Contributors",
- "homepage": "https://github.com/php-coveralls/php-coveralls/graphs/contributors"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/php-coveralls/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "abandoned": "php-coveralls/php-coveralls",
- "time": "2017-12-08T14:28:16+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-11-26T07:53:53+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-11-19T08:54:04+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-02-18T15:18:39+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-11-19T07:33:16+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2017-05-22T02:43:20+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "7b08223b7f6abd859651c56bcabf900d1627d085"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/7b08223b7f6abd859651c56bcabf900d1627d085",
- "reference": "7b08223b7f6abd859651c56bcabf900d1627d085",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/filesystem": "~2.8|~3.0|~4.0",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3",
- "symfony/finder": "<3.3"
- },
- "require-dev": {
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/event-dispatcher": "~3.3|~4.0",
- "symfony/finder": "~3.3|~4.0",
- "symfony/yaml": "~3.0|~4.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "6b217594552b9323bcdcfc14f8a0ce126e84cd73"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/6b217594552b9323bcdcfc14f8a0ce126e84cd73",
- "reference": "6b217594552b9323bcdcfc14f8a0ce126e84cd73",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/debug": "~2.8|~3.0|~4.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.3|~4.0"
- },
- "suggest": {
- "psr/log-implementation": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "c4625e75341e4fb309ce0c049cbf7fb84b8897cd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/c4625e75341e4fb309ce0c049cbf7fb84b8897cd",
- "reference": "c4625e75341e4fb309ce0c049cbf7fb84b8897cd",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0|~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2018-08-03T10:42:44+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb",
- "reference": "b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0|~4.0",
- "symfony/dependency-injection": "~3.3|~4.0",
- "symfony/expression-language": "~2.8|~3.0|~4.0",
- "symfony/stopwatch": "~2.8|~3.0|~4.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T09:06:28+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "285ce5005cb01a0aeaa5b0cf590bd0cc40bb631c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/285ce5005cb01a0aeaa5b0cf590bd0cc40bb631c",
- "reference": "285ce5005cb01a0aeaa5b0cf590bd0cc40bb631c",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2018-08-10T07:29:05+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "8a84fcb207451df0013b2c74cbbf1b62d47b999a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/8a84fcb207451df0013b2c74cbbf1b62d47b999a",
- "reference": "8a84fcb207451df0013b2c74cbbf1b62d47b999a",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T11:19:56+00:00"
- },
- {
- "name": "symfony/options-resolver",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/options-resolver.git",
- "reference": "6debc476953a45969ab39afe8dee0b825f356dc7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/options-resolver/zipball/6debc476953a45969ab39afe8dee0b825f356dc7",
- "reference": "6debc476953a45969ab39afe8dee0b825f356dc7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\OptionsResolver\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony OptionsResolver Component",
- "homepage": "https://symfony.com",
- "keywords": [
- "config",
- "configuration",
- "options"
- ],
- "time": "2018-07-26T08:45:46+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "4d6b125d5293cbceedc2aa10f2c71617e76262e7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/4d6b125d5293cbceedc2aa10f2c71617e76262e7",
- "reference": "4d6b125d5293cbceedc2aa10f2c71617e76262e7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com",
- "time": "2018-08-03T10:42:44+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "deda2765e8dab2fc38492e926ea690f2a681f59d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/deda2765e8dab2fc38492e926ea690f2a681f59d",
- "reference": "deda2765e8dab2fc38492e926ea690f2a681f59d",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2018-07-26T10:03:52+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.4.15",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "c2f4812ead9f847cb69e90917ca7502e6892d6b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/c2f4812ead9f847cb69e90917ca7502e6892d6b8",
- "reference": "c2f4812ead9f847cb69e90917ca7502e6892d6b8",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2018-08-10T07:34:36+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-01-29T19:49:41+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.5.0"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "7.0.8"
- }
-}
diff --git a/vendor/consolidation/site-alias/dependencies.yml b/vendor/consolidation/site-alias/dependencies.yml
deleted file mode 100644
index c381f99f8..000000000
--- a/vendor/consolidation/site-alias/dependencies.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-version: 2
-dependencies:
-- type: php
- path: /
- manifest_updates:
- filters:
- - name: ".*"
- versions: "L.Y.Y"
diff --git a/vendor/consolidation/site-alias/phpunit.xml.dist b/vendor/consolidation/site-alias/phpunit.xml.dist
deleted file mode 100644
index 82d63a16d..000000000
--- a/vendor/consolidation/site-alias/phpunit.xml.dist
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- tests
-
-
-
-
-
-
-
-
- src
-
-
-
diff --git a/vendor/consolidation/site-alias/src/AliasRecord.php b/vendor/consolidation/site-alias/src/AliasRecord.php
deleted file mode 100644
index 3fc00d63e..000000000
--- a/vendor/consolidation/site-alias/src/AliasRecord.php
+++ /dev/null
@@ -1,260 +0,0 @@
-name = $name;
- }
-
- /**
- * @inheritdoc
- */
- public function getConfig(ConfigInterface $config, $key, $default = null)
- {
- if ($this->has($key)) {
- return $this->get($key, $default);
- }
- return $config->get($key, $default);
- }
-
- /**
- * @inheritdoc
- */
- public function name()
- {
- return $this->name;
- }
-
- /**
- * @inheritdoc
- */
- public function setName($name)
- {
- $this->name = $name;
- }
-
- /**
- * @inheritdoc
- */
- public function hasRoot()
- {
- return $this->has('root');
- }
-
- /**
- * @inheritdoc
- */
- public function root()
- {
- $root = $this->get('root');
- if ($this->isLocal()) {
- return FsUtils::realpath($root);
- }
- return $root;
- }
-
- /**
- * @inheritdoc
- */
- public function uri()
- {
- return $this->get('uri');
- }
-
- /**
- * @inheritdoc
- */
- public function setUri($uri)
- {
- return $this->set('uri', $uri);
- }
-
- /**
- * @inheritdoc
- */
- public function remoteHostWithUser()
- {
- $result = $this->remoteHost();
- if (!empty($result) && $this->hasRemoteUser()) {
- $result = $this->remoteUser() . '@' . $result;
- }
- return $result;
- }
-
- /**
- * @inheritdoc
- */
- public function remoteUser()
- {
- return $this->get('user');
- }
-
- /**
- * @inheritdoc
- */
- public function hasRemoteUser()
- {
- return $this->has('user');
- }
-
- /**
- * @inheritdoc
- */
- public function remoteHost()
- {
- return $this->get('host');
- }
-
- /**
- * @inheritdoc
- */
- public function isRemote()
- {
- return $this->has('host');
- }
-
- /**
- * @inheritdoc
- */
- public function isLocal()
- {
- return !$this->isRemote();
- }
-
- /**
- * @inheritdoc
- */
- public function isNone()
- {
- return empty($this->root()) && $this->isLocal();
- }
-
- /**
- * @inheritdoc
- */
- public function localRoot()
- {
- if ($this->isLocal() && $this->hasRoot()) {
- return $this->root();
- }
-
- return false;
- }
-
- /**
- * os returns the OS that this alias record points to. For local alias
- * records, PHP_OS will be returned. For remote alias records, the
- * value from the `os` element will be returned. If there is no `os`
- * element, then the default assumption is that the remote system is Linux.
- *
- * @return string
- * Linux
- * WIN* (e.g. WINNT)
- * CYGWIN
- * MINGW* (e.g. MINGW32)
- */
- public function os()
- {
- if ($this->isLocal()) {
- return PHP_OS;
- }
- return $this->get('os', 'Linux');
- }
-
- /**
- * @inheritdoc
- */
- public function exportConfig()
- {
- return $this->remap($this->export());
- }
-
- /**
- * Reconfigure data exported from the form it is expected to be in
- * inside an alias record to the form it is expected to be in when
- * inside a configuration file.
- */
- protected function remap($data)
- {
- foreach ($this->remapOptionTable() as $from => $to) {
- if (isset($data[$from])) {
- unset($data[$from]);
- }
- $value = $this->get($from, null);
- if (isset($value)) {
- $data['options'][$to] = $value;
- }
- }
-
- return new Config($data);
- }
-
- /**
- * Fetch the parameter-specific options from the 'alias-parameters' section of the alias.
- * @param string $parameterName
- * @return array
- */
- protected function getParameterSpecificOptions($aliasData, $parameterName)
- {
- if (!empty($parameterName) && $this->has("alias-parameters.{$parameterName}")) {
- return $this->get("alias-parameters.{$parameterName}");
- }
- return [];
- }
-
- /**
- * Convert the data in this record to the layout that was used
- * in the legacy code, for backwards compatiblity.
- */
- public function legacyRecord()
- {
- $result = $this->exportConfig()->get('options', []);
-
- // Backend invoke needs a couple of critical items in specific locations.
- if ($this->has('paths.drush-script')) {
- $result['path-aliases']['%drush-script'] = $this->get('paths.drush-script');
- }
- if ($this->has('ssh.options')) {
- $result['ssh-options'] = $this->get('ssh.options');
- }
- return $result;
- }
-
- /**
- * Conversion table from old to new option names. These all implicitly
- * go in `options`, although they can come from different locations.
- */
- protected function remapOptionTable()
- {
- return [
- 'user' => 'remote-user',
- 'host' => 'remote-host',
- 'root' => 'root',
- 'uri' => 'uri',
- ];
- }
-}
diff --git a/vendor/consolidation/site-alias/src/AliasRecordInterface.php b/vendor/consolidation/site-alias/src/AliasRecordInterface.php
deleted file mode 100644
index d56c082a6..000000000
--- a/vendor/consolidation/site-alias/src/AliasRecordInterface.php
+++ /dev/null
@@ -1,144 +0,0 @@
-aliasLoader = new SiteAliasFileLoader();
- $ymlLoader = new YamlDataFileLoader();
- $this->aliasLoader->addLoader('yml', $ymlLoader);
- $aliasName = $this->getLocationsAndAliasName($varArgs, $this->aliasLoader);
-
- $this->manager = new SiteAliasManager($this->aliasLoader);
-
- return $this->renderAliases($this->manager->getMultiple($aliasName));
- }
-
- /**
- * Load available site aliases.
- *
- * @command site:load
- * @format yaml
- * @return array
- */
- public function siteLoad(array $dirs)
- {
- $this->aliasLoader = new SiteAliasFileLoader();
- $ymlLoader = new YamlDataFileLoader();
- $this->aliasLoader->addLoader('yml', $ymlLoader);
-
- foreach ($dirs as $dir) {
- $this->io()->note("Add search location: $dir");
- $this->aliasLoader->addSearchLocation($dir);
- }
-
- $all = $this->aliasLoader->loadAll();
-
- return $this->renderAliases($all);
- }
-
- protected function getLocationsAndAliasName($varArgs)
- {
- $aliasName = '';
- foreach ($varArgs as $arg) {
- if (SiteAliasName::isAliasName($arg)) {
- $this->io()->note("Alias parameter: '$arg'");
- $aliasName = $arg;
- } else {
- $this->io()->note("Add search location: $arg");
- $this->aliasLoader->addSearchLocation($arg);
- }
- }
- return $aliasName;
- }
-
- protected function renderAliases($all)
- {
- if (empty($all)) {
- throw new \Exception("No aliases found");
- }
-
- $result = [];
- foreach ($all as $name => $alias) {
- $result[$name] = $alias->export();
- }
-
- return $result;
- }
-
- /**
- * Show contents of a single site alias.
- *
- * @command site:get
- * @format yaml
- * @return array
- */
- public function siteGet(array $varArgs)
- {
- $this->aliasLoader = new SiteAliasFileLoader();
- $ymlLoader = new YamlDataFileLoader();
- $this->aliasLoader->addLoader('yml', $ymlLoader);
- $aliasName = $this->getLocationsAndAliasName($varArgs, $this->aliasLoader);
-
- $manager = new SiteAliasManager($this->aliasLoader);
- $result = $manager->get($aliasName);
- if (!$result) {
- throw new \Exception("No alias found");
- }
-
- return $result->export();
- }
-
- /**
- * Access a value from a single alias.
- *
- * @command site:value
- * @format yaml
- * @return string
- */
- public function siteValue(array $varArgs)
- {
- $this->aliasLoader = new SiteAliasFileLoader();
- $ymlLoader = new YamlDataFileLoader();
- $this->aliasLoader->addLoader('yml', $ymlLoader);
- $key = array_pop($varArgs);
- $aliasName = $this->getLocationsAndAliasName($varArgs, $this->aliasLoader);
-
- $manager = new SiteAliasManager($this->aliasLoader);
- $result = $manager->get($aliasName);
- if (!$result) {
- throw new \Exception("No alias found");
- }
-
- return $result->get($key);
- }
-
- /**
- * Parse a site specification.
- *
- * @command site-spec:parse
- * @format yaml
- * @return array
- */
- public function parse($spec, $options = ['root' => ''])
- {
- $parser = new SiteSpecParser();
- return $parser->parse($spec, $options['root']);
- }
-}
diff --git a/vendor/consolidation/site-alias/src/DataFileLoaderInterface.php b/vendor/consolidation/site-alias/src/DataFileLoaderInterface.php
deleted file mode 100644
index e6463ad38..000000000
--- a/vendor/consolidation/site-alias/src/DataFileLoaderInterface.php
+++ /dev/null
@@ -1,10 +0,0 @@
-alias_record = $alias_record;
- $this->original_path = $original_path;
- $this->path = $path;
- $this->implicit = $implicit;
- }
-
- /**
- * Factory method to create a host path.
- *
- * @param SiteAliasManager $manager We need to be provided a reference
- * to the alias manager to create a host path
- * @param string $hostPath The path to create.
- */
- public static function create(SiteAliasManager $manager, $hostPath)
- {
- // Split the alias path up into
- // - $parts[0]: everything before the first ":"
- // - $parts[1]: everything after the ":", if there was one.
- $parts = explode(':', $hostPath, 2);
-
- // Determine whether or not $parts[0] is a site spec or an alias
- // record. If $parts[0] is not in the right form, the result
- // will be 'false'. This will throw if $parts[0] is an @alias
- // record, but the requested alias cannot be found.
- $alias_record = $manager->get($parts[0]);
-
- if (!isset($parts[1])) {
- return static::determinePathOrAlias($manager, $alias_record, $hostPath, $parts[0]);
- }
-
- // If $parts[0] did not resolve to a site spec or alias record,
- // but there is a $parts[1], then $parts[0] must be a machine name.
- // Unless it was an alias that could not be found.
- if ($alias_record === false) {
- if (SiteAliasName::isAliasName($parts[0])) {
- throw new \Exception('Site alias ' . $parts[0] . ' not found.');
- }
- $alias_record = new AliasRecord(['host' => $parts[0]]);
- }
-
- // Create our alias path
- return new HostPath($alias_record, $hostPath, $parts[1]);
- }
-
- /**
- * Return the alias record portion of the host path.
- *
- * @return AliasRecord
- */
- public function getAliasRecord()
- {
- return $this->alias_record;
- }
-
- /**
- * Returns true if this host path points at a remote machine
- *
- * @return bool
- */
- public function isRemote()
- {
- return $this->alias_record->isRemote();
- }
-
- /**
- * Return just the path portion, without considering the alias root.
- *
- * @return string
- */
- public function getOriginalPath()
- {
- return $this->path;
- }
-
- /**
- * Return the original host path string, as provided to the create() method.
- *
- * @return string
- */
- public function getOriginal()
- {
- return $this->original_path;
- }
-
- /**
- * Return just the path portion of the host path
- *
- * @return string
- */
- public function getPath()
- {
- if (empty($this->path)) {
- return $this->alias_record->root();
- }
- if ($this->alias_record->hasRoot() && !$this->implicit) {
- return Path::makeAbsolute($this->path, $this->alias_record->root());
- }
- return $this->path;
- }
-
- /**
- * Returns 'true' if the path portion of the host path begins with a
- * path alias (e.g. '%files'). Path aliases must appear at the beginning
- * of the path.
- *
- * @return bool
- */
- public function hasPathAlias()
- {
- $pathAlias = $this->getPathAlias();
- return !empty($pathAlias);
- }
-
- /**
- * Return just the path alias portion of the path (e.g. '%files'), or
- * empty if there is no alias in the path.
- *
- * @return string
- */
- public function getPathAlias()
- {
- if (preg_match('#%([^/]*).*#', $this->path, $matches)) {
- return $matches[1];
- }
- return '';
- }
-
- /**
- * Replaces the path alias portion of the path with the resolved path.
- *
- * @param string $resolvedPath The converted path alias (e.g. 'sites/default/files')
- * @return $this
- */
- public function replacePathAlias($resolvedPath)
- {
- $pathAlias = $this->getPathAlias();
- if (empty($pathAlias)) {
- return $this;
- }
- // Make sure that the resolved path always ends in a '\'.
- $resolvedPath .= '/';
- // Avoid double / in path.
- // $this->path: %files/foo
- // $pathAlias: files
- // We add one to the length of $pathAlias to account for the '%' in $this->path.
- if (strlen($this->path) > (strlen($pathAlias) + 1)) {
- $resolvedPath = rtrim($resolvedPath, '/');
- }
- // Once the path alias is resolved, replace the alias in the $path with the result.
- $this->path = $resolvedPath . substr($this->path, strlen($pathAlias) + 1);
-
- // Using a path alias such as %files is equivalent to making explicit
- // use of @self:%files. We set implicit to false here so that the resolved
- // path will be returned as an absolute path rather than a relative path.
- $this->implicit = false;
-
- return $this;
- }
-
- /**
- * Return the host portion of the host path, including the user.
- *
- * @return string
- */
- public function getHost()
- {
- return $this->alias_record->remoteHostWithUser();
- }
-
- /**
- * Return the fully resolved path, e.g. user@server:/path/to/drupalroot/sites/default/files
- *
- * @return string
- */
- public function fullyQualifiedPath()
- {
- $host = $this->getHost();
- if (!empty($host)) {
- return $host . ':' . $this->getPath();
- }
- return $this->getPath();
- }
-
- /**
- * Our fully qualified path passes the result through Path::makeAbsolute()
- * which canonicallizes the path, removing any trailing slashes.
- * That is what we want most of the time; however, the trailing slash is
- * sometimes significant, e.g. for rsync, so we provide a separate API
- * for those cases where the trailing slash should be preserved.
- *
- * @return string
- */
- public function fullyQualifiedPathPreservingTrailingSlash()
- {
- $fqp = $this->fullyQualifiedPath();
- if ((substr($this->path, strlen($this->path) - 1) == '/') && (substr($fqp, strlen($fqp) - 1) != '/')) {
- $fqp .= '/';
- }
- return $fqp;
- }
-
- /**
- * Helper method for HostPath::create(). When the host path contains no
- * ':', this method determines whether the string that was provided is
- * a host or a path.
- *
- * @param SiteAliasManager $manager
- * @param AliasRecord|bool $alias_record
- * @param string $hostPath
- * @param string $single_part
- */
- protected static function determinePathOrAlias(SiteAliasManager $manager, $alias_record, $hostPath, $single_part)
- {
- // If $alias_record is false, then $single_part must be a path.
- if ($alias_record === false) {
- return new HostPath($manager->getSelf(), $hostPath, $single_part, true);
- }
-
- // Otherwise, we have a alias record without a path.
- // In this instance, the alias record _must_ have a root.
- if (!$alias_record->hasRoot()) {
- throw new \Exception("$hostPath does not define a path.");
- }
- return new HostPath($alias_record, $hostPath);
- }
-}
diff --git a/vendor/consolidation/site-alias/src/SiteAliasFileDiscovery.php b/vendor/consolidation/site-alias/src/SiteAliasFileDiscovery.php
deleted file mode 100644
index 3902c6c35..000000000
--- a/vendor/consolidation/site-alias/src/SiteAliasFileDiscovery.php
+++ /dev/null
@@ -1,213 +0,0 @@
-locationFilter = $locationFilter;
- $this->searchLocations = $searchLocations;
- $this->depth = $depth;
- }
-
- /**
- * Add a location that alias files may be found.
- *
- * @param string $path
- * @return $this
- */
- public function addSearchLocation($paths)
- {
- foreach ((array)$paths as $path) {
- if (is_dir($path)) {
- $this->searchLocations[] = $path;
- }
- }
- return $this;
- }
-
- /**
- * Return all of the paths where alias files may be found.
- * @return string[]
- */
- public function searchLocations()
- {
- return $this->searchLocations;
- }
-
- public function locationFilter()
- {
- return $this->locationFilter;
- }
-
- /**
- * Set the search depth for finding alias files
- *
- * @param string|int $depth (@see \Symfony\Component\Finder\Finder::depth)
- * @return $this
- */
- public function depth($depth)
- {
- $this->depth = $depth;
- return $this;
- }
-
- /**
- * Only search for aliases that are in alias files stored in directories
- * whose basename or key matches the specified location.
- */
- public function filterByLocation($location)
- {
- if (empty($location)) {
- return $this;
- }
-
- return new SiteAliasFileDiscovery($this->searchLocations(), $this->depth, $location);
- }
-
- /**
- * Find an alias file SITENAME.site.yml in one
- * of the specified search locations.
- *
- * @param string $siteName
- * @return string[]
- */
- public function find($siteName)
- {
- return $this->searchForAliasFiles("$siteName.site.yml");
- }
-
- /**
- * Find an alias file SITENAME.site.yml in one
- * of the specified search locations.
- *
- * @param string $siteName
- * @return string|bool
- */
- public function findSingleSiteAliasFile($siteName)
- {
- $matches = $this->find($siteName);
- if (empty($matches)) {
- return false;
- }
- return reset($matches);
- }
-
- /**
- * Return a list of all SITENAME.site.yml files in any of
- * the search locations.
- *
- * @return string[]
- */
- public function findAllSingleAliasFiles()
- {
- return $this->searchForAliasFiles('*.site.yml');
- }
-
- /**
- * Return all of the legacy alias files used in previous Drush versions.
- *
- * @return string[]
- */
- public function findAllLegacyAliasFiles()
- {
- return array_merge(
- $this->searchForAliasFiles('*.alias.drushrc.php'),
- $this->searchForAliasFiles('*.aliases.drushrc.php'),
- $this->searchForAliasFiles('aliases.drushrc.php')
- );
- }
-
- /**
- * Create a Symfony Finder object to search all available search locations
- * for the specified search pattern.
- *
- * @param string $searchPattern
- * @return Finder
- */
- protected function createFinder($searchPattern)
- {
- $finder = new Finder();
- $finder->files()
- ->name($searchPattern)
- ->in($this->searchLocations)
- ->depth($this->depth);
- return $finder;
- }
-
- /**
- * Return a list of all alias files matching the provided pattern.
- *
- * @param string $searchPattern
- * @return string[]
- */
- protected function searchForAliasFiles($searchPattern)
- {
- if (empty($this->searchLocations)) {
- return [];
- }
- list($match, $site) = $this->splitLocationFromSite($this->locationFilter);
- if (!empty($site)) {
- $searchPattern = str_replace('*', $site, $searchPattern);
- }
- $finder = $this->createFinder($searchPattern);
- $result = [];
- foreach ($finder as $file) {
- $path = $file->getRealPath();
- $result[] = $path;
- }
- // Find every location where the parent directory name matches
- // with the first part of the search pattern.
- // In theory we can use $finder->path() instead. That didn't work well,
- // in practice, though; had trouble correctly escaping the path separators.
- if (!empty($this->locationFilter)) {
- $result = array_filter($result, function ($path) use ($match) {
- return SiteAliasName::locationFromPath($path) === $match;
- });
- }
-
- return $result;
- }
-
- /**
- * splitLocationFromSite returns the part of 'site' before the first
- * '.' as the "path match" component, and the part after the first
- * '.' as the "site" component.
- */
- protected function splitLocationFromSite($site)
- {
- $parts = explode('.', $site, 3) + ['', '', ''];
-
- return array_slice($parts, 0, 2);
- }
-
-
- // TODO: Seems like this could just be basename()
- protected function extractKey($basename, $filenameExensions)
- {
- return str_replace($filenameExensions, '', $basename);
- }
-}
diff --git a/vendor/consolidation/site-alias/src/SiteAliasFileLoader.php b/vendor/consolidation/site-alias/src/SiteAliasFileLoader.php
deleted file mode 100644
index ce422e7b6..000000000
--- a/vendor/consolidation/site-alias/src/SiteAliasFileLoader.php
+++ /dev/null
@@ -1,596 +0,0 @@
-discovery = $discovery ?: new SiteAliasFileDiscovery();
- $this->referenceData = [];
- $this->loader = [];
- }
-
- /**
- * Allow configuration data to be used in replacements in the alias file.
- */
- public function setReferenceData($data)
- {
- $this->referenceData = $data;
- }
-
- /**
- * Add a search location to our discovery object.
- *
- * @param string $path
- *
- * @return $this
- */
- public function addSearchLocation($path)
- {
- $this->discovery()->addSearchLocation($path);
- return $this;
- }
-
- /**
- * Return our discovery object.
- *
- * @return SiteAliasFileDiscovery
- */
- public function discovery()
- {
- return $this->discovery;
- }
-
- /**
- * Load the file containing the specified alias name.
- *
- * @param SiteAliasName $aliasName
- *
- * @return AliasRecord|false
- */
- public function load(SiteAliasName $aliasName)
- {
- // First attempt to load a sitename.site.yml file for the alias.
- $aliasRecord = $this->loadSingleAliasFile($aliasName);
- if ($aliasRecord) {
- return $aliasRecord;
- }
-
- // If aliasname was provides as @site.env and we did not find it,
- // then we are done.
- if ($aliasName->hasSitename()) {
- return false;
- }
-
- // If $aliasName was provided as `@foo` (`hasSitename()` returned `false`
- // above), then this was interpreted as `@self.foo` when we searched
- // above. If we could not find an alias record for `@self.foo`, then we
- // will try to search again, this time with the assumption that `@foo`
- // might be `@foo.`, where `` is the default
- // environment for the specified site. Note that in this instance, the
- // sitename will be found in $aliasName->env().
- $sitename = $aliasName->env();
- return $this->loadDefaultEnvFromSitename($sitename);
- }
-
- /**
- * Given only a site name, load the default environment from it.
- */
- protected function loadDefaultEnvFromSitename($sitename)
- {
- $path = $this->discovery()->findSingleSiteAliasFile($sitename);
- if (!$path) {
- return false;
- }
- $data = $this->loadSiteDataFromPath($path);
- if (!$data) {
- return false;
- }
- $env = $this->getDefaultEnvironmentName($data);
-
- $aliasName = new SiteAliasName($sitename, $env);
- $processor = new ConfigProcessor();
- return $this->fetchAliasRecordFromSiteAliasData($aliasName, $processor, $data);
- }
-
- /**
- * Return a list of all site aliases loadable from any findable path.
- *
- * @return AliasRecord[]
- */
- public function loadAll()
- {
- $result = [];
- $paths = $this->discovery()->findAllSingleAliasFiles();
- foreach ($paths as $path) {
- $aliasRecords = $this->loadSingleSiteAliasFileAtPath($path);
- if ($aliasRecords) {
- foreach ($aliasRecords as $aliasRecord) {
- $this->storeAliasRecordInResut($result, $aliasRecord);
- }
- }
- }
- ksort($result);
- return $result;
- }
-
- /**
- * Return a list of all available alias files. Does not include
- * legacy files.
- *
- * @param string $location Only consider alias files in the specified location.
- * @return string[]
- */
- public function listAll($location = '')
- {
- return $this->discovery()->filterByLocation($location)->findAllSingleAliasFiles();
- }
-
- /**
- * Given an alias name that might represent multiple sites,
- * return a list of all matching alias records. If nothing was found,
- * or the name represents a single site + env, then we take
- * no action and return `false`.
- *
- * @param string $sitename The site name to return all environments for.
- * @return AliasRecord[]|false
- */
- public function loadMultiple($sitename, $location = null)
- {
- $result = [];
- foreach ($this->discovery()->filterByLocation($location)->find($sitename) as $path) {
- if ($siteData = $this->loadSiteDataFromPath($path)) {
- $location = SiteAliasName::locationFromPath($path);
- // Convert the raw array into a list of alias records.
- $result = array_merge(
- $result,
- $this->createAliasRecordsFromSiteData($sitename, $siteData, $location)
- );
- }
- }
- return $result;
- }
-
- /**
- * Given a location, return all alias files located there.
- *
- * @param string $location The location to filter.
- * @return AliasRecord[]
- */
- public function loadLocation($location)
- {
- $result = [];
- foreach ($this->listAll($location) as $path) {
- if ($siteData = $this->loadSiteDataFromPath($path)) {
- $location = SiteAliasName::locationFromPath($path);
- $sitename = $this->siteNameFromPath($path);
- // Convert the raw array into a list of alias records.
- $result = array_merge(
- $result,
- $this->createAliasRecordsFromSiteData($sitename, $siteData, $location)
- );
- }
- }
- return $result;
- }
-
- /**
- * @param array $siteData list of sites with its respective data
- *
- * @param SiteAliasName $aliasName The name of the record being created
- * @param $siteData An associative array of envrionment => site data
- * @return AliasRecord[]
- */
- protected function createAliasRecordsFromSiteData($sitename, $siteData, $location = '')
- {
- $result = [];
- if (!is_array($siteData) || empty($siteData)) {
- return $result;
- }
- foreach ($siteData as $envName => $data) {
- if (is_array($data) && $this->isValidEnvName($envName)) {
- $aliasName = new SiteAliasName($sitename, $envName, $location);
-
- $processor = new ConfigProcessor();
- $oneRecord = $this->fetchAliasRecordFromSiteAliasData($aliasName, $processor, $siteData);
- $this->storeAliasRecordInResut($result, $oneRecord);
- }
- }
- return $result;
- }
-
- /**
- * isValidEnvName determines if a given entry should be skipped or not
- * (e.g. the "common" entry).
- *
- * @param string $envName The environment name to test
- */
- protected function isValidEnvName($envName)
- {
- return $envName != 'common';
- }
-
- /**
- * Store an alias record in a list. If the alias record has
- * a known name, then the key of the list will be the record's name.
- * Otherwise, append the record to the end of the list with
- * a numeric index.
- *
- * @param &AliasRecord[] $result list of alias records
- * @param AliasRecord $aliasRecord one more alias to store in the result
- */
- protected function storeAliasRecordInResut(&$result, AliasRecord $aliasRecord)
- {
- if (!$aliasRecord) {
- return;
- }
- $key = $aliasRecord->name();
- if (empty($key)) {
- $result[] = $aliasRecord;
- return;
- }
- $result[$key] = $aliasRecord;
- }
-
- /**
- * If the alias name is '@sitename', or if it is '@sitename.env', then
- * look for a sitename.site.yml file that contains it. We also handle
- * '@location.sitename.env' here as well.
- *
- * @param SiteAliasName $aliasName
- *
- * @return AliasRecord|false
- */
- protected function loadSingleAliasFile(SiteAliasName $aliasName)
- {
- // Check to see if the appropriate sitename.alias.yml file can be
- // found. Return if it cannot.
- $path = $this->discovery()
- ->filterByLocation($aliasName->location())
- ->findSingleSiteAliasFile($aliasName->sitename());
- if (!$path) {
- return false;
- }
- return $this->loadSingleAliasFileWithNameAtPath($aliasName, $path);
- }
-
- /**
- * Given only the path to an alias file `site.alias.yml`, return all
- * of the alias records for every environment stored in that file.
- *
- * @param string $path
- * @return AliasRecord[]
- */
- protected function loadSingleSiteAliasFileAtPath($path)
- {
- $sitename = $this->siteNameFromPath($path);
- $location = SiteAliasName::locationFromPath($path);
- if ($siteData = $this->loadSiteDataFromPath($path)) {
- return $this->createAliasRecordsFromSiteData($sitename, $siteData, $location);
- }
- return false;
- }
-
- /**
- * Given the path to a single site alias file `site.alias.yml`,
- * return the `site` part.
- *
- * @param string $path
- */
- protected function siteNameFromPath($path)
- {
- return $this->basenameWithoutExtension($path, '.site.yml');
-
-// OR:
-// $filename = basename($path);
-// return preg_replace('#\..*##', '', $filename);
- }
-
- /**
- * Chop off the `aliases.yml` or `alias.yml` part of a path. This works
- * just like `basename`, except it will throw if the provided path
- * does not end in the specified extension.
- *
- * @param string $path
- * @param string $extension
- * @return string
- * @throws \Exception
- */
- protected function basenameWithoutExtension($path, $extension)
- {
- $result = basename($path, $extension);
- // It is an error if $path does not end with site.yml
- if ($result == basename($path)) {
- throw new \Exception("$path must end with '$extension'");
- }
- return $result;
- }
-
- /**
- * Given an alias name and a path, load the data from the path
- * and process it as needed to generate the alias record.
- *
- * @param SiteAliasName $aliasName
- * @param string $path
- * @return AliasRecord|false
- */
- protected function loadSingleAliasFileWithNameAtPath(SiteAliasName $aliasName, $path)
- {
- $data = $this->loadSiteDataFromPath($path);
- if (!$data) {
- return false;
- }
- $processor = new ConfigProcessor();
- return $this->fetchAliasRecordFromSiteAliasData($aliasName, $processor, $data);
- }
-
- /**
- * Load the yml from the given path
- *
- * @param string $path
- * @return array|bool
- */
- protected function loadSiteDataFromPath($path)
- {
- $data = $this->loadData($path);
- if (!$data) {
- return false;
- }
- $selfSiteAliases = $this->findSelfSiteAliases($data);
- $data = array_merge($data, $selfSiteAliases);
- return $data;
- }
-
- /**
- * Given an array of site aliases, find the first one that is
- * local (has no 'host' item) and also contains a 'self.site.yml' file.
- * @param array $data
- * @return array
- */
- protected function findSelfSiteAliases($site_aliases)
- {
- foreach ($site_aliases as $site => $data) {
- if (!isset($data['host']) && isset($data['root'])) {
- foreach (['.', '..'] as $relative_path) {
- $candidate = $data['root'] . '/' . $relative_path . '/drush/sites/self.site.yml';
- if (file_exists($candidate)) {
- return $this->loadData($candidate);
- }
- }
- }
- }
- return [];
- }
-
- /**
- * Load the contents of the specified file.
- *
- * @param string $path Path to file to load
- * @return array
- */
- protected function loadData($path)
- {
- if (empty($path) || !file_exists($path)) {
- return [];
- }
- $loader = $this->getLoader(pathinfo($path, PATHINFO_EXTENSION));
- if (!$loader) {
- return [];
- }
- return $loader->load($path);
- }
-
- /**
- * @return DataFileLoaderInterface
- */
- public function getLoader($extension)
- {
- if (!isset($this->loader[$extension])) {
- return null;
- }
- return $this->loader[$extension];
- }
-
- public function addLoader($extension, DataFileLoaderInterface $loader)
- {
- $this->loader[$extension] = $loader;
- }
-
- /**
- * Given an array containing site alias data, return an alias record
- * containing the data for the requested record. If there is a 'common'
- * section, then merge that in as well.
- *
- * @param SiteAliasName $aliasName the alias we are loading
- * @param array $data
- *
- * @return AliasRecord|false
- */
- protected function fetchAliasRecordFromSiteAliasData(SiteAliasName $aliasName, ConfigProcessor $processor, array $data)
- {
- $data = $this->adjustIfSingleAlias($data);
- $env = $this->getEnvironmentName($aliasName, $data);
- $env_data = $this->getRequestedEnvData($data, $env);
- if (!$env_data) {
- return false;
- }
-
- // Add the 'common' section if it exists.
- if ($this->siteEnvExists($data, 'common')) {
- $processor->add($data['common']);
- }
-
- // Then add the data from the desired environment.
- $processor->add($env_data);
-
- // Export the combined data and create an AliasRecord object to manage it.
- return new AliasRecord($processor->export($this->referenceData + ['env-name' => $env]), '@' . $aliasName->sitenameWithLocation(), $env);
- }
-
- /**
- * getRequestedEnvData fetches the data for the specified environment
- * from the provided site record data.
- *
- * @param array $data The site alias data
- * @param string $env The name of the environment desired
- * @return array|false
- */
- protected function getRequestedEnvData(array $data, $env)
- {
- // If the requested environment exists, we will use it.
- if ($this->siteEnvExists($data, $env)) {
- return $data[$env];
- }
-
- // If there is a wildcard environment, then return that instead.
- if ($this->siteEnvExists($data, '*')) {
- return $data['*'];
- }
-
- return false;
- }
-
- /**
- * Determine whether there is a valid-looking environment '$env' in the
- * provided site alias data.
- *
- * @param array $data
- * @param string $env
- * @return bool
- */
- protected function siteEnvExists(array $data, $env)
- {
- return (
- is_array($data) &&
- isset($data[$env]) &&
- is_array($data[$env])
- );
- }
-
- /**
- * Adjust the alias data for a single-site alias. Usually, a .yml alias
- * file will contain multiple entries, one for each of the environments
- * of an alias. If there are no environments
- *
- * @param array $data
- * @return array
- */
- protected function adjustIfSingleAlias($data)
- {
- if (!$this->detectSingleAlias($data)) {
- return $data;
- }
-
- $result = [
- 'default' => $data,
- ];
-
- return $result;
- }
-
- /**
- * A single-environment alias looks something like this:
- *
- * ---
- * root: /path/to/drupal
- * uri: https://mysite.org
- *
- * A multiple-environment alias looks something like this:
- *
- * ---
- * default: dev
- * dev:
- * root: /path/to/dev
- * uri: https://dev.mysite.org
- * stage:
- * root: /path/to/stage
- * uri: https://stage.mysite.org
- *
- * The differentiator between these two is that the multi-environment
- * alias always has top-level elements that are associative arrays, and
- * the single-environment alias never does.
- *
- * @param array $data
- * @return bool
- */
- protected function detectSingleAlias($data)
- {
- foreach ($data as $key => $value) {
- if (is_array($value) && DotAccessDataUtil::isAssoc($value)) {
- return false;
- }
- }
- return true;
- }
-
- /**
- * Return the name of the environment requested.
- *
- * @param SiteAliasName $aliasName the alias we are loading
- * @param array $data
- *
- * @return string
- */
- protected function getEnvironmentName(SiteAliasName $aliasName, array $data)
- {
- // If the alias name specifically mentions the environment
- // to use, then return it.
- if ($aliasName->hasEnv()) {
- return $aliasName->env();
- }
- return $this->getDefaultEnvironmentName($data);
- }
-
- /**
- * Given a data array containing site alias environments, determine which
- * envirionmnet should be used as the default environment.
- *
- * @param array $data
- * @return string
- */
- protected function getDefaultEnvironmentName(array $data)
- {
- // If there is an entry named 'default', it will either contain the
- // name of the environment to use by default, or it will itself be
- // the default environment.
- if (isset($data['default'])) {
- return is_array($data['default']) ? 'default' : $data['default'];
- }
- // If there is an environment named 'dev', it will be our default.
- if (isset($data['dev'])) {
- return 'dev';
- }
- // If we don't know which environment to use, just take the first one.
- $keys = array_keys($data);
- return reset($keys);
- }
-}
diff --git a/vendor/consolidation/site-alias/src/SiteAliasManager.php b/vendor/consolidation/site-alias/src/SiteAliasManager.php
deleted file mode 100644
index 2efce6bbc..000000000
--- a/vendor/consolidation/site-alias/src/SiteAliasManager.php
+++ /dev/null
@@ -1,214 +0,0 @@
-aliasLoader = $aliasLoader ?: new SiteAliasFileLoader();
- $this->specParser = new SiteSpecParser();
- $this->selfAliasRecord = new AliasRecord();
- $this->root = $root;
- }
-
- /**
- * Allow configuration data to be used in replacements in the alias file.
- */
- public function setReferenceData($data)
- {
- $this->aliasLoader->setReferenceData($data);
- return $this;
- }
-
- /**
- * Inject the root of the selected site
- *
- * @param string $root
- * @return $this
- */
- public function setRoot($root)
- {
- $this->root = $root;
- return $this;
- }
-
- /**
- * Add a search location to our site alias discovery object.
- *
- * @param string $path
- *
- * @return $this
- */
- public function addSearchLocation($path)
- {
- $this->aliasLoader->discovery()->addSearchLocation($path);
- return $this;
- }
-
- /**
- * Add search locations to our site alias discovery object.
- *
- * @param array $paths Any path provided in --alias-path option
- * or drush.path.alias-path configuration item.
- *
- * @return $this
- */
- public function addSearchLocations(array $paths)
- {
- foreach ($paths as $path) {
- $this->aliasLoader->discovery()->addSearchLocation($path);
- }
- return $this;
- }
-
- /**
- * Return all of the paths where alias files may be found.
- * @return string[]
- */
- public function searchLocations()
- {
- return $this->aliasLoader->discovery()->searchLocations();
- }
-
- /**
- * Get an alias record by name, or convert a site specification
- * into an alias record via the site alias spec parser. If a
- * simple alias name is provided (e.g. '@alias'), it is interpreted
- * as a sitename, and the default environment for that site is returned.
- *
- * @param string $name Alias name or site specification
- *
- * @return AliasRecord|false
- */
- public function get($name)
- {
- if (SiteAliasName::isAliasName($name)) {
- return $this->getAlias($name);
- }
-
- if ($this->specParser->validSiteSpec($name)) {
- return new AliasRecord($this->specParser->parse($name, $this->root), $name);
- }
-
- return false;
- }
-
- /**
- * Get the '@self' alias record.
- *
- * @return AliasRecord
- */
- public function getSelf()
- {
- return $this->selfAliasRecord;
- }
-
- /**
- * Force-set the current @self alias.
- *
- * @param AliasRecord $selfAliasRecord
- * @return $this
- */
- public function setSelf(AliasRecord $selfAliasRecord)
- {
- $this->selfAliasRecord = $selfAliasRecord;
- $this->setRoot($selfAliasRecord->localRoot());
- return $this;
- }
-
- /**
- * Get an alias record from a name. Does not accept site specifications.
- *
- * @param string $aliasName alias name
- *
- * @return AliasRecord
- */
- public function getAlias($aliasName)
- {
- $aliasName = SiteAliasName::parse($aliasName);
-
- if ($aliasName->isSelf()) {
- return $this->getSelf();
- }
-
- if ($aliasName->isNone()) {
- return new AliasRecord([], '@none');
- }
-
- // Search through all search locations, load
- // matching and potentially-matching alias files,
- // and return the alias matching the provided name.
- return $this->aliasLoader->load($aliasName);
- }
-
- /**
- * Given a simple alias name, e.g. '@alias', returns all of the
- * environments in the specified site.
- *
- * If the provided name is a site specification et. al.,
- * then this method will return 'false'.
- *
- * @param string $name Alias name
- * @return AliasRecord[]|false
- */
- public function getMultiple($name = '')
- {
- if (empty($name)) {
- return $this->aliasLoader->loadAll();
- }
-
- if (!SiteAliasName::isAliasName($name)) {
- return false;
- }
-
- // Trim off the '@'
- $trimmedName = ltrim($name, '@');
-
- // If the provided name is a location, return all aliases there
- $result = $this->aliasLoader->loadLocation($trimmedName);
- if (!empty($result)) {
- return $result;
- }
-
- // If the provided name is a site, return all environments
- $result = $this->aliasLoader->loadMultiple($trimmedName);
- if (!empty($result)) {
- return $result;
- }
-
- // Special checking for @self
- if ($trimmedName == 'self') {
- $self = $this->getSelf();
- $result = array_merge(
- ['@self' => $self],
- $result
- );
- }
-
- return $result;
- }
-
- /**
- * Return the paths to all alias files in all search locations known
- * to the alias manager.
- *
- * @return string[]
- */
- public function listAllFilePaths($location = '')
- {
- return $this->aliasLoader->listAll($location);
- }
-}
diff --git a/vendor/consolidation/site-alias/src/SiteAliasManagerAwareInterface.php b/vendor/consolidation/site-alias/src/SiteAliasManagerAwareInterface.php
deleted file mode 100644
index 061b5af43..000000000
--- a/vendor/consolidation/site-alias/src/SiteAliasManagerAwareInterface.php
+++ /dev/null
@@ -1,23 +0,0 @@
-siteAliasManager = $siteAliasManager;
- }
-
- /**
- * @return SiteAliasManager
- */
- public function siteAliasManager()
- {
- return $this->siteAliasManager;
- }
-
- /**
- * @inheritdoc
- */
- public function hasSiteAliasManager()
- {
- return isset($this->siteAliasManager);
- }
-}
diff --git a/vendor/consolidation/site-alias/src/SiteAliasName.php b/vendor/consolidation/site-alias/src/SiteAliasName.php
deleted file mode 100644
index d8aa32ec2..000000000
--- a/vendor/consolidation/site-alias/src/SiteAliasName.php
+++ /dev/null
@@ -1,342 +0,0 @@
-doParse($item);
- return $aliasName;
- }
-
- /**
- * The 'location' of an alias file is defined as being the name
- * of the immediate parent of the alias file. e.g. the path
- * '$HOME/.drush/sites/isp/mysite.site.yml' would have a location
- * of 'isp' and a sitename of 'mysite'. The environments of the site
- * are defined by the alias contents.
- *
- * @param type $path
- * @return type
- */
- public static function locationFromPath($path)
- {
- $location = ltrim(basename(dirname($path)), '.');
- if (($location === 'sites') || ($location === 'drush')) {
- return '';
- }
- return $location;
- }
-
- /**
- * Creae a SiteAliasName object from an alias name string.
- *
- * @param string $sitename The alias name for the site.
- * @param string $env The name for the site's environment.
- * @param string $location The location filter for the site.
- */
- public function __construct($sitename = null, $env = null, $location = null)
- {
- $this->location = $location;
- $this->sitename = $sitename;
- $this->env = $env;
- }
-
- /**
- * Convert an alias name back to a string.
- *
- * @return string
- */
- public function __toString()
- {
- $parts = [ $this->sitename() ];
- if ($this->hasLocation()) {
- array_unshift($parts, $this->location());
- }
- if ($this->hasEnv()) {
- $parts[] = $this->env();
- }
- return '@' . implode('.', $parts);
- }
-
- /**
- * Determine whether or not the provided name is an alias name.
- *
- * @param string $aliasName
- * @return bool
- */
- public static function isAliasName($aliasName)
- {
- // Alias names provided by users must begin with '@'
- if (empty($aliasName) || ($aliasName[0] != '@')) {
- return false;
- }
- return preg_match(self::ALIAS_NAME_REGEX, $aliasName);
- }
-
- /**
- * Return the sitename portion of the alias name. By definition,
- * every alias must have a sitename. If the site name is implicit,
- * then 'self' is assumed.
- *
- * @return string
- */
- public function sitename()
- {
- if (empty($this->sitename)) {
- return 'self';
- }
- return $this->sitename;
- }
-
- /**
- * Return the sitename portion of the alias name. By definition,
- * every alias must have a sitename. If the site name is implicit,
- * then 'self' is assumed.
- *
- * @return string
- */
- public function sitenameWithLocation()
- {
- if (empty($this->sitename)) {
- return 'self';
- }
- return (empty($this->location) ? '' : $this->location . '.') . $this->sitename;
- }
-
- /**
- * Set the sitename portion of the alias name
- *
- * @param string $sitename
- */
- public function setSitename($sitename)
- {
- $this->sitename = $sitename;
- return $this;
- }
-
- /**
- * In general, all aliases have a sitename. The time when one will not
- * is when an environment name `@env` is used as a shortcut for `@self.env`
- *
- * @return bool
- */
- public function hasSitename()
- {
- return !empty($this->sitename);
- }
-
- /**
- * Return true if this alias name contains an 'env' portion.
- *
- * @return bool
- */
- public function hasEnv()
- {
- return !empty($this->env);
- }
-
- /**
- * Set the environment portion of the alias name.
- *
- * @param string
- */
- public function setEnv($env)
- {
- $this->env = $env;
- return $this;
- }
-
- /**
- * Return the 'env' portion of the alias name.
- *
- * @return string
- */
- public function env()
- {
- return $this->env;
- }
-
- /**
- * Return true if this alias name contains a 'location' portion
- * @return bool
- */
- public function hasLocation()
- {
- return !empty($this->location);
- }
-
- /**
- * Set the 'loation' portion of the alias name.
- * @param string $location
- */
- public function setLocation($location)
- {
- $this->location = $location;
- return $this;
- }
-
- /**
- * Return the 'location' portion of the alias name.
- *
- * @param string
- */
- public function location()
- {
- return $this->location;
- }
-
- /**
- * Return true if this alias name is the 'self' alias.
- *
- * @return bool
- */
- public function isSelf()
- {
- return ($this->sitename == 'self') && !isset($this->env);
- }
-
- /**
- * Return true if this alias name is the 'none' alias.
- */
- public function isNone()
- {
- return ($this->sitename == 'none') && !isset($this->env);
- }
-
- /**
- * Convert the parts of an alias name to its various component parts.
- *
- * @param string $aliasName a string representation of an alias name.
- */
- protected function doParse($aliasName)
- {
- // Example contents of $matches:
- //
- // - a.b:
- // [
- // 0 => 'a.b',
- // 1 => 'a',
- // 2 => '.b',
- // ]
- //
- // - a:
- // [
- // 0 => 'a',
- // 1 => 'a',
- // ]
- if (!preg_match(self::ALIAS_NAME_REGEX, $aliasName, $matches)) {
- return false;
- }
-
- // Get rid of $matches[0]
- array_shift($matches);
-
- // If $matches contains only one item1, then assume the alias name
- // contains only the environment.
- if (count($matches) == 1) {
- return $this->processSingleItem($matches[0]);
- }
-
- // If there are three items, then the first is the location.
- if (count($matches) == 3) {
- $this->location = trim(array_shift($matches), '.');
- }
-
- // The sitename and env follow the location.
- $this->sitename = trim(array_shift($matches), '.');
- $this->env = trim(array_shift($matches), '.');
- return true;
- }
-
- /**
- * Process an alias name provided as '@sitename'.
- *
- * @param string $sitename
- * @return true
- */
- protected function processSingleItem($item)
- {
- if ($this->isSpecialAliasName($item)) {
- $this->setSitename($item);
- return true;
- }
- $this->sitename = '';
- $this->env = $item;
- return true;
- }
-
- /**
- * Determine whether the requested name is a special alias name.
- *
- * @param string $item
- * @return boolean
- */
- protected function isSpecialAliasName($item)
- {
- return ($item == 'self') || ($item == 'none');
- }
-}
diff --git a/vendor/consolidation/site-alias/src/SiteSpecParser.php b/vendor/consolidation/site-alias/src/SiteSpecParser.php
deleted file mode 100644
index c84ae77a4..000000000
--- a/vendor/consolidation/site-alias/src/SiteSpecParser.php
+++ /dev/null
@@ -1,234 +0,0 @@
-match($spec);
- return $this->fixAndCheckUsability($result, $root);
- }
-
- /**
- * Determine if the provided specification is valid. Note that this
- * tests only for syntactic validity; to see if the specification is
- * usable, call 'parse()', which will also filter out specifications
- * for local sites that specify a multidev site that does not exist.
- *
- * @param string $spec
- * @see parse()
- * @return bool
- */
- public function validSiteSpec($spec)
- {
- $result = $this->match($spec);
- return !empty($result);
- }
-
- /**
- * Determine whether or not the provided name is an alias name.
- *
- * @param string $aliasName
- * @return bool
- */
- public function isAliasName($aliasName)
- {
- return !empty($aliasName) && ($aliasName[0] == '@');
- }
-
- public function setMultisiteDirectoryRoot($location)
- {
- $this->multisiteDirectoryRoot = $location;
- }
-
- public function getMultisiteDirectoryRoot($root)
- {
- return $root . DIRECTORY_SEPARATOR . $this->multisiteDirectoryRoot;
- }
-
- /**
- * Return the set of regular expression patterns that match the available
- * site specification formats.
- *
- * @return array
- * key: site specification regex
- * value: an array mapping from site specification component names to
- * the elements in the 'matches' array containing the data for that element.
- */
- protected function patterns()
- {
- $PATH = '([a-zA-Z]:[/\\\\][^#]*|[/\\\\][^#]*)';
- $USER = '([a-zA-Z0-9\._-]+)';
- $SERVER = '([a-zA-Z0-9\._-]+)';
- $URI = '([a-zA-Z0-9_-]+)';
-
- return [
- // /path/to/drupal#uri
- "%^{$PATH}#{$URI}\$%" => [
- 'root' => 1,
- 'uri' => 2,
- ],
- // user@server/path/to/drupal#uri
- "%^{$USER}@{$SERVER}{$PATH}#{$URI}\$%" => [
- 'user' => 1,
- 'host' => 2,
- 'root' => 3,
- 'uri' => 4,
- ],
- // user@server/path/to/drupal
- "%^{$USER}@{$SERVER}{$PATH}\$%" => [
- 'user' => 1,
- 'host' => 2,
- 'root' => 3,
- 'uri' => 'default', // Or '2' if uri should be 'host'
- ],
- // user@server#uri
- "%^{$USER}@{$SERVER}#{$URI}\$%" => [
- 'user' => 1,
- 'host' => 2,
- 'uri' => 3,
- ],
- // #uri
- "%^#{$URI}\$%" => [
- 'uri' => 1,
- ],
- ];
- }
-
- /**
- * Run through all of the available regex patterns and determine if
- * any match the provided specification.
- *
- * @return array
- * @see parse()
- */
- protected function match($spec)
- {
- foreach ($this->patterns() as $regex => $map) {
- if (preg_match($regex, $spec, $matches)) {
- return $this->mapResult($map, $matches);
- }
- }
- return [];
- }
-
- /**
- * Inflate the provided array so that it always contains the required
- * elements.
- *
- * @return array
- * @see parse()
- */
- protected function defaults($result = [])
- {
- $result += [
- 'root' => '',
- 'uri' => '',
- ];
-
- return $result;
- }
-
- /**
- * Take the data from the matches from the regular expression and
- * plug them into the result array per the info in the provided map.
- *
- * @param array $map
- * An array mapping from result key to matches index.
- * @param array $matches
- * The matched strings returned from preg_match
- * @return array
- * @see parse()
- */
- protected function mapResult($map, $matches)
- {
- $result = [];
-
- foreach ($map as $key => $index) {
- $value = is_string($index) ? $index : $matches[$index];
- $result[$key] = $value;
- }
-
- if (empty($result)) {
- return [];
- }
-
- return $this->defaults($result);
- }
-
- /**
- * Validate the provided result. If the result is local, then it must
- * have a 'root'. If it does not, then fill in the root that was provided
- * to us in our consturctor.
- *
- * @param array $result
- * @see parse() result.
- * @return array
- * @see parse()
- */
- protected function fixAndCheckUsability($result, $root)
- {
- if (empty($result) || !empty($result['host'])) {
- return $result;
- }
-
- if (empty($result['root'])) {
- // TODO: should these throw an exception, so the user knows
- // why their site spec was invalid?
- if (empty($root) || !is_dir($root)) {
- return [];
- }
-
- $result['root'] = $root;
- }
-
- // If using a sitespec `#uri`, then `uri` MUST
- // be the name of a folder that exists in __DRUPAL_ROOT__/sites.
- // This restriction does NOT apply to the --uri option. Are there
- // instances where we need to allow 'uri' to be a literal uri
- // rather than the folder name? If so, we need to loosen this check.
- // I think it's fine as it is, though.
- $path = $this->getMultisiteDirectoryRoot($result['root']) . DIRECTORY_SEPARATOR . $result['uri'];
- if (!is_dir($path)) {
- return [];
- }
-
- return $result;
- }
-}
diff --git a/vendor/consolidation/site-alias/src/Util/FsUtils.php b/vendor/consolidation/site-alias/src/Util/FsUtils.php
deleted file mode 100644
index b5741f290..000000000
--- a/vendor/consolidation/site-alias/src/Util/FsUtils.php
+++ /dev/null
@@ -1,26 +0,0 @@
-commandClasses = [ \Consolidation\SiteAlias\Cli\SiteAliasCommands::class ];
-
- // Define our invariants for our test
- $this->appName = 'TestFixtureApp';
- $this->appVersion = '1.0.1';
- }
-
- /**
- * Data provider for testExample.
- *
- * Return an array of arrays, each of which contains the parameter
- * values to be used in one invocation of the testExample test function.
- */
- public function exampleTestCommandParameters()
- {
- return [
-
- [
- 'Add search location: /fixtures/sitealiases/sites', self::STATUS_ERROR,
- 'site:list', '/fixtures/sitealiases/sites',
- ],
-
- [
- 'List available site aliases', self::STATUS_OK,
- 'list',
- ],
-
- ];
- }
-
- /**
- * Test our example class. Each time this function is called, it will
- * be passed data from the data provider function idendified by the
- * dataProvider annotation.
- *
- * @dataProvider exampleTestCommandParameters
- */
- public function testExampleCommands($expectedOutput, $expectedStatus, $variable_args)
- {
- // Create our argv array and run the command
- $argv = $this->argv(func_get_args());
- list($actualOutput, $statusCode) = $this->execute($argv);
-
- // Confirm that our output and status code match expectations
- $this->assertContains($expectedOutput, $actualOutput);
- $this->assertEquals($expectedStatus, $statusCode);
- }
-
- /**
- * Prepare our $argv array; put the app name in $argv[0] followed by
- * the command name and all command arguments and options.
- */
- protected function argv($functionParameters)
- {
- $argv = $functionParameters;
- array_shift($argv);
- array_shift($argv);
- array_unshift($argv, $this->appName);
-
- // TODO: replace paths beginning with '/fixtures' with actual path to fixture data
-
- return $argv;
- }
-
- /**
- * Simulated front controller
- */
- protected function execute($argv)
- {
- // Define a global output object to capture the test results
- $output = new BufferedOutput();
-
- // We can only call `Runner::execute()` once; then we need to tear down.
- $runner = new \Robo\Runner($this->commandClasses);
- $statusCode = $runner->execute($argv, $this->appName, $this->appVersion, $output);
- \Robo\Robo::unsetContainer();
-
- // Return the output and status code.
- $actualOutput = trim($output->fetch());
- return [$actualOutput, $statusCode];
- }
-}
diff --git a/vendor/consolidation/site-alias/tests/SiteAliasFileDiscoveryTest.php b/vendor/consolidation/site-alias/tests/SiteAliasFileDiscoveryTest.php
deleted file mode 100644
index 43021bb38..000000000
--- a/vendor/consolidation/site-alias/tests/SiteAliasFileDiscoveryTest.php
+++ /dev/null
@@ -1,70 +0,0 @@
-sut = new SiteAliasFileDiscovery();
- }
-
- public function testSearchForSingleAliasFile()
- {
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/sites');
-
- $path = $this->sut->findSingleSiteAliasFile('single');
- $this->assertLocation('sites', $path);
- $this->assertBasename('single.site.yml', $path);
- }
-
- public function testSearchForMissingSingleAliasFile()
- {
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/sites');
-
- $path = $this->sut->findSingleSiteAliasFile('missing');
- $this->assertFalse($path);
- }
-
- public function testFindAllLegacyAliasFiles()
- {
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/legacy');
-
- $result = $this->sut->findAllLegacyAliasFiles();
- $paths = $this->simplifyToBasenamesWithLocation($result);
- $this->assertEquals('legacy/aliases.drushrc.php,legacy/cc.aliases.drushrc.php,legacy/one.alias.drushrc.php,legacy/pantheon.aliases.drushrc.php,legacy/server.aliases.drushrc.php', implode(',', $paths));
- }
-
- protected function assertLocation($expected, $path)
- {
- $this->assertEquals($expected, basename(dirname($path)));
- }
-
- protected function assertBasename($expected, $path)
- {
- $this->assertEquals($expected, basename($path));
- }
-
- protected function simplifyToBasenamesWithLocation($result)
- {
- if (!is_array($result)) {
- return $result;
- }
-
- $result = array_map(
- function ($item) {
- return basename(dirname($item)) . '/' . basename($item);
- }
- ,
- $result
- );
-
- sort($result);
-
- return $result;
- }
-}
diff --git a/vendor/consolidation/site-alias/tests/SiteAliasFileLoaderTest.php b/vendor/consolidation/site-alias/tests/SiteAliasFileLoaderTest.php
deleted file mode 100644
index 97dac13e8..000000000
--- a/vendor/consolidation/site-alias/tests/SiteAliasFileLoaderTest.php
+++ /dev/null
@@ -1,165 +0,0 @@
-sut = new SiteAliasFileLoader();
-
- $ymlLoader = new YamlDataFileLoader();
- $this->sut->addLoader('yml', $ymlLoader);
- }
-
- public function testLoadWildAliasFile()
- {
- $siteAliasFixtures = $this->fixturesDir() . '/sitealiases/sites';
- $this->assertTrue(is_dir($siteAliasFixtures));
- $this->assertTrue(is_file($siteAliasFixtures . '/wild.site.yml'));
-
- $this->sut->addSearchLocation($siteAliasFixtures);
-
- // Try to get the dev environment.
- $name = SiteAliasName::parse('@wild.dev');
- $result = $this->callProtected('loadSingleAliasFile', [$name]);
- $this->assertTrue($result instanceof AliasRecord);
- $this->assertEquals('/path/to/wild', $result->get('root'));
- $this->assertEquals('bar', $result->get('foo'));
-
- // Try to fetch an environment that does not exist. Since this is
- // a wildcard alias, there should
- $name = SiteAliasName::parse('@wild.other');
- $result = $this->callProtected('loadSingleAliasFile', [$name]);
- $this->assertTrue($result instanceof AliasRecord);
- $this->assertEquals('/wild/path/to/wild', $result->get('root'));
- $this->assertEquals('bar', $result->get('foo'));
-
- }
-
- public function testLoadSingleAliasFile()
- {
- $siteAliasFixtures = $this->fixturesDir() . '/sitealiases/sites';
- $this->assertTrue(is_dir($siteAliasFixtures));
- $this->assertTrue(is_file($siteAliasFixtures . '/simple.site.yml'));
- $this->assertTrue(is_file($siteAliasFixtures . '/single.site.yml'));
-
- $this->sut->addSearchLocation($siteAliasFixtures);
-
- // Add a secondary location
- $siteAliasFixtures = $this->fixturesDir() . '/sitealiases/other';
- $this->assertTrue(is_dir($siteAliasFixtures));
- $this->sut->addSearchLocation($siteAliasFixtures);
-
- // Look for a simple alias with no environments defined
- $name = new SiteAliasName('simple');
- $this->assertEquals('simple', $name->sitename());
- $result = $this->callProtected('loadSingleAliasFile', [$name]);
- $this->assertTrue($result instanceof AliasRecord);
- $this->assertEquals('/path/to/simple', $result->get('root'));
-
- // Look for a single alias without an environment specified.
- $name = new SiteAliasName('single');
- $this->assertEquals('single', $name->sitename());
- $result = $this->callProtected('loadSingleAliasFile', [$name]);
- $this->assertTrue($result instanceof AliasRecord);
- $this->assertEquals('/path/to/single', $result->get('root'));
- $this->assertEquals('bar', $result->get('foo'));
-
- // Same test, but with environment explicitly requested.
- $name = SiteAliasName::parse('@single.alternate');
- $result = $this->callProtected('loadSingleAliasFile', [$name]);
- $this->assertTrue($result instanceof AliasRecord);
- $this->assertEquals('/alternate/path/to/single', $result->get('root'));
- $this->assertEquals('bar', $result->get('foo'));
-
- // Same test, but with location explicitly filtered.
- $name = SiteAliasName::parse('@other.single.dev');
- $result = $this->callProtected('loadSingleAliasFile', [$name]);
- $this->assertTrue($result instanceof AliasRecord);
- $this->assertEquals('/other/path/to/single', $result->get('root'));
- $this->assertEquals('baz', $result->get('foo'));
-
- // Try to fetch an alias that does not exist.
- $name = SiteAliasName::parse('@missing');
- $result = $this->callProtected('loadSingleAliasFile', [$name]);
- $this->assertFalse($result);
-
- // Try to fetch an alias using a missing location
- $name = SiteAliasName::parse('@missing.single.alternate');
- $result = $this->callProtected('loadSingleAliasFile', [$name]);
- $this->assertFalse($result);
- }
-
- public function testLoadLegacy()
- {
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/legacy');
- }
-
- public function testLoad()
- {
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/sites');
-
- // Look for a simple alias with no environments defined
- $name = new SiteAliasName('simple');
- $result = $this->sut->load($name);
- $this->assertTrue($result instanceof AliasRecord);
- $this->assertEquals('/path/to/simple', $result->get('root'));
-
- // Look for a single alias without an environment specified.
- $name = new SiteAliasName('single');
- $result = $this->sut->load($name);
- $this->assertTrue($result instanceof AliasRecord);
- $this->assertEquals('/path/to/single', $result->get('root'));
- $this->assertEquals('bar', $result->get('foo'));
-
- // Same test, but with environment explicitly requested.
- $name = new SiteAliasName('single', 'alternate');
- $result = $this->sut->load($name);
- $this->assertTrue($result instanceof AliasRecord);
- $this->assertEquals('/alternate/path/to/single', $result->get('root'));
- $this->assertEquals('bar', $result->get('foo'));
-
- // Try to fetch an alias that does not exist.
- $name = new SiteAliasName('missing');
- $result = $this->sut->load($name);
- $this->assertFalse($result);
-
- // Try to fetch an alias that does not exist.
- $name = new SiteAliasName('missing');
- $result = $this->sut->load($name);
- $this->assertFalse($result);
- }
-
- public function testLoadAll()
- {
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/sites');
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/other');
-
- $all = $this->sut->loadAll();
- $this->assertEquals('@other.bob.dev,@other.bob.other,@other.fred.dev,@other.fred.other,@other.single.dev,@other.single.other,@single.alternate,@single.dev,@single.empty,@wild.*,@wild.dev', implode(',', array_keys($all)));
- }
-
- public function testLoadMultiple()
- {
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/sites');
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/other');
-
- $aliases = $this->sut->loadMultiple('single');
- $this->assertEquals('@single.dev,@single.alternate,@single.empty,@other.single.dev,@other.single.other', implode(',', array_keys($aliases)));
- }
-
- public function testLoadLocation()
- {
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/sites');
- $this->sut->addSearchLocation($this->fixturesDir() . '/sitealiases/other');
-
- $aliases = $this->sut->loadLocation('other');
- $this->assertEquals('@other.bob.dev,@other.bob.other,@other.fred.dev,@other.fred.other,@other.single.dev,@other.single.other', implode(',', array_keys($aliases)));
- }
-}
diff --git a/vendor/consolidation/site-alias/tests/SiteAliasManagerTest.php b/vendor/consolidation/site-alias/tests/SiteAliasManagerTest.php
deleted file mode 100644
index 00ac33a51..000000000
--- a/vendor/consolidation/site-alias/tests/SiteAliasManagerTest.php
+++ /dev/null
@@ -1,215 +0,0 @@
-siteDir();
- $referenceData = [];
- $siteAliasFixtures = $this->fixturesDir() . '/sitealiases/sites';
-
- $aliasLoader = new SiteAliasFileLoader();
- $ymlLoader = new YamlDataFileLoader();
- $aliasLoader->addLoader('yml', $ymlLoader);
-
- $this->manager = new SiteAliasManager($aliasLoader, $root);
- $this->manager
- ->setReferenceData($referenceData)
- ->addSearchLocation($siteAliasFixtures);
- }
-
- public function managerGetTestValues()
- {
- return [
- [
- '@single.other', false,
- ],
-
- [
- '@other.single.other', false,
- ],
-
- [
- '@single.dev', 'foo: bar
-root: /path/to/single',
- ],
-
- ];
- }
-
- public function managerGetWithOtherLocationTestValues()
- {
- return [
- [
- '@single.other', false,
- ],
-
- [
- '@other.single.other', 'foo: baz
-root: /other/other/path/to/single',
- ],
-
- [
- '@single.dev', 'foo: bar
-root: /path/to/single',
- ],
-
- ];
- }
-
- public function managerGetWithDupLocationsTestValues()
- {
- return [
- [
- '@single.dev', 'foo: bar
-root: /path/to/single',
- ],
-
- [
- '@other.single.dev', 'foo: baz
-root: /other/path/to/single',
- ],
-
- [
- '@dup.single.dev', 'foo: dup
-root: /dup/path/to/single',
- ],
-
- ];
- }
-
- /**
- * This test is just to ensure that our fixture data is being loaded
- * accurately so that we can start writing tests. Its okay to remove
- * rather than maintain this test once the suite is mature.
- */
- public function testGetMultiple()
- {
- // First set of tests: get all aliases in the default location
-
- $all = $this->manager->getMultiple();
- $allNames = array_keys($all);
- sort($allNames);
-
- $this->assertEquals('@single.alternate,@single.dev,@single.empty,@wild.*,@wild.dev', implode(',', $allNames));
-
- $all = $this->manager->getMultiple('@single');
- $allNames = array_keys($all);
- sort($allNames);
-
- $this->assertEquals('@single.alternate,@single.dev,@single.empty', implode(',', $allNames));
-
- // Next set of tests: Get all aliases in the 'other' location
-
- $this->addAlternateLocation('other');
-
- $all = $this->manager->getMultiple();
- $allNames = array_keys($all);
- sort($allNames);
-
- $this->assertEquals('@other.bob.dev,@other.bob.other,@other.fred.dev,@other.fred.other,@other.single.dev,@other.single.other,@single.alternate,@single.dev,@single.empty,@wild.*,@wild.dev', implode(',', $allNames));
-
- $all = $this->manager->getMultiple('@other');
- $allNames = array_keys($all);
- sort($allNames);
-
- $this->assertEquals('@other.bob.dev,@other.bob.other,@other.fred.dev,@other.fred.other,@other.single.dev,@other.single.other', implode(',', $allNames));
-
- // Add the 'dup' location and do some more tests
-
- $this->addAlternateLocation('dup');
-
- $all = $this->manager->getMultiple();
- $allNames = array_keys($all);
- sort($allNames);
-
- $this->assertEquals('@dup.bob.dev,@dup.bob.other,@dup.fred.dev,@dup.fred.other,@dup.single.alternate,@dup.single.dev,@other.bob.dev,@other.bob.other,@other.fred.dev,@other.fred.other,@other.single.dev,@other.single.other,@single.alternate,@single.dev,@single.empty,@wild.*,@wild.dev', implode(',', $allNames));
-
- $all = $this->manager->getMultiple('@dup');
- $allNames = array_keys($all);
- sort($allNames);
-
- $this->assertEquals('@dup.bob.dev,@dup.bob.other,@dup.fred.dev,@dup.fred.other,@dup.single.alternate,@dup.single.dev', implode(',', $allNames));
-
- $all = $this->manager->getMultiple('@other');
- $allNames = array_keys($all);
- sort($allNames);
-
- $this->assertEquals('@other.bob.dev,@other.bob.other,@other.fred.dev,@other.fred.other,@other.single.dev,@other.single.other', implode(',', $allNames));
-
- $all = $this->manager->getMultiple('@dup.single');
- $allNames = array_keys($all);
- sort($allNames);
-
- $this->assertEquals('@dup.single.alternate,@dup.single.dev', implode(',', $allNames));
-
- $all = $this->manager->getMultiple('@other.single');
- $allNames = array_keys($all);
- sort($allNames);
-
- $this->assertEquals('@other.single.dev,@other.single.other', implode(',', $allNames));
- }
-
- /**
- * @dataProvider managerGetTestValues
- */
- public function testGet(
- $aliasName,
- $expected)
- {
- $alias = $this->manager->get($aliasName);
- $actual = $this->renderAlias($alias);
- $this->assertEquals($expected, $actual);
- }
-
- /**
- * @dataProvider managerGetWithOtherLocationTestValues
- */
- public function testGetWithOtherLocation(
- $aliasName,
- $expected)
- {
- $this->addAlternateLocation('other');
- $this->testGet($aliasName, $expected);
- }
-
- /**
- * @dataProvider managerGetWithDupLocationsTestValues
- */
- public function testGetWithDupLocations(
- $aliasName,
- $expected)
- {
- $this->addAlternateLocation('dup');
- $this->testGetWithOtherLocation($aliasName, $expected);
- }
-
- protected function addAlternateLocation($fixtureDirName)
- {
- // Add another search location IN ADDITION to the one
- // already added in the setup() mehtod.
- $siteAliasFixtures = $this->fixturesDir() . '/sitealiases/' . $fixtureDirName;
- $this->manager->addSearchLocation($siteAliasFixtures);
- }
-
- protected function renderAlias($alias)
- {
- if (!$alias) {
- return false;
- }
-
- return trim(Yaml::Dump($alias->export()));
- }
-}
diff --git a/vendor/consolidation/site-alias/tests/SiteAliasNameTest.php b/vendor/consolidation/site-alias/tests/SiteAliasNameTest.php
deleted file mode 100644
index 3c3d3cb03..000000000
--- a/vendor/consolidation/site-alias/tests/SiteAliasNameTest.php
+++ /dev/null
@@ -1,49 +0,0 @@
-assertFalse($name->hasLocation());
- $this->assertTrue(!$name->hasSitename());
- $this->assertTrue($name->hasEnv());
- $this->assertEquals('simple', $name->env());
- $this->assertEquals('@self.simple', (string)$name);
-
- // Test a non-ambiguous sitename.env alias.
- $name = SiteAliasName::parse('@site.env');
- $this->assertFalse($name->hasLocation());
- $this->assertTrue($name->hasSitename());
- $this->assertTrue($name->hasEnv());
- $this->assertEquals('site', $name->sitename());
- $this->assertEquals('env', $name->env());
- $this->assertEquals('@site.env', (string)$name);
-
- // Test a non-ambiguous location.sitename.env alias.
- $name = SiteAliasName::parse('@location.site.env');
- $this->assertTrue($name->hasLocation());
- $this->assertTrue($name->hasSitename());
- $this->assertTrue($name->hasEnv());
- $this->assertEquals('location', $name->location());
- $this->assertEquals('site', $name->sitename());
- $this->assertEquals('env', $name->env());
- $this->assertEquals('@location.site.env', (string)$name);
-
- // Test an invalid alias - bad character
- $name = SiteAliasName::parse('!site.env');
- $this->assertFalse($name->hasLocation());
- $this->assertFalse($name->hasSitename());
- $this->assertFalse($name->hasEnv());
-
- // Test an invalid alias - too many separators
- $name = SiteAliasName::parse('@location.group.site.env');
- $this->assertFalse($name->hasLocation());
- $this->assertFalse($name->hasSitename());
- $this->assertFalse($name->hasEnv());
- }
-}
diff --git a/vendor/consolidation/site-alias/tests/SiteSpecParserTest.php b/vendor/consolidation/site-alias/tests/SiteSpecParserTest.php
deleted file mode 100644
index a158a2284..000000000
--- a/vendor/consolidation/site-alias/tests/SiteSpecParserTest.php
+++ /dev/null
@@ -1,177 +0,0 @@
-siteDir();
- $fixtureSite = '/' . basename($root);
- $parser = new SiteSpecParser();
-
- // If the test spec begins with '/fixtures', substitute the
- // actual path to our fixture site.
- $spec = preg_replace('%^/fixtures%', $root, $spec);
-
- // Make sure that our spec is valid
- $this->assertTrue($parser->validSiteSpec($spec));
-
- // Parse it!
- $result = $parser->parse($spec, $root);
-
- // If the result contains the path to our fixtures site, replace
- // it with the simple string '/fixtures'.
- if (isset($result['root'])) {
- $result['root'] = preg_replace("%.*$fixtureSite%", '/fixtures', $result['root']);
- }
-
- // Compare the altered result with the expected value.
- $this->assertEquals($expected, $result);
- }
-
- /**
- * @dataProvider validSiteSpecs
- */
- public function testValidSiteSpecs($spec)
- {
- $this->isSpecValid($spec, true);
- }
-
- /**
- * @dataProvider invalidSiteSpecs
- */
- public function testInvalidSiteSpecs($spec)
- {
- $this->isSpecValid($spec, false);
- }
-
- protected function isSpecValid($spec, $expected)
- {
- $parser = new SiteSpecParser();
-
- $result = $parser->validSiteSpec($spec);
- $this->assertEquals($expected, $result);
- }
-
- public static function validSiteSpecs()
- {
- return [
- [ '/path/to/drupal#uri' ],
- [ 'user@server/path/to/drupal#uri' ],
- [ 'user.name@example.com/path/to/drupal#uri' ],
- [ 'user@server/path/to/drupal' ],
- [ 'user@example.com/path/to/drupal' ],
- [ 'user@server#uri' ],
- [ 'user@example.com#uri' ],
- [ '#uri' ],
- ];
- }
-
- public static function invalidSiteSpecs()
- {
- return [
- [ 'uri' ],
- [ '@/#' ],
- [ 'user@#uri' ],
- [ '@server/path/to/drupal#uri' ],
- [ 'user@server/path/to/drupal#' ],
- [ 'user@server/path/to/drupal#uri!' ],
- [ 'user@server/path/to/drupal##uri' ],
- [ 'user#server/path/to/drupal#uri' ],
- ];
- }
-
- public static function parserTestValues()
- {
- return [
- [
- 'user@server/path#somemultisite',
- [
- 'user' => 'user',
- 'host' => 'server',
- 'root' => '/path',
- 'uri' => 'somemultisite',
- ],
- ],
-
- [
- 'user.name@example.com/path#somemultisite',
- [
- 'user' => 'user.name',
- 'host' => 'example.com',
- 'root' => '/path',
- 'uri' => 'somemultisite',
- ],
- ],
-
- [
- 'user@server/path',
- [
- 'user' => 'user',
- 'host' => 'server',
- 'root' => '/path',
- 'uri' => 'default',
- ],
- ],
-
- [
- 'user.name@example.com/path',
- [
- 'user' => 'user.name',
- 'host' => 'example.com',
- 'root' => '/path',
- 'uri' => 'default',
- ],
- ],
-
- [
- '/fixtures#mymultisite',
- [
- 'root' => '/fixtures',
- 'uri' => 'mymultisite',
- ],
- ],
-
- [
- '#mymultisite',
- [
- 'root' => '/fixtures',
- 'uri' => 'mymultisite',
- ],
- ],
-
- [
- '/fixtures#somemultisite',
- [
- ],
- ],
-
- [
- '/path#somemultisite',
- [
- ],
- ],
-
- [
- '/path#mymultisite',
- [
- ],
- ],
-
- [
- '#somemultisite',
- [
- ],
- ],
- ];
- }
-}
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/dup/bob.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/dup/bob.site.yml
deleted file mode 100644
index d2aa6f36e..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/dup/bob.site.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-dev:
- root: /other/path/to/bob
-other:
- root: /other/other/path/to/bob
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/dup/fred.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/dup/fred.site.yml
deleted file mode 100644
index 377e2df40..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/dup/fred.site.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-dev:
- root: /other/path/to/fred
-other:
- root: /other/other/path/to/fred
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/dup/single.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/dup/single.site.yml
deleted file mode 100644
index eb4634b7b..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/dup/single.site.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-default: dev
-dev:
- root: /dup/path/to/single
-alternate:
- root: /dup/alternate/path/to/single
-common:
- foo: dup
-
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/aliases.drushrc.php b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/aliases.drushrc.php
deleted file mode 100644
index 09fad12d8..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/aliases.drushrc.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'example.com',
- 'root' => '/path/to/drupal',
-];
-
-$aliases['staging'] = [
- 'uri' => 'staging.example.com',
- 'root' => '/path/to/drupal',
-];
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/cc.aliases.drushrc.php b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/cc.aliases.drushrc.php
deleted file mode 100644
index c077dcced..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/cc.aliases.drushrc.php
+++ /dev/null
@@ -1,43 +0,0 @@
- '@server.digital-ocean',
- 'project-type' => 'live',
- 'root' => '/srv/www/couturecostume.com/htdocs',
- 'uri' => 'couturecostume.com',
- 'path-aliases' => array(
- '%dump-dir' => '/var/sql-dump/',
- ),
- 'target-command-specific' => array(
- 'sql-sync' => array(
- 'disable' => array('stage_file_proxy'),
- 'permission' => array(
- 'authenticated user' => array(
- 'remove' => array('access environment indicator'),
- ),
- 'anonymous user' => array(
- 'remove' => 'access environment indicator',
- ),
- ),
- ),
- ),
-);
-
-$aliases['update'] = array (
- 'parent' => '@server.nitrogen',
- 'root' => '/srv/www/update.couturecostume.com/htdocs',
- 'uri' => 'update.couturecostume.com',
- 'target-command-specific' => array(
- 'sql-sync' => array(
- 'enable' => array('environment_indicator', 'stage_file_proxy'),
- 'permission' => array(
- 'authenticated user' => array(
- 'add' => array('access environment indicator'),
- ),
- 'anonymous user' => array(
- 'add' => 'access environment indicator',
- ),
- ),
- ),
- ),
-);
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/do-not-find-me.php b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/do-not-find-me.php
deleted file mode 100644
index 0cb51f9c0..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/do-not-find-me.php
+++ /dev/null
@@ -1,3 +0,0 @@
- 'test-outlandish-josh.pantheonsite.io',
- 'db-url' => 'mysql://pantheon:pw@dbserver.test.site-id.drush.in:11621/pantheon',
- 'db-allows-remote' => TRUE,
- 'remote-host' => 'appserver.test.site-id.drush.in',
- 'remote-user' => 'test.site-id',
- 'ssh-options' => '-p 2222 -o "AddressFamily inet"',
- 'path-aliases' => array(
- '%files' => 'code/sites/default/files',
- '%drush-script' => 'drush',
- ),
- );
- $aliases['outlandish-josh.live'] = array(
- 'uri' => 'www.outlandishjosh.com',
- 'db-url' => 'mysql://pantheon:pw@dbserver.live.site-id.drush.in:10516/pantheon',
- 'db-allows-remote' => TRUE,
- 'remote-host' => 'appserver.live.site-id.drush.in',
- 'remote-user' => 'live.site-id',
- 'ssh-options' => '-p 2222 -o "AddressFamily inet"',
- 'path-aliases' => array(
- '%files' => 'code/sites/default/files',
- '%drush-script' => 'drush',
- ),
- );
- $aliases['outlandish-josh.dev'] = array(
- 'uri' => 'dev-outlandish-josh.pantheonsite.io',
- 'db-url' => 'mysql://pantheon:pw@dbserver.dev.site-id.drush.in:21086/pantheon',
- 'db-allows-remote' => TRUE,
- 'remote-host' => 'appserver.dev.site-id.drush.in',
- 'remote-user' => 'dev.site-id',
- 'ssh-options' => '-p 2222 -o "AddressFamily inet"',
- 'path-aliases' => array(
- '%files' => 'code/sites/default/files',
- '%drush-script' => 'drush',
- ),
- );
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/server.aliases.drushrc.php b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/server.aliases.drushrc.php
deleted file mode 100644
index 5d1c7ca07..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/legacy/server.aliases.drushrc.php
+++ /dev/null
@@ -1,11 +0,0 @@
- 'hydrogen.server.org',
- 'remote-user' => 'www-admin',
-);
-
-$aliases['nitrogen'] = array (
- 'remote-host' => 'nitrogen.server.org',
- 'remote-user' => 'admin',
-);
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/bob.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/bob.site.yml
deleted file mode 100644
index d2aa6f36e..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/bob.site.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-dev:
- root: /other/path/to/bob
-other:
- root: /other/other/path/to/bob
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/fred.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/fred.site.yml
deleted file mode 100644
index 377e2df40..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/fred.site.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-dev:
- root: /other/path/to/fred
-other:
- root: /other/other/path/to/fred
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/simple.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/simple.site.yml
deleted file mode 100644
index cb838f76e..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/simple.site.yml
+++ /dev/null
@@ -1 +0,0 @@
-root: /other/path/to/simple
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/single.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/single.site.yml
deleted file mode 100644
index b85ded36f..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/other/single.site.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-default: dev
-dev:
- root: /other/path/to/single
-other:
- root: /other/other/path/to/single
-common:
- foo: baz
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/sites/simple.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/sites/simple.site.yml
deleted file mode 100644
index 34b77c6cc..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/sites/simple.site.yml
+++ /dev/null
@@ -1 +0,0 @@
-root: /path/to/simple
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/sites/single.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/sites/single.site.yml
deleted file mode 100644
index 5d700f5f8..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/sites/single.site.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-default: dev
-dev:
- root: /path/to/single
-alternate:
- root: /alternate/path/to/single
-empty:
- foo: bar
-common:
- foo: bar
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/sites/wild.site.yml b/vendor/consolidation/site-alias/tests/fixtures/sitealiases/sites/wild.site.yml
deleted file mode 100644
index eeafebcd9..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sitealiases/sites/wild.site.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-default: dev
-dev:
- root: /path/to/wild
- uri: https://dev.example.com
-'*':
- root: /wild/path/to/wild
- uri: https://${env-name}.example.com
-common:
- foo: bar
diff --git a/vendor/consolidation/site-alias/tests/fixtures/sites/d8/sites/mymultisite/settings.php b/vendor/consolidation/site-alias/tests/fixtures/sites/d8/sites/mymultisite/settings.php
deleted file mode 100644
index b3d9bbc7f..000000000
--- a/vendor/consolidation/site-alias/tests/fixtures/sites/d8/sites/mymultisite/settings.php
+++ /dev/null
@@ -1 +0,0 @@
-fixturesDir() . '/home';
- }
-
- // It is still an aspirational goal to add Drupal 7 support back to Drush. :P
- // For now, only Drupal 8 is supported.
- protected function siteDir($majorVersion = '8')
- {
- return $this->fixturesDir() . '/sites/d' . $majorVersion;
- }
-}
diff --git a/vendor/consolidation/site-alias/tests/src/FunctionUtils.php b/vendor/consolidation/site-alias/tests/src/FunctionUtils.php
deleted file mode 100644
index bcc3521b7..000000000
--- a/vendor/consolidation/site-alias/tests/src/FunctionUtils.php
+++ /dev/null
@@ -1,14 +0,0 @@
-sut, $methodName);
- $r->setAccessible(true);
- return $r->invokeArgs($this->sut, $args);
- }
-}
diff --git a/vendor/container-interop/container-interop/.gitignore b/vendor/container-interop/container-interop/.gitignore
deleted file mode 100644
index b2395aa05..000000000
--- a/vendor/container-interop/container-interop/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-composer.lock
-composer.phar
-/vendor/
diff --git a/vendor/container-interop/container-interop/LICENSE b/vendor/container-interop/container-interop/LICENSE
deleted file mode 100644
index 7671d9020..000000000
--- a/vendor/container-interop/container-interop/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2013 container-interop
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/vendor/container-interop/container-interop/README.md b/vendor/container-interop/container-interop/README.md
deleted file mode 100644
index cdd7a44c8..000000000
--- a/vendor/container-interop/container-interop/README.md
+++ /dev/null
@@ -1,148 +0,0 @@
-# Container Interoperability
-
-[![Latest Stable Version](https://poser.pugx.org/container-interop/container-interop/v/stable.png)](https://packagist.org/packages/container-interop/container-interop)
-[![Total Downloads](https://poser.pugx.org/container-interop/container-interop/downloads.svg)](https://packagist.org/packages/container-interop/container-interop)
-
-## Deprecation warning!
-
-Starting Feb. 13th 2017, container-interop is officially deprecated in favor of [PSR-11](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-11-container.md).
-Container-interop has been the test-bed of PSR-11. From v1.2, container-interop directly extends PSR-11 interfaces.
-Therefore, all containers implementing container-interop are now *de-facto* compatible with PSR-11.
-
-- Projects implementing container-interop interfaces are encouraged to directly implement PSR-11 interfaces instead.
-- Projects consuming container-interop interfaces are very strongly encouraged to directly type-hint on PSR-11 interfaces, in order to be compatible with PSR-11 containers that are not compatible with container-interop.
-
-Regarding the delegate lookup feature, that is present in container-interop and not in PSR-11, the feature is actually a design pattern. It is therefore not deprecated. Documentation regarding this design pattern will be migrated from this repository into a separate website in the future.
-
-## About
-
-*container-interop* tries to identify and standardize features in *container* objects (service locators,
-dependency injection containers, etc.) to achieve interoperability.
-
-Through discussions and trials, we try to create a standard, made of common interfaces but also recommendations.
-
-If PHP projects that provide container implementations begin to adopt these common standards, then PHP
-applications and projects that use containers can depend on the common interfaces instead of specific
-implementations. This facilitates a high-level of interoperability and flexibility that allows users to consume
-*any* container implementation that can be adapted to these interfaces.
-
-The work done in this project is not officially endorsed by the [PHP-FIG](http://www.php-fig.org/), but it is being
-worked on by members of PHP-FIG and other good developers. We adhere to the spirit and ideals of PHP-FIG, and hope
-this project will pave the way for one or more future PSRs.
-
-
-## Installation
-
-You can install this package through Composer:
-
-```json
-composer require container-interop/container-interop
-```
-
-The packages adheres to the [SemVer](http://semver.org/) specification, and there will be full backward compatibility
-between minor versions.
-
-## Standards
-
-### Available
-
-- [`ContainerInterface`](src/Interop/Container/ContainerInterface.php).
-[Description](docs/ContainerInterface.md) [Meta Document](docs/ContainerInterface-meta.md).
-Describes the interface of a container that exposes methods to read its entries.
-- [*Delegate lookup feature*](docs/Delegate-lookup.md).
-[Meta Document](docs/Delegate-lookup-meta.md).
-Describes the ability for a container to delegate the lookup of its dependencies to a third-party container. This
-feature lets several containers work together in a single application.
-
-### Proposed
-
-View open [request for comments](https://github.com/container-interop/container-interop/labels/RFC)
-
-## Compatible projects
-
-### Projects implementing `ContainerInterface`
-
-- [Acclimate](https://github.com/jeremeamia/acclimate-container): Adapters for
- Aura.Di, Laravel, Nette DI, Pimple, Symfony DI, ZF2 Service manager, ZF2
- Dependency injection and any container using `ArrayAccess`
-- [Aura.Di](https://github.com/auraphp/Aura.Di)
-- [auryn-container-interop](https://github.com/elazar/auryn-container-interop)
-- [Burlap](https://github.com/codeeverything/burlap)
-- [Chernozem](https://github.com/pyrsmk/Chernozem)
-- [Data Manager](https://github.com/chrismichaels84/data-manager)
-- [Disco](https://github.com/bitexpert/disco)
-- [InDI](https://github.com/idealogica/indi)
-- [League/Container](http://container.thephpleague.com/)
-- [Mouf](http://mouf-php.com)
-- [Njasm Container](https://github.com/njasm/container)
-- [PHP-DI](http://php-di.org)
-- [Picotainer](https://github.com/thecodingmachine/picotainer)
-- [PimpleInterop](https://github.com/moufmouf/pimple-interop)
-- [Pimple3-ContainerInterop](https://github.com/Sam-Burns/pimple3-containerinterop) (using Pimple v3)
-- [SitePoint Container](https://github.com/sitepoint/Container)
-- [Thruster Container](https://github.com/ThrusterIO/container) (PHP7 only)
-- [Ultra-Lite Container](https://github.com/ultra-lite/container)
-- [Unbox](https://github.com/mindplay-dk/unbox)
-- [XStatic](https://github.com/jeremeamia/xstatic)
-- [Zend\ServiceManager](https://github.com/zendframework/zend-servicemanager)
-- [Zit](https://github.com/inxilpro/Zit)
-
-### Projects implementing the *delegate lookup* feature
-
-- [Aura.Di](https://github.com/auraphp/Aura.Di)
-- [Burlap](https://github.com/codeeverything/burlap)
-- [Chernozem](https://github.com/pyrsmk/Chernozem)
-- [InDI](https://github.com/idealogica/indi)
-- [League/Container](http://container.thephpleague.com/)
-- [Mouf](http://mouf-php.com)
-- [Picotainer](https://github.com/thecodingmachine/picotainer)
-- [PHP-DI](http://php-di.org)
-- [PimpleInterop](https://github.com/moufmouf/pimple-interop)
-- [Ultra-Lite Container](https://github.com/ultra-lite/container)
-
-### Middlewares implementing `ContainerInterface`
-
-- [Alias-Container](https://github.com/thecodingmachine/alias-container): add
- aliases support to any container
-- [Prefixer-Container](https://github.com/thecodingmachine/prefixer-container):
- dynamically prefix identifiers
-- [Lazy-Container](https://github.com/snapshotpl/lazy-container): lazy services
-
-### Projects using `ContainerInterface`
-
-The list below contains only a sample of all the projects consuming `ContainerInterface`. For a more complete list have a look [here](http://packanalyst.com/class?q=Interop%5CContainer%5CContainerInterface).
-
-| | Downloads |
-| --- | --- |
-| [Adroit](https://github.com/bitexpert/adroit) | ![](https://img.shields.io/packagist/dt/bitexpert/adroit.svg) |
-| [Behat](https://github.com/Behat/Behat/pull/974) | ![](https://img.shields.io/packagist/dt/behat/behat.svg) |
-| [blast-facades](https://github.com/phpthinktank/blast-facades): Minimize complexity and represent dependencies as facades. | ![](https://img.shields.io/packagist/dt/blast/facades.svg) |
-| [interop.silex.di](https://github.com/thecodingmachine/interop.silex.di): an extension to [Silex](http://silex.sensiolabs.org/) that adds support for any *container-interop* compatible container | ![](https://img.shields.io/packagist/dt/mouf/interop.silex.di.svg) |
-| [mindplay/walkway](https://github.com/mindplay-dk/walkway): a modular request router | ![](https://img.shields.io/packagist/dt/mindplay/walkway.svg) |
-| [mindplay/middleman](https://github.com/mindplay-dk/middleman): minimalist PSR-7 middleware dispatcher | ![](https://img.shields.io/packagist/dt/mindplay/middleman.svg) |
-| [PHP-DI/Invoker](https://github.com/PHP-DI/Invoker): extensible and configurable invoker/dispatcher | ![](https://img.shields.io/packagist/dt/php-di/invoker.svg) |
-| [Prophiler](https://github.com/fabfuel/prophiler) | ![](https://img.shields.io/packagist/dt/fabfuel/prophiler.svg) |
-| [Silly](https://github.com/mnapoli/silly): CLI micro-framework | ![](https://img.shields.io/packagist/dt/mnapoli/silly.svg) |
-| [Slim v3](https://github.com/slimphp/Slim) | ![](https://img.shields.io/packagist/dt/slim/slim.svg) |
-| [Splash](http://mouf-php.com/packages/mouf/mvc.splash-common/version/8.0-dev/README.md) | ![](https://img.shields.io/packagist/dt/mouf/mvc.splash-common.svg) |
-| [Woohoo Labs. Harmony](https://github.com/woohoolabs/harmony): a flexible micro-framework | ![](https://img.shields.io/packagist/dt/woohoolabs/harmony.svg) |
-| [zend-expressive](https://github.com/zendframework/zend-expressive) | ![](https://img.shields.io/packagist/dt/zendframework/zend-expressive.svg) |
-
-
-## Workflow
-
-Everyone is welcome to join and contribute.
-
-The general workflow looks like this:
-
-1. Someone opens a discussion (GitHub issue) to suggest an interface
-1. Feedback is gathered
-1. The interface is added to a development branch
-1. We release alpha versions so that the interface can be experimented with
-1. Discussions and edits ensue until the interface is deemed stable by a general consensus
-1. A new minor version of the package is released
-
-We try to not break BC by creating new interfaces instead of editing existing ones.
-
-While we currently work on interfaces, we are open to anything that might help towards interoperability, may that
-be code, best practices, etc.
diff --git a/vendor/container-interop/container-interop/composer.json b/vendor/container-interop/container-interop/composer.json
deleted file mode 100644
index 855f76672..000000000
--- a/vendor/container-interop/container-interop/composer.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "name": "container-interop/container-interop",
- "type": "library",
- "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
- "homepage": "https://github.com/container-interop/container-interop",
- "license": "MIT",
- "autoload": {
- "psr-4": {
- "Interop\\Container\\": "src/Interop/Container/"
- }
- },
- "require": {
- "psr/container": "^1.0"
- }
-}
diff --git a/vendor/container-interop/container-interop/docs/ContainerInterface-meta.md b/vendor/container-interop/container-interop/docs/ContainerInterface-meta.md
deleted file mode 100644
index 59f3d5599..000000000
--- a/vendor/container-interop/container-interop/docs/ContainerInterface-meta.md
+++ /dev/null
@@ -1,114 +0,0 @@
-# ContainerInterface Meta Document
-
-## Introduction
-
-This document describes the process and discussions that lead to the `ContainerInterface`.
-Its goal is to explain the reasons behind each decision.
-
-## Goal
-
-The goal set by `ContainerInterface` is to standardize how frameworks and libraries make use of a
-container to obtain objects and parameters.
-
-By standardizing such a behavior, frameworks and libraries using the `ContainerInterface`
-could work with any compatible container.
-That would allow end users to choose their own container based on their own preferences.
-
-It is important to distinguish the two usages of a container:
-
-- configuring entries
-- fetching entries
-
-Most of the time, those two sides are not used by the same party.
-While it is often end users who tend to configure entries, it is generally the framework that fetch
-entries to build the application.
-
-This is why this interface focuses only on how entries can be fetched from a container.
-
-## Interface name
-
-The interface name has been thoroughly discussed and was decided by a vote.
-
-The list of options considered with their respective votes are:
-
-- `ContainerInterface`: +8
-- `ProviderInterface`: +2
-- `LocatorInterface`: 0
-- `ReadableContainerInterface`: -5
-- `ServiceLocatorInterface`: -6
-- `ObjectFactory`: -6
-- `ObjectStore`: -8
-- `ConsumerInterface`: -9
-
-[Full results of the vote](https://github.com/container-interop/container-interop/wiki/%231-interface-name:-Vote)
-
-The complete discussion can be read in [the issue #1](https://github.com/container-interop/container-interop/issues/1).
-
-## Interface methods
-
-The choice of which methods the interface would contain was made after a statistical analysis of existing containers.
-The results of this analysis are available [in this document](https://gist.github.com/mnapoli/6159681).
-
-The summary of the analysis showed that:
-
-- all containers offer a method to get an entry by its id
-- a large majority name such method `get()`
-- for all containers, the `get()` method has 1 mandatory parameter of type string
-- some containers have an optional additional argument for `get()`, but it doesn't have the same purpose between containers
-- a large majority of the containers offer a method to test if it can return an entry by its id
-- a majority name such method `has()`
-- for all containers offering `has()`, the method has exactly 1 parameter of type string
-- a large majority of the containers throw an exception rather than returning null when an entry is not found in `get()`
-- a large majority of the containers don't implement `ArrayAccess`
-
-The question of whether to include methods to define entries has been discussed in
-[issue #1](https://github.com/container-interop/container-interop/issues/1).
-It has been judged that such methods do not belong in the interface described here because it is out of its scope
-(see the "Goal" section).
-
-As a result, the `ContainerInterface` contains two methods:
-
-- `get()`, returning anything, with one mandatory string parameter. Should throw an exception if the entry is not found.
-- `has()`, returning a boolean, with one mandatory string parameter.
-
-### Number of parameters in `get()` method
-
-While `ContainerInterface` only defines one mandatory parameter in `get()`, it is not incompatible with
-existing containers that have additional optional parameters. PHP allows an implementation to offer more parameters
-as long as they are optional, because the implementation *does* satisfy the interface.
-
-This issue has been discussed in [issue #6](https://github.com/container-interop/container-interop/issues/6).
-
-### Type of the `$id` parameter
-
-The type of the `$id` parameter in `get()` and `has()` has been discussed in
-[issue #6](https://github.com/container-interop/container-interop/issues/6).
-While `string` is used in all the containers that were analyzed, it was suggested that allowing
-anything (such as objects) could allow containers to offer a more advanced query API.
-
-An example given was to use the container as an object builder. The `$id` parameter would then be an
-object that would describe how to create an instance.
-
-The conclusion of the discussion was that this was beyond the scope of getting entries from a container without
-knowing how the container provided them, and it was more fit for a factory.
-
-## Contributors
-
-Are listed here all people that contributed in the discussions or votes, by alphabetical order:
-
-- [Amy Stephen](https://github.com/AmyStephen)
-- [David Négrier](https://github.com/moufmouf)
-- [Don Gilbert](https://github.com/dongilbert)
-- [Jason Judge](https://github.com/judgej)
-- [Jeremy Lindblom](https://github.com/jeremeamia)
-- [Marco Pivetta](https://github.com/Ocramius)
-- [Matthieu Napoli](https://github.com/mnapoli)
-- [Paul M. Jones](https://github.com/pmjones)
-- [Stephan Hochdörfer](https://github.com/shochdoerfer)
-- [Taylor Otwell](https://github.com/taylorotwell)
-
-## Relevant links
-
-- [`ContainerInterface.php`](https://github.com/container-interop/container-interop/blob/master/src/Interop/Container/ContainerInterface.php)
-- [List of all issues](https://github.com/container-interop/container-interop/issues?labels=ContainerInterface&milestone=&page=1&state=closed)
-- [Vote for the interface name](https://github.com/container-interop/container-interop/wiki/%231-interface-name:-Vote)
diff --git a/vendor/container-interop/container-interop/docs/ContainerInterface.md b/vendor/container-interop/container-interop/docs/ContainerInterface.md
deleted file mode 100644
index bda973d6f..000000000
--- a/vendor/container-interop/container-interop/docs/ContainerInterface.md
+++ /dev/null
@@ -1,158 +0,0 @@
-Container interface
-===================
-
-This document describes a common interface for dependency injection containers.
-
-The goal set by `ContainerInterface` is to standardize how frameworks and libraries make use of a
-container to obtain objects and parameters (called *entries* in the rest of this document).
-
-The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
-"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
-interpreted as described in [RFC 2119][].
-
-The word `implementor` in this document is to be interpreted as someone
-implementing the `ContainerInterface` in a dependency injection-related library or framework.
-Users of dependency injections containers (DIC) are referred to as `user`.
-
-[RFC 2119]: http://tools.ietf.org/html/rfc2119
-
-1. Specification
------------------
-
-### 1.1 Basics
-
-- The `Interop\Container\ContainerInterface` exposes two methods : `get` and `has`.
-
-- `get` takes one mandatory parameter: an entry identifier. It MUST be a string.
- A call to `get` can return anything (a *mixed* value), or throws an exception if the identifier
- is not known to the container. Two successive calls to `get` with the same
- identifier SHOULD return the same value. However, depending on the `implementor`
- design and/or `user` configuration, different values might be returned, so
- `user` SHOULD NOT rely on getting the same value on 2 successive calls.
- While `ContainerInterface` only defines one mandatory parameter in `get()`, implementations
- MAY accept additional optional parameters.
-
-- `has` takes one unique parameter: an entry identifier. It MUST return `true`
- if an entry identifier is known to the container and `false` if it is not.
- `has($id)` returning true does not mean that `get($id)` will not throw an exception.
- It does however mean that `get($id)` will not throw a `NotFoundException`.
-
-### 1.2 Exceptions
-
-Exceptions directly thrown by the container MUST implement the
-[`Interop\Container\Exception\ContainerException`](../src/Interop/Container/Exception/ContainerException.php).
-
-A call to the `get` method with a non-existing id SHOULD throw a
-[`Interop\Container\Exception\NotFoundException`](../src/Interop/Container/Exception/NotFoundException.php).
-
-### 1.3 Additional features
-
-This section describes additional features that MAY be added to a container. Containers are not
-required to implement these features to respect the ContainerInterface.
-
-#### 1.3.1 Delegate lookup feature
-
-The goal of the *delegate lookup* feature is to allow several containers to share entries.
-Containers implementing this feature can perform dependency lookups in other containers.
-
-Containers implementing this feature will offer a greater lever of interoperability
-with other containers. Implementation of this feature is therefore RECOMMENDED.
-
-A container implementing this feature:
-
-- MUST implement the `ContainerInterface`
-- MUST provide a way to register a delegate container (using a constructor parameter, or a setter,
- or any possible way). The delegate container MUST implement the `ContainerInterface`.
-
-When a container is configured to use a delegate container for dependencies:
-
-- Calls to the `get` method should only return an entry if the entry is part of the container.
- If the entry is not part of the container, an exception should be thrown
- (as requested by the `ContainerInterface`).
-- Calls to the `has` method should only return `true` if the entry is part of the container.
- If the entry is not part of the container, `false` should be returned.
-- If the fetched entry has dependencies, **instead** of performing
- the dependency lookup in the container, the lookup is performed on the *delegate container*.
-
-Important! By default, the lookup SHOULD be performed on the delegate container **only**, not on the container itself.
-
-It is however allowed for containers to provide exception cases for special entries, and a way to lookup
-into the same container (or another container) instead of the delegate container.
-
-2. Package
-----------
-
-The interfaces and classes described as well as relevant exception are provided as part of the
-[container-interop/container-interop](https://packagist.org/packages/container-interop/container-interop) package.
-
-3. `Interop\Container\ContainerInterface`
------------------------------------------
-
-```php
-setParentContainer($this);
- }
- }
- ...
- }
-}
-
-```
-
-**Cons:**
-
-Cons have been extensively discussed [here](https://github.com/container-interop/container-interop/pull/8#issuecomment-51721777).
-Basically, forcing a setter into an interface is a bad idea. Setters are similar to constructor arguments,
-and it's a bad idea to standardize a constructor: how the delegate container is configured into a container is an implementation detail. This outweights the benefits of the interface.
-
-### 4.4 Alternative: no exception case for delegate lookups
-
-Originally, the proposed wording for delegate lookup calls was:
-
-> Important! The lookup MUST be performed on the delegate container **only**, not on the container itself.
-
-This was later replaced by:
-
-> Important! By default, the lookup SHOULD be performed on the delegate container **only**, not on the container itself.
->
-> It is however allowed for containers to provide exception cases for special entries, and a way to lookup
-> into the same container (or another container) instead of the delegate container.
-
-Exception cases have been allowed to avoid breaking dependencies with some services that must be provided
-by the container (on @njasm proposal). This was proposed here: https://github.com/container-interop/container-interop/pull/20#issuecomment-56597235
-
-### 4.5 Alternative: having one of the containers act as the composite container
-
-In real-life scenarios, we usually have a big framework (Symfony 2, Zend Framework 2, etc...) and we want to
-add another DI container to this container. Most of the time, the "big" framework will be responsible for
-creating the controller's instances, using it's own DI container. Until *container-interop* is fully adopted,
-the "big" framework will not be aware of the existence of a composite container that it should use instead
-of its own container.
-
-For this real-life use cases, @mnapoli and @moufmouf proposed to extend the "big" framework's DI container
-to make it act as a composite container.
-
-This has been discussed [here](https://github.com/container-interop/container-interop/pull/8#issuecomment-40367194)
-and [here](http://mouf-php.com/container-interop-whats-next#solution4).
-
-This was implemented in Symfony 2 using:
-
-- [interop.symfony.di](https://github.com/thecodingmachine/interop.symfony.di/tree/v0.1.0)
-- [framework interop](https://github.com/mnapoli/framework-interop/)
-
-This was implemented in Silex using:
-
-- [interop.silex.di](https://github.com/thecodingmachine/interop.silex.di)
-
-Having a container act as the composite container is not part of the delegate lookup standard because it is
-simply a temporary design pattern used to make existing frameworks that do not support yet ContainerInterop
-play nice with other DI containers.
-
-
-5. Implementations
-------------------
-
-The following projects already implement the delegate lookup feature:
-
-- [Mouf](http://mouf-php.com), through the [`setDelegateLookupContainer` method](https://github.com/thecodingmachine/mouf/blob/2.0/src/Mouf/MoufManager.php#L2120)
-- [PHP-DI](http://php-di.org/), through the [`$wrapperContainer` parameter of the constructor](https://github.com/mnapoli/PHP-DI/blob/master/src/DI/Container.php#L72)
-- [pimple-interop](https://github.com/moufmouf/pimple-interop), through the [`$container` parameter of the constructor](https://github.com/moufmouf/pimple-interop/blob/master/src/Interop/Container/Pimple/PimpleInterop.php#L62)
-
-6. People
----------
-
-Are listed here all people that contributed in the discussions, by alphabetical order:
-
-- [Alexandru Pătrănescu](https://github.com/drealecs)
-- [Ben Peachey](https://github.com/potherca)
-- [David Négrier](https://github.com/moufmouf)
-- [Jeremy Lindblom](https://github.com/jeremeamia)
-- [Marco Pivetta](https://github.com/Ocramius)
-- [Matthieu Napoli](https://github.com/mnapoli)
-- [Nelson J Morais](https://github.com/njasm)
-- [Phil Sturgeon](https://github.com/philsturgeon)
-- [Stephan Hochdörfer](https://github.com/shochdoerfer)
-
-7. Relevant Links
------------------
-
-_**Note:** Order descending chronologically._
-
-- [Pull request on the delegate lookup feature](https://github.com/container-interop/container-interop/pull/20)
-- [Pull request on the interface idea](https://github.com/container-interop/container-interop/pull/8)
-- [Original article exposing the delegate lookup idea along many others](http://mouf-php.com/container-interop-whats-next)
-
diff --git a/vendor/container-interop/container-interop/docs/Delegate-lookup.md b/vendor/container-interop/container-interop/docs/Delegate-lookup.md
deleted file mode 100644
index f64a8f785..000000000
--- a/vendor/container-interop/container-interop/docs/Delegate-lookup.md
+++ /dev/null
@@ -1,60 +0,0 @@
-Delegate lookup feature
-=======================
-
-This document describes a standard for dependency injection containers.
-
-The goal set by the *delegate lookup* feature is to allow several containers to share entries.
-Containers implementing this feature can perform dependency lookups in other containers.
-
-Containers implementing this feature will offer a greater lever of interoperability
-with other containers. Implementation of this feature is therefore RECOMMENDED.
-
-The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
-"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
-interpreted as described in [RFC 2119][].
-
-The word `implementor` in this document is to be interpreted as someone
-implementing the delegate lookup feature in a dependency injection-related library or framework.
-Users of dependency injections containers (DIC) are referred to as `user`.
-
-[RFC 2119]: http://tools.ietf.org/html/rfc2119
-
-1. Vocabulary
--------------
-
-In a dependency injection container, the container is used to fetch entries.
-Entries can have dependencies on other entries. Usually, these other entries are fetched by the container.
-
-The *delegate lookup* feature is the ability for a container to fetch dependencies in
-another container. In the rest of the document, the word "container" will reference the container
-implemented by the implementor. The word "delegate container" will reference the container we are
-fetching the dependencies from.
-
-2. Specification
-----------------
-
-A container implementing the *delegate lookup* feature:
-
-- MUST implement the [`ContainerInterface`](ContainerInterface.md)
-- MUST provide a way to register a delegate container (using a constructor parameter, or a setter,
- or any possible way). The delegate container MUST implement the [`ContainerInterface`](ContainerInterface.md).
-
-When a container is configured to use a delegate container for dependencies:
-
-- Calls to the `get` method should only return an entry if the entry is part of the container.
- If the entry is not part of the container, an exception should be thrown
- (as requested by the [`ContainerInterface`](ContainerInterface.md)).
-- Calls to the `has` method should only return `true` if the entry is part of the container.
- If the entry is not part of the container, `false` should be returned.
-- If the fetched entry has dependencies, **instead** of performing
- the dependency lookup in the container, the lookup is performed on the *delegate container*.
-
-Important: By default, the dependency lookups SHOULD be performed on the delegate container **only**, not on the container itself.
-
-It is however allowed for containers to provide exception cases for special entries, and a way to lookup
-into the same container (or another container) instead of the delegate container.
-
-3. Package / Interface
-----------------------
-
-This feature is not tied to any code, interface or package.
diff --git a/vendor/container-interop/container-interop/docs/images/interoperating_containers.png b/vendor/container-interop/container-interop/docs/images/interoperating_containers.png
deleted file mode 100644
index 1d3fdd0ddbea28d77c08cfb65834ec11357be5fb..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 25738
zcmb5V1yEd3(>6H410gWD1(G4b-CYNFm*50~6Wk@i1`EL*g1fuBTL|tJ++Bj~CGYp{
zU$y(!U%OP@B6IGMr@No-KHWot73C$+QHfANAP~BgBvcs$g8K+O?@{1@k=zM477*x@
zk`z=})%C@})K_2()b;bP%rWG{I2>pY1~Pzxm>?hmFenTKB#rU{3SU#Vl{Mh{T2Q?P8%}|GsTiYx75|G
zy-Y9sP=)?`w{Y<+I3e)YHmY0GNjLmF!9oocFRvN=irVb%mZts9HBnK#;Rt6JnJ|>G
zkWgzI3uTZP!b#DKm5=)A8lT7f8MFypPDMgy
z;dNbJjL%c>a=R&SELZ$^j6el3u+3&;8MyuP>&26~O7&ySnGOk?P^WoCF?c9WfY(`d
z{o);!WG+N*+@i8Fphe@e{L}b>P5baJx|0*?PnfSRjlA4L7EQm3zFN+KWJg~_`q5JO
z=~=+{D5GoEpi0xk
zFPDQQ==%)lgr5X#7-UT)kO6GTr~;mfZNgW#=I~jx
z?9Tk@ijz#e=to6peIan_l?+r4zAkk(r$-APQ8i-I%jn#;k13BMz1=SI8}lVIyuNLZ
zL~=$61O~EAPE+|p*2@ec{F|+)HxiEHIDqJH{_4kEilxCc1)X&d+cF
z(=)u?PXD0OusCR$xi%DEx!F9#Cuk?@At&`Q;Bb)v4hJk7-g{6c~ZW$
z)3{G>^}WmSJUa|f+}mW@QC{A`USV#>rd~V|Sa&%Sci&}GU3zH*;gX_C7AOREwaRA`
zoH>Hdc=IvZuZQu~K^ZRd;ceBl4fq8WWL7=@0RNA8Zy)m2ko1Wkf0MU2+-o85iw2@j
zpF7pIg6L#!?ulg+afz9@SZYA;g0+e^>r)gHe@F!oK{#OdWb#-vyjG93Z-x+%7cRK@
zGuUUda$$^Per2w?AkxzO#ZCrHXsbv=kl$C%84vFRC2fxHx&+=uoj2c%jaKN6uxAG}(Iq?U7DXxuydropf!*Ov3Uju5fH&h{)(0Y8CNl^PK
za?v4E>~y)d#QmNUAp`~Fgp1p8zLmfz(uRR*1q2)(V9=KeNj5!KY`i5oB<0{
z7=rKbFh|>})MC!w?*$usue>s0t9qhuZ>Qx5-&FoY2|=->+*Z&d=096I(k+|-DZD2A
zp`oCqh#=;FNh2*4Ns=Uxt(VH5#e*^1&gzzFu3>qy$c;NUS4{B@qK$8#|3+=lt1T7%
zmQ2w7dY@e1mHmr80aa!!d62z)!TQjZd~XQ*cBdbtvoR(&&nvzw{lcd9A6>qL6T=QS7dzmkO-x{Je6mETwqaVA2XC!I
zS@aP=5LdS|f4A4<>U5UHC2EaufT{+RBDY6M-=d`OS7qdi@1lc3P~tF_8k^GoK7F{+
z5PwxfPp{_7KHzrF^Yq}6d&>Jp458As8``l=oK$6FzhGS}8
z0r?jkJEPMh^D=qQS!b2WT@hL>XYQUP;i7R%#l8LKi)B~iUM2)_Hl{jHVX3JpDP(7P
zL@_Qh1Mpvt`WCwujtxh?$~WACji@Z*4ZTV(5ICu2<=4Hb6ruNt
z3fD+%c4Z_r2hted-D-Y;NAlr2zc%p89E5r3NBiqB{aoiU16i&F^L;AVeoCt;~Y}
zn6hrVjGgSQJ$xo9;2c!aQii_yAVuhE$C0k~>rGr0Bp45{$roMU=Im13)1j^)>7eJ=
zx4|1&B3Ezs-T+R^jvtSNF&UCTK$`0aSOWn_bO2W-UN>137pZ`Rz!?hka&nuAiFWvm
z&8^;YFRqGev;TN08gx$4mMno#Ls0rVBF?DVs3oxLki$6iNetd5I_|2!r&La!76~|4c2jRz@Yy%Y^YRRH&er$rI*4N8I4&6dZUnHDkkBe
ziY?|}dK*SYnT}|mGR6J5FFRinamQ)>Vrq`{w40U+@?g7hfDKO;odlgA8adj|P6@=S`M;XNW^q9B1VGvl9f&5eOV=9UK({Wq7utbm&lIZo(lJ$Cg
zxL7Ej^-|;1#KigTM4ouocu2_2)(COIs?S^#+AK#D)$5I_rd+Dm`t1jD%p^0+F>_H9
z8!?H%&-iAD(|bB&`})4&w^Xb%YK2BZoRzWsRP~r=H&3)dc7iQ#wMmhY9d;xyvEO1=
zF55(hCScV3+#4h#%D++8j-IBXv-)a@6;*oFks6>xgKyn4s>
zOWf9Z)=x|)C0zyt!NR|JX$1=pf5Y;rKNy>mhK9zX2FB}r@N3u6%<#s&=Vv@}xA!jO
z1xWp8C^n@$pVJ=Bp;0)#Qq+5-Es=!C*mwBjX)%(sa3C&e-8vgxb8~ZayvXl?uc|R8
zNhrw@f2S*b6H0&wDXOYEZVe|64i4@yu4hX{&-TBY#aiDa866yegu#KnH0by|T;lT!
zm()V;9=ywDhGbu7L`*^OD~ft#XAwaLY(#B0>!FpEm3!2Xk#}R~!#H5PEz=>fVHwG{
zAkabPDNCZP;QdJ#Hig)kY)}r)3p(%%P$z2$NAls#=?0@JG<~d36YU)(0|Q(<4CG7Y
zd^mqO7)v{*)xExMbY+h+y|dGS{yTo*%nYC0A{Ye(TVHH&uw8Dx9TsbLIZl($BX5VK
zVSe3+n%d*ai2@1v3Q2AxB#8JeTmGU&DVNF`_dFlr#9+jEIV$r4^v#iIWYF|BIR!B}
z6*2V8o{dkzcbxe&Rzt7BarbvtDC`9oB-CN&7>lV>F|mTKq=YaVzWx;+nUv4XG=AQE89NJ|5H
z6?wMFD_A5F=(ln8K57zTXgxs@bXqQ%W90Zch+(~0s|p1KQV(uts9W%QyubY=h9edU
zT%qGi$qLJ>>`UY
z#OPtsGGS!P?R@L4hd{v$4*U
z>i)f!IG)k>p{Ju$rNYS;NMtitHaFir-RPsoLwotTj41q!=9E24SlCyKBAOZsW@TYP
zDbF{Tl|6i-R16Ld?&;|(!UwI~SO`aec{Ul6fdKnsbz
z{31xWMOIdUO;7lqit9}B#+vLm2XAg%u|`p&ux2z$u=+Txi`Ti}4we_$pkS?*eZ*=x
zskqQtmEv%mQ@%E@zs~Nr0$z93U2B*KUokroe-&+e9Jf%8DG#s0Nyg^q=Z^_K-A|W%
zEcsaHJ>C8*Z>8Doe5uK0EQMS2BXJ5!1IYdH{%XN?LS@iGP$0*){JoUpWY%Y~Z*Tdw
zo5;4XRB7B|C7-_i-K_$wp|x}>L{=omVDz_IRr&nv{Cu}sICSUIovgK4z;jntN-87h
ztJmGd?qb7vmqVa(!F_Uz2dI`#3XX}d*4kqpCCqvu&D_51?b
z<1|^~;Zf34ziW3gL+=DNd`o2Kf6dwQGtU~_79A}$p&_(5__SP3J7~~Oe>4tfmldCmwQdwrOPg8a6hJkUGofoX}KU!5NuQB~S8)CG58JBKZ+HkhK*!s~E
zt)xsd8teHydM!{!`{^`Ie%MDVWi8Xbm9?ly1+}kOS@_R~
zS;ZeSE*V;HjB=@_1lIhq^COM7e<^4*J)VPGE6M3v~UALZU|
zzS}F>jpn>t8)hB*6mB1E+j_gT>~S1RGZs;isX?@*{p4l2#Fb$!_qs?7Q3;1weD#1J2E;E
zG@Lwwk7bf;H#<5T`&^RIYSDEgT!yj5Fo$7FGqK;HQ*tuTk-yjqLAZkcoVH4U^gE96`2Ti$Vz3_)!|#F
z`fpryO~cu8!*YvRfR@|KI-LYgD*mGp73X?;xIwhCy%6$X@0eF!Q!-#(gCC
zL9Ll=L=*!}iIcCd%(fQzdr%QANg
z9aqc!*-+`H1OljI77BS5|9RG%-QPJf^-C|{kqn|zGF+*qFjEOc(Ya;GN~p}vl|*L$
za2JOez2i21yOHjFw+lED?i(3$t_|pi67j@ke<3}+{`wg`k2%=SXo{~zTVvQD+d|+9
zXR0;sQ<38Y1F;wKp}?_uh!0;}0`kr(%VD!3nkkU&p8^)p^dkD%}`8wm++^)#utM
z7>2-&ffSVXn|ojeGO6oZOHF1@8$Y^Y+kPx_)N#t5t0foxF;OX~N&!FdbgqR-EKMv-
z&0Stl7YWuxU#Yn5nArMwx8Iz=qlFC#VS>aU$d{H|xxbn}tQ=w}r3ByZS4!4CJ^l@S
zEoML{c{;yN42_Xj
z14}88-VX~-^%o@j#}u8dzZ5mJT@nI;YH3u(Wz$Xu54=M2P8Otf<6bDpOS9l0?1yPw
zG(f3kay3GcmwIDibmU#;<{nD?EeGjv16OF0Fr(p}@vM?4^8xVz--P+7@GZuvxXe$4
zgA?z9&4SM=gnU8{D#~7_Yro4hY&7NzkhH8yyEX2lfDT8z(@vShDWS@HlPe^V%QU8$
zi^+g27Y$1jgM2SmewHoyQ+xoPB;+bB5^ev>S5(q)g=@WbigBd)JQ+A+qGZ9TuAe)A
zw+3WR2PeED=5aK0fP~P2CFPVHMbIUN3dVul83pryY_1A1W?1|5t>kpWwQMnVgoPeU
zi99$66sJVs;6dH_wjA76nU-m)YM9&%C*GcCByC-`ELl@kBDH?{4UK{6BRM!)0d})j
zR3?qXNtyX3ktRvsY;>#Q0YNVm3Y5q&^~q2B$!D~V)pBaf;wmIw7vrt_K%M{?H?Q^j
zc=|&y*Z!Yqr_lkvH<h65EvjxKA_6qXmFdD2DB1%HvHEwh0?~D-}4Ud!9)lSR3&>
zW;kzrb(hPg%L?pc8413bw=4^uO~PbumFDv243L`1>a^JK`3_SLE2LC`f$6v3b;VyY
z$|(gulPEQ(wV7+dqB*T_VtR9nt7&Id!Dop;+WsyRVT58J?90fbW1>gZt2uE7{rt%9QyHC7#cRpj3
zcd#HE@sOb|DhbK0*DD+;jO%ClQ;!8c*-_szox^ld!S1)>1@Ah~=(@b{nHDC_)&+n`
ze=v%@%}uF1Us(}HP;*(dL-r|AA&bKb@dgpJ#PC(7tDW80%&{g`R}x3-d+(RjRlcYR
zhsLZ&Uk@>j&q04ir4B`J$rB}n5N$SXx>{T-lP7dodbnuYAdr%@l*iS1d@PEDF^Iqw
z#(Ig)%@nq9{EnsG8Z#`;BV^Z`-9lWMmfqhLJ+1%wFx9iV+6HypGUWt?|3?2I;bdmq~ObFCnTzXRKcA@Ve^*oZEY$n1Af)*)RdG1
zUpv-YpM=oDOlDjVPBNocoY)#?nb7H%?#*V-vVq%L0KWEvABF%doDD0I>(C%@Hfb>D
zTY4lCR1$SSp8u$NLcW~>8O>N*BMPA$9GB71OLkYTNAl%U7gwo-wNi0G3VF4i1uIJl
zokiiIZYcEq@5wN1@h>O(eb`*oSxML~ZyF68@O&+hZx`gDxv(o;C!K;_rhwWv5-jW7
zS^WQFCAH7#B`U;n#CPx1s@9==WYXPivx==xvTt`jeQZVPB}k2n9HUeD+`eTc0Ex?Z
zuQ1{gFD5X|8p~Du9x_A1s1SV1twUC&!Z!6~m`p}FoY}ayo`0%cck*RYFQ|L)ca|)9
zwiJ9Elr8Uk7iPkg$?J{jm-7WzdI-Pf=eI2U+qA0TBN2+4l7#7r@R#(2g*?1#?Js$=
z=hH;aB8)#pVW+3uQH_;y4TDaQB;KY~A!dpg_Q)^HbZ*cYX!j2Mps!oR8kI|c#lG*O
zXTOIQZ64A)&%uWk^HbXBn#cY*v$8Dau2Z!|MHE?mi@k
zhtz~BaRUN`pF4Uk@yti>uLZUBTYC0J{JSCZgORL#-7>N<4xSWL?3%_s=n
z;2NqtbuHF)IdJ6pZGm0j-jY^59Ed$;4E{Yzl+^wf#Y{fCR8}(m)a%M;N)qUBGOCcIY}{A+ZVmw
zr`f^~pR`q_6VocGKnw73EDVS3tD2gWvS#Icg$sssM9&vckIF*rp|kY@2|cpqLhUJo
zSF>7M^7y=qy>|~9PTmdWt>rzQjB`i??B7AZX=3+
zpS9Cun}3DWv&NesI4`wFOpKtrst>sz$${i}~vzmQ2eWPLFFlePpP5i-!yHR_wO%
zC`6y(BSb%-2$2MuaV8Oe55vrDO=Ug!jpt9@(JE>jy0-eUfQ;eZ<*>(wL0ie35P+9Oy|4Vejsk^IJmUQt6F_qFrrLkWx^AP`k%
zWm*_gB@Ay`>4k5l*r(|Ax_RHl33JgGpr5cohOu~kOxx=wIG~LftDD9c>RPFU4+4es
zpWQ!fMuC7%Bs;xAw+Xmzv+{Y$R5g2Yq?k^mEYOY+Q=Mp4jzqTv0bd*Odu)S9X7GYe
z=WQh3j8!4mSod-a&DL5^)wZ}!_e!-S_sx#3w=B5mAIlz3b0;qzc|YCa4w!B4KV0&1
zYlvQX--9P$>GEk|LQKc^225t%WvzFE6BDdVOeestfsZsI!mXvj;c!0ZfG(tJT#0iu
zMfh!*U`9rUu&^+#Mk$GaCzl4BFC$4pQ4mJDj4T)Ks!wOv!&Nvj%BNLNVR8oDMmBPC
zQ93+YoDd%-TXxij`a)pC4d!EF5r26_!2H8uO+R4^wbB@tm@L?~s6qkqF#JV6xw;A!@EI?T;shZQV`
z^^!%Ygwd=UXeXSx^4Tho0m6XPyGD;2uwYm#WrT
zb93`}mP8jmx}it=Www}10JkHz4$AB5Ph%m5SE!{FaT?C8*RI^QBBt4ogGj
zpVzNnlS_Q}XCxBoCMv1U<1|P(9$CS1Bu@NsiWp9X6&!=#eEn$FQ;V@mq2Y5Ys&%%v
zw@1io+K!Ljp)thaw5-zzeq)_ki?k?2fdCw2Gglcfom?{?u32CuUrsT
zt2r!oc(1Fgd))RU;5m*!Vx1X{Pxq5}+$VJN>QUbY70{;Tbg`1&$(F8EzsNA_NhB{T#F+nmOM=DPxkM+2+j7{le-i2QeTyVSb0IPFk;wx)?
z-E-{eTwfZsQU;lKmtWqYKyg*?r|EpIqFzu^Qf^h+-(>c3CEhg>ddx2LD!J%ep*IH$
z-EE=~jZaKO*R105TfHUVFRxNCAYyjKE-hAiiEJad7b{Q&23o8+K!2|j|B~`#tCn(c
ze*P&LyoN?p@$;vziR;#;2SOI|_gZFI@;kFR@*iIt^j7oIz1^!+$WIX4@!8g=iZrwW
zk;$kj2>53$@!Huk^S-jeDIrcvtvFvvYT5dERA~ft;e!B;$HvCebqy@5BkIUDCyHl3
zeiu@ON^t%)`YIJo(GkxH0(Q&Pq%$RyziJ?Emsp52?@m=;LxGCj&$W9G?)({uUK=6?
zt)dYrK_biTmHd3H4uA0;xd}?7)1h-~TczF{u6h$ZS#!ve^UU`$t<=fgUDYd+I8-`%
z^uO)PA?vuNxtXE}ez}(lRi0p={KVzC_B!QEj5B3h_r!92&Yp($=9~B*wqc(mO8@my
z(t?9s-jM=9QjNM>QcUz|2~=HMK(?MVlC8hUwt_K_L(5vObrrOBH)Za_jwizT!^6WQ
z?&x{IFInLQLsLfr5{h#_M)j5{^m^()j>jdQ6x&=MORAIaCT#gwe>X1C>xx!owQa_S
zmG9q{EU7>0nCBd-bYkPI{gye+gr7iWoFK;{OW3m-CA-g9{=+^NCav5|B{o?w5+Y4g
zd}!1_K=x78j(9A;DN%K3kofz>Yo4v19Qi;8U7ZXU*g1#JkHMD8
z(BY*zm5~(-_J#X;oC=SCw|p(bESJQ(!OGB{P{xTDjD2Y_JSj)h4EtWjO93-#b84yI
zl7n*Zgx=gmN`rCNyx$$`ZF6jNXt`VOugUSW9_pxDC@m}|#FPn8=@%9zd04-m$(=~t
zs0qH^SYZ=OX+1oGSw03<8Mc^!;;-%8;r)4+o|HoJUB}@W$>qqJt$5?#xRhz4WnwmX
zrA_^De#$FaX=M^nJI%yVa;aTY<;h+Ehx0V4Bm<_uzsOUG?S0+!5>)AbM>HU4whxhWyb_9G*eFtPft@@U1%y|zks`;vl5
zvj&+=GIlh}(NB#aWL+9`o=!Y6Cg>s^tmR|%scPU;{=WXSUFDE`G(8-~)9a9{6}kknBD)MUJ@JL3p#}t{5@-As7hFbZu+wJ*&o6T!
z`|bu^E;47BQhZAD$r!6WobM~Cg_SSJZ?x08b{j33$b7WLe@Iv@_Kd-2CH6;{k(0`l
zICb*g&AGix_UW`{i>*E_`rGy-hQf{(^`7#^B5i4Ru(CAT~sU_BF<{e)-qDj@h
zn(&0Qu&xK0hV-~cCrZH|4Pz5i@WxB2s#Qx4vDQn|cFo>7FrIa>Q;1%(n_1xmC1WKd
z>YJ|Jd%0&F>x*Ohk-$TB6besuLpaDG6~!6Iu2f`PSJ`y;;vI)LtP7l9{>WRDINS7J
zdftDoq$U|F*~{L{s&RzOZj0f()2kxI%yCp6;vS(~977fmkhPWEL)Gu$=t)d+Z
zBs*_e7`fTom%NL`Vn3ADoRj;-QdDWY_Xs_Nb?v^XZalw1IlJ!k`70tSoEUI}(_qKRKf;;Ja4H{_rzxtRcA}^WWun
zui2}hb_CBOT+`$w?(;u1FEU=huQ^^al$j)vYygDv0SL7-vQHy$g}rTJ+isLLG;%Hx
z+^yQ`ZA@jA#HYv9{d;kK>}5OTdIuLY>$UiL+#H3~|VI>T>;^y;0Vx4w**+v3hz?9^<1$ym4_cg|Lf)BT~$>HtyX
zg@c|GC7gJ_WINrf?NkS_{M`&n9~z#yPYz7b8UU7@S0(`#vw=J;HdJa4{W<-nE0e!v
zL`3IzzJVTsp95=TwLcq4?edpcVmRRkS366~CXT8W!)T3W47
z9uPnkZEB$K6tKk*iH923s2p+=y)AZHX>WM5rr*YBCluq;7=
zH;Vs{h`VN|L-_ji)|Wo969~(o+AU2U*4MSi(xd}nW9m?()Xlj<_|aq@fJNIWl(eN-~5-Ottyu
z*vsvtt_?rL^*&yZk&)fUNiU9+1IuEowCuwq!miG1Kn0x{@fd90v{SRi=dt)#mCJFP
z5=lF#AD{TlU!IIh$jV(y#x=K
zoCddUDpF@cbmrf*EwdbScW?)D#*rmT&o})&^!(2I*9vU|9ZpbPeZ2FxanolueRq|f
z*E4iSJ^Irm%fZ;+D@YQkvsz}{`wUFC^*P4hHvLfiB|_>ywph`Zqp2lYHv9IbhzimJ
zmy`CIIy`Ik4L|SS%1*`KqgRA$oM)7hToW%syP`t0RYDfNEbNwiZkNyCYfJM{8*nT@
zd9pjrbba~Qx0uy-m!k;XC_%0w$8Lo%>d;gU#%i!#;w3kkG{tGYA;@(F5}=GI#}V<~
zUCA+L`D(!NEl*w|ENI$P*weyZDS2o@gssrxXvKjWxp|YHu05hmu2Qg{Lis{{31YF`
z+|rX1$8mw;8+>2RNQAuIlg(rYY9RQAsnT5{QY$n}RV7qUf-lWjCmZ{n$**66iBuA;
z@#f&H`dgh0B#740;}}jyF6S^5gJ`pqN{=k!OK$Mp)r+w?a{UiZOXSlO`ztX3$7?0g
zn3hSnxh>o3tUjNImxTHqleAe7S9+5&E}9#8quFz9(bg3jYx_S3B)t&~v^U=6T}jyH
zGOr0Ay0GqhExI5kXL!W&Cgm!S!#*8<-ucUo;_=}xcTu89?i)C6D2|~*n3KVe1?Rb4
zJDJRRb1;$MdR^@f^iR$XoF8<%UV0V=!i-eWu3!AJ0_+ml-6<7
z!?Gr(xj*yur{nn!sc`YExWD9J=Z?pUQ!1oY*w%x`8R1*c#J%7-jpSj(XUGT9Tf^G{
z@|&h!{KnlH2P-$Xbq^w&gufVpKM9V|I$>N9khu5aT_LN0DX&U5^KD1@JB;KX?`S;@ql%-
zV*68fY}{*=qkS!SXG_kx&!dEPCbN=-R_t9cCdg_@zxXOa?>ZRnEBGrFUCni6+WH8)
z;hX7gjIe57yYD~lR*zRqzW+gn<|^dMdhM!?RvJPHz~b+JAcdiHL#&TJBX{rlq|^kj
zhPAr#tz=|7pTAxnBFG|ks=4p_#$eF@^rOT8n2%69>9IGKQ)`0&M-EqEK+ejli=-{|
z>9g=tySLV+5gNfglmKI-grmkvjhHE6(R47T;(3`rctw}V2;&(XjH@@jgsskQyJ80I
z&?}=`yxd1Z(uZXWLtJO>a*w6gGjA~Ff#!1!6C@19Q`BVurh-cQye=U|zN^A1Dc4Z-
zuGrICPM<4j|MxH1ksrLaR3y4_|B;5SC=~@k9AQ0^F)fT+IT;<@Q8-d=j^GUW>&j<~
zV(eoR23!D&FkiEf_%J~hFf|4wd0JoWJn^u=F&86ez*BZUAuBhZ!lYN2gZ2-$N}Ttz
zq|{7#f)zdbNtIfbR;GH{iA4HOq`cCDI`6|!$iFFR1cq_#NxuUuF6r;G^SBp4P5gUJ
zHhwzhuQMTyKNwInvz$1|Nh}y83?)0cGB{|9lZdEbgKMB2Cys$30GRNDxu<}2V-4~7
zEGb5+<=Tkx4Mu{4Ni#XGdYsJ;z`*@UMw2OP-4xHN$R==Dp_L|243rFG3E7t6jm_Aq31xALxL3bO7;2gR49%K6^ROsn7
z=`a$x9v0YwyC<5aZw5nmO(_1UXW8qCJ@U{N^i*_IxPVrgiH~T~fs}cHXt>*=S*MHW
zaSNe+JEdz-gxI5Kv|}ceg8)~IB~A4k?ww&9#`k26@@_g8`;k=#y)lfaPha%<5}Wxy
zk9uwu%6T^wti)|V#Ij+pMhTbS%7Ry{9@Uvz>c!^xD^Ktje5SM~$>&Voj21ZW{+lEU
zrgzwh@#JsOq|OYmLS%^@dh9v<_lDdbBJJ1ZL-{y9CCHEovr^${kr`CGIHWLtg-s0+
z`$Pp1lWkawadZ-0WXz0iujM|~xYvN^mjzR2B6KQ3L+ZJNWN*B@E))=CFSc+rDw)?f
zFPH#aC|!!sm$HdQzV!^5KYW9iImGcZY*V93=N`JLpJ4+JwMhbtQy9H2aopb-G`X#V
zPhJFBdQUpYHn3rdmCT?I<*k7bprr{sIy?4Z)Xpd)8L-UI9fHWvRxu0}Xh=U3&iJEP
z^Vefb9jGJ9KrU=Ol)#(Ni#EK69VZgP0z9Zg76NDknZT-g0X}4}P|{o&PUIAkhLw5}
z42OBIZ|q7p^LbUAUu(|4H;2@8vyxzIMu;ew8dAhwX+S>qC8Qq^v)>~8`3?2+i%d7o
zl1M~iw?LJD;M6TYb%+CPQSdX;|9&6@21;K3+X0Xifbzdy0b0$56;Jnn3kQa6oNU6v
zTa%+48QJGzdJ`lQhjKYRC2gI|<>e2Chj*G2#&L-0J0AfAX7B#Hh6aO-ZFG#0ARNt9
zPLTQC^;xy4gU}QKcFxHh?NNs(C%c<^5jzn&ng}bA#1V&v+d(zZ>yCs}YLlaJC__VL
z&qlzmSq)m#IM`D-*wonqj_I++l}SQ^em3GN-ZG2KIa}&;U*zOeJY{nhrtiu`C{$C$
zvnpsQ7t{eMLi&ryn}tNc)JFSt`l8)w-u!Yktj@XaMIj2tIcV#`uUx+vd;Gg&aW~CxJ-#5Mz`=2
zw5(kQkA6Qzz9xor;nztE29}&K%iWH+Err!)v>tE&9-qd0MK$8n&{%Ge-5}Na`P$Ou
zZ21w#Pft)&Ex0I+PY$50Cw#`U$Z+(EY;zOv=SZLGUJ%?Td*A2JJK!((B*iOj@>`XX
zki88KZE`m!y7x)f!rA5&pQ^w@1?DDUzU3Vc1>&a0O
z-pqv#wY%eGMB?M)t(LBaa~zY2g$4xm@Zi`Q$1VW&%tqkAyMls(WxX&&Fr9G$1_t|F
zpbN8k!=G~`(a&3ALlC2)E7m;O`85o`DK!EX4yXjG;Ol`+0+(qd#8!*GJ8y;#;Ie*JaCAZNy{^oOMSl=pX_U
zDFkg791-xY6=l^3ZTd%t?7SR2zh`|3m4@n^-`3x8X=;64BCxbBnLjcOg4E_q{6{~L
zkka9O7#_5{<=(f1_quY}Z9)*M!hObh*vH7dcF?%buR4oMrvlVBxc|-fOQnQ$`>||D
z-m^8OdH=!6F3Tp^cZ>;o{c2`rBs_w;xutkf>VTM|BdwZ504CUWI`RHdc?0ghZg;K-
z4M>j=&Lb`@>hS`X;exMC3AVSyKgQhcnisEhNGEFCy7YNO+|p_$@RW=jJXnZoQhEP#
z+0vA6;koRaR6nOM!Qx=*bz*$G1Meap!8+b!Egn_|)y5`ma>$m56A^k`dv!Yhg!A4f
zIp1_du-&krxg~3+Va;C0L)m=J-cpm}{8|N`Nnd~ifnsece>k;@)ug_2)_N%Yvq0Uk
zD&sCnwZHe3{0@8CUVkwvD6}zX|J^xGpDcWKumdwMduyYhB)nP6
zc*5|Hp_@2X-4B`(W%^w%zrw`*mP8SM3^LXN-g$#GhC{N(*n4pl`g$#PTRsHUMPsoX
zcA6PbB0Kf@%g@K#p)rHw8jlaxXZdI^3s29Py%L^@QlE*+u}=H~Pe4{soeaw#jS0Zt
z%CE5)(1c}2T|vzueXlS7%+?s44)Gfr9kj3Yw*Nws5d~g6Jw;Pfp>sVDAn#U|96C
zH+TT?s3Gc&YtSa23lF<8=)bt}LB0GRDPb_%ch6EN{YE72!G9ilj=LdLQ~%fPi%6FJ3;Q6}O{QpxhF5iPa0cO&__`MdXy%iY8(*|Zo=rtNsw
zKX3NH5c_jmNo92AbkEDv8{kV5(_!hP7x}V!tyN?E<99Je5byd3C@2<{9+G{S}%_?
z<)I|}Sqb@aJ!h)P@oH%y5SB1%6S)ZdG*a6B_MNc(j0GV2kr0KAaU@O=XEII$E?1v2
zuUhYh=M<}Mz4G)LRpp({K!4j}RPignBayZY_?ZKqvySEJ&Dej3qvEi=p}G;BmWu_x
zEhTL%@nQ+h8mg9RElvi`oz9K20QAw%luJeWI+2Wu;N0+N@*6B5b}t~OPu)lz8?aKb
z+=r<%Rh&pe+1owO!^P%t&jihJmJ=GV*YC|nZok`oc8s8u9FJB-U^hUyK;#a*&B-0R
z*X)SIj#YY625(*?k08T-vfapr`;Xy=^v|o(DVUG~hw`?T5TvHC3hI>KU5J5I7&(dK
zN!5N%YT0k2{YQC~n7}N;86Mf7Q1he7``B8+zK-l$VMOTC_x@~`|DK4J0ej__p%-tu
z-q0|y9fo6MLFwb&&U-*nHrF3&A9W_oS~|}~s^RXyZUv?r`k!6L
z(rn#vF*tJ!GwViz+t%BNb_|<<;Qb8P|AkTKv8yEe3+xu|p4e5pyd6Vx;Bo_Cu^+^N
z?{)$Q0HsAOb0dmZs6+u8cHR{o;1C2M{nQgIvWYysai!=(5BmWW4$hSVVM=8_rSP24
ztt=qC?0ok4&k5PE`d^y_DhHTJqF^!nab^fUPzl8O{s(pZ)aqX%eDE8QN+4H20`!VeEO?JDk7tFU0@n}Zr~Q0&4|T0Rf(pP7a8ik>XUo)d*A*c$g=
z5%4Ad|4{^V|F;Mj5;qMygtBFlbfyveM{>lE?F%PN4Pjq1g`^8@(A;7oi
zryZwk)(%;nV;^Hv*;%=`1X;7Jt@60E%7v?CY)Ru4$0WKaPsOeZY^&C_n
zK_d$s4HCoTvwmT;s@z%B^p3NXz5rj)2s8`$3f-?>a{`Fq@_1tH4k`&)~a
z$`2%Of4Vn^?3CS!dL2t4^&hkL?Z2CVPYGo`7+OX)KzawX^c~0X9v&m#!@sj}sMcG1
z*~K5-93)Oz1Qiz1w9bAb12j}E=l=pSTDp^-A5Wj8qBGFzzw&DUh;Pz&Jek1#no-bT
zf3$_pVfi8gTD)B2mD@%(QKd%8OPc)#QC`#c{C6A9;yPnbLgjTIZRqXp;AEDBYtECY
zR^M$Eiv~Wx46$UE9*~_b^xb8p*aCsB|B;h)cQmgdM{;n}>sO75BB)1d&B+!VT8deGz;?x>b
zX>Hs1*KXjxg_6->4P<@!)yCqYS*WrgfA}RYE}po@ETM`lt!1a^X_nbG9iY?t!T&}m
z>vx&PPzGQtI{Ig_kTk6nj*cCUdc=)}p~W7RPQzdgimBp$>@0_$$Es6-KigjYEDY6Q
z_xwF=3S}iIx9FWu{o@3*3yM@|PciOy0Vcmrygz-*X86@9K)=bz{BzeGp|_;T{rFA-{_@_+G
znLc-P??WMw^>p1e?j1eH%I9o>qx5#WCt$-JuR+Jy0wRpWf;N0;m0I
z_w9LnIy3%V#MQ5A8nrth#R-^&k7;MY{)FezZwVIB{Hq;8#w4;~d^OL3b9s3JkF|p8
z6YJcPT1{6fupmwQIqTUTn}5Jy1QyGc)b7KvHo*M{(^ewf+|$`D$W<
zFfu2P9WXdVgHape^I~n-d!f{xS0Ns+h0KYpzVXPfAvOM3d_BZt2dS&IXpY94RZY>C+Ays
zcJg9r_2;;mDn9PdU*+A;8$`$>Qju+rc%eA&qy>Tn5tTIJHK7}b+8;e?>#CJ9kRLfmm8C(R;Q1bBhk}dXa
z)c&8FGN4PWO%LZbXUfxTP9T9qfB#;1XrqkvTDL?X+>ZezpxJC~>x5+ZXmXe2
zCI*xB%%8XLGDR(Xj^y){ht{#`Z?E4TQoScGE-m~Qf0eW`?igq+<3eC1A9}DK9(?F$
zFCXJ(TuRY~gjWDgn9+j&ug1PIDvl;-7a~A{F0KIze7&*5JZOMx>
zlEnjN7H_#_Qz0F~|34spt^@$_)bM0uVv`!v6w@1s3Qc6b#-h#YP-^
zeJr`lDg0Q(O(`PWvTLN3ljC{RbKuNq{e4#vl#KIZ1`qV#da5F1Tv<`^9BIM^Qz#VJ
zYnN24TQLw4_v+ok4jCGVNRaB#Jg`toMro&h^QS$wl2$2PZ+?*Z^7rv*&&qrLh}=D)%H8eY$Q45ZRm
zE;W1(f=|a#9awb#)!Ke{wwPk@L1a2LtCDL|?
z=F4C!x>FmJ{ovKNgJJ*V?N9mqNp9rik8d^>4XaIa=%TQR?DW`=UU4W4DJl$Dh5jRv
z-SmC@_EonRcx^C;chTS2lRb>QJBB|bUmz*<)~*hA4L)cd2{pf*aqKBSL3s7KANe}$
zQaSueqEhljR@-lLxXhBr*e{+6T>n_wQ4aFcCQ*g`&r0xR>#yj~;*fb}jOj*a&i*vs
zJ33H_yKUyqQTG{}9V=lurU`2FhR)xVEEKk_-YJg|L3=ACgtVXQh{bG9gK8;{|N8PkS`M3=c`gX2@OY|?<-Y*Rv5*a9}hO(!G}ke
zt|a`=`j!;Wuc>etvQ9)({g%o9Mba29zjGIc@v@G{q-)?1%-7oQPkJpFf4;21$9x
zSHv_1dT2b8o>i{9dL{35;S$=~2v
zOJmX(a*&!+F}qAM^309hgbJRNbw(M!zDUjrN&3zH!24WryrX%Rt^PzsIfPf3g7x6
z5B~_l4{(+*MQgF~R-Uga(dgi>9+vZ^eq8NoY-*BUScn;KscF%^71|O*h
zsD!9i9&e}Iir5se1ZK
zt70jTqiPxV6}e3^Ce&PNia(8)XimR=y*KwDiWm$ATQSbWUtSIOYK1MOq_5rscEt9o
zys2OVQ8Hox`nFs7hL7%b`J!gqJqu=qq6aBu_+MznbIx|;W8*U$!%YG6lu
z&}uQqePCzzi9nNR`=Oq7$%QRllX90L+M8-iccq&uEX&{1I%JEkAZj`=INzb^C7WuC
z-OT5Vx|j)p3fgQmDM&|K+{>dNwXL%3UU?76ZqePD#ECka&p5jj?mHB2yY$^So}uJ!
zeZR<3kY=?UWK9<-=rJUU`rlXL#ifBrgr+`~{}l9FB=2|XQ#$ZlZ$-$G;r2zM{PTWOAf9GPRQR+niUM&=-a1W~h{Ih!&bohyay2AK1y+
zII*mIx1~ZT25@5M*D-YHq2S33JNmolITjnu>ioapxGtw{s=eDphf
zG3e>6d(Hd_!#u$@N#1jFq6VVn=xodb#HjZ{Mx=H_MSAjL-B?wmJEDN2U!a&?n!$O(
z=O&@b+1d*%d*b_DJZ>b8i!HrHbrVrNv_eN_27z>F*#6-n;3g%+*_eZ*Zk1mHnUyWA
z>dnULWzFGv_#)~=l>?o(*GOv*`ME1$!p5|{?VjG#^iYsH(y8wo)(!(71Trc{ywv_&
zz0%Wvda1I16^QxnQxH#B_G-4o+AM9((GLbE-NqcU%-BC@l6pq;I*Un9emqo~{OG{?
z(4kRQ;Vkk!IS=;B{5o}h!RsCwv!cN^K|^TWSdNwNn7w{ih4&X-kOE6}WR8t30m60(r(
zd3XRaczlK=dPBu_l&f=@X7z#AX%ee2mE*}q)FdQbJqYLw1m|&_M5-AsGuNclklQTy
zpoi(m=LA=B=%VWd8{>W&IpFCO*18h#(0EiYS-}V?p-+6-#I6>3FpTgBO>avgL;*TF
zm>Ldr(}BcbVLZ4qLejHE&Uj%zKIEVJ@Q+_DxkI~%L2X*F5A4M+#tOD7t_A7T`4@r(
zXh4@tk&Y=Tm|)u^W>KD0G&1aAheXh^TaIb
zv`g%!T+G81l1S_K?Rw4sKk!+vbzuQ>Pz-85NN)7P%`5gvqV4tvmG2zIAYdRW#jb`I
z+5&Zn({mxXooRN?{K$1R3X0Q5tQ!-Dc<$5(2}YE%gtw%pDFy-ZlFGr~*wVVvf@XXC
zX}};o)nvXCP*d
zG6N3niiq8}n|+i~Ym7Y0kEk2PGf*5FW+>12G!T{=GkbGUZf;)W-sqr^Q4dV6fQwjZ
z_#jG$uhuER9y0H;Uhz3<+oiAOrS5ScB~Yud!rZ-pRj9YS7f7&4;BX4jv=L(8kYjAFZktV;+&9s5@!l9loWZKC2@Pj
z3z|N*;T}q|wY2;WrHjRG~fQn#PO~VsqD~k%paAt7+Z!AU$
zK#W-kFcyLyh2Q~+k-P$VtOt|9UMncr?c%q_`7edX>VHo*2zwBLS~!Y_w-0s9#qi)v
zihvm@MO2aIHmY?LUL{SWco2Fybs#TvO%98x-;>%L&PBceJjY8q!XJX?W
z-aWPCK&4}}w0d0c=`Ev&P~X@RLdB0QX!L!ZgRsO@lVX$%eibMNwEw_g>bpU+2Js@Zu9XZUz|K-w&_
zr{Q`-^BUyf6vzI=X}CnDgc|zA#pNvUIp%W2I)Brq|EWySmyLc~YmN{w!`j7jBFEtj
zVWIZarVuz6cxyQz)MfQ-WbVk6T3q52Yx~bl%l++bKKDcYOR#O-?8C-om)_aVaa+KL
z-F`Sm|0SSXzt$>VI)^JUZ7mWhY6iCKz+w)Fwnr$6V5BX2-|S!KShL*}-p}rF8Qkec
zuMI3*ZKm3PmwW9Ef4?>PDi<4IH2JkD@y3Lk)<^{e<<^mqcyd(9TUkitLFW{G)a-4x
zlwM0BS!s1*?ecZ8EoIBW%j@Q3qkko$W@h*J!n7Lg-!a0Az!nb(0+BV26`<$&O=9V66;yj#QZb6=$WGoN`|mlCYM$Ci7>$73
z?#<)^OzH_Ld@Wf!$3oi>>3jSe{pHsu2$>|;b;G0jMLK&dsUW^yL>9QujGLF2*Dz9h
zXggCg=GhaI%^$-AE8=TF-vIcu040(fCv`Kv0XD338^<_+nzQFb@JQe|QC(f#2{_N<
zmr)K2Tv{wG?dG)}--BdVD7CK)^%tN`Bsh~9m^CxLzDu7h-ofH_9vd||IXUhi;DYuZ
zT>oNBTr60*iOPpOo0rp4SXj7M-1O2!)z$Ij$R-F#Bj?S5e@G;;oSpHn`QpQNj$h3n
zSfFD4noyjTLY!!`%V2M>YLUh`)kD*+n(RmG(sh_k?w+0Hz48~v4Qbt#)91ARnZNS`_H`j<4a{mF~B3phR&4ktFr5Q=*
zloS_O7&e3R_J1y>0X~h%+yVV|<0OL4jg${~`FohQ4eqjO>vlJOrlVQ(dkd}h_7@zH
zMBs5ugbJq&M8e1A>SSZd=fdFL?jBu0U7ja~Gs^p_+PO+OlX!FE_}e{hcMNq*L
z@V)_W95c)CT@vhkcfxd72?7aTuv@COi0O);TE`<96YXN!`F;-6)t=imfm&4i34#sa#QwZk*jT=zDY=-z`-z55lOnx(js>ps
zRC@%!(>g3)Bt6!7m+%NwKVF#N_nS2$Fd?iUKmTy4we>^Ht9RkKSF&GuoC--+2*0#=
zrM$oYf-DUjzzl4ODg#{I-!h5#G>&Z?8OoAev~&%O`Aqu^>yYv5BA&{FN%`@dkVeE#}P}LXxtG8H^vdr
zNlK9V-^Yi+wBt$r>}x)VmJqR;$I>%UCcU%#ChHo)$pq!jH0
zHitq#trCv!88(2aRg^t@dtEU7mB`BPB!fN^)QblLhh7aDU1a$|mPL*wnq{Q^0vmL6
zSJ&hM-~USHOQN84nRjc<(7Oa-c-!9tr#_kYzZ1YI1>LZ0!G#~XaYRaA9sfC12t~1q
zXFBx#OH-~a%R+a^g=apLrlX=lL%|I%Vu6PER@V>&IV*xN^O?qnmW9HoX?%gw+EY>y`&;dK^N
zYdwV)B%WNT46!2Uj-u#Zru{_G1xc(9@BDN2w2hp+@eCK+B=rOuVJwfx0%*Vrm*O5m
zdgYj;D0r+o#HjWskJKt9W(sA3a;r^Wh-GfER`~s;;ZTmO4-VlL|AcFzt2-M-!Tahp
z=!Jpel6f^33Xwz-2kH>biFMtG)@c;8O)jheLCauoG2HQ;k{JnMB3!w$YD={I?C-pQ-K8~wAL&1ROT6KnN)@pC#
z0(m0nZf9p#etVQuI(xo11(2WZyEPU5z(AoHAtAtHke@2mk#v+%&-fY#Ti+Z^1vm^{
zcgIKMnE*QLgwaQuC*M{h%|Gj*5LEfp+fZEU@;g8SicL+{j3VNDek=jpz8B#3<9s*A
z2E3swSwD9-rYt(LpI?d-M@?kAnPvXSoCmP1jVN&d6*yLep?!oEQ(jjmP~X+#7Ytzc
zgV|c(%7!
z@VNe4?F3v2@X){Ly+KiR+P;Dn|5v`}FGj^&iGe
z*s-3M`^rLBWvAn9#Y=6Rw+V9&K!eHtRB#3NUMdaXnVY|TE2tUy$H3BaE~@@z37RY%
zk@@y_ewXm|!N6jJGw)}FH}gsnqY1m}D7snqpXVtHryEEktIiV)aOy|Nb(ncQ|G>szJni%xSkFKIxaH;Azg_G$~HyGx-lN_2%T
z8Sifs{cuNu9Kn9MWV%2IM2x?&sh%^*LWuzP;Vef73+!i`*SymwEa$UwWf&hzC)go52y1S{e>d5za`}Ric*)2(C#mGb&tZ|Uw*ackI1
z!n%c!9=v>>U~Ya^R};CoM%gwq<-Xoco$FTwhgq1u-=_UVO-&ER^Vf52%dzaVv`n>7
zNc`&gK{-Z(o(_cSa5SN-@^|5{*n?Uu3`INdA@zw21O?@Pm*94OH^#}*-SP@`5GG0(
zh70d_fk=zQbvlF46(6JNWlVd<^vX+o(5JkTDyRNZGHDXIEB?EQM9V&JBc|cO1tFhV
zxRIaR`8hKXk1xm9udOIwc@L`ITy*U_%+2$6@v|gXv`W+2$HFkE%L4);rwn#i~?+cbH`>oGmnd|&cWN$3K*b2QE7>l`RFM%1dD
zsfVe5Xi}f!Iq;lu;rx7#WZ#fFn*mJf>m12%VF
zUk@}$h{0;UbxWzjXs-(UF@t~Qn=JfW3kDzJg$|b4pksiXY{uAeu
z>Blgk&B7f3dG_PW`}ZNcV?Ew(Ni}Aw`-6_#`$t+JOnNXzr?$Mt!AK6vH&r=F%9pV)
z8p4=6WXYjh2`s>RV?)hLfie)%fgPN!k!h#*hV$mmou@!u3V&P4Vw0kxcSwT{2iNx^
zs=8HKiX#^0KQ%WsD@P{PfwY}IT|HG(r=wv1g$5=ExI!1AqKLds7jQzu9cVzPf9qFT
zsjr>^K}Cs$Ef0Ls(@G3C1L7*?-Y{zD>3DP7km!CGId5}0J^;F}S{A2hK`S!6
zwoY0YLnSGNWlo_MUYvp|1Nmv#2<HEzc_{-
zMFkzh@^VY7OB8(2IM`5jx&=Ck6(;H2A@$+F^9=s&>%x}JRc!0Te
z@t&t><*5t=$jcV?K@V!b&qIVznG4Px+>Gn9@Q|^BkDtZHzG5;fbH=2S9(dhUd34nP
zcXLJIK#m&cGElpAN87$tUg33iG;ulnKrO?|_ce8sbozTdSIp
zwuVvwuDr{X8Yd{xN&$9bWK$$_CTwjU<5Tvq%?nt#&5OpjA=WPYM6Y#qg;0~oA3Jl?
zLiz^uDhQWk&?Bs*LYel9P7-nz^Wf|A0FmBjG$3)Z;zK7_LZS_yvjBJmiMtK1!gKUt
z7Xo5o%U8Ca7o)#JEt=5KE{Xji&jQWfkl^~>D7G=cm}F!Vc&y%Ha@s7IwA!7AK!)vr
z3Ju#!pj&pWinDrvS}kDCeD3@*$DCMAF&v!}gu3ss^EE1tQI?l)X4$U=p@dB&ASXvD
zykJKAst5Ay@5hg?t$lc3sxxZm((12f7vMacnM(O)9L(|%{hNJ>$#FCff7t0x8Cw}{
z)9Y!!tQmOcafi)v;SE^r}7qnI@j(PYn%_cdB%(ANA@Z2JGUV$H-Z#H
z8UIvhg5D@WP~vYcpv}nQqmU@Qu@U^&aWct*eO1M01V^@Z(XoWh8`3L16{33_iBJCU
zfKb1<8aNAh>FKU#WzXX-EeSbaQ)Q3LA5l}ezUHD8LgG)CO|G8RR8!m!_&l@-<}b6G
z-UNEsH5s6O%7md%kO`+SjBMA<>2VkcwL+b*ODg6aSDDf^j#6QhyH*}TMG|^BoBhrAbX>JS6`)+CjMVW28&spcVU{(;S%(AS&u2KQzFKw^0?XZumafzHf7a6!N
zZpAn7^N-Ai3w#?#v^SI0iyneE3+~YshRkP7?T;v)*g--L3uUZ54=oV`@{RE>$5y+tQzpl
zB~?v$@RE(9MF#*t
zP*hq>Sk?2{!91cZmCsxM)6!*2HII#6w@ovw^WRb!=0VN06<5;Otpc5y87j!Lpy%7L~W|#Bzs^dX#{yE
zB0w{{y4pcre&lRt?DqC{L>b)N%p)i$m|ky)X7e5_7-*PMGwoMFx=i
zt*@_-!pM!(P1z#K?FmX=-Y6SOx3l19!%9XXW8kejU%%nCR*0p{2kl1qUw73;;NK
zc(i+-Zd4!&e&MG92=$p5XlpO*&sJNcD)u3g0Q|4BdEClMN-WBNH^kR)ps}%!@WUcC
z_6sK9>t@YyS1?*zTbs(3jkWc}X$LZ(p6>4MF{#HJJ(0}@ZU}&r`>WO1)at4#h2OjYKtyC@-%tr{#8(eE+P*$`MOm2)
z3rENFGzT>`H5V5b6%`dbyXxiGH+$16*LL!=PaL66E
z1m2vNwzsz%lI!d1Cs4xW;dis#;U=??2WMk~R~m+V
z&s@Wg%VlstKaaVf^1O#X3#=#T)q072Y(b~pPUFYm+oK;t9~LcgeKC0ckRnUyc^$W1
z`B{8$Uh#yO`05{j?D_ENsL7nWs+C>
zxyr0r)XIighZysbAv*5!W|{Uscgg!mKtSo%i&+EE09C4OFFNRc-=HMZzIj}dWO>YQ
z-)_IWs(CL6TOkdRI?XUZO(O>L|Y8)O@hs
zPPceB=jCxH!%zvSGOAgDV>F?+t`(Z}b|o~4`bhrBI4$SZ((k3b{tWTOXU}eQt}OEm
zD<0Zm0yO5^K$86VfyzJ}$TRr%bPIBZ|@-w~{q5RIUdz2KzkLkyA=6EaZ|kN+IRS
zW{>w*JB>*EqVk|F=KbOuSo<3a{^yKs=M$%|SyntZFOHTM{eN5z?3OIBcB8n$
zkr8sM?q|dGN=~WFcS=c8iK1_fzc$OU3suLV&CTlhadE7XzbjlN(+dN;ls;#fCP;f<
z9!Tf5j$_i~0$FX6WPvB0$XrW~fp0zhqHx*>J~{C17A7Ku(rw1@R=u8qn31Wdlgih?
zHOL3WanmT2XuF(!y1W|9GjE!BpC^;7AP%NiYm^mdzGxN2;4W;NjVFm3B$*wP^*-@H
z3p(*1O*bzfH8)&@ds7Dp$EVJAMU|v^sa)8G4^EGihY&&xX35UXC#mhpNzE_BDQ*(bpmRTG{|Dka+X7k3t
za~(-ZN%Qz-zq*0<8n>igGj^f)WgS2EXC0=Kf>?q4dTtkwZ;THZ`^#|Aa{j>&*aa?m
zZbnlqB_#wea;Zd~Y-URc<`cjVYJ~A`5EYJox+z@ga(BR5Kw~bSED1
z#X~0c4mxb)Xt^bn4Ji+9rAx^uw+TS|w;xT<&HYp<*oIj|8)qx)7hd{6Zhmowzg_U#NC_FDQ_<)5F?94I|MX!_zkV^@=NK<>*LAyZen&hw!;2VxS$sygv0
zkd{9F+l&IZ`1xFg!t^_+R*f8;j?!C8@jTPCjk5A8W0K%*Wso9M|Dgu8A`~@jT880_
zr&<-NR+^7+{tH`?G&d*s9W-yec1&RCYDD1nz)Y&MlMd^2+1cREGeOauG4K_F)N69F
zxM)U)Akk7mLn$bku-4U&6jQpw@S0a>3YmfocHE1neIyQ?>D^(1=b2)q(jn^QNXsFq
zKt>8SD=QzR<<>P2Lfa)8U%%1tT4!Ko!tSqPQ-4`IX_2#3YgwirueNsMAhlxQAYbwy
zU@-N2f_G5-V%eU_5Lfp7bU|ucG6TO?o||{B69%h~iIS
zbjk0fA1CG5k|7l5JHcwtT~LW0>w670o1InJD_`-#*j@ekhiG-1+TI$We+!e;QXKzS
zR>)K>hSgDOsk~TDt9)q7oWR1jUr{?eLuufQ0?PqHrBPShq4V*ja(Hb_w#18=-_dzt
zuIA*qI2?61#dj}}>{M{-ts+D*`KLVe1~iHis%12I=8LhvfFRPakrc2Pn2_+f4pG0y
zUTFz}CTD+?GqjY6EEk#sEBzv|?Ez^;6xsMp#H{j0H5z;
zZX}P)@2yz$aF}@dOxsS5Pu!0lZ(5PV?M@f@OvZxVUe-g14}4%TLncUM^_xpWx%J-{
z-~1P@!{Wyxl#)$fe$3tCle_-$P)$bdQ~6&`y%C<6)-V`h-uDm94az0)7ds{&+qX#O6wscLeNl1X2La{6*B{I4
z_g+xxk%3vWxgA>)(t)zAa9g6g;(Q610tfMY+Y}1t$><7x3gMS$k^~i7Ow%*g31i|_
zByEEa*#{KUqZw8bZ_Wr)W+w0Ond#5+t!;`f&I3Ief7|bE#PA+jQqbz>IH(XMAr!d-
z%;yFqjcyi|=64bGl;nr|lXJ%XxDz0e4sqjm-5qD_@=E^zpT&L~UW?w*y~+)ymh!$m
zY$*8227@F@*3j@=w-w6@4#Cb<5OG{-zyVPzV~4|41a&+2{JtrRT>RU7tmL!UQnZ
zP&w3f?CMUs{se4v(J`02=z&}7;$C$tRK~VYT43Yt7kpzI`pB2g5(KZwsLy#g<|=i#
z0ExW83`~@}r|V>lqAuv4&W+kWk@kl;Ek!TnE30saT5L|4n`&!Ksn)a@(U8RJn`f~E
zAVPU!g{0Cav#$485Ho85l)NVbP>4x{WvZG*vNDE>Wv$xj+r!a=QR2{z^gv6yELW#jGuatx8Bn9Y4kLlpC
zKzke96%k)wo!qO{{4)w0cfYFTgKZ{@5`9y&BF37i-kC{N*t|Wn*3jF%uo-%JG9AP3
z{JpB9B5Cx{X|=zWz#=JKl0s`4$4*H6sUSw5oN>94J_7C=;~je^J~
zvH5ibw+tzx0#khzbRq_M4rjn%hA>MZ#gxB0`sO>bn9A|8ZZ~U`Rzg1Q9
zGn)mY;=TF;h$^;C6MlxBKliYQgl79oyMBs;|2X|RX7e-H$5982?hnlac3>(CBvscH
z1O1_=xFRTYMQ2+m{?KP%fq?(XMN0zs|6OBwtWP}7IVSP*67Iu&VPGkcIpV(7@k~t(y}PlC#avE9V>Xn;?~~u%bwx!5tvQha
z9xx9^&%m&3-@u2!CgICC1@iJMW~+PY-lu=zc!+p}$@GZ2}EimENG
zaT6_&nSC{hP6a5CTeY9YxWm#LJrDN1Mbk9@+sgs|Ajd_NVqo$j_vznCYip~;Fb|mJ
zTI8un>5EF&nF|x6hY-%rlLCJX-}^=084J4OD-8b<%}jJJ58ewx!*>@*~$}h7%T$
zkv8CCT2)o`;ll?%Xx1j$8rlerZ8hdhV=eQ~+uGimOue92az-P(({4Fc-|hK6o2L#X
z=jO&T0~B}AM!3udlaQ_7Pn>i4@$eeA1+okP1RhrxstF|uhx=lPWaZ_Pf8zpx@jqdM
zgM&Z;gTh`Wy=MyJ{#4a&fI+3c(j9oM;{2E9^%PJ
z`=jLG($tiysw!nNGvJ!s>J0t;Cl=++lq&z91c>;dBx>4aCL8AqYMPEtAj1{S4>J
zWk}z~JP<@ab)N?I#ggE%A041MS!AdIETTOxz{SPXY;2RR27nXsmF@jMe_qS2Tq^Oy
zzQ1JISu=QuqpqkaDk?fXJ-tSthR=d4cf=f9VL6CB8)-&cs2ld-{z3NYYu}*3
z;rb2sNQ3LHve6f{(VvO0Y@Ss=x^fmSdm!u#F}KSpD)!-G!x`2N)A!oK>4XFtWK-g+
zhwfj39`8Nge$ZP(Ta%SzU*%c_Qlz!s99kzBF&S=DtpbJRuL-o?3W!I;r|@wc2!9n6
zFrW@(MExpAs{eCrV4(BgQB~D&#m{G~$R769y`LZvl&D1ben=nYFj2M2c%OS@bu?LE
z#R^^<3cI-6s=jMDODsRgM)KMGgzXR7U}b|J?^4p!)9IEt&CI2mtOoI*$POE_>O}|o
z)mPVnr)*T>DUhjZbJl`*G|%cF+;LzTo?y6Ojrw}m4Eb39wxpTLRTXdgqm^jeZ5!V=
zt7tplT19R2_q}8a{}KE8iUE(b*I=p9Xv}
zRDqq+TE;n1*~m|XWSoW5Mh*`^jX7JH5qSP8+n>swtdwQqVs_(vymxNdO=*T`KL;A%+WIiki
za*FH+9I@^oKXdh-?M_w(A4)Xyukv$^a$c^)b{9iK6siRqcdZxx^xCdfXl(9w2Knw+
z1Vj8UF~@;jkteJHCpo5+t+Zi0;wO!Ma@DgxK|kGY-%&3F!zU3k5W=7k*5$qI!nN?46c!
zG)AQ&9PF~~G<3w99?lGn6&TGXaUhI1-9w{u*|4Q>_ZFPmRW6zo{&AhOIk&lVy#phx
zE>yr{eVC3fzTWy(+p30}F#WP(sKZ+i#GP!E<)w#*60wb~|043_ji~$TNEdAW7!3+j
z^TZmlNL%~X`JCa~k^h%Dj&N*EPZ6hI24kHx#Q8*tIMqE5$ny_ECr#aMr@kLY@qN4L
z!TMB9Cv$(?&imd=60UPC%zH5erm`R=qAlN*itA5{#Ki9nL|D&*1Q&5pij%!jG9_ix
zqVy@%Caq#Mc9XF27dxzI>88MMGOZ5uJzz9nZoA~$WXk-^Jz!l0t_@eQrah5xpvGZv
zpl4X*dQKn2pFl>f0ZCtUWIz5^#`oEsjWXHZSim49ivq3dovuqZDcXIgHYk9kx6yka
zeF^2B>lWjs9iw+B+RjWO=+9dju<-IGQh)YaPqJ}zC+g<5c#zOw&^**?9XD6-nxX`2
z(S7!Cc;8?!4TD|YL|W68(o|^ER*u;w-Fxai(*-+Gb85z7
zCZ8`pv)L7uvy-Qq6RM&%tNCG@W}wE>6b0s;H%&$-B$IodJgJsoB@(!{+f`|Yzh=eVdc9L_^e$XiKi
z#o-SNG)pjjf%upwTa>7rwY1&e645LmDIj=@qiV8;00h6}17lT)9NkV>vvI^mxsklP
zZNl^$(-A5fN)y8$)Z*@qH$f
zCcpNb!SY2uPg;`vl#q0;Yq3yIgK*PS%1Qj3pV+dq-d8EAseHr&7k7hFx3QlbR4_2=
zl9-u-`?lD!OE~d_JY&p|tStmYnck!ln`T_0eCB#?(p@&x>`Df~u!=j8C9H35LUv*0
z957(r@5GCn(RF04CA~c|!?wla7;xobXmvy4n{Bw<<5&1sBS5C*iKU;CBi|)HtR~2!rogFr7!Id{Bh%zmBdWC}Cs2_AkkzN(
z9$S3d@qgOO7TV}z|0pTu)#f5ed!
zr}Sd%(~b11^aoq}<4dRZdUr2eY980&e!2XRlI~mb0k<6;ZeEVW=Y+rWUmWC;;*;5>
zl;$&+T+%`BQFo8l
z)|@xIJJ#7R(eyh_(_q4?DTAX)$fUMpY%J2BJFhd@^b8b6N;J3%iHiHOLMLuU5j0xp
zF^6#yF;JQFVXtuPuTo?7jvfR#UDrBN?lR{6OUSh?g!7j(jxj=PNZ)UvFZs2h=o|
zAf}yul&U+P;|rgmC%CAyj-PpRAYMnr^Uc$C4l}CD%ZZa3g-JJJjezHpGM4EIP5DyLKil`U91;ABnZb1g5CZk-A8l)VLhX0@;O}J^3f`QszA0td3B#
z`609w_OaV1FP}Kum7L*1pybm{thL278S?}`7Q2>YmFD^)^_Gk_-cn9n~vtH!vY8EEqEIV}9j4sInji%PFjIS)+sSk~X
zGEXNRKG3WlZmas;SkIZ>8XI)wF4-C+G2_#c%;9b!!cP@}&+zj<-_{O%1%e1K#bH9Q
z4lpeV{LF=ZfuD5$`BwhL*6r1I=0W5^_Tk3x5%iehQmhZj*O?IOE#oePotJm4&nsq2=hy_88ZN#HX%@b`6
zuBLWxQy;D4jE*ElnDvX95kg0xZ5r9wmhUE`Jw_t0hZ)osOMQ+`Z&<@mpccm
zIx;@$NZ){i4V=p0aNofaU|a|k-Hz!{A3qIBXW;gjaUz$j2>beaFckWicX>c~o3B8)
zG@c|Ot|#zUesH32ys>Mkf4?!|W$?*uF6F~;X?hjh>WhFXu%u%&UW?`I<~QP}ik{0w
zNAAo29F89JpE$mX(|`I>)zFk@rLQ6Dvy5T$7%yi&nzQGSoz6xE_5C6xCP1ERxXpgQ
z9nD0e$WFptX#4G!e_*HCjV)VlZ>AEqdU#U@Z$lCvD+Zx}`i2+F{mkMS5F<~QGxxtY
zW%W&YC$4vK6;Z9#q^qufbC|c(;9#aqcYjkC#_if-L}VWh+{B5G?Uy8nV!^Vwsx2mV
zgH~6a55j(c)$2^-&u;2eLG8CI%f}*bz2vE|BfSOvuG!t*#2@2E_De!2uwY@py)D^O
zL87@t4GribRSyz$FXGrZ?^~rz-zHd*L{L6c4vq^8CRNCc9bdhB(&?{2QO@YH()bSZ
zxpF*;Go8~qUuRTlOu5E}ABg__B^VT%@}B-^2_s#;zxi5Nx4{9)OJn}1GK_IY5Ahl80Kj;IQcE9qCYp|ZilROTL_0QEaG%c+Q)g{;|Z
z9is-c{co1X4O%{#1fAOUN%?uBx9dc#UH;lsS^N|`ZpZdhljPj|wj+V>5vpU9iKk
zoL~3Lc*IUEOxMlDiUT8OYkr^Tai@G%+RgIgD>j$3{$crfW@JBd+>%0xvQYzJ(3!92
zszogVy>QzH%im`@%|&l61;JYoC;t(r3sziVUEMeoq?%~t38DB)P8R9;&%7B0g+FO0
z_9R|^%|CqLZ8;GFt@r$KJXyZ44qTSAD$g7(#t~}F=grDg?
zew@xnvUPf?`NqA8<=v-WsiYaaX!;$L8-dx}%pqTJ>Fs+(1*Ek;77zZ~JXFk`W6r|d
zbwioHIr*~YQnedo!k6P>Yd^>{ntP@Oxy2wU;R2o|y0F5vfU8)Fl05hJD4S7(XJNia
z`Zq#4x-3CGlGm$;CJJ2BNmea!tFr3qRU->F`uxR#X7&!voc+*|m3>UMmd_EWa9E2t%Uk7f>yY-nwIR
zFr=8Z2%mVv5D+VAV$a%yygkWEi4uW_W4T@Zjb_+B3~2%!U)4*xjD!f7NZA9rv9>tV
zC@oH9`}_P91RTiV+SU6mTnr+*USu>WQB|}Fn_Ooa%kh7gp*A$%JoupoMGK>)H*C?q
z^zA@;emz0M1oRCxaikYtftg@F%%#R3|I9VQi^!4a%zLBrYoVn8LI6-|_tn~nA@W%j
z5#lS87DoX=7>gYmrt?XJciTwt&QhXQe(X8I9m+4U_A}cAmz=?<-s+6yKL$ehijTPTd!-E>P
zu9bc{o$@?VL)e-`;A*^jg%u7rWfL7wx(u!x?ix`&RL?+d%uB2Z3W(-fw6oEDnERSM
zbvz2~+wT6*O5UihNvwgA)kfl|&hap2a+3T!9ih_q5(2jUooG6~uz^q!JZgey507=i
zjb^XF#LYpf_f%rYPY$a8syYl#DKPG&sOGfZt=6DYWR!-9X=60a166>G!CAM7j~uhm
ztVa$6%AKaiTcQqfjOIxaqori}a2*2)#I2`Xr^;eWJf1#wHgA)OfF@!(u*#YGrAM6Uc-G-VJ<10qGFpZ>cejBPzY(9za**aP+@``WxiHjfJ2bZW{h2z
z*5qwQW|~;mqiVYs;yav{9&*O?m{8!4L1#)k+9|P(v`}DJ2)UxCl}7dZmvvT%iBcVC
z;f8+Dyc{Z1cGAOcT-m>#?ZNHI3wqMfB#=SeEhTq1ziUJ`*)Icvgn~chb@-jO-Vd5(
z#S1BBt#=z2SnasK4X5<+uCN$0L>%*jk-wA_mbr99V1EId+ft83KI!J2(2gNWo>h&O
z66pVFLYS6u!Q;WXgM-m6+vd6Mslc%&E9xBH)|P_Z*CBY|N}hVbfb;FwlMTRUEvP0Y
z@IDZcPAIQo0+T^+Kx+UP2Q&+N=
zs+i!Dc(|a&RiE}4xA73(9||mDA&1=Vq$^&)^wTf)_3m=z;Dr!x_{WU^t{%&+>s5>w
zB3r(w07O(kL;y0Goqoe3uP1`Y0{;!6xDo}wQ9rjM3Ig^^nhHWF{uYWnH53&f|BpYN
zng8SO|4{8B0dGDuG~h%!I0PT}b_a_r_ck&Z*pEw$1tlYSy0FL$W|7A9LBojXR~qK(
zoKP}@cz9XY%#H8t)KRnJR+S4DDT&SM?&5_H<3tWQ2^0qp3woFUM8B!5T((on9%XBI
z-+aLCSAm^+)N`3rvhy)Pkv9_9uOTGXkDJ_BDg1ch=FM2SVkD8QzRAErr2jDc(^;@2
z>DIt`{*elHLs!Etxj`nQALa?VhY!Nnz8S$(>0(Z#R9N@`Vm?v>TX38Ls(b2U4*Qt#Vc
z4&JfpA&)lSO8)6liO`x*xFCXn+vsD5(HmU*>&n$Qd#(ogw|p1P!m)WAydz2+JR=`Q
z;xDB#i^hun7~3uD54i