-
- Notifications
You must be signed in to change notification settings - Fork 19
Add common files #1
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
Conversation
*/ | ||
class ImageOptimizeCommand extends WP_CLI_Command | ||
{ | ||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doc comment for parameter "$_args" missing
Doc comment for parameter "$assocArgs" missing
tests/_support/Helper/Unit.php Outdated
namespace TypistTech\ImageOptimizeCommand\Helper; | ||
| ||
// here you can define custom actions | ||
// all public methods declared in helper class will be available in $I |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inline comments must end in full-stops, exclamation marks, or question marks
There must be no blank line following an inline comment
tests/_support/Helper/Unit.php Outdated
// here you can define custom actions | ||
// all public methods declared in helper class will be available in $I | ||
| ||
class Unit extends \Codeception\Module |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must use "/**" style comments for a class comment
| ||
/** | ||
* Inherited Methods | ||
* @method void wantToTest($text) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There must be exactly one blank line before the tags in a doc comment
tests/_support/UnitTester.php Outdated
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL) | ||
* | ||
* @SuppressWarnings(PHPMD) | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected 1 space(s) before asterisk; 0 found
tests/unit/DemoTest.php Outdated
@@ -0,0 +1,19 @@ | |||
<?php | |||
namespace TypistTech\ImageOptimizeCommand; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There must be one blank line after the namespace declaration
tests/unit/DemoTest.php Outdated
/** | ||
* @test | ||
*/ | ||
public function it_is_the_truth() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line indented incorrectly; expected 1 tabs, found 0
Method name "DemoTest::it_is_the_truth" is not in camel caps format
tests/unit/DemoTest.php Outdated
* @test | ||
*/ | ||
public function it_is_the_truth() | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line indented incorrectly; expected at least 1 tabs, found 0
tests/unit/DemoTest.php Outdated
*/ | ||
public function it_is_the_truth() | ||
{ | ||
$this->assertTrue(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line indented incorrectly; expected at least 2 tabs, found 1
tests/unit/DemoTest.php Outdated
public function it_is_the_truth() | ||
{ | ||
$this->assertTrue(true); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line indented incorrectly; expected 1 tabs, found 0
tests/_support/Helper/Unit.php Outdated
namespace TypistTech\ImageOptimizeCommand\Helper; | ||
| ||
// here you can define custom actions | ||
// all public methods declared in helper class will be available in $I |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method name "DemoTest::it_is_the_truth" is not in camel caps format
tests/unit/DemoTest.php Outdated
/** | ||
* @test | ||
*/ | ||
public function it_is_the_false() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method name "DemoTest::it_is_the_false" is not in camel caps format
No description provided.