You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->write(sprintf('The "position" key is required for the "add-lines" configurator for recipe "%s". Skipping', $recipe->getName()));
64
-
65
-
continue;
66
-
}
67
-
$position = $patch['position'];
68
-
if (!\in_array($position, self::VALID_POSITIONS, true)) {
69
-
$this->write(sprintf('The "position" key must be one of "%s" for the "add-lines" configurator for recipe "%s". Skipping', implode('", "', self::VALID_POSITIONS), $recipe->getName()));
70
-
71
-
continue;
72
-
}
73
-
74
-
if (self::POSITION_AFTER_TARGET === $position && !isset($patch['target'])) {
75
-
$this->write(sprintf('The "target" key is required when "position" is "%s" for the "add-lines" configurator for recipe "%s". Skipping', self::POSITION_AFTER_TARGET, $recipe->getName()));
$this->write(sprintf('The "position" key is required for the "add-lines" configurator for recipe "%s". Skipping', $recipe->getName()));
137
+
138
+
continue;
139
+
}
140
+
$position = $patch['position'];
141
+
if (!\in_array($position, self::VALID_POSITIONS, true)) {
142
+
$this->write(sprintf('The "position" key must be one of "%s" for the "add-lines" configurator for recipe "%s". Skipping', implode('", "', self::VALID_POSITIONS), $recipe->getName()));
143
+
144
+
continue;
145
+
}
146
+
147
+
if (self::POSITION_AFTER_TARGET === $position && !isset($patch['target'])) {
148
+
$this->write(sprintf('The "target" key is required when "position" is "%s" for the "add-lines" configurator for recipe "%s". Skipping', self::POSITION_AFTER_TARGET, $recipe->getName()));
0 commit comments