Skip to content
Snippets Groups Projects
Commit 11ca697b authored by Charchil Khandelwal's avatar Charchil Khandelwal Committed by Eirik Morland
Browse files

Issue #3343314 by Charchil Khandelwal, sagarTiwari, eiriksm: Fix the issues reported by phpcs

parent 0af28012
No related branches found
No related tags found
1 merge request!2Issue #3343314: Fix the issues reported by phpcs
...@@ -6,7 +6,7 @@ use Drupal\commerce_promotion\Entity\PromotionInterface; ...@@ -6,7 +6,7 @@ use Drupal\commerce_promotion\Entity\PromotionInterface;
use Drupal\commerce_promotion\Plugin\Commerce\PromotionOffer\PromotionOfferInterface; use Drupal\commerce_promotion\Plugin\Commerce\PromotionOffer\PromotionOfferInterface;
/** /**
* AffectedEntitiesManager service. * The AffectedEntitiesManager service.
*/ */
class AffectedEntitiesManager { class AffectedEntitiesManager {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
namespace Drupal\affected_by_promotion; namespace Drupal\affected_by_promotion;
/** /**
* Interface SupportsAffectedEntitiesQueryInterface. * The SupportsAffectedEntitiesQueryInterface interface.
*/ */
interface SupportsAffectedEntitiesQueryInterface { interface SupportsAffectedEntitiesQueryInterface {
......
...@@ -8,7 +8,7 @@ use Drupal\Core\Entity\EntityInterface; ...@@ -8,7 +8,7 @@ use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Form\FormStateInterface;
/** /**
* Class DummyPromotionBase. * The DummyPromotionBase class.
*/ */
abstract class DummyPromotionBase implements PromotionOfferInterface { abstract class DummyPromotionBase implements PromotionOfferInterface {
...@@ -16,28 +16,28 @@ abstract class DummyPromotionBase implements PromotionOfferInterface { ...@@ -16,28 +16,28 @@ abstract class DummyPromotionBase implements PromotionOfferInterface {
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getConfiguration() { public function getConfiguration() {
// TODO: Implement getConfiguration() method. // @todo Implement getConfiguration() method.
} }
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function setConfiguration(array $configuration) { public function setConfiguration(array $configuration) {
// TODO: Implement setConfiguration() method. // @todo Implement setConfiguration() method.
} }
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function defaultConfiguration() { public function defaultConfiguration() {
// TODO: Implement defaultConfiguration() method. // @todo Implement defaultConfiguration() method.
} }
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function calculateDependencies() { public function calculateDependencies() {
// TODO: Implement calculateDependencies() method. // @todo Implement calculateDependencies() method.
} }
/** /**
...@@ -47,7 +47,7 @@ abstract class DummyPromotionBase implements PromotionOfferInterface { ...@@ -47,7 +47,7 @@ abstract class DummyPromotionBase implements PromotionOfferInterface {
array $form, array $form,
FormStateInterface $form_state FormStateInterface $form_state
) { ) {
// TODO: Implement buildConfigurationForm() method. // @todo Implement buildConfigurationForm() method.
} }
/** /**
...@@ -57,7 +57,7 @@ abstract class DummyPromotionBase implements PromotionOfferInterface { ...@@ -57,7 +57,7 @@ abstract class DummyPromotionBase implements PromotionOfferInterface {
array &$form, array &$form,
FormStateInterface $form_state FormStateInterface $form_state
) { ) {
// TODO: Implement validateConfigurationForm() method. // @todo Implement validateConfigurationForm() method.
} }
/** /**
...@@ -67,28 +67,28 @@ abstract class DummyPromotionBase implements PromotionOfferInterface { ...@@ -67,28 +67,28 @@ abstract class DummyPromotionBase implements PromotionOfferInterface {
array &$form, array &$form,
FormStateInterface $form_state FormStateInterface $form_state
) { ) {
// TODO: Implement submitConfigurationForm() method. // @todo Implement submitConfigurationForm() method.
} }
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getPluginId() { public function getPluginId() {
// TODO: Implement getPluginId() method. // @todo Implement getPluginId() method.
} }
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getPluginDefinition() { public function getPluginDefinition() {
// TODO: Implement getPluginDefinition() method. // @todo Implement getPluginDefinition() method.
} }
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getEntityTypeId() { public function getEntityTypeId() {
// TODO: Implement getEntityTypeId() method. // @todo Implement getEntityTypeId() method.
} }
/** /**
...@@ -98,14 +98,14 @@ abstract class DummyPromotionBase implements PromotionOfferInterface { ...@@ -98,14 +98,14 @@ abstract class DummyPromotionBase implements PromotionOfferInterface {
EntityInterface $entity, EntityInterface $entity,
PromotionInterface $promotion PromotionInterface $promotion
) { ) {
// TODO: Implement apply() method. // @todo Implement apply() method.
} }
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function clear(EntityInterface $entity, PromotionInterface $promotion) { public function clear(EntityInterface $entity, PromotionInterface $promotion) {
// TODO: Implement clear() method. // @todo Implement clear() method.
} }
} }
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
namespace Drupal\Tests\affected_by_promotion\Unit; namespace Drupal\Tests\affected_by_promotion\Unit;
/** /**
* Class DummyPromotionNoInterface. * The DummyPromotionNoInterface class.
*/ */
class DummyPromotionNoInterface extends DummyPromotionBase {} class DummyPromotionNoInterface extends DummyPromotionBase {}
...@@ -5,7 +5,7 @@ namespace Drupal\Tests\affected_by_promotion\Unit; ...@@ -5,7 +5,7 @@ namespace Drupal\Tests\affected_by_promotion\Unit;
use Drupal\affected_by_promotion\SupportsAffectedEntitiesQueryInterface; use Drupal\affected_by_promotion\SupportsAffectedEntitiesQueryInterface;
/** /**
* Class DummyPromotionWithInterface. * The DummyPromotionWithInterface class.
*/ */
class DummyPromotionWithInterface extends DummyPromotionBase implements SupportsAffectedEntitiesQueryInterface { class DummyPromotionWithInterface extends DummyPromotionBase implements SupportsAffectedEntitiesQueryInterface {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment