Skip to content

Eliminate usage of empty() construct #1803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jan 28, 2025

Simplify conditionals by removing unnecessary parentheses

2a93cf4
Select commit
Loading
Failed to load commit list.
Merged

Eliminate usage of empty() construct #1803

Simplify conditionals by removing unnecessary parentheses
2a93cf4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jan 28, 2025 in 0s

78.37% of diff hit (target 65.85%)

View this Pull Request on Codecov

78.37% of diff hit (target 65.85%)

Annotations

Check warning on line 72 in plugins/dominant-color-images/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/dominant-color-images/hooks.php#L72

Added line #L72 was not covered by tests

Check warning on line 37 in plugins/webp-uploads/deprecated.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/deprecated.php#L34-L37

Added lines #L34 - L37 were not covered by tests

Check warning on line 43 in plugins/webp-uploads/deprecated.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/deprecated.php#L43

Added line #L43 was not covered by tests

Check warning on line 153 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L153

Added line #L153 was not covered by tests

Check warning on line 476 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L476

Added line #L476 was not covered by tests

Check warning on line 493 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L491-L493

Added lines #L491 - L493 were not covered by tests

Check warning on line 499 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L499

Added line #L499 was not covered by tests

Check warning on line 522 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L520-L522

Added lines #L520 - L522 were not covered by tests

Check warning on line 528 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L528

Added line #L528 was not covered by tests