- Issue created by @Madhu Kumar M E
- First commit to issue fork.
- @shiv_yadav opened merge request.
- Status changed to Needs review
about 1 year ago 4:16am 8 October 2023 - Status changed to Needs work
about 1 year ago 5:15am 9 October 2023 - ๐ต๐ญPhilippines clarkssquared
Hi shiv,
I applied and tested your patch and I confirmed that it applies cleanly but as I execute the PHPCS command there are many PHPCS issues that are flagged in my terminal, I am using D10.1.4.
โ bootstrap_layouts git:(f6b43a4) curl https://git.drupalcode.org/project/bootstrap_layouts/-/merge_requests/5.diff | git apply -v % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 22264 0 22264 0 0 40340 0 --:--:-- --:--:-- --:--:-- 40851 Checking patch bootstrap_layouts.api.php... Checking patch bootstrap_layouts.install... Checking patch bootstrap_layouts.module... Checking patch src/Annotation/BootstrapLayoutsUpdate.php... Checking patch src/BootstrapLayout.php... Checking patch src/BootstrapLayoutsManager.php... Checking patch src/BootstrapLayoutsPluginManager.php... Checking patch src/BootstrapLayoutsUninstallValidator.php... Checking patch src/BootstrapLayoutsUpdateManager.php... Checking patch src/Plugin/BootstrapLayouts/BootstrapLayoutsHandlerBase.php... Checking patch src/Plugin/BootstrapLayouts/BootstrapLayoutsHandlerInterface.php... Checking patch src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateBase.php... Checking patch src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateInterface.php... Checking patch src/Plugin/BootstrapLayouts/Ds.php... Checking patch src/Plugin/BootstrapLayouts/PageManager.php... Checking patch src/Plugin/BootstrapLayouts/Updates/BootstrapLayoutsUpdate8401.php... Checking patch src/Plugin/BootstrapLayouts/Updates/BootstrapLayoutsUpdate8402.php... Checking patch src/Plugin/Layout/BootstrapLayoutsBase.php... Applied patch bootstrap_layouts.api.php cleanly. Applied patch bootstrap_layouts.install cleanly. Applied patch bootstrap_layouts.module cleanly. Applied patch src/Annotation/BootstrapLayoutsUpdate.php cleanly. Applied patch src/BootstrapLayout.php cleanly. Applied patch src/BootstrapLayoutsManager.php cleanly. Applied patch src/BootstrapLayoutsPluginManager.php cleanly. Applied patch src/BootstrapLayoutsUninstallValidator.php cleanly. Applied patch src/BootstrapLayoutsUpdateManager.php cleanly. Applied patch src/Plugin/BootstrapLayouts/BootstrapLayoutsHandlerBase.php cleanly. Applied patch src/Plugin/BootstrapLayouts/BootstrapLayoutsHandlerInterface.php cleanly. Applied patch src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateBase.php cleanly. Applied patch src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateInterface.php cleanly. Applied patch src/Plugin/BootstrapLayouts/Ds.php cleanly. Applied patch src/Plugin/BootstrapLayouts/PageManager.php cleanly. Applied patch src/Plugin/BootstrapLayouts/Updates/BootstrapLayoutsUpdate8401.php cleanly. Applied patch src/Plugin/BootstrapLayouts/Updates/BootstrapLayoutsUpdate8402.php cleanly. Applied patch src/Plugin/Layout/BootstrapLayoutsBase.php cleanly. โ bootstrap_layouts git:(f6b43a4) โ .. โ contrib git:(main) โ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml bootstrap_layouts FILE: ...bing/Projects/PAT/drupal10/web/modules/contrib/bootstrap_layouts/README.md -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 3 | WARNING | Line exceeds 80 characters; contains 81 characters -------------------------------------------------------------------------------- FILE: ...eb/modules/contrib/bootstrap_layouts/src/BootstrapLayoutsPluginManager.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES -------------------------------------------------------------------------------- 67 | WARNING | \Drupal calls should be avoided in classes, use dependency | | injection instead 77 | WARNING | \Drupal calls should be avoided in classes, use dependency | | injection instead -------------------------------------------------------------------------------- FILE: ...dules/contrib/bootstrap_layouts/src/Plugin/Layout/BootstrapLayoutsBase.php -------------------------------------------------------------------------------- FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES -------------------------------------------------------------------------------- 21 | WARNING | Possible useless method overriding detected 134 | ERROR | The array declaration extends to column 93 (the limit is 80). | | The array content should be split up over multiple lines 141 | ERROR | The array declaration extends to column 81 (the limit is 80). | | The array content should be split up over multiple lines -------------------------------------------------------------------------------- FILE: ...al10/web/modules/contrib/bootstrap_layouts/src/BootstrapLayoutsManager.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 281 | WARNING | Unused variable $handler_id. -------------------------------------------------------------------------------- Time: 676ms; Memory: 12MB โ contrib git:(main) โ
- ๐ฎ๐ณIndia Gautam_105@
Gautam_105@ โ made their first commit to this issueโs fork.
- Status changed to Needs review
about 1 year ago 5:39am 9 October 2023 - ๐ฎ๐ณIndia shiv_yadav
hello clarkssquared, fixed remianing issue. pending only three line comment.these are attribute test changes.attched screenshot as well.
- ๐ฎ๐ณIndia Gautam_105@
@clarkssquared ,
i have fixed this issue and created MR for the same .please review and see screenshot as well - ๐ฎ๐ณIndia Madhu Kumar M E
@gautam I applied and tested your patch it working fine, still some warnings will be there but its not concern to fix it, attaching screenshot for ref for the same
- ๐ฎ๐ณIndia Gautam_105@
@Madhu Kumar M E,
i have updated MR Please review this and see the screenshot as well. - Status changed to RTBC
9 months ago 8:18am 7 February 2024 - ๐ฎ๐ณIndia pray_12
Hi,
MR!5 [#10] fixes all the Phpcs errors and warnings.