Skip to content

Update top-10.php

Update top-10.php #170

Triggered via push August 15, 2023 14:45
Status Success
Total duration 25s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

cs.yml

on: push
PHPCS check
16s
PHPCS check
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 warnings
PHPCS check
Process completed with exit code 1.
PHPCS check: includes/admin/class-import-export.php#L317
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose()
PHPCS check: includes/admin/class-import-export.php#L385
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen()
PHPCS check: includes/admin/class-import-export.php#L390
Variable assignment found within a condition. Did you mean to do a comparison?
PHPCS check: includes/admin/class-import-export.php#L417
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose()
PHPCS check: includes/admin/class-activator.php#L87
Found: !=. Use strict comparisons (=== or !==).
PHPCS check: includes/admin/class-activator.php#L101
Found: !=. Use strict comparisons (=== or !==).
PHPCS check: includes/admin/class-activator.php#L121
Found: !=. Use strict comparisons (=== or !==).
PHPCS check: includes/admin/class-activator.php#L198
Found: !=. Use strict comparisons (=== or !==).