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.6.4 #32

Merged
merged 16 commits into from
Dec 7, 2020
Merged

2.6.4 #32

merged 16 commits into from
Dec 7, 2020

Conversation

devuri
Copy link
Owner

@devuri devuri commented Dec 7, 2020

No description provided.

@github-actions
Copy link

github-actions bot commented Dec 7, 2020

✨ Features

fa7fa15 - new version update 2.6.1

Changed files

  • readme.txt
  • sim-social.php
c53be8a - new shortcode can now allow turn on 'links' and 'caption'

Changed files

  • src/InstagramFeed.php
  • src/View/Display.php
  • src/shortcode.php

♻️ Refactors

50677c4 - update the user data when we activate the ID

Changed files

  • src/Admin/pages/social-feed-settings/account-setup.admin.php
3c482fe - update the shortcode used for display

Changed files

  • src/Admin/pages/social-feed-settings/social-feed-settings.admin.php
4fcdd24 - new access_token() method

Changed files

  • src/InstagramData.php
2411e58 - 'linked' => 'links', use on or off

Changed files

  • src/View/Display.php
  • src/shortcode.php
d3af859 - InstagramSocialFeed => InstagramData

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
  • src/InstagramSocialFeed.php
  • src/schedule.php
  • vendor/composer/autoload_classmap.php
  • vendor/composer/autoload_static.php
f1d4d26 - remove simsocial()

Changed files

  • sim-social.php
a7f22f7 - [ig_socialfeed] is now [igfeed]

Changed files

  • src/Admin/pages/social-feed-settings/social-feed-settings.admin.php
e676a3b - remove Display specific methods move to View/Display

Changed files

  • src/InstagramSocialFeed.php
7795ed0 - CSS Update

Changed files

  • assets/css/igfeed-gird.css
  • assets/css/simsocial-photo-gird.css
  • sim-social.php

📋 Changes

a754c11 - 2.6.4

Changed files

  • readme.txt
  • sim-social.php
c877ae3 - composer update

Changed files

  • vendor/composer/autoload_classmap.php
  • vendor/composer/autoload_static.php
b87f724 - 2.6.3

Changed files

  • readme.txt
  • sim-social.php
1cd1923 - composer update

Changed files

  • vendor/composer/ClassLoader.php
  • vendor/composer/LICENSE
  • vendor/composer/autoload_real.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:

🚫 78 errors

⚠️ 11 warnings


hashes-api-scanning skipped

Posting will continue in further review(s)

'SimSocialFeed\\InstagramSocialFeed' => __DIR__ . '/../..' . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => __DIR__ . '/../..' . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => __DIR__ . '/../..' . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => __DIR__ . '/../..' . '/src/View/Display.php',
'SimSocialFeed\\WPAdminPage\\AdminPage' => __DIR__ . '/../..' . '/src/WPAdminPage/AdminPage.php',
'SimSocialFeed\\WPAdminPage\\FormHelper' => __DIR__ . '/../..' . '/src/WPAdminPage/FormHelper.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).

'SimSocialFeed\\InstagramSocialFeed' => __DIR__ . '/../..' . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => __DIR__ . '/../..' . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => __DIR__ . '/../..' . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => __DIR__ . '/../..' . '/src/View/Display.php',
'SimSocialFeed\\WPAdminPage\\AdminPage' => __DIR__ . '/../..' . '/src/WPAdminPage/AdminPage.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).

'SimSocialFeed\\InstagramSocialFeed' => __DIR__ . '/../..' . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => __DIR__ . '/../..' . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => __DIR__ . '/../..' . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => __DIR__ . '/../..' . '/src/View/Display.php',
'SimSocialFeed\\WPAdminPage\\AdminPage' => __DIR__ . '/../..' . '/src/WPAdminPage/AdminPage.php',

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 2 space(s) between "'SimSocialFeed\WPAdminPage\AdminPage'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'SimSocialFeed\\InstagramSocialFeed' => __DIR__ . '/../..' . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => __DIR__ . '/../..' . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => __DIR__ . '/../..' . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => __DIR__ . '/../..' . '/src/View/Display.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).

'SimSocialFeed\\InstagramSocialFeed' => __DIR__ . '/../..' . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => __DIR__ . '/../..' . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => __DIR__ . '/../..' . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => __DIR__ . '/../..' . '/src/View/Display.php',

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 "'SimSocialFeed\View\Display'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@@ -32,7 +32,9 @@ class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => __DIR__ . '/../..' . '/src/Admin/SocialFeedAdmin.php',
'SimSocialFeed\\InstagramSocialFeed' => __DIR__ . '/../..' . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => __DIR__ . '/../..' . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => __DIR__ . '/../..' . '/src/InstagramFeed.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).

@@ -32,7 +32,9 @@ class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => __DIR__ . '/../..' . '/src/Admin/SocialFeedAdmin.php',
'SimSocialFeed\\InstagramSocialFeed' => __DIR__ . '/../..' . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => __DIR__ . '/../..' . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => __DIR__ . '/../..' . '/src/InstagramFeed.php',

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 "'SimSocialFeed\InstagramFeed'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@@ -32,7 +32,9 @@ class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => __DIR__ . '/../..' . '/src/Admin/SocialFeedAdmin.php',
'SimSocialFeed\\InstagramSocialFeed' => __DIR__ . '/../..' . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => __DIR__ . '/../..' . '/src/InstagramData.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).

@@ -32,7 +32,9 @@ class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => __DIR__ . '/../..' . '/src/Admin/SocialFeedAdmin.php',
'SimSocialFeed\\InstagramSocialFeed' => __DIR__ . '/../..' . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => __DIR__ . '/../..' . '/src/InstagramData.php',

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 "'SimSocialFeed\InstagramData'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@@ -32,7 +32,9 @@ class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => __DIR__ . '/../..' . '/src/Admin/SocialFeedAdmin.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).

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.

@@ -32,7 +32,9 @@ class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => __DIR__ . '/../..' . '/src/Admin/SocialFeedAdmin.php',

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 2 space(s) between "'SimSocialFeed\Admin\SocialFeedAdmin'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@@ -32,7 +32,9 @@ class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.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).

@@ -32,7 +32,9 @@ class ComposerStaticInitd7e54b283c57504fcb44f1d17c61f634
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => __DIR__ . '/..' . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.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).

@@ -13,6 +13,9 @@ public static function loadClassLoader($class)
}
}

/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {

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

@@ -13,6 +13,9 @@ public static function loadClassLoader($class)
}
}

/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {

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

@@ -13,6 +13,9 @@ public static function loadClassLoader($class)
}
}

/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{

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

@@ -13,6 +13,9 @@ public static function loadClassLoader($class)
}
}

/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()

Choose a reason for hiding this comment

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

🚫 Error: Method name "getLoader" in class ComposerAutoloaderInitd7e54b283c57504fcb44f1d17c61f634 is not in snake case format, try "get_loader" (WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid).

@@ -13,6 +13,9 @@ public static function loadClassLoader($class)
}
}

/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()

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

@@ -13,6 +13,9 @@ public static function loadClassLoader($class)
}
}

/**

Choose a reason for hiding this comment

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

🚫 Error: Missing short description in doc comment (Generic.Commenting.DocComment.MissingShort).

'SimSocialFeed\\InstagramSocialFeed' => $baseDir . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => $baseDir . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => $baseDir . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => $baseDir . '/src/View/Display.php',
'SimSocialFeed\\WPAdminPage\\AdminPage' => $baseDir . '/src/WPAdminPage/AdminPage.php',
'SimSocialFeed\\WPAdminPage\\FormHelper' => $baseDir . '/src/WPAdminPage/FormHelper.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).

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.

'SimSocialFeed\\InstagramSocialFeed' => $baseDir . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => $baseDir . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => $baseDir . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => $baseDir . '/src/View/Display.php',
'SimSocialFeed\\WPAdminPage\\AdminPage' => $baseDir . '/src/WPAdminPage/AdminPage.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).

'SimSocialFeed\\InstagramSocialFeed' => $baseDir . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => $baseDir . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => $baseDir . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => $baseDir . '/src/View/Display.php',
'SimSocialFeed\\WPAdminPage\\AdminPage' => $baseDir . '/src/WPAdminPage/AdminPage.php',

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 2 space(s) between "'SimSocialFeed\WPAdminPage\AdminPage'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'SimSocialFeed\\InstagramSocialFeed' => $baseDir . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => $baseDir . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => $baseDir . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => $baseDir . '/src/View/Display.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).

'SimSocialFeed\\InstagramSocialFeed' => $baseDir . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => $baseDir . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => $baseDir . '/src/InstagramFeed.php',
'SimSocialFeed\\View\\Display' => $baseDir . '/src/View/Display.php',

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 "'SimSocialFeed\View\Display'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@@ -9,7 +9,9 @@
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => $baseDir . '/src/Admin/SocialFeedAdmin.php',
'SimSocialFeed\\InstagramSocialFeed' => $baseDir . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => $baseDir . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => $baseDir . '/src/InstagramFeed.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).

@@ -9,7 +9,9 @@
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => $baseDir . '/src/Admin/SocialFeedAdmin.php',
'SimSocialFeed\\InstagramSocialFeed' => $baseDir . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => $baseDir . '/src/InstagramData.php',
'SimSocialFeed\\InstagramFeed' => $baseDir . '/src/InstagramFeed.php',

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 "'SimSocialFeed\InstagramFeed'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@@ -9,7 +9,9 @@
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => $baseDir . '/src/Admin/SocialFeedAdmin.php',
'SimSocialFeed\\InstagramSocialFeed' => $baseDir . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => $baseDir . '/src/InstagramData.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).

@@ -9,7 +9,9 @@
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => $baseDir . '/src/Admin/SocialFeedAdmin.php',
'SimSocialFeed\\InstagramSocialFeed' => $baseDir . '/src/InstagramSocialFeed.php',
'SimSocialFeed\\InstagramData' => $baseDir . '/src/InstagramData.php',

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 "'SimSocialFeed\InstagramData'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@@ -9,7 +9,9 @@
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => $baseDir . '/src/Admin/SocialFeedAdmin.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).

@@ -9,7 +9,9 @@
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',
'SimSocialFeed\\Admin\\SocialFeedAdmin' => $baseDir . '/src/Admin/SocialFeedAdmin.php',

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 2 space(s) between "'SimSocialFeed\Admin\SocialFeedAdmin'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

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.

@@ -9,7 +9,9 @@
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplayException' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplayException.php',

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

@@ -9,7 +9,9 @@
'EspressoDev\\InstagramBasicDisplay\\InstagramBasicDisplay' => $vendorDir . '/espresso-dev/instagram-basic-display-php/src/InstagramBasicDisplay.php',

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {

Choose a reason for hiding this comment

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

🚫 Error: Object property "$prefixDirsPsr4" is not in valid snake_case format, try "$prefix_dirs_psr4" (WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);

Choose a reason for hiding this comment

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

🚫 Error: Variable "$lastPos" is not in valid snake_case format, try "$last_pos" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);

Choose a reason for hiding this comment

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

🚫 Error: Variable "$logicalPathPsr4" is not in valid snake_case format, try "$logical_path_psr4" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);

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.

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);

Choose a reason for hiding this comment

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

🚫 Error: Variable "$pathEnd" is not in valid snake_case format, try "$path_end" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {

Choose a reason for hiding this comment

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

🚫 Error: Object property "$prefixDirsPsr4" is not in valid snake_case format, try "$prefix_dirs_psr4" (WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';

Choose a reason for hiding this comment

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

🚫 Error: Variable "$subPath" is not in valid snake_case format, try "$sub_path" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);

Choose a reason for hiding this comment

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

🚫 Error: Variable "$lastPos" is not in valid snake_case format, try "$last_pos" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);

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.

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);

Choose a reason for hiding this comment

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

🚫 Error: Variable "$subPath" is not in valid snake_case format, try "$sub_path" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {

Choose a reason for hiding this comment

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

🚫 Error: Variable "$subPath" is not in valid snake_case format, try "$sub_path" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {

Choose a reason for hiding this comment

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

⚠️ Warning: Variable assignment found within a condition. Did you mean to do a comparison? (WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {

Choose a reason for hiding this comment

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

🚫 Error: Variable "$lastPos" is not in valid snake_case format, try "$last_pos" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {

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

@@ -377,7 +377,7 @@ private function findFileWithExtension($class, $ext)
$subPath = $class;

Choose a reason for hiding this comment

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

🚫 Error: Variable "$subPath" is not in valid snake_case format, try "$sub_path" (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.

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;

Choose a reason for hiding this comment

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

🚫 Error: Variable "$apcuPrefix" is not in valid snake_case format, try "$apcu_prefix" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;

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

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;

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

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;

Choose a reason for hiding this comment

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

🚫 Error: Object property "$apcuPrefix" is not in valid snake_case format, try "$apcu_prefix" (WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase).

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)
{

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

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)

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

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)

Choose a reason for hiding this comment

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

🚫 Error: Variable "$apcuPrefix" is not in valid snake_case format, try "$apcu_prefix" (WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase).

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)

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

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)

Choose a reason for hiding this comment

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

🚫 Error: Method name "setApcuPrefix" in class ClassLoader is not in snake case format, try "set_apcu_prefix" (WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid).

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)

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

@github-actions
Copy link

github-actions bot commented Dec 7, 2020

✨ Features

fa7fa15 - new version update 2.6.1

Changed files

  • readme.txt
  • sim-social.php
c53be8a - new shortcode can now allow turn on 'links' and 'caption'

Changed files

  • src/InstagramFeed.php
  • src/View/Display.php
  • src/shortcode.php

♻️ Refactors

50677c4 - update the user data when we activate the ID

Changed files

  • src/Admin/pages/social-feed-settings/account-setup.admin.php
3c482fe - update the shortcode used for display

Changed files

  • src/Admin/pages/social-feed-settings/social-feed-settings.admin.php
4fcdd24 - new access_token() method

Changed files

  • src/InstagramData.php
2411e58 - 'linked' => 'links', use on or off

Changed files

  • src/View/Display.php
  • src/shortcode.php
d3af859 - InstagramSocialFeed => InstagramData

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
  • src/InstagramSocialFeed.php
  • src/schedule.php
  • vendor/composer/autoload_classmap.php
  • vendor/composer/autoload_static.php
f1d4d26 - remove simsocial()

Changed files

  • sim-social.php
a7f22f7 - [ig_socialfeed] is now [igfeed]

Changed files

  • src/Admin/pages/social-feed-settings/social-feed-settings.admin.php
e676a3b - remove Display specific methods move to View/Display

Changed files

  • src/InstagramSocialFeed.php
7795ed0 - CSS Update

Changed files

  • assets/css/igfeed-gird.css
  • assets/css/simsocial-photo-gird.css
  • sim-social.php

📋 Changes

a3bd439 - phpcs ignore vendor fix

Changed files

  • phpcs.xml
a754c11 - 2.6.4

Changed files

  • readme.txt
  • sim-social.php
c877ae3 - composer update

Changed files

  • vendor/composer/autoload_classmap.php
  • vendor/composer/autoload_static.php
b87f724 - 2.6.3

Changed files

  • readme.txt
  • sim-social.php
1cd1923 - composer update

Changed files

  • vendor/composer/ClassLoader.php
  • vendor/composer/LICENSE
  • vendor/composer/autoload_real.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:

🚫 19 errors


hashes-api-scanning skipped

Posting will continue in further review(s)

@@ -279,7 +279,7 @@ public function isClassMapAuthoritative()
*/
public function setApcuPrefix($apcuPrefix)

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

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));

Choose a reason for hiding this comment

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

🚫 Error: Object property "$prefixesPsr0" is not in valid snake_case format, try "$prefixes_psr0" (WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase).

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));

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

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));

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

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {

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

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {

Choose a reason for hiding this comment

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

🚫 Error: Object property "$prefixesPsr0" is not in valid snake_case format, try "$prefixes_psr0" (WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase).

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {

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

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {

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

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {

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

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {

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

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.

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {

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

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{

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

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()

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 getPrefixes() (Squiz.Commenting.FunctionComment.Missing).

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()

Choose a reason for hiding this comment

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

🚫 Error: Method name "getPrefixes" in class ClassLoader is not in snake case format, try "get_prefixes" (WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid).

@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()

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

if ( 'VIDEO' === $media->media_type ) continue;
?>
<div class="igfeed-item" tabindex="0">
<img style="min-height:200px;" src="<?php echo esc_url( $media->media_url ); ?>" alt="<?php echo esc_attr( $caption ); ?>">

Choose a reason for hiding this comment

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

🚫 Error: Language constructs must be followed by a single space; expected 1 space but found "�[30;1m·�[0m�[30;1m·�[0m" (Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle).

?>
<div class="igfeed-item" tabindex="0">
<a href="<?php echo esc_url( $media->permalink ); ?>" target="_blank">
<img style="min-height:200px;" src="<?php echo esc_url( $media->media_url ); ?>" alt="<?php echo esc_attr( $caption ); ?>">

Choose a reason for hiding this comment

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

🚫 Error: Language constructs must be followed by a single space; expected 1 space but found "�[30;1m·�[0m�[30;1m·�[0m" (Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle).

if ( 'VIDEO' === $media->media_type ) continue;
?>
<div class="igfeed-item" tabindex="0">
<img style="min-height:200px;" src="<?php echo esc_url( $media->media_url ); ?>" alt="<?php echo esc_attr( $caption ); ?>">

Choose a reason for hiding this comment

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

🚫 Error: Language constructs must be followed by a single space; expected 1 space but found "�[30;1m·�[0m�[30;1m·�[0m" (Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle).

if ( 'VIDEO' === $media->media_type ) continue;
?>
<div class="igfeed-item" tabindex="0">
<img style="min-height:200px;" src="<?php echo esc_url( $media->media_url ); ?>" alt="<?php echo esc_attr( $caption ); ?>">

Choose a reason for hiding this comment

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

🚫 Error: Language constructs must be followed by a single space; expected 1 space but found "�[30;1m·�[0m�[30;1m·�[0m" (Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle).

@devuri devuri merged commit bcab0c9 into master Dec 7, 2020
@devuri devuri deleted the 2.6.4 branch September 5, 2024 02:13
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