projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website]
/
vendor
/
drupal
/
console-core
/
src
/
EventSubscriber
/
ShowGenerateInlineListener.php
diff --git
a/vendor/drupal/console-core/src/EventSubscriber/ShowGenerateInlineListener.php
b/vendor/drupal/console-core/src/EventSubscriber/ShowGenerateInlineListener.php
index 90ea4b225a07ace732448dde0170ef86c2cd85ca..f4a71627479900db6c8a23eebf130dbc9365936c 100644
(file)
--- a/
vendor/drupal/console-core/src/EventSubscriber/ShowGenerateInlineListener.php
+++ b/
vendor/drupal/console-core/src/EventSubscriber/ShowGenerateInlineListener.php
@@
-42,7
+42,8
@@
class ShowGenerateInlineListener implements EventSubscriberInterface
private $skipOptions = [
'env',
'generate-inline',
private $skipOptions = [
'env',
'generate-inline',
- 'generate-chain'
+ 'generate-chain',
+ 'no-interaction'
];
/**
];
/**
@@
-115,9
+116,9
@@
class ShowGenerateInlineListener implements EventSubscriberInterface
foreach ($optionValue as $optionItem) {
if (is_array($optionItem)) {
$inlineValue = implode(
foreach ($optionValue as $optionItem) {
if (is_array($optionItem)) {
$inlineValue = implode(
- ' ', array_map(
+ '
,
', array_map(
function ($v, $k) {
function ($v, $k) {
- return
$k . ':' . $v
;
+ return
'"'.$k . '":"' . $v . '"'
;
},
$optionItem,
array_keys($optionItem)
},
$optionItem,
array_keys($optionItem)
@@
-126,7
+127,7
@@
class ShowGenerateInlineListener implements EventSubscriberInterface
} else {
$inlineValue = $optionItem;
}
} else {
$inlineValue = $optionItem;
}
- $inline .= ' --' . $optionName . '=
"' . $inlineValue . '"
';
+ $inline .= ' --' . $optionName . '=
\'' . $inlineValue . '\'
';
}
} else {
if (is_bool($optionValue)) {
}
} else {
if (is_bool($optionValue)) {
@@
-144,7
+145,7
@@
class ShowGenerateInlineListener implements EventSubscriberInterface
$io->writeln(
sprintf(
$io->writeln(
sprintf(
- '$ drupal %s %s',
+ '$ drupal %s %s
--no-interaction
',
$command_name,
$inline
)
$command_name,
$inline
)