diff --git a/docroot/modules/custom/va_gov_migrate/src/Commands/Commands.php b/docroot/modules/custom/va_gov_migrate/src/Commands/Commands.php index a5caff2da8..7cbbcd8cc3 100644 --- a/docroot/modules/custom/va_gov_migrate/src/Commands/Commands.php +++ b/docroot/modules/custom/va_gov_migrate/src/Commands/Commands.php @@ -145,6 +145,17 @@ public function cleanRevs() { * * @command va_gov_migrate:archive-intranet-only-forms * @aliases va-gov-archive-intranet-only-forms + * + * @throws League\Csv\UnavailableStream + * Thrown when the file is not available. + * @throws League\Csv\Exception + * Thrown if the offset is a negative integer. + * @throws League\Csv|InvalidArgument + * Thrown by enclosure or delimiter arguments are more than one character. + * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException + * Thrown if the entity type doesn't exist. + * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException + * Thrown if the storage handler couldn't be loaded. */ public function archiveIntranetOnlyForms() { $csv = Reader::createFromPath(DRUPAL_ROOT . '/sites/default/files/migrate_source/va_forms_data.csv', 'r');