Update OembedController.php #4
Annotations
10 errors and 11 warnings
phpcs:
protected/humhub/interfaces/EditableInterface.php#L15
Opening brace must not be followed by a blank line
|
phpcs:
protected/humhub/interfaces/EditableInterface.php#L27
The closing brace for the interface must go on the next line after the body
|
phpcs:
protected/humhub/interfaces/ViewableInterface.php#L27
The closing brace for the interface must go on the next line after the body
|
phpcs:
protected/humhub/views/mail/layouts/html.php#L691
Expected 0 space(s) after closing parenthesis; found 1
|
phpcs:
protected/humhub/views/mail/layouts/html.php#L701
Expected at least 1 space before "."; 0 found
|
phpcs:
protected/humhub/views/mail/layouts/html.php#L701
Expected at least 1 space after "."; 0 found
|
phpcs:
protected/humhub/views/mail/layouts/html.php#L701
Concat operator must be surrounded by a single space
|
phpcs:
protected/humhub/views/mail/layouts/text.php#L5
Expected 0 space(s) after closing parenthesis; found 1
|
phpcs:
protected/humhub/views/mail/layouts/text.php#L6
Line indented incorrectly; expected at least 4 spaces, found 0
|
phpcs:
protected/humhub/views/mail/layouts/text.php#L7
Line indented incorrectly; expected at least 4 spaces, found 0
|
phpcs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
phpcs:
protected/humhub/views/layouts/head.php#L1
No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
|
phpcs:
protected/humhub/models/ModuleEnabled.php#L21
Visibility must be declared on all constants if your project supports PHP 7.1 or later
|
phpcs:
protected/humhub/models/UrlOembed.php#L44
Visibility must be declared on all constants if your project supports PHP 7.1 or later
|
phpcs:
protected/humhub/controllers/OembedController.php#L38
Short array syntax must be used to define arrays
|
phpcs:
protected/humhub/commands/IntegrityController.php#L25
Visibility must be declared on all constants if your project supports PHP 7.1 or later
|
phpcs:
protected/humhub/commands/CronController.php#L28
Visibility must be declared on all constants if your project supports PHP 7.1 or later
|
phpcs:
protected/humhub/commands/CronController.php#L33
Visibility must be declared on all constants if your project supports PHP 7.1 or later
|
phpcs:
protected/humhub/commands/CronController.php#L39
Visibility must be declared on all constants if your project supports PHP 7.1 or later
|
phpcs:
protected/humhub/libs/MimeHelper.php#L22
Visibility must be declared on all constants if your project supports PHP 7.1 or later
|
phpcs:
protected/humhub/libs/MimeHelper.php#L23
Visibility must be declared on all constants if your project supports PHP 7.1 or later
|