- Merge request !6Issue #3332563: Drupal Coding Standards Issues | phpcs ā (Open) created by Sonal Gyanani
- Status changed to Needs work
over 1 year ago 1:54pm 13 May 2023 - š®š¹Italy apaderno Brescia, š®š¹
+ 3. Navigate to Administration > Configuration > System > Recently read + config to configure.
The last line is not indented corrected. It should start 2 spaces to the right of the previous line.
/** - * Class RecentlyReadTypeForm. + * The Class RecentlyReadTypeForm.
That description is still repeating the class name, while it should describe what the class does.
- protected $defaultTheme = 'bartik'; + protected $defaultTheme = 'stark';
The report shown in the issue summary does not say that the default value for that property must be changed.
- Status changed to Needs review
over 1 year ago 12:00pm 1 June 2023 - š®š³India mrinalini9 New Delhi
Updated patch #6 by addressing #11, please review it.
Thanks!
- thakurnishant_06 India
Hello Folks !!
I have applied and tested the #12patch
and the phpcs issues has been successfully fixed! The patch was tested on Drupal 9.5.9 and PHP 8.2.4. To provide you with a comprehensive view, I will be adding both a before and after screenshot.
Thank you for your support!!
- Status changed to Needs work
over 1 year ago 12:19pm 2 June 2023 - š®š¹Italy apaderno Brescia, š®š¹
- recently read articles. - 3. Navigate to Administration > Configuration > System > Recently read config to - configure. + recently read articles. + 3. Navigate to Administration > Configuration > System > Recently read + config to configure. 4. From the "Configuration" tab, enable entity types for which you want - to track recently read items. There are also options for deleting the records: - Time based, Count based, or Never. - 5. From the "List" tab, entities can be individually configured by - selecting the "Edit" option. + to track recently read items. There are also options for deleting the records: + Time based, Count based, or Never. + 5. From the "List" tab, entities can be individually configured by selecting + the "Edit" option. 6. Navigate to Administration > Structure > Views to create a new view for - Recently read content (Content) just add a relationship to Recently read - with Require this relationship option checked. See (Recently read content) - as an example. + Recently read content (Content) just add a relationship to Recently read + with Require this relationship option checked. See (Recently read content) as + an example.
I apologize if I have not been clear. This is how that text should be formatted.
1. Navigate to Administration > Extend and enable the module. 2. When the module is enabled, it automatically creates a view block for recently read articles. 3. Navigate to Administration > Configuration > System > Recently read config to configure. 4. From the "Configuration" tab, enable entity types for which you want to track recently read items. There are also options for deleting the records: Time based, Count based, or Never. 5. From the "List" tab, entities can be individually configured by selecting the "Edit" option. 6. Navigate to Administration > Structure > Views to create a new view for Recently read content (Content) just add a relationship to Recently read with Require this relationship option checked. See (Recently read content) as an example.
+/** + * @file + * Install, update and uninstall functions for the Recently Read module. + */ +
A comma is missing before and.
/** - * Class RecentlyReadTypeForm. + * Defines the Recently read type form. */
the Recently read type form does not say what the form does.
/** - * Interface RecentlyReadServiceInterface. + * The Interface RecentlyReadServiceInterface. *
That is still just repeating the interface name. The article at the beginning does not change that.
- Assigned to imustakim
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 7:07pm 5 June 2023 - šØš¦Canada imustakim Canada
Updated patch addressing suggestions mentioned in #14 š Fix the issues reported by phpcs Needs review .
Please review. - thakurnishant_06 India
Hello imustakim,
I have reviewed your patch & Implemented it on my website having Drupal version-9.5.9 And PHP version - 8.2
I am adding screenshot(after applying the patch) for your reference.
Please have a look.Thank You for your support!!!
- Status changed to RTBC
over 1 year ago 9:47am 8 June 2023 - š®š³India shyam_bhatt Gujarat
I have reviewed your patch & Implemented it on my website having Drupal version 10.0.9 And PHP version 8.1
The patch #16 š Fix the issues reported by phpcs Needs review is working fine.Please check the below screenshot:
- First commit to issue fork.
- Status changed to Needs review
over 1 year ago 9:26am 8 September 2023 - šøš®Slovenia deaom
Corrected order of use statements and also removed static calls for loading entities, added type hint etc. Needs review as there are not adequate test, to see if anything broke.
- First commit to issue fork.
- Status changed to RTBC
over 1 year ago 10:52am 8 September 2023 Rebased and tested the code. From what I see everything works like it's supposed to. The tests issued are being handled by š Drupal 10 Fix deprecations in tests Needs review . Marking the issue as RTBC. Should be now ready for merge.
- Status changed to Needs work
over 1 year ago 9:00pm 9 September 2023 - Status changed to Needs review
over 1 year ago 7:29am 11 September 2023 - thakurnishant_06 India
Hello updated the file as per the changes suggested . Kindly review the changes
Thank you . - Status changed to RTBC
4 months ago 6:59am 12 August 2024 - šµšPhilippines paraderojether
Hi
I reviewed MR!6, applied against Recently Read 8.x-1.x-dev, and confirmed it fixes the issues reported by phpcs.
ā recently_read git:(2eb445a) curl https://git.drupalcode.org/project/recently_read/-/merge_requests/6.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 37599 0 37599 0 0 87599 0 --:--:-- --:--:-- --:--:-- 89521 patching file README.txt patching file recently_read.info.yml patching file recently_read.install patching file recently_read.module patching file recently_read.views.inc patching file 'src/Entity/RecentlyRead.php' patching file 'src/Entity/RecentlyReadInterface.php' patching file 'src/Entity/RecentlyReadType.php' patching file 'src/Entity/RecentlyReadTypeInterface.php' patching file 'src/Form/RecentlyReadConfigForm.php' patching file 'src/Form/RecentlyReadTypeForm.php' patching file 'src/Plugin/views/relationship/RecentlyReadRelationship.php' patching file 'src/RecentlyReadHtmlRouteProvider.php' patching file 'src/RecentlyReadService.php' patching file 'src/RecentlyReadServiceInterface.php' patching file 'src/RecentlyReadStorageSchema.php' patching file 'src/RecentlyReadTypeListBuilder.php' patching file 'tests/src/Functional/RecentlyReadBlockTest.php' ā recently_read git:(2eb445a) ā cd .. ā contrib git:(main) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig recently_read ā contrib git:(main) ā
Thank you.
- Merge request !22Created a new merge request to get a list of all the PHP_CodeSniffer errors/warnings that should be fixed ā (Open) created by apaderno
- Status changed to Needs work
4 months ago 9:53am 12 August 2024 - š®š¹Italy apaderno Brescia, š®š¹
avpaderno ā changed the visibility of the branch 3332563-gitlab-ci-reports to hidden.