Skip to content

AutoFilter.php from PhpSpreadsheet#25

Open
pavel-ignatovich wants to merge 1 commit intomasterfrom
php_spreadsheet_autofilter.php
Open

AutoFilter.php from PhpSpreadsheet#25
pavel-ignatovich wants to merge 1 commit intomasterfrom
php_spreadsheet_autofilter.php

Conversation

@pavel-ignatovich
Copy link
Copy Markdown

Copy link
Copy Markdown

@monocodus monocodus Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is autogenerated code-style review, new suggestions: 2

Comment thread AutoFilter.php
// We should only ever have one top10 filter
foreach ($filterColumn->top10 as $filterRule) {
$column->createRule()->setRule(
(((isset($filterRule['percent'])) && ($filterRule['percent'] == 1))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(((isset($filterRule['percent'])) && ($filterRule['percent'] == 1))
(
((isset($filterRule['percent'])) && ($filterRule['percent'] == 1))

This comment was generated with the following checker: PHP-CS-Fixer

Comment thread AutoFilter.php
: Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE
),
(string) $filterRule['val'],
(((isset($filterRule['top'])) && ($filterRule['top'] == 1))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(((isset($filterRule['top'])) && ($filterRule['top'] == 1))
(
((isset($filterRule['top'])) && ($filterRule['top'] == 1))

This comment was generated with the following checker: PHP-CS-Fixer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant