PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
← All changes | libraries/vendor/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php +2 -2 3.3.3 → 3.4 View file →
@@ -301,9 +301,9 @@
301 301 //dataBar children
302 302 //conditionalFormatValueObjects
303 303 $cfvoXml = $cfRule->dataBar->cfvo;
304 304 $cfvoIndex = 0;
305 - foreach ((count($cfvoXml) > 1 ? $cfvoXml : [$cfvoXml]) as $cfvo) { //* @phpstan-ignore-line
305 + foreach ((count($cfvoXml) > 1 ? $cfvoXml : [$cfvoXml]) as $cfvo) { //* @phpstan-ignore foreach.nonIterable (I don't know how to fix this)
306 306 /** @var SimpleXMLElement $cfvo */
307 307 if ($cfvoIndex === 0) {
308 308 $dataBar->setMinimumConditionalFormatValueObject(new ConditionalFormatValueObject((string) $cfvo['type'], (string) $cfvo['val']));
309 309 }
@@ -407,9 +407,9 @@
407 407 private function readDataBarExtLstOfConditionalRule(ConditionalDataBar $dataBar, SimpleXMLElement $cfRule, array $conditionalFormattingRuleExtensions): void
408 408 {
409 409 if (isset($cfRule->extLst)) {
410 410 $ns = $cfRule->extLst->getNamespaces(true);
411 - foreach ((count($cfRule->extLst) > 0 ? $cfRule->extLst->ext : [$cfRule->extLst->ext]) as $ext) { //* @phpstan-ignore-line
411 + foreach ((count($cfRule->extLst) > 0 ? $cfRule->extLst->ext : [$cfRule->extLst->ext]) as $ext) { //* @phpstan-ignore foreach.nonIterable (I don't know how to fix this)
412 412 /** @var SimpleXMLElement $ext */
413 413 $extId = (string) $ext->children($ns['x14'])->id;
414 414 if (isset($conditionalFormattingRuleExtensions[$extId]) && (string) $ext['uri'] === '{B025F937-C7B1-47D3-B67F-A62EFF666E3E}') {
415 415 $dataBar->setConditionalFormattingRuleExt($conditionalFormattingRuleExtensions[$extId]);