Chore: Plugin refactoring according to PSR4 #3
test.yml
on: pull_request
Lint JS and CSS
50s
Run PHPCS coding standards checks
22s
Run PHP static analysis
23s
Matrix: phpunit
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
|
|