diff --git a/classes/EcEuropa-Toolkit-Mock.html b/classes/EcEuropa-Toolkit-Mock.html index 2fc96d843..2a430cdd3 100644 --- a/classes/EcEuropa-Toolkit-Mock.html +++ b/classes/EcEuropa-Toolkit-Mock.html @@ -296,7 +296,7 @@
Each task defines all the needed parameters to execute, the required to ensure they are present, and the defaults @@ -438,7 +419,7 @@
The source file.
+The destination file, if empty assumes the $source as destination.
+
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
Command class for toolkit:component-check
+Command class for toolkit:component-check.
@@ -293,6 +293,12 @@
+ protected
+ bool
+ $insecureNpmFailed
+ = false
+
+
+
+
+
+
+
+ protected
+ array<string|int, mixed>
+ $optsYml
+
+
+
+
+
+
+
+
+ protected
+ bool
+ $outdatedNpmFailed
+ = false
+
+
+
+
+
+
+
+ protected
+ bool
+ $skipInsecureNpm
+ = true
+
+
+
+
+
+
+
+ protected
+ bool
+ $skipOutdatedNpm
+ = true
+
+
+
+
+
+
+
Run NPM Insecure.
+ +
+ public
+ componentNpmInsecure() : mixed
+
+ Run NPM Outdated.
+ +
+ public
+ componentNpmOutdated() : mixed
+
+
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
Returns the .opts.yml content.
+ +
+ private
+ getOptsYml() : array<string|int, mixed>
+
+
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
Backup current docker-compose.yml to docker-compose.yml.prev
+Backup current docker-compose.yml to docker-compose.yml.prev.
private
@@ -1393,11 +1381,11 @@
DockerCommands.php
:
- 96
+ 92
-
Copy ./resources/docker/default.yml file to docker-compose.yml inside project root directory
+ Copy ./resources/docker/default.yml file to docker-compose.yml inside project root directory.
private
@@ -1428,11 +1416,11 @@
-
Converts from semantic version to "major.minor" version
+ Converts from semantic version to "major.minor" version.
private
@@ -1449,7 +1437,9 @@ Parameters
: string
-
+ The version to convert.
+
+
@@ -1477,11 +1467,11 @@
-
Get final images to update docker-compose.yml
+ Get final images to update docker-compose.yml.
private
@@ -1498,21 +1488,27 @@ Parameters
: mixed
-
+ The requirements
+
+
$websiteRequirements
: mixed
-
+ The website requirements.
+
+
$optsFileContent
: mixed
-
+ The .opts.yml content.
+
+
@@ -1540,7 +1536,7 @@
@@ -1548,7 +1544,7 @@
private
- getProjectPhpFromWebsite(string $projectId) : array<string|int, mixed>|array<string|int, string>
+ getProjectPhpFromWebsite(string $projectId) : array<string|int, mixed>
@@ -1561,32 +1557,19 @@ Parameters
: string
-
+ The project id.
+
+
-
- Tags
-
-
-
-
Return values
- array<string|int, mixed>|array<string|int, string>
+ array<string|int, mixed>
Return the details for a service from ./resources/docker
+Return the details for a service from ./resources/docker.
private
@@ -1625,7 +1608,9 @@ Parameters
: string
-
+ The service name.
+
+
@@ -1653,11 +1638,11 @@
-
Get service image with version
+ Get service image with version.
private
@@ -1674,21 +1659,27 @@ Parameters
: string
-
+ The service.
+
+
$image
: string
-
+ The image.
+
+
$version
: string
-
+ The version.
+
+
@@ -1716,11 +1707,11 @@
DockerCommands.php
:
- 112
+ 107
-
Get array of services with images and versions from docker-compose.yml
+ Get array of services with images and versions from docker-compose.yml.
private
@@ -1737,7 +1728,9 @@ Parameters
: array<string|int, mixed>
-
+ The docker-compose content.
+
+
@@ -1765,11 +1758,11 @@
DockerCommands.php
:
- 245
+ 230
-
Get final services names with versions from requirements
+ Get final services names with versions from requirements.
private
@@ -1786,7 +1779,9 @@ Parameters
: array<string|int, mixed>
-
+ The content to check.
+
+
@@ -1814,11 +1809,11 @@
-
Get warning messages for versions on .opts.yml that not respect the minimum requirements
+ Get warning messages for versions on .opts.yml that not respect the minimum requirements.
private
@@ -1835,14 +1830,18 @@ Parameters
: mixed
-
+ The .opts.yml content.
+
+
$websiteRequirements
: mixed
-
+ The website requirements.
+
+
@@ -1870,7 +1869,7 @@
@@ -1886,21 +1885,6 @@
-
- Tags
-
-
-
-
@@ -1924,11 +1908,11 @@
-
Remove services that do not exist in project info, requirements or .opts.yml
+ Remove services that do not exist in project info, requirements or .opts.yml.
private
@@ -1945,14 +1929,18 @@ Parameters
: array<string|int, mixed>
-
+ The services.
+
+
$finalServicesImages
: array<string|int, mixed>
-
+ The final services.
+
+
@@ -1980,11 +1968,11 @@
-
Update docker-compose.yml
+ Update docker-compose.yml.
private
@@ -2001,14 +1989,18 @@ Parameters
: array<string|int, mixed>
-
+ The docker-compose content.
+
+
$finalServicesImages
: array<string|int, mixed>
-
+ The services images.
+
+
@@ -2032,11 +2024,11 @@
-
Write all available warning messages
+ Write all available warning messages.
private
@@ -2053,7 +2045,9 @@ Parameters
: array<string|int, mixed>
-
+ Messages to print.
+
+
diff --git a/classes/EcEuropa-Toolkit-TaskRunner-Commands-DocumentationCommands.html b/classes/EcEuropa-Toolkit-TaskRunner-Commands-DocumentationCommands.html
index 4de64729d..910f3f975 100644
--- a/classes/EcEuropa-Toolkit-TaskRunner-Commands-DocumentationCommands.html
+++ b/classes/EcEuropa-Toolkit-TaskRunner-Commands-DocumentationCommands.html
@@ -261,7 +261,7 @@
getConfigurationFile()
- : string
+ : mixed
Path to YAML configuration file containing command defaults.
@@ -352,14 +352,14 @@
taskProcess()
- : Process|CollectionBuilder
+ : mixed
Process the file.
taskReplaceBlock()
- : ReplaceBlock|CollectionBuilder
+ : mixed
Replace block in a file.
@@ -670,7 +670,7 @@
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
@@ -681,11 +681,7 @@
-
- Return values
- string
-
-
+
@@ -757,7 +753,7 @@
@@ -800,7 +796,7 @@
@@ -1054,7 +1050,7 @@
@@ -1124,7 +1120,7 @@
@@ -1177,7 +1173,7 @@
@@ -1229,7 +1225,7 @@
@@ -1299,7 +1295,7 @@
@@ -1352,7 +1348,7 @@
@@ -1442,7 +1438,7 @@
@@ -1450,7 +1446,7 @@
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
@@ -1482,11 +1478,7 @@ Parameters
-
- Return values
- Process|CollectionBuilder
-
-
+
@@ -1510,7 +1502,7 @@
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
@@ -1533,11 +1525,7 @@ Parameters
-
- Return values
- ReplaceBlock|CollectionBuilder
-
-
+
Parameters
: string
- The directory to clean
+ The directory to clean.
diff --git a/classes/EcEuropa-Toolkit-TaskRunner-Commands-DrupalCommands.html b/classes/EcEuropa-Toolkit-TaskRunner-Commands-DrupalCommands.html
index ca82c8b30..59e39d7e7 100644
--- a/classes/EcEuropa-Toolkit-TaskRunner-Commands-DrupalCommands.html
+++ b/classes/EcEuropa-Toolkit-TaskRunner-Commands-DrupalCommands.html
@@ -240,21 +240,21 @@
drupalDisableCache()
- : CollectionBuilder
+ : mixed
Disable aggregation and clear cache.
drupalDrushSetup()
- : CollectionBuilder
+ : mixed
Write Drush configuration file at "${drupal.root}/drush/drush.yml".
drupalPermissionsSetup()
- : CollectionBuilder
+ : mixed
Setup Drupal permissions.
@@ -268,7 +268,7 @@
drupalSiteInstall()
- : CollectionBuilder
+ : mixed
Install target site.
@@ -282,14 +282,14 @@
drupalSitePostInstall()
- : TaskInterface
+ : mixed
Run Drupal post-install commands.
drupalSitePreInstall()
- : TaskInterface
+ : mixed
Run Drupal pre-install commands.
@@ -303,7 +303,7 @@
getConfigurationFile()
- : string
+ : mixed
Path to YAML configuration file containing command defaults.
@@ -401,14 +401,14 @@
taskProcess()
- : Process|CollectionBuilder
+ : mixed
Process the file.
taskReplaceBlock()
- : ReplaceBlock|CollectionBuilder
+ : mixed
Replace block in a file.
@@ -521,7 +521,7 @@
@@ -631,7 +631,7 @@
@@ -639,7 +639,7 @@
public
- drupalDisableCache() : CollectionBuilder
+ drupalDisableCache() : mixed
@@ -666,15 +666,7 @@
-
- Return values
- CollectionBuilder
- —
- Collection builder.
-
-
-
-
+
@@ -698,7 +690,7 @@
public
- drupalDrushSetup([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED, 'config-dir' => InputOption::VALUE_REQUIRED] ]) : CollectionBuilder
+ drupalDrushSetup([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED, 'config-dir' => InputOption::VALUE_REQUIRED] ]) : mixed
@@ -721,7 +713,9 @@ Parameters
: array<string|int, mixed>
= ['root' => InputOption::VALUE_REQUIRED, 'config-dir' => InputOption::VALUE_REQUIRED]
-
+ Command options.
+
+
@@ -763,11 +757,7 @@
-
- Return values
- CollectionBuilder
-
-
+
@@ -791,7 +781,7 @@
public
- drupalPermissionsSetup([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED, 'sites-subdir' => InputOption::VALUE_REQUIRED] ]) : CollectionBuilder
+ drupalPermissionsSetup([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED, 'sites-subdir' => InputOption::VALUE_REQUIRED] ]) : mixed
@@ -806,7 +796,9 @@ Parameters
: array<string|int, mixed>
= ['root' => InputOption::VALUE_REQUIRED, 'sites-subdir' => InputOption::VALUE_REQUIRED]
-
+ Command options.
+
+
@@ -848,11 +840,7 @@
-
- Return values
- CollectionBuilder
-
-
+
@@ -1013,7 +1001,7 @@
public
- drupalSiteInstall([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED, 'base-url' => InputOption::VALUE_REQUIRED, 'site-name' => InputOption::VALUE_REQUIRED, 'site-mail' => InputOption::VALUE_REQUIRED, 'site-profile' => InputOption::VALUE_REQUIRED, 'site-update' => InputOption::VALUE_REQUIRED, 'site-locale' => InputOption::VALUE_REQUIRED, 'account-name' => InputOption::VALUE_REQUIRED, 'account-password' => InputOption::VALUE_REQUIRED, 'account-mail' => InputOption::VALUE_REQUIRED, 'database-type' => InputOption::VALUE_REQUIRED, 'database-scheme' => InputOption::VALUE_REQUIRED, 'database-user' => InputOption::VALUE_REQUIRED, 'database-password' => InputOption::VALUE_REQUIRED, 'database-host' => InputOption::VALUE_REQUIRED, 'database-port' => InputOption::VALUE_REQUIRED, 'database-name' => InputOption::VALUE_REQUIRED, 'sites-subdir' => InputOption::VALUE_REQUIRED, 'config-dir' => InputOption::VALUE_REQUIRED, 'existing-config' => false, 'skip-permissions-setup' => false] ]) : CollectionBuilder
+ drupalSiteInstall([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED, 'base-url' => InputOption::VALUE_REQUIRED, 'site-name' => InputOption::VALUE_REQUIRED, 'site-mail' => InputOption::VALUE_REQUIRED, 'site-profile' => InputOption::VALUE_REQUIRED, 'site-update' => InputOption::VALUE_REQUIRED, 'site-locale' => InputOption::VALUE_REQUIRED, 'account-name' => InputOption::VALUE_REQUIRED, 'account-password' => InputOption::VALUE_REQUIRED, 'account-mail' => InputOption::VALUE_REQUIRED, 'database-type' => InputOption::VALUE_REQUIRED, 'database-scheme' => InputOption::VALUE_REQUIRED, 'database-user' => InputOption::VALUE_REQUIRED, 'database-password' => InputOption::VALUE_REQUIRED, 'database-host' => InputOption::VALUE_REQUIRED, 'database-port' => InputOption::VALUE_REQUIRED, 'database-name' => InputOption::VALUE_REQUIRED, 'sites-subdir' => InputOption::VALUE_REQUIRED, 'config-dir' => InputOption::VALUE_REQUIRED, 'existing-config' => false, 'skip-permissions-setup' => false] ]) : mixed
@@ -1029,7 +1017,9 @@ Parameters
: array<string|int, mixed>
= ['root' => InputOption::VALUE_REQUIRED, 'base-url' => InputOption::VALUE_REQUIRED, 'site-name' => InputOption::VALUE_REQUIRED, 'site-mail' => InputOption::VALUE_REQUIRED, 'site-profile' => InputOption::VALUE_REQUIRED, 'site-update' => InputOption::VALUE_REQUIRED, 'site-locale' => InputOption::VALUE_REQUIRED, 'account-name' => InputOption::VALUE_REQUIRED, 'account-password' => InputOption::VALUE_REQUIRED, 'account-mail' => InputOption::VALUE_REQUIRED, 'database-type' => InputOption::VALUE_REQUIRED, 'database-scheme' => InputOption::VALUE_REQUIRED, 'database-user' => InputOption::VALUE_REQUIRED, 'database-password' => InputOption::VALUE_REQUIRED, 'database-host' => InputOption::VALUE_REQUIRED, 'database-port' => InputOption::VALUE_REQUIRED, 'database-name' => InputOption::VALUE_REQUIRED, 'sites-subdir' => InputOption::VALUE_REQUIRED, 'config-dir' => InputOption::VALUE_REQUIRED, 'existing-config' => false, 'skip-permissions-setup' => false]
-
+ Command options.
+
+
@@ -1224,11 +1214,7 @@
-
- Return values
- CollectionBuilder
-
-
+
Parameters
: CommandData
-
+ The command data object.
+
+
@@ -1316,7 +1304,7 @@
@@ -1324,7 +1312,7 @@
public
- drupalSitePostInstall([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED] ]) : TaskInterface
+ drupalSitePostInstall([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED] ]) : mixed
public
- drupalSitePreInstall([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED] ]) : TaskInterface
+ drupalSitePreInstall([array<string|int, mixed> $options = ['root' => InputOption::VALUE_REQUIRED] ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
private
- taskImportDatabase(string $dump) : ExecStack
+ taskImportDatabase(string $dump) : mixed
private
- wgetDownloadFile(string $tmp, string $destination[, string|null $accept = null ][, bool $silent = false ]) : Exec
+ wgetDownloadFile(string $tmp, string $destination[, string|null $accept = null ][, bool $silent = false ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
tk-hrun
+phpcs:disable DrupalPractice.CodeAnalysis.VariableAnalysis.UnusedVariable
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
Run lint Behat.
+ +
+ public
+ toolkitLintBehat([array<string|int, mixed> $options = ['config' => InputOption::VALUE_REQUIRED, 'files' => InputOption::VALUE_REQUIRED] ]) : mixed
+
+ Run lint CSpell.
+ +
+ public
+ toolkitLintCsPell([array<string|int, mixed> $options = ['config' => InputOption::VALUE_REQUIRED, 'files' => InputOption::VALUE_REQUIRED, 'options' => InputOption::VALUE_OPTIONAL] ]) : mixed
+
+
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
public
- getConfigurationFile() : string
+ getConfigurationFile() : mixed
protected
- taskProcess(string $source[, string $destination = '' ]) : Process|CollectionBuilder
+ taskProcess(string $source[, string $destination = '' ]) : mixed
protected
- taskReplaceBlock([string $filename = '' ]) : ReplaceBlock|CollectionBuilder
+ taskReplaceBlock([string $filename = '' ]) : mixed
Before a Console command runs, inject configuration settings -for this command into the default value of the options of -this command.
+Inject configurations.
public
@@ -524,7 +520,11 @@
-
+ Before a Console command runs, inject configuration settings
+for this command into the default value of the options of
+this command.
+
+
Parameters
-
@@ -605,7 +605,7 @@
@@ -661,7 +661,7 @@
@@ -725,7 +725,7 @@
ConfigForCommand.php
:
- 136
+ 138
@@ -790,7 +790,7 @@
ConfigForCommand.php
:
- 114
+ 116
@@ -846,7 +846,7 @@
ConfigForCommand.php
:
- 92
+ 94
@@ -893,7 +893,7 @@
@@ -948,7 +948,7 @@
diff --git a/classes/EcEuropa-Toolkit-TaskRunner-Runner.html b/classes/EcEuropa-Toolkit-TaskRunner-Runner.html
index 81d6ad130..204f38a98 100644
--- a/classes/EcEuropa-Toolkit-TaskRunner-Runner.html
+++ b/classes/EcEuropa-Toolkit-TaskRunner-Runner.html
@@ -324,14 +324,14 @@
-
getConfigDirFilesPaths()
- : array<string|int, string>
+ : array<string|int, mixed>
- Get runner config directory files.
-
getWorkingDir()
- : string
+ : mixed
- Returns the current working directory.
@@ -345,28 +345,28 @@
-
prepareApplication()
- : $this
+ : mixed
- Create and prepare the Application.
-
prepareConfigurations()
- : $this
+ : mixed
- Create the configurations and process overrides.
-
prepareContainer()
- : $this
+ : mixed
- Prepare the container with the configurations.
-
prepareRunner()
- : $this
+ : mixed
- Create and configure the Robo runner.
@@ -811,7 +811,7 @@
@@ -854,7 +854,7 @@
@@ -897,7 +897,7 @@
@@ -905,7 +905,7 @@
private
- getConfigDirFilesPaths(string $runnerConfigDir) : array<string|int, string>
+ getConfigDirFilesPaths(string $runnerConfigDir) : array<string|int, mixed>
The directory to scan.
+
private
- getWorkingDir() : string
+ getWorkingDir() : mixed
private
- prepareApplication() : $this
+ prepareApplication() : mixed
private
- prepareConfigurations() : $this
+ prepareConfigurations() : mixed
private
- prepareContainer() : $this
+ prepareContainer() : mixed
private
- prepareRunner() : $this
+ prepareRunner() : mixed
docker-compose exec web ./vendor/bin/run toolkit:lint-yaml
+
+
+ To run the CSpell tests you can make use of the toolkit:lint-cspell
+ command:
docker-compose exec web ./vendor/bin/run toolkit:lint-cspell
+
+
+ These are the default configurations in the runner.yml
+ file.
toolkit:
+ lint:
+ cspell:
+ config: '.cspell.json'
+ files: 'lib/'
+ options: '--dot --gitignore'
+
+ To run the Behat lint you can make use of the toolkit:lint-behat
+ command:
docker-compose exec web ./vendor/bin/run toolkit:lint-behat
+
+
+ These are the default configurations in the runner.yml
+ file.
toolkit:
+ lint:
+ behat:
+ config: 'gherkinlint.json'
+ files: 'tests/features'
+