assets/js/magnific_popup/drupal/magnific_popup/modules/includes/magnific_popup_youtube.image_styles.inc
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
Open
'dimensions passthrough' => TRUE,
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
Open
'dimensions passthrough' => TRUE,
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
'help' => 'Choose the file image you wish to use as an overlay, and position it in a layer on top of the canvas.',
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
'help' => 'Choose the file image you wish to use as an overlay, and position it in a layer on top of the canvas.',
- Exclude checks
Line exceeds 120 characters; contains 216 characters Open
Open
'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.',
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
$styles = [];
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
return $styles;
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
$styles['magnific_popup_yt_preview_wplay'] = [
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
];
- Exclude checks
Opening brace should be on a new line Open
Open
function magnific_popup_youtube_image_default_styles() {
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
$module_path = drupal_get_path('module', 'magnific_popup_youtube');
- Exclude checks
The variable $module_path is not named in camelCase. Open
Open
function magnific_popup_youtube_image_default_styles() {
$styles = [];
$module_path = drupal_get_path('module', 'magnific_popup_youtube');
// Exported image style: youtube_play_preview.
$styles['magnific_popup_yt_preview_wplay'] = [
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $module_path is not named in camelCase. Open
Open
function magnific_popup_youtube_image_default_styles() {
$styles = [];
$module_path = drupal_get_path('module', 'magnific_popup_youtube');
// Exported image style: youtube_play_preview.
$styles['magnific_popup_yt_preview_wplay'] = [
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $module_path is not named in camelCase. Open
Open
function magnific_popup_youtube_image_default_styles() {
$styles = [];
$module_path = drupal_get_path('module', 'magnific_popup_youtube');
// Exported image style: youtube_play_preview.
$styles['magnific_popup_yt_preview_wplay'] = [
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}