$extraFields = [];
foreach ($extraFieldsStrings as $extraField) {
if (false === strpos($extraField, '=')) {
- continue;
+ break;
}
list($fieldName, $fieldValue) = explode('=', $extraField, 2);
$imagePath = $this->processSingleImage($entryId, $image, $url, $relativePath);
if (false === $imagePath) {
- continue;
+ break;
}
// if image contains "&" and we can't find it in the html it might be because it's encoded as &
foreach ($rules as $rule) {
if (!$this->rulerz->satisfies($entry, $rule->getRule())) {
- continue;
+ break;
}
$this->logger->info('Matching rule.', [
// avoid empty tag
if (0 === \strlen($label)) {
- continue;
+ break;
}
if (isset($tagsNotYetFlushed[$label])) {
$entry = $this->parseEntry($importedEntry);
if (null === $entry) {
- continue;
+ break;
}
// store each entry to be flushed so we can trigger the entry.saved event for each of them
foreach ($entries as $importedEntry) {
if ((array) $importedEntry !== $importedEntry) {
- continue;
+ break;
}
$entry = $this->parseEntry($importedEntry);
if (null === $entry) {
- continue;
+ break;
}
// @see AbstractImport
{
foreach ($entries as $importedEntry) {
if ((array) $importedEntry !== $importedEntry) {
- continue;
+ break;
}
// set userId for the producer (it won't know which user is connected)
$handle = fopen($this->filepath, 'r');
while (false !== ($data = fgetcsv($handle, 10240))) {
if ('URL' === $data[0]) {
- continue;
+ break;
}
// last element in the csv is the folder where the content belong