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/Calculation/LookupRef/Unique.php +2 -2 3.3.4 → 3.4 View file →
@@ -40,9 +40,9 @@
40 40 // When not $byColumn, we count whole rows or values, not individual values
41 41 // so implode each row into a single string value
42 42 array_walk(
43 43 $lookupVector,
44 - //* @phpstan-ignore-next-line
44 + // @phpstan-ignore argument.type (not sure what is needed)
45 45 function (array &$value): void {
46 46 $valuex = '';
47 47 $separator = '';
48 48 $numericIndicator = "\x01";
@@ -79,9 +79,9 @@
79 79 foreach ($value as &$stringValue) {
80 80 if (str_ends_with($stringValue, "\x01")) {
81 81 // x01 should only end a string which is otherwise a float or int,
82 82 // so phpstan is technically correct but what it fears should not happen.
83 - $stringValue = 0 + substr($stringValue, 0, -1); //@phpstan-ignore-line
83 + $stringValue = 0 + substr($stringValue, 0, -1); //@phpstan-ignore binaryOp.invalid (stringValue might not be numeric?)
84 84 }
85 85 }
86 86 }
87 87 );