Skip to content

Commit

Permalink
Suppress phpmd warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaduz committed Oct 26, 2018
1 parent 95fc3bb commit 9a444fc
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 1 deletion.
Expand Up @@ -40,6 +40,9 @@
use LINE\LINEBot\MessageBuilder\Flex\ComponentBuilder\TextComponentBuilder;
use LINE\LINEBot\MessageBuilder\Flex\ContainerBuilder\BubbleContainerBuilder;

/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class FlexSampleRestaurant
{
/**
Expand Down
Expand Up @@ -37,6 +37,9 @@
use LINE\LINEBot\MessageBuilder\Flex\ContainerBuilder\BubbleContainerBuilder;
use LINE\LINEBot\MessageBuilder\Flex\ContainerBuilder\CarouselContainerBuilder;

/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class FlexSampleShopping
{
private static $items = [
Expand Down
Expand Up @@ -45,6 +45,11 @@
use LINE\LINEBot\MessageBuilder\TemplateBuilder\CarouselTemplateBuilder;
use LINE\LINEBot\MessageBuilder\TemplateBuilder\ConfirmTemplateBuilder;

/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
class TextMessageHandler implements EventHandler
{
/** @var LINEBot $bot */
Expand Down
1 change: 1 addition & 0 deletions src/LINEBot.php
Expand Up @@ -31,6 +31,7 @@
* A client class of LINE Messaging API.
*
* @package LINE
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class LINEBot
{
Expand Down
Expand Up @@ -33,6 +33,7 @@
* A builder class for image component.
*
* @package LINE\LINEBot\MessageBuilder\Flex\ComponentBuilder
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
*/
class ImageComponentBuilder implements ComponentBuilder
{
Expand Down
Expand Up @@ -32,6 +32,7 @@
* A builder class for text component.
*
* @package LINE\LINEBot\MessageBuilder\Flex\ComponentBuilder
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
*/
class TextComponentBuilder implements ComponentBuilder
{
Expand Down
Expand Up @@ -26,6 +26,7 @@
* A builder class for button template message.
*
* @package LINE\LINEBot\MessageBuilder\TemplateBuilder
* @SuppressWarnings(PHPMD.NPathComplexity)
*/
class ButtonTemplateBuilder implements TemplateBuilder
{
Expand Down
Expand Up @@ -20,7 +20,6 @@
use \LINE\LINEBot\QuickReplyBuilder\QuickReplyButtonBuilder as IQuickReplyButtonBuilder;
use LINE\LINEBot\TemplateActionBuilder;


/**
* A builder class for quick reply button.
*
Expand Down

0 comments on commit 9a444fc

Please sign in to comment.