Skip to content

Chore: Plugin refactoring according to PSR4 #3

Chore: Plugin refactoring according to PSR4

Chore: Plugin refactoring according to PSR4 #3

Triggered via pull request December 18, 2025 08:04
Status Success
Total duration 3m 6s
Artifacts 1

test.yml

on: pull_request
Lint JS and CSS
50s
Lint JS and CSS
Run PHPCS coding standards checks
22s
Run PHPCS coding standards checks
Run PHP static analysis
23s
Run PHP static analysis
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Lint JS and CSS
React Hook useCallback has a missing dependency: 'setNotice'. Either include it or remove the dependency array. If 'setNotice' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint JS and CSS
React Hook useEffect has a missing dependency: 'fetchSharedSitesData'. Either include it or remove the dependency array
Lint JS and CSS
React Hook useEffect has a missing dependency: 'searchQuery'. Either include it or remove the dependency array
Lint JS and CSS: assets/src/components/PluginGrid.js#L98
React Hook useEffect has a missing dependency: 'fetchSharedSitesData'. Either include it or remove the dependency array
Lint JS and CSS: assets/src/components/GitHubRepoToken.tsx#L93
React Hook useCallback has missing dependencies: 'fetchAllAvailableGitHubRepos' and 'setNotice'. Either include them or remove the dependency array. If 'setNotice' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint JS and CSS: assets/src/components/GitHubRepoToken.tsx#L52
React Hook useEffect has a missing dependency: 'getRepoToken'. Either include it or remove the dependency array
Lint JS and CSS: assets/src/admin/settings/page.tsx#L82
React Hook useEffect has a missing dependency: 'fetchAllAvailableGitHubRepos'. Either include it or remove the dependency array. Outer scope values like 'SITE_TYPE' aren't valid dependencies because mutating them doesn't re-render the component
Lint JS and CSS
'url' is already declared in the upper scope on line 889 column 29
Lint JS and CSS
React Hook useMemo has a missing dependency: 'allAvailableSites.length'. Either include it or remove the dependency array
Lint JS and CSS
React Hook useEffect has a missing dependency: 'performHealthCheckOnS3Credentials'. Either include it or remove the dependency array

Artifacts

Produced during runtime
Name Size Digest
wp-code-coverage-8.4-latest Expired
393 KB
sha256:d52c530104a95255993f018d4768e3558fe43c797ffc777804b38b4249336586