Skip to content
Snippets Groups Projects

Fixed phpcs issues in files

5 unresolved threads

Closes #3414690

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
62 $this->pluginCacheClearer = $pluginCacheClearer;
63 }
64
65 /**
66 * {@inheritdoc}
67 */
68 public static function create(ContainerInterface $container) {
69 return new static(
70 $container->get('file_system'),
71 $container->get('kernel'),
72 $container->get('module_handler'),
73 $container->get('plugin.cache_clearer'),
74 );
75 }
14 76
15 77 use TypedDataTrait;
  • 1 The main goal of this module is to prevent the use of disposal emails (DEA) when registering and updating a user profile.
  • 44 protected $pluginCacheClearer;
    45
    46 /**
    47 * Constructs an email validation object.
    48 *
    49 * @param \Drupal\Core\File\FileSystem $file_system
    50 * The file system service.
    51 * @param \Drupal\Core\DrupalKernel $kernel
    52 * The kernel service.
    53 * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
    54 * The module handler service.
    55 * @param \Drupal\Core\Plugin\CachedDiscoveryClearer $pluginCacheClearer
    56 * The plugin cache clearer service.
    57 */
    58 public function __construct(FileSystem $file_system, DrupalKernel $kernel, ModuleHandlerInterface $module_handler, CachedDiscoveryClearer $pluginCacheClearer) {
    59 $this->file_system = $file_system;
  • Thanks for suggested changes. Please check my feedback.

  • Satyam Prakash added 1 commit

    added 1 commit

    Compare with previous version

  • Satyam Prakash added 1 commit

    added 1 commit

    • 4805982f - Fixed coding standards in files

    Compare with previous version

  • 35 /**
    36 * The module handler service.
    37 *
    38 * @var \Drupal\Core\Extension\ModuleHandlerInterface
    39 */
    40 protected $moduleHandler;
    41
    42 /**
    43 * The plugin cache clearer service.
    44 *
    45 * @var \Drupal\Core\Plugin\CachedDiscoveryClearer
    46 */
    47 protected $pluginCacheClearer;
    48
    49 /**
    50 * Constructs an email validation object.
  • 14 18
    15 19 use TypedDataTrait;
    16 20
    21 /**
    22 * The file_system service.
  • Looks good, please check my comments. But there are more fixes then provided in phpcs report in the IS, please update report.

  • Satyam Prakash added 1 commit

    added 1 commit

    • b2584c7c - Fixed coding standards in files

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading