Comments

Shreya Shetty created an issue. See original summary.

shreya shetty’s picture

Status: Active » Needs review
StatusFileSize
new28 KB

Status: Needs review » Needs work

The last submitted patch, 2: remove_imports-2763059-2.patch, failed testing.

ginovski’s picture

Status: Needs work » Needs review
berdir’s picture

Status: Needs review » Needs work
+++ b/src/Plugin/Derivative/AddSimplenewsIssueActionLinks.php
@@ -1,9 +1,5 @@
 <?php
 
-/**
- * @file
- * Contains \Drupal\simplenews\Plugin\Derivative\AddSimplenewsIssueActionLinks.
- */
 
 namespace Drupal\simplenews\Plugin\Derivative;

+++ b/src/Plugin/Field/FieldFormatter/SimplenewsSubscriptionStatusFormatter.php
@@ -1,9 +1,6 @@
 <?php
 
-/**
- * @file
- * Contains \Drupal\simplenews\Plugin\Field\FieldFormatter\SimplenewsSubscriptionStatusFormatter.
- */
+
 
 namespace Drupal\simplenews\Plugin\Field\FieldFormatter;

Thanks for the patch.

many files now have 2-3 empty lines at the top. Should be unified so they all have exactly one empty line between the opening tag and the namespace line.

shreya shetty’s picture

Status: Needs work » Needs review
StatusFileSize
new72.8 KB

Made some changes and used code sniffer to check indentation

Status: Needs review » Needs work

The last submitted patch, 6: remove_imports-2763059-6.patch, failed testing.

shreya shetty’s picture

Status: Needs work » Needs review
berdir’s picture

Status: Needs review » Needs work

PHP Fatal error: Cannot declare class Drupal\simplenews\Mail\MailFormatHelper because the name is already in use in modules/simplenews/src/Mail/MailFormatHelper.php on line 13

shreya shetty’s picture

StatusFileSize
new71 KB

Thank You for quick review

shreya shetty’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 10: remove_imports-2763059-10.patch, failed testing.

berdir’s picture

Please provide interdiffs when making changes: https://www.drupal.org/documentation/git/interdiff (for the next time)

shreya shetty’s picture

StatusFileSize
new29.83 KB
new17.55 KB

I have provided patch with interdiff of patch 2 and 14

shreya shetty’s picture

Status: Needs work » Needs review
johnchque’s picture

Category: Bug report » Task
Status: Needs review » Needs work
+++ b/src/Tests/SimplenewsI18nTest.php
@@ -13,7 +8,7 @@ use Drupal\language\Entity\ConfigurableLanguage;
+

Extra space.

Please provide also the interdiff with the changes against your last patch.
ohh btw, this is not a bug.

The last submitted patch, 14: remove_imports-2763059-14.patch, failed testing.

VladimirMarko’s picture

Assigned: Unassigned » VladimirMarko
Status: Needs work » Active
VladimirMarko’s picture

Status: Active » Needs review
StatusFileSize
new385 bytes
new29.82 KB

Removed that newline.

berdir’s picture

Status: Needs review » Fixed

Thanks.

  • Berdir committed 0a506f5 on 8.x-1.x authored by Shreya Shetty
    Issue #2763059 by Shreya Shetty, VladimirMarko: Remove unused imports...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.