- ๐ฎ๐ณIndia Charchil Khandelwal
Charchil Khandelwal โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia Charchil Khandelwal
Thanks @samit.310@gmail.com, patch #2 applied cleanly, all errors and warnings are fixed.
- @charchil-khandelwal opened merge request.
- ๐ฎ๐ณIndia Charchil Khandelwal
Created MR for this.
Please review. - Status changed to Needs work
over 1 year ago 11:59am 13 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
return [ 2 => new DeliveryCandidate(['subscribe_node'], ['sms'], 2), - 7 => new DeliveryCandidate(['subscribe_og', 'subscribe_user'], ['sms', 'email'], 7), + 7 => new DeliveryCandidate([ + 'subscribe_og', + 'subscribe_user', + ], [ + 'sms', + 'email', + ], 7), ];
Code lines are allowed to exceed 80 characters, if they are more readable. The existing code is more readable.
+ /** + * {@inheritdoc} + */ + public function __construct(ConfigFactoryInterface $config_factory, Manager $notifier_manager) {
{@inheritdoc}
is not used for constructors. - Assigned to arpitk
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:03pm 15 May 2023 - Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - Assigned to Shanu Chouhan
- Issue was unassigned.
- Status changed to Needs work
over 1 year ago 2:13pm 15 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
+ /** + * Constructs a new MessageSubscribeAdminSettings object. + */ + public function __construct(ConfigFactoryInterface $config_factory, Manager $notifier_manager) {
The documentation comment for a constructor must document its parameters.
dependencies: - - message_subscribe + - drupal:message_subscribe
The Message Subscribe โ module (this very module) is not a Drupal core module.
- Status changed to Needs review
over 1 year ago 7:05am 16 May 2023 - Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - Status changed to Needs work
over 1 year ago 8:09am 16 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
+ /** + * Constructs a new MessageSubscribeAdminSettings object. + *
The class namespace is missing.
+ * @param Drupal\Core\Config\ConfigFactoryInterface $config_factory + * The Config Factory contains all the configs.
The config factory. is sufficient.
+ * @param Drupal\message_notify\Plugin\Notifier\Manager $notifier_manager + * Notification Manager of message_notify.
That description is missing a definite article.
Notification and Manager are misspelled, since they need to be spelled with lowercase letters.
There is no need to say which module implements that class, nor say its machine name. - Status changed to Needs review
over 1 year ago 10:58am 16 May 2023 - Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - ๐ต๐ญPhilippines roberttabigue
Hi,
Confirmed no PHPCS errors after applying Patch #17 and the latest MR to the Message Subscribe module with version 8.x-1.x-dev and with Drupal core version 9.5.8.
Moving this now to RTBC.
Kindly refer to the attached screenshots, please. - Status changed to RTBC
over 1 year ago 3:56pm 17 May 2023 - Status changed to Needs work
over 1 year ago 4:53pm 17 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
* Implements hook_message_subscribe_get_subscribers_alter(). * * Alter the subscribers list.
The last line is not necessary too.
- Assigned to imustakim
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 11:51am 18 May 2023 - Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - Status changed to Needs work
over 1 year ago 5:09pm 18 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
+ /* + * Can not remove $j, as we have to use it with foreach. + * // @codingStandardsIgnoreStart + */ foreach (range(1, 5) as $j) { $this->terms[] = $this->createTerm($vocab); } + // @codingStandardsIgnoreEnd
There is no need to use
@codingStandardsIgnoreStart
. The following code does not cause any warning/error.for ($j = 1; $j <= 5; $j++) { $this->terms[] = $this->createTerm($vocab); }
- Assigned to imustakim
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:05am 22 May 2023 - Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - ๐ฌ๐งUnited Kingdom jaydenpearly
Cannot apply patch Fix the issues reported by phpcs ( https://www.drupal.org/files/issues/2023-05-22/3331903-27.patch โ )!
Checking patch message_subscribe.api.php... Checking patch message_subscribe_email/message_subscribe_email.info.yml... Checking patch message_subscribe_email/message_subscribe_email.module... Checking patch message_subscribe_email/tests/src/Functional/ViewsTest.php... Checking patch message_subscribe_email/tests/src/FunctionalJavascript/MessageSubscribeEmailTest.php... Checking patch message_subscribe_example/README.md... Checking patch message_subscribe_example/message_subscribe_example.module... error: while searching for: // a custom list (see hook_user_insert() below). This is just an // illustration of another solution. $query = \Drupal::entityQuery('user') ->condition('status', 1); $query->condition('roles', 'administrators'); $admin_uids = $query->execute(); foreach ($admin_uids as $uid) { error: patch failed: message_subscribe_example/message_subscribe_example.module:52 error: message_subscribe_example/message_subscribe_example.module: patch does not apply Checking patch message_subscribe_ui/src/Controller/SubscriptionController.php... Checking patch message_subscribe_ui/src/Plugin/Block/Subscriptions.php... Checking patch message_subscribe_ui/tests/src/Functional/SubscriptionsBlockTest.php... Checking patch src/Form/MessageSubscribeAdminSettings.php... Hunk #2 succeeded at 83 (offset 6 lines). Checking patch src/Subscribers.php... Hunk #2 succeeded at 243 (offset 4 lines). Hunk #3 succeeded at 286 (offset 12 lines). Checking patch src/SubscribersInterface.php... Checking patch tests/modules/message_subscribe_test/message_subscribe_test.info.yml... Checking patch tests/src/Functional/MenuTest.php... Checking patch tests/src/Functional/UninstallTest.php... Checking patch tests/src/Kernel/SubscribersTest.php... Checking patch tests/src/Unit/Subscribers/DeliveryCandidateTest.php... Checking patch tests/src/Unit/SubscribersTest.php...
- last update
over 1 year ago 29 pass - Status changed to Needs work
over 1 year ago 2:23pm 9 August 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
- 7 => new DeliveryCandidate(['subscribe_og', 'subscribe_user'], ['sms', 'email'], 7), + 7 => new DeliveryCandidate( + ['subscribe_og', 'subscribe_user'], + ['sms', 'email'], + 7), ];
- ['@flags' => implode(', ', $flag_ids), '@uids' => implode(', ', array_keys($uids))] + [ + '@flags' => implode(', ', $flag_ids), + '@uids' => implode(', ', array_keys($uids)), + ]
Code lines are allowed to exceed 80 characters, if they are easier to understand. The existing code is easier to understand.
- $this->assertSession()->pageTextContains(t('You are not subscribed to any items.')); + $this->assertSession()->pageTextContains($this->t('You are not subscribed to any items.')); }
Tests should not use translatable strings simply for the fact that they are not translated, when tests run.
This means that the following change must be reverted.
use ContentTypeCreationTrait; use NodeCreationTrait; + use StringTranslationTrait;
- First commit to issue fork.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - @bharath-kondeti opened merge request.
- Status changed to Needs review
over 1 year ago 5:12pm 11 August 2023 - ๐ฎ๐ณIndia bharath-kondeti Hyderabad
Raised a new MR https://git.drupalcode.org/project/message_subscribe/-/merge_requests/7 with latest patch and addressed #29
- Status changed to Needs work
over 1 year ago 11:03am 14 August 2023 - Assigned to nitin_lama
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - Issue was unassigned.
- First commit to issue fork.
- Assigned to bluegeek9
- Status changed to Active
about 1 year ago 4:50pm 25 October 2023 - Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
about 1 year ago Waiting for branch to pass - @bluegeek9 opened merge request.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
about 1 year ago Waiting for branch to pass - last update
about 1 year ago 22 pass, 14 fail - last update
about 1 year ago 28 pass, 2 fail - last update
about 1 year ago 29 pass - Issue was unassigned.
- Status changed to Needs review
about 1 year ago 9:22pm 25 October 2023 - last update
about 1 year ago 29 pass - last update
about 1 year ago 29 pass - last update
about 1 year ago 29 pass -
bluegeek9 โ
committed dd7442ad on 8.x-1.x
Issue #3331903 by imustakim: Fix the issues reported by phpcs
-
bluegeek9 โ
committed dd7442ad on 8.x-1.x
- Status changed to Fixed
about 1 year ago 1:46pm 26 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.