Skip to content
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

Merged
merged 20 commits into from
Feb 7, 2021
Merged

2.8.1 #37

merged 20 commits into from
Feb 7, 2021

Conversation

devuri
Copy link
Owner

@devuri devuri commented Feb 7, 2021

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 7, 2021

✨ Features

68843de - load files with composer

Changed files

  • composer.json
  • composer.lock
  • sim-social.php
  • vendor/composer/InstalledVersions.php
  • vendor/composer/autoload_files.php
  • vendor/composer/autoload_real.php
  • vendor/composer/autoload_static.php
  • vendor/composer/installed.json
  • vendor/composer/installed.php
00dcda4 - add dates to the Notification message

Changed files

  • src/InstagramData.php
651aa77 - Add Access Token update email notification.

Changed files

  • src/InstagramData.php

🐞 Fixes

6e7ea52 - add is_null check for access_token

Changed files

  • src/InstagramData.php
cddbdd5 - update token option.

Changed files

  • src/InstagramData.php
772bc47 - Clear scheduled events

Changed files

  • uninstall.php

♻️ Refactors

338da97 - change days_since to use int arg, add token_update_schedule()

Changed files

  • src/InstagramData.php
  • src/inc/schedule.php
68ef643 - move update process to refresh_token()

Changed files

  • src/Admin/pages/social-feed-settings/refresh-access-token.admin.php
10ec456 - minor code refactor

Changed files

  • composer.json
42eace0 - move included files to inc directory

Changed files

  • composer.json
  • src/inc/schedule.php
  • src/inc/shortcode.php
  • src/schedule.php
  • src/shortcode.php
  • vendor/composer/InstalledVersions.php
  • vendor/composer/autoload_files.php
  • vendor/composer/autoload_static.php
  • vendor/composer/installed.php
51ebb79 - update Notification for Access Token update

Changed files

  • src/InstagramData.php

📋 Changes

05e544d - 2.8.1

Changed files

  • readme.txt
  • sim-social.php
8d9dec3 - 2.8.0

Changed files

  • readme.txt
  • sim-social.php
  • src/InstagramData.php
c06cbcf - 2.7.6

Changed files

  • readme.txt
  • sim-social.php
ff2712c - 2.7.4

Changed files

  • src/Admin/pages/social-feed-settings/account-setup.admin.php
  • src/Admin/pages/social-feed-settings/refresh-access-token.admin.php
  • src/Admin/pages/social-feed-settings/social-feed-settings.admin.php
  • src/InstagramData.php
ba6037c - minor typo update

Changed files

  • src/Admin/pages/social-feed-settings/refresh-access-token.admin.php
9e2636f - 2.7.3

Changed files

  • readme.txt
  • sim-social.php
  • src/InstagramData.php
638a172 - Add Sent from

Changed files

  • src/InstagramData.php
c6d71a9 - change admin_view display from 24 to 12

Changed files

  • src/View/Display.php
96540ad - 2.7.2

Changed files

  • readme.txt
  • sim-social.php

Copy link

@david-edbot david-edbot left a 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

⚠️ 30 warnings


hashes-api-scanning skipped

Posting will continue in further review(s)

),
'reference' => '8b9ac7a7bd3dca6c3a31ca66afe5508e0eae9f28',
),
),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'aliases' =>
array (
),
'reference' => '8b9ac7a7bd3dca6c3a31ca66afe5508e0eae9f28',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 6 space(s) between "'reference'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'aliases' =>
array (
),
'reference' => '8b9ac7a7bd3dca6c3a31ca66afe5508e0eae9f28',

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',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'version' => '1.1.4.0',
'aliases' =>
array (
),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'pretty_version' => 'v1.1.4',
'version' => '1.1.4.0',
'aliases' =>
array (

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 (

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 (

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 (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

array (
'pretty_version' => 'v1.1.4',
'version' => '1.1.4.0',
'aliases' =>

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).

Copy link

@david-edbot david-edbot left a 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' =>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 8 space(s) between "'aliases'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

array (
'pretty_version' => 'v1.1.4',
'version' => '1.1.4.0',
'aliases' =>

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' =>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'espresso-dev/instagram-basic-display-php' =>
array (
'pretty_version' => 'v1.1.4',
'version' => '1.1.4.0',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 8 space(s) between "'version'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'espresso-dev/instagram-basic-display-php' =>
array (
'pretty_version' => 'v1.1.4',
'version' => '1.1.4.0',

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',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

),
'espresso-dev/instagram-basic-display-php' =>
array (
'pretty_version' => 'v1.1.4',

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',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b',
),
'espresso-dev/instagram-basic-display-php' =>
array (

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 (

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).

Copy link

@david-edbot david-edbot left a 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' =>

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' =>

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',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 6 space(s) between "'reference'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'aliases' =>
array (
),
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b',

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',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'version' => '2.7.3.9999999-dev',
'aliases' =>
array (
),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'pretty_version' => '2.7.3.x-dev',
'version' => '2.7.3.9999999-dev',
'aliases' =>
array (

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 (

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 (

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 (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

Copy link

@david-edbot david-edbot left a 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' =>

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' =>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 8 space(s) between "'aliases'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

array (
'pretty_version' => '2.7.3.x-dev',
'version' => '2.7.3.9999999-dev',
'aliases' =>

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' =>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'__root__' =>
array (
'pretty_version' => '2.7.3.x-dev',
'version' => '2.7.3.9999999-dev',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 8 space(s) between "'version'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'__root__' =>
array (
'pretty_version' => '2.7.3.x-dev',
'version' => '2.7.3.9999999-dev',

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',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

array (
'__root__' =>
array (
'pretty_version' => '2.7.3.x-dev',

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',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'versions' =>
array (
'__root__' =>
array (

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).

Copy link

@david-edbot david-edbot left a 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 (

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__' =>

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__' =>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 33 space(s) between "'root'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

),
'versions' =>
array (
'__root__' =>

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 (

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 (

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 (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b',
'name' => '__root__',
),
'versions' =>

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' =>

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' =>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

Copy link

@david-edbot david-edbot left a 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__',
),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

array (
),
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b',
'name' => '__root__',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 11 space(s) between "'name'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

array (
),
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b',
'name' => '__root__',

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',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 6 space(s) between "'reference'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'aliases' =>
array (
),
'reference' => 'ba6037cb8d8583971e5aef8541e44b7d2d385e5b',

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 (

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 (

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 (

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' =>

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' =>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 8 space(s) between "'aliases'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@devuri devuri merged commit 739cf8e into master Feb 7, 2021
Copy link

@david-edbot david-edbot left a 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' =>

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',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 8 space(s) between "'version'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'root' =>
array (
'pretty_version' => '2.7.3.x-dev',
'version' => '2.7.3.9999999-dev',

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',

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 (

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 (

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 (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

@@ -0,0 +1,33 @@
<?php return array (
'root' =>

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' =>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 5 space(s) between "'root'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@@ -0,0 +1,33 @@
<?php return array (
'root' =>

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).

Copy link

@david-edbot david-edbot left a 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' =>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

@@ -0,0 +1,33 @@
<?php return array (

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 (

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' =>

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 (

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 (

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 (

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',

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',

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 (

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).

Copy link

@david-edbot david-edbot left a 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 (

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;

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;

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])) {

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])) {

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])) {

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])) {

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])) {

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])) {

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)
{

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).

Copy link

@david-edbot david-edbot left a 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)

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)

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)

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)

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)

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)

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)

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);

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);

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);

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).

Copy link

@david-edbot david-edbot left a 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) {

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) {

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) {

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) {

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';

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;

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) {

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) {

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) {

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);

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).

Copy link

@david-edbot david-edbot left a 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);

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',

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',

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);

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);

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);

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);

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__));

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__));

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__));

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).

Copy link

@david-edbot david-edbot left a 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

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

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)
{

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)

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)

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)

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)

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)

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()
{

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()

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).

Copy link

@david-edbot david-edbot left a 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()

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()

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()
{

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()

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()

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()

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'];

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'];

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'])) {

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'])) {

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).

Copy link

@david-edbot david-edbot left a 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'])) {

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'])) {

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'])) {

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'])) {

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'])) {

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'])) {

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');

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');

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');

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])) {

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).

Copy link

@david-edbot david-edbot left a 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])) {

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])) {

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])) {

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])) {

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])) {

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])) {

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])) {

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)
{

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)

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)

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).

Copy link

@david-edbot david-edbot left a 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)

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)

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)

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)

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)

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'];

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'];

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'])) {

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'])) {

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'])) {

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).

Copy link

@david-edbot david-edbot left a 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'])) {

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'])) {

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'])) {

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'])) {

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'])) {

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');

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');

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');

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])) {

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])) {

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).

Copy link

@david-edbot david-edbot left a 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])) {

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])) {

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])) {

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])) {

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])) {

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])) {

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)
{

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)

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)

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)

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).

Copy link

@david-edbot david-edbot left a 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)

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)

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)

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)

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'];

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'];

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'])) {

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'])) {

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'])) {

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'])) {

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).

@david-edbot
Copy link

GitHub API communication error. Please contact a human. (commit-ID: 05e544d).

@david-edbot
Copy link

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).

@devuri devuri deleted the 2.8.1 branch September 5, 2024 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants