Skip to content

Conversation

tangrufus
Copy link
Member

No description provided.

*/
class ImageOptimizeCommand extends WP_CLI_Command
{
/**

Choose a reason for hiding this comment

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

Doc comment for parameter "$_args" missing
Doc comment for parameter "$assocArgs" missing

namespace TypistTech\ImageOptimizeCommand\Helper;

// here you can define custom actions
// all public methods declared in helper class will be available in $I

Choose a reason for hiding this comment

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

Inline comments must end in full-stops, exclamation marks, or question marks
There must be no blank line following an inline comment

// here you can define custom actions
// all public methods declared in helper class will be available in $I

class Unit extends \Codeception\Module

Choose a reason for hiding this comment

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

You must use "/**" style comments for a class comment


/**
* Inherited Methods
* @method void wantToTest($text)

Choose a reason for hiding this comment

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

There must be exactly one blank line before the tags in a doc comment

* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
*
* @SuppressWarnings(PHPMD)
*/

Choose a reason for hiding this comment

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

Expected 1 space(s) before asterisk; 0 found

@@ -0,0 +1,19 @@
<?php
namespace TypistTech\ImageOptimizeCommand;

Choose a reason for hiding this comment

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

There must be one blank line after the namespace declaration

/**
* @test
*/
public function it_is_the_truth()

Choose a reason for hiding this comment

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

Line indented incorrectly; expected 1 tabs, found 0
Method name "DemoTest::it_is_the_truth" is not in camel caps format

* @test
*/
public function it_is_the_truth()
{

Choose a reason for hiding this comment

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

Line indented incorrectly; expected at least 1 tabs, found 0

*/
public function it_is_the_truth()
{
$this->assertTrue(true);

Choose a reason for hiding this comment

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

Line indented incorrectly; expected at least 2 tabs, found 1

public function it_is_the_truth()
{
$this->assertTrue(true);
}

Choose a reason for hiding this comment

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

Line indented incorrectly; expected 1 tabs, found 0

namespace TypistTech\ImageOptimizeCommand\Helper;

// here you can define custom actions
// all public methods declared in helper class will be available in $I

Choose a reason for hiding this comment

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

Inline comments must end in full-stops, exclamation marks, or question marks
There must be no blank line following an inline comment

/**
* @test
*/
public function it_is_the_truth()

Choose a reason for hiding this comment

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

Method name "DemoTest::it_is_the_truth" is not in camel caps format

/**
* @test
*/
public function it_is_the_false()

Choose a reason for hiding this comment

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

Method name "DemoTest::it_is_the_false" is not in camel caps format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
2 participants