Skip to content

Commit

Permalink
Fix PHPCS PSR12 compliance errors introduced in 3.6.2
Browse files Browse the repository at this point in the history
Fixes PSR12.Classes.OpeningBraceSpace.Found errors introduced in
PHPCS release 3.6.2 in the whole project: classes can't start with
a blank line

For more, see:

PHPCS release notes
https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.6.2
PHPCS issue:
squizlabs/PHP_CodeSniffer#3437
  • Loading branch information
Mario Borna Mjertan committed Dec 13, 2021
1 parent 3245b07 commit 4332ca7
Show file tree
Hide file tree
Showing 102 changed files with 0 additions and 102 deletions.
1 change: 0 additions & 1 deletion src/AdminMenus/AbstractAdminMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/
abstract class AbstractAdminMenu implements ServiceInterface, RenderableBlockInterface
{

/**
* Register all the hooks
*
Expand Down
1 change: 0 additions & 1 deletion src/AdminMenus/AbstractAdminSubMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
abstract class AbstractAdminSubMenu extends AbstractAdminMenu
{

/**
* Register all the hooks
*
Expand Down
1 change: 0 additions & 1 deletion src/AdminMenus/AdminSubMenuCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class AdminSubMenuCli extends AbstractCli
{

/**
* Output dir relative path.
*
Expand Down
1 change: 0 additions & 1 deletion src/BlockPatterns/AbstractBlockPattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
abstract class AbstractBlockPattern implements ServiceInterface
{

/**
* Register block pattern.
*
Expand Down
1 change: 0 additions & 1 deletion src/BlockPatterns/BlockPatternCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
class BlockPatternCli extends AbstractCli
{

/**
* Output dir relative path.
*
Expand Down
1 change: 0 additions & 1 deletion src/BlockPatterns/BlockPatternExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class BlockPatternExample extends AbstractBlockPattern
{

/**
* Get the pattern categories.
*
Expand Down
1 change: 0 additions & 1 deletion src/Blocks/AbstractBlocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/
abstract class AbstractBlocks implements ServiceInterface, RenderableBlockInterface
{

/**
* Full data of blocks, settings and wrapper data.
*
Expand Down
1 change: 0 additions & 1 deletion src/Blocks/BlockVariationCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class BlockVariationCli extends AbstractCli
{

/**
* Output dir relative path
*
Expand Down
1 change: 0 additions & 1 deletion src/Blocks/BlockWrapperCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class BlockWrapperCli extends AbstractCli
{

/**
* Output dir relative path
*
Expand Down
1 change: 0 additions & 1 deletion src/Blocks/BlocksCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class BlocksCli extends AbstractCli
{

/**
* Toggle to see if this is running inside tests or not
*
Expand Down
1 change: 0 additions & 1 deletion src/Blocks/BlocksExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
class BlocksExample extends AbstractBlocks
{

/**
* Reusable blocks Capability Name.
*/
Expand Down
1 change: 0 additions & 1 deletion src/Blocks/BlocksStorybookCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class BlocksStorybookCli extends AbstractCli
{

/**
* Get WPCLI command doc
*
Expand Down
1 change: 0 additions & 1 deletion src/Blocks/RenderableBlockInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
interface RenderableBlockInterface
{

/**
* Provides block registration render callback method.
*
Expand Down
1 change: 0 additions & 1 deletion src/CiExclude/CiExcludeCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class CiExcludeCli extends AbstractCli
{

/**
* Output dir relative path
*
Expand Down
1 change: 0 additions & 1 deletion src/Cli/CliInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

interface CliInterface
{

/**
* Register method for WPCLI command
*
Expand Down
1 change: 0 additions & 1 deletion src/Cli/CliReset.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class CliReset extends AbstractCli
{

/**
* Get WPCLI command name.
*
Expand Down
1 change: 0 additions & 1 deletion src/Cli/CliRunAll.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class CliRunAll extends AbstractCli
{

/**
* Get WPCLI command name
*
Expand Down
1 change: 0 additions & 1 deletion src/Cli/CliShowAll.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class CliShowAll extends AbstractCli
{

/**
* Get WPCLI command name
*
Expand Down
1 change: 0 additions & 1 deletion src/Columns/PostType/AbstractPostTypeColumns.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
abstract class AbstractPostTypeColumns implements ServiceInterface
{

/**
* Register the post columns and content in them.
*
Expand Down
1 change: 0 additions & 1 deletion src/Columns/Taxonomy/AbstractTaxonomyColumns.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
abstract class AbstractTaxonomyColumns implements ServiceInterface
{

/**
* Register the taxonomy columns and content in them.
*
Expand Down
1 change: 0 additions & 1 deletion src/Columns/User/AbstractUserColumns.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
abstract class AbstractUserColumns implements ServiceInterface
{

/**
* Register the user columns and content in them.
*
Expand Down
1 change: 0 additions & 1 deletion src/Config/AbstractConfigData.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
abstract class AbstractConfigData implements ConfigDataInterface
{

/**
* Return project absolute path.
*
Expand Down
1 change: 0 additions & 1 deletion src/Config/ConfigCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class ConfigCli extends AbstractCli
{

/**
* Output dir relative path.
*/
Expand Down
1 change: 0 additions & 1 deletion src/Config/ConfigDataInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
interface ConfigDataInterface
{

/**
* Method that returns project name.
*
Expand Down
1 change: 0 additions & 1 deletion src/Config/ConfigExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
class ConfigExample extends AbstractConfigData
{

/**
* Method that returns project name.
*
Expand Down
1 change: 0 additions & 1 deletion src/ConfigProject/ConfigProjectCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class ConfigProjectCli extends AbstractCli
{

/**
* Output dir relative path.
*/
Expand Down
1 change: 0 additions & 1 deletion src/CustomMeta/AbstractAcfMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
abstract class AbstractAcfMeta implements ServiceInterface
{

/**
* Register custom acf meta.
*
Expand Down
1 change: 0 additions & 1 deletion src/CustomMeta/AcfMetaCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class AcfMetaCli extends AbstractCli
{

/**
* Output dir relative path.
*
Expand Down
1 change: 0 additions & 1 deletion src/CustomMeta/AcfMetaExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class AcfMetaExample extends AbstractAcfMeta
{

/**
* Render acf fields.
*
Expand Down
1 change: 0 additions & 1 deletion src/CustomPostType/AbstractPostType.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
abstract class AbstractPostType implements ServiceInterface
{

/**
* Register custom post type.
*
Expand Down
1 change: 0 additions & 1 deletion src/CustomPostType/LabelGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
final class LabelGenerator
{

/**
* Singular name UC Constant
*
Expand Down
1 change: 0 additions & 1 deletion src/CustomPostType/PostTypeCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class PostTypeCli extends AbstractCli
{

/**
* Output dir relative path.
*
Expand Down
1 change: 0 additions & 1 deletion src/CustomPostType/PostTypeExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class PostTypeExample extends AbstractPostType
{

/**
* Post type slug constant.
*
Expand Down
1 change: 0 additions & 1 deletion src/CustomTaxonomy/AbstractTaxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
abstract class AbstractTaxonomy implements ServiceInterface
{

/**
* Register custom taxonomy.
*
Expand Down
1 change: 0 additions & 1 deletion src/CustomTaxonomy/TaxonomyCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class TaxonomyCli extends AbstractCli
{

/**
* Output dir relative path.
*
Expand Down
1 change: 0 additions & 1 deletion src/CustomTaxonomy/TaxonomyExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class TaxonomyExample extends AbstractTaxonomy
{

/**
* Taxonomy slug constant.
*
Expand Down
1 change: 0 additions & 1 deletion src/Db/ExportCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class ExportCli extends AbstractCli
{

/**
* Get WPCLI command name
*
Expand Down
1 change: 0 additions & 1 deletion src/Db/ImportCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
class ImportCli extends AbstractCli
{

/**
* Get WPCLI command name
*
Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/AbstractAssets.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*/
abstract class AbstractAssets implements ServiceInterface
{

/**
* Media style const
*/
Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/Admin/AbstractEnqueueAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
abstract class AbstractEnqueueAdmin extends AbstractAssets
{

public const ADMIN_SCRIPT_URI = 'applicationAdmin.js';
public const ADMIN_STYLE_URI = 'applicationAdmin.css';

Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/Admin/EnqueueAdminCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class EnqueueAdminCli extends AbstractCli
{

/**
* Output dir relative path.
*/
Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/Admin/EnqueueAdminExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/
class EnqueueAdminExample extends AbstractEnqueueAdmin
{

/**
* Create a new admin instance.
*
Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/Blocks/AbstractEnqueueBlocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
abstract class AbstractEnqueueBlocks extends AbstractAssets
{

public const BLOCKS_EDITOR_SCRIPT_URI = 'applicationBlocksEditor.js';
public const BLOCKS_EDITOR_STYLE_URI = 'applicationBlocksEditor.css';

Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/Blocks/EnqueueBlocksCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class EnqueueBlocksCli extends AbstractCli
{

/**
* Output dir relative path.
*
Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/Blocks/EnqueueBlocksExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
class EnqueueBlocksExample extends AbstractEnqueueBlocks
{

/**
* Create a new admin instance.
*
Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/Theme/AbstractEnqueueTheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
abstract class AbstractEnqueueTheme extends AbstractAssets
{

public const THEME_SCRIPT_URI = 'application.js';
public const THEME_STYLE_URI = 'application.css';

Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/Theme/EnqueueThemeCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
class EnqueueThemeCli extends AbstractCli
{

/**
* Output dir relative path.
*/
Expand Down
1 change: 0 additions & 1 deletion src/Enqueue/Theme/EnqueueThemeExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
class EnqueueThemeExample extends AbstractEnqueueTheme
{

/**
* Create a new admin instance.
*
Expand Down
1 change: 0 additions & 1 deletion src/Exception/ComponentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
final class ComponentException extends \InvalidArgumentException implements GeneralExceptionInterface
{

/**
* Throws exception if ensure_string argument is invalid.
*
Expand Down
1 change: 0 additions & 1 deletion src/Exception/FailedToLoadView.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
final class FailedToLoadView extends \RuntimeException implements GeneralExceptionInterface
{

/**
* Create a new instance of the exception if the view file itself created
* an exception.
Expand Down
Loading

0 comments on commit 4332ca7

Please sign in to comment.