-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.8.1 #37
Conversation
✨ Features68843de - load files with composerChanged files
🐞 Fixes♻️ Refactors338da97 - change days_since to use int arg, add token_update_schedule()Changed files
68ef643 - move update process to refresh_token()Changed files
42eace0 - move included files to inc directoryChanged files
📋 Changesff2712c - 2.7.4Changed files
ba6037c - minor typo updateChanged files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
phpcs scanning turned up:
🚫 170 errors
hashes-api-scanning skipped
Posting will continue in further review(s)
), | ||
'reference' => '8b9ac7a7bd3dca6c3a31ca66afe5508e0eae9f28', | ||
), | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'aliases' => | ||
array ( | ||
), | ||
'reference' => '8b9ac7a7bd3dca6c3a31ca66afe5508e0eae9f28', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'aliases' => | ||
array ( | ||
), | ||
'reference' => '8b9ac7a7bd3dca6c3a31ca66afe5508e0eae9f28', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 8 spaces but found 6 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'aliases' => | ||
array ( | ||
), | ||
'reference' => '8b9ac7a7bd3dca6c3a31ca66afe5508e0eae9f28', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'version' => '1.1.4.0', | ||
'aliases' => | ||
array ( | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Empty array declaration must have no space between the parentheses (WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray).
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Multi-line array item not aligned correctly; expected 8 spaces, but found 6 (WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned).
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array ( | ||
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
array ( | ||
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array ( | ||
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 8 spaces but found 6 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
array ( | ||
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'espresso-dev/instagram-basic-display-php' => | ||
array ( | ||
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'espresso-dev/instagram-basic-display-php' => | ||
array ( | ||
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 8 spaces but found 6 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'espresso-dev/instagram-basic-display-php' => | ||
array ( | ||
'pretty_version' => 'v1.1.4', | ||
'version' => '1.1.4.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
), | ||
'espresso-dev/instagram-basic-display-php' => | ||
array ( | ||
'pretty_version' => 'v1.1.4', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 8 spaces but found 6 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
), | ||
'espresso-dev/instagram-basic-display-php' => | ||
array ( | ||
'pretty_version' => 'v1.1.4', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
), | ||
'espresso-dev/instagram-basic-display-php' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
), | ||
'espresso-dev/instagram-basic-display-php' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Multi-line array item not aligned correctly; expected 6 spaces, but found 4 (WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
), | ||
'espresso-dev/instagram-basic-display-php' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine).
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
), | ||
'espresso-dev/instagram-basic-display-php' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 6 spaces but found 4 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'aliases' => | ||
array ( | ||
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'aliases' => | ||
array ( | ||
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 8 spaces but found 6 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'aliases' => | ||
array ( | ||
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'version' => '2.7.3.9999999-dev', | ||
'aliases' => | ||
array ( | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Empty array declaration must have no space between the parentheses (WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray).
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Multi-line array item not aligned correctly; expected 8 spaces, but found 6 (WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned).
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine).
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 8 spaces but found 6 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'__root__' => | ||
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'__root__' => | ||
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 8 spaces but found 6 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'__root__' => | ||
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array ( | ||
'__root__' => | ||
array ( | ||
'pretty_version' => '2.7.3.x-dev', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 8 spaces but found 6 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
array ( | ||
'__root__' => | ||
array ( | ||
'pretty_version' => '2.7.3.x-dev', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'versions' => | ||
array ( | ||
'__root__' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
'versions' => | ||
array ( | ||
'__root__' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Multi-line array item not aligned correctly; expected 6 spaces, but found 4 (WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned).
), | ||
'versions' => | ||
array ( | ||
'__root__' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine).
), | ||
'versions' => | ||
array ( | ||
'__root__' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
), | ||
'versions' => | ||
array ( | ||
'__root__' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 6 spaces but found 4 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'name' => '__root__', | ||
), | ||
'versions' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
'name' => '__root__', | ||
), | ||
'versions' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Multi-line array item not aligned correctly; expected 4 spaces, but found 2 (WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned).
'name' => '__root__', | ||
), | ||
'versions' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
'name' => '__root__', | ||
), | ||
'versions' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine).
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
'name' => '__root__', | ||
), | ||
'versions' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 4 spaces but found 2 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
'name' => '__root__', | ||
), | ||
'versions' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
'name' => '__root__', | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array ( | ||
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
'name' => '__root__', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array ( | ||
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', | ||
'name' => '__root__', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 6 spaces but found 4 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'aliases' => | ||
array ( | ||
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'aliases' => | ||
array ( | ||
), | ||
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 6 spaces but found 4 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Empty array declaration must have no space between the parentheses (WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray).
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Multi-line array item not aligned correctly; expected 6 spaces, but found 4 (WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned).
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine).
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', | ||
'aliases' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 6 spaces but found 4 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
'root' => | ||
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'root' => | ||
array ( | ||
'pretty_version' => '2.7.3.x-dev', | ||
'version' => '2.7.3.9999999-dev', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 6 spaces but found 4 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
<?php return array ( | ||
'root' => | ||
array ( | ||
'pretty_version' => '2.7.3.x-dev', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 6 spaces but found 4 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
@@ -0,0 +1,33 @@ | |||
<?php return array ( | |||
'root' => | |||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
@@ -0,0 +1,33 @@ | |||
<?php return array ( | |||
'root' => | |||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Multi-line array item not aligned correctly; expected 4 spaces, but found 2 (WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned).
@@ -0,0 +1,33 @@ | |||
<?php return array ( | |||
'root' => | |||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,33 @@ | |||
<?php return array ( | |||
'root' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine).
@@ -0,0 +1,33 @@ | |||
<?php return array ( | |||
'root' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,33 @@ | |||
<?php return array ( | |||
'root' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array item not aligned correctly; expected 4 spaces but found 2 (WordPress.Arrays.ArrayIndentation.ItemNotAligned).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
@@ -0,0 +1,33 @@ | |||
<?php return array ( | |||
'root' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,33 @@ | |||
<?php return array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
'093fbfaa4cdc8ea32d361aff980a84c1' => __DIR__ . '/../..' . '/src/inc/schedule.php', | ||
'3213a95feb320bb104f2e0e4c12d4952' => __DIR__ . '/../..' . '/src/inc/shortcode.php', | ||
); | ||
|
||
public static $prefixLengthsPsr4 = array ( | ||
'S' => | ||
array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
'093fbfaa4cdc8ea32d361aff980a84c1' => __DIR__ . '/../..' . '/src/inc/schedule.php', | ||
'3213a95feb320bb104f2e0e4c12d4952' => __DIR__ . '/../..' . '/src/inc/shortcode.php', | ||
); | ||
|
||
public static $prefixLengthsPsr4 = array ( | ||
'S' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine).
'093fbfaa4cdc8ea32d361aff980a84c1' => __DIR__ . '/../..' . '/src/inc/schedule.php', | ||
'3213a95feb320bb104f2e0e4c12d4952' => __DIR__ . '/../..' . '/src/inc/shortcode.php', | ||
); | ||
|
||
public static $prefixLengthsPsr4 = array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
'093fbfaa4cdc8ea32d361aff980a84c1' => __DIR__ . '/../..' . '/src/inc/schedule.php', | ||
'3213a95feb320bb104f2e0e4c12d4952' => __DIR__ . '/../..' . '/src/inc/shortcode.php', | ||
); | ||
|
||
public static $prefixLengthsPsr4 = array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing member variable doc comment (Squiz.Commenting.VariableComment.Missing).
'093fbfaa4cdc8ea32d361aff980a84c1' => __DIR__ . '/../..' . '/src/inc/schedule.php', | ||
'3213a95feb320bb104f2e0e4c12d4952' => __DIR__ . '/../..' . '/src/inc/shortcode.php', | ||
); | ||
|
||
public static $prefixLengthsPsr4 = array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Member variable "$prefixLengthsPsr4" is not in valid snake_case format, try "$prefix_lengths_psr4" (WordPress.NamingConventions.ValidVariableName.PropertyNotSnakeCase).
@@ -6,6 +6,11 @@ | |||
|
|||
class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634 | |||
{ | |||
public static $files = array ( | |||
'093fbfaa4cdc8ea32d361aff980a84c1' => __DIR__ . '/../..' . '/src/inc/schedule.php', | |||
'3213a95feb320bb104f2e0e4c12d4952' => __DIR__ . '/../..' . '/src/inc/shortcode.php', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: String concat is not required here; use a single string instead (Generic.Strings.UnnecessaryStringConcat.Found).
@@ -6,6 +6,11 @@ | |||
|
|||
class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634 | |||
{ | |||
public static $files = array ( | |||
'093fbfaa4cdc8ea32d361aff980a84c1' => __DIR__ . '/../..' . '/src/inc/schedule.php', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: String concat is not required here; use a single string instead (Generic.Strings.UnnecessaryStringConcat.Found).
@@ -6,6 +6,11 @@ | |||
|
|||
class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634 | |||
{ | |||
public static $files = array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no space between the "array" keyword and the opening parenthesis (WordPress.Arrays.ArrayDeclarationSpacing.SpaceAfterKeyword).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
@@ -6,6 +6,11 @@ | |||
|
|||
class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634 | |||
{ | |||
public static $files = array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing member variable doc comment (Squiz.Commenting.VariableComment.Missing).
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { | ||
require $file; | ||
|
||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$fileIdentifier" is not in valid snake_case format, try "$file_identifier" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { | ||
require $file; | ||
|
||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) | ||
{ | ||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) | ||
{ | ||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$fileIdentifier" is not in valid snake_case format, try "$file_identifier" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) | ||
{ | ||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) | ||
{ | ||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) | ||
{ | ||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) | ||
{ | ||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
return $loader; | ||
} | ||
} | ||
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Opening brace should be on the same line as the declaration (Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
return $loader; | ||
} | ||
} | ||
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
return $loader; | ||
} | ||
} | ||
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$fileIdentifier" is not in valid snake_case format, try "$file_identifier" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
return $loader; | ||
} | ||
} | ||
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen).
return $loader; | ||
} | ||
} | ||
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing doc comment for function composerRequired7e54b283c57504fcb44f1d17c61f634() (Squiz.Commenting.FunctionComment.Missing).
return $loader; | ||
} | ||
} | ||
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Function name "composerRequired7e54b283c57504fcb44f1d17c61f634" is not in snake case format, try "composer_required7e54b283c57504fcb44f1d17c61f634" (WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid).
return $loader; | ||
} | ||
} | ||
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected exactly one space between closing parenthesis and opening control structure; "\n" found (WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis).
return $loader; | ||
} | ||
} | ||
|
||
function composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
$includeFiles = require __DIR__ . '/autoload_files.php'; | ||
} | ||
foreach ($includeFiles as $fileIdentifier => $file) { | ||
composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$fileIdentifier" is not in valid snake_case format, try "$file_identifier" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
$includeFiles = require __DIR__ . '/autoload_files.php'; | ||
} | ||
foreach ($includeFiles as $fileIdentifier => $file) { | ||
composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
$includeFiles = require __DIR__ . '/autoload_files.php'; | ||
} | ||
foreach ($includeFiles as $fileIdentifier => $file) { | ||
composerRequired7e54b283c57504fcb44f1d17c61f634($fileIdentifier, $file); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
} else { | ||
$includeFiles = require __DIR__ . '/autoload_files.php'; | ||
} | ||
foreach ($includeFiles as $fileIdentifier => $file) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
} else { | ||
$includeFiles = require __DIR__ . '/autoload_files.php'; | ||
} | ||
foreach ($includeFiles as $fileIdentifier => $file) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$fileIdentifier" is not in valid snake_case format, try "$file_identifier" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
} else { | ||
$includeFiles = require __DIR__ . '/autoload_files.php'; | ||
} | ||
foreach ($includeFiles as $fileIdentifier => $file) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$includeFiles" is not in valid snake_case format, try "$include_files" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
} else { | ||
$includeFiles = require __DIR__ . '/autoload_files.php'; | ||
} | ||
foreach ($includeFiles as $fileIdentifier => $file) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
if ($useStaticLoader) { | ||
$includeFiles = Composer\Autoload\ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634::$files; | ||
} else { | ||
$includeFiles = require __DIR__ . '/autoload_files.php'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$includeFiles" is not in valid snake_case format, try "$include_files" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
@@ -52,6 +52,24 @@ public static function getLoader() | |||
|
|||
$loader->register(true); | |||
|
|||
if ($useStaticLoader) { | |||
$includeFiles = Composer\Autoload\ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634::$files; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$includeFiles" is not in valid snake_case format, try "$include_files" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
@@ -52,6 +52,24 @@ public static function getLoader() | |||
|
|||
$loader->register(true); | |||
|
|||
if ($useStaticLoader) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
@@ -52,6 +52,24 @@ public static function getLoader() | |||
|
|||
$loader->register(true); | |||
|
|||
if ($useStaticLoader) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$useStaticLoader" is not in valid snake_case format, try "$use_static_loader" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
@@ -52,6 +52,24 @@ public static function getLoader() | |||
|
|||
$loader->register(true); | |||
|
|||
if ($useStaticLoader) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
@@ -52,6 +52,24 @@ public static function getLoader() | |||
|
|||
$loader->register(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
@@ -52,6 +52,24 @@ public static function getLoader() | |||
|
|||
$loader->register(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
|
||
return array( | ||
'093fbfaa4cdc8ea32d361aff980a84c1' => $baseDir . '/src/inc/schedule.php', | ||
'3213a95feb320bb104f2e0e4c12d4952' => $baseDir . '/src/inc/shortcode.php', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$baseDir" is not in valid snake_case format, try "$base_dir" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
$baseDir = dirname($vendorDir); | ||
|
||
return array( | ||
'093fbfaa4cdc8ea32d361aff980a84c1' => $baseDir . '/src/inc/schedule.php', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$baseDir" is not in valid snake_case format, try "$base_dir" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
// autoload_files.php @generated by Composer | ||
|
||
$vendorDir = dirname(dirname(__FILE__)); | ||
$baseDir = dirname($vendorDir); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$vendorDir" is not in valid snake_case format, try "$vendor_dir" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
// autoload_files.php @generated by Composer | ||
|
||
$vendorDir = dirname(dirname(__FILE__)); | ||
$baseDir = dirname($vendorDir); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
// autoload_files.php @generated by Composer | ||
|
||
$vendorDir = dirname(dirname(__FILE__)); | ||
$baseDir = dirname($vendorDir); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
// autoload_files.php @generated by Composer | ||
|
||
$vendorDir = dirname(dirname(__FILE__)); | ||
$baseDir = dirname($vendorDir); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$baseDir" is not in valid snake_case format, try "$base_dir" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
|
||
// autoload_files.php @generated by Composer | ||
|
||
$vendorDir = dirname(dirname(__FILE__)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
|
||
// autoload_files.php @generated by Composer | ||
|
||
$vendorDir = dirname(dirname(__FILE__)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
|
||
// autoload_files.php @generated by Composer | ||
|
||
$vendorDir = dirname(dirname(__FILE__)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$vendorDir" is not in valid snake_case format, try "$vendor_dir" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
@@ -0,0 +1,11 @@ | |||
<?php | |||
|
|||
// autoload_files.php @generated by Composer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Inline comments must end in full-stops, exclamation marks, or question marks (Squiz.Commenting.InlineComment.InvalidEndChar).
@@ -0,0 +1,11 @@ | |||
<?php | |||
|
|||
// autoload_files.php @generated by Composer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: You must use "/**" style comments for a file comment (Squiz.Commenting.FileComment.WrongStyle).
|
||
|
||
public static function reload($data) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Opening brace should be on the same line as the declaration (Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine).
|
||
|
||
|
||
public static function reload($data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
|
||
|
||
|
||
public static function reload($data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen).
|
||
|
||
|
||
public static function reload($data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing doc comment for function reload() (Squiz.Commenting.FunctionComment.Missing).
|
||
|
||
|
||
public static function reload($data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected exactly one space between closing parenthesis and opening control structure; "\n" found (WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis).
|
||
|
||
|
||
public static function reload($data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
|
||
|
||
public static function getRawData() | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Opening brace should be on the same line as the declaration (Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine).
|
||
|
||
|
||
public static function getRawData() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing doc comment for function getRawData() (Squiz.Commenting.FunctionComment.Missing).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
|
||
|
||
|
||
public static function getRawData() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Method name "getRawData" in class InstalledVersions is not in snake case format, try "get_raw_data" (WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid).
|
||
|
||
|
||
public static function getRawData() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected exactly one space between closing parenthesis and opening control structure; "\n" found (WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis).
|
||
|
||
public static function getRootPackage() | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Opening brace should be on the same line as the declaration (Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine).
|
||
|
||
|
||
public static function getRootPackage() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing doc comment for function getRootPackage() (Squiz.Commenting.FunctionComment.Missing).
|
||
|
||
|
||
public static function getRootPackage() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Method name "getRootPackage" in class InstalledVersions is not in snake case format, try "get_root_package" (WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid).
|
||
|
||
|
||
public static function getRootPackage() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected exactly one space between closing parenthesis and opening control structure; "\n" found (WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis).
return null; | ||
} | ||
|
||
return self::$installed['versions'][$packageName]['reference']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
return null; | ||
} | ||
|
||
return self::$installed['versions'][$packageName]['reference']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['reference'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['reference'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['reference'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['reference'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['reference'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['reference'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['reference'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space before "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['reference'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { | ||
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { | ||
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { | ||
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
|
||
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
|
||
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
|
||
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
|
||
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
|
||
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
|
||
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter).
|
||
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space before "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore).
|
||
public static function getReference($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
|
||
|
||
public static function getReference($packageName) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Opening brace should be on the same line as the declaration (Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine).
|
||
|
||
|
||
public static function getReference($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
|
||
|
||
|
||
public static function getReference($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
|
||
|
||
|
||
public static function getReference($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen).
|
||
|
||
|
||
public static function getReference($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing doc comment for function getReference() (Squiz.Commenting.FunctionComment.Missing).
|
||
|
||
|
||
public static function getReference($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Method name "getReference" in class InstalledVersions is not in snake case format, try "get_reference" (WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid).
|
||
|
||
|
||
public static function getReference($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected exactly one space between closing parenthesis and opening control structure; "\n" found (WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis).
|
||
|
||
|
||
public static function getReference($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
return null; | ||
} | ||
|
||
return self::$installed['versions'][$packageName]['pretty_version']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
return null; | ||
} | ||
|
||
return self::$installed['versions'][$packageName]['pretty_version']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space before "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { | ||
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { | ||
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { | ||
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
|
||
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
|
||
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
|
||
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
|
||
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
|
||
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
|
||
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter).
|
||
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space before "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore).
|
||
public static function getPrettyVersion($packageName) | ||
{ | ||
if (!isset(self::$installed['versions'][$packageName])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
|
||
|
||
public static function getPrettyVersion($packageName) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Opening brace should be on the same line as the declaration (Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine).
|
||
|
||
|
||
public static function getPrettyVersion($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
|
||
|
||
|
||
public static function getPrettyVersion($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
|
||
|
||
|
||
public static function getPrettyVersion($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
|
||
|
||
|
||
public static function getPrettyVersion($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing doc comment for function getPrettyVersion() (Squiz.Commenting.FunctionComment.Missing).
|
||
|
||
|
||
public static function getPrettyVersion($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Method name "getPrettyVersion" in class InstalledVersions is not in snake case format, try "get_pretty_version" (WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid).
|
||
|
||
|
||
public static function getPrettyVersion($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected exactly one space between closing parenthesis and opening control structure; "\n" found (WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis).
|
||
|
||
|
||
public static function getPrettyVersion($packageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
return null; | ||
} | ||
|
||
return self::$installed['versions'][$packageName]['version']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
return null; | ||
} | ||
|
||
return self::$installed['versions'][$packageName]['version']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Variable "$packageName" is not in valid snake_case format, try "$package_name" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); | ||
} | ||
|
||
if (!isset(self::$installed['versions'][$packageName]['version'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
GitHub API communication error. Please contact a human. (commit-ID: 05e544d). |
Total number of active review comments per Pull-Request has been reached and some comments might not appear as a result. Please resolve some issues to see more (commit-ID: 05e544d). |
No description provided.