WIP Implement media import via URL #67696
Annotations
9 errors and 5 warnings
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L6
There must be exactly one blank line before the tags in a doc comment (Generic.Commenting.DocComment.SpacingBeforeTags)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L12
Missing doc comment for function wpcom_media_url_import() (Squiz.Commenting.FunctionComment.Missing)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L13
Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L14
Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L15
Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L16
Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L18
Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L38
Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket)
|
Run phpcs
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L9
Use statements are not alphabetically sorted (MediaWiki.Classes.UnsortedUseStatements.UnsortedUse)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L9
Unused use statement "Jetpack_Connection" (MediaWiki.Classes.UnusedUseStatement.UnusedUse)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L10
Unused use statement "Client" (MediaWiki.Classes.UnusedUseStatement.UnusedUse)
|
Run phpcs:
projects/packages/jetpack-mu-wpcom/src/features/wpcom-media/wpcom-media-url-import.php#L27
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
Loading