- Issue created by @sahil.goyal
- ๐ฎ๐ณIndia sahil.goyal
Fixing the phpcs warnings, attaching the patch, please review.
- Status changed to Needs review
almost 2 years ago 3:23am 6 February 2023 - ๐ฎ๐ณIndia Charchil Khandelwal
Charchil Khandelwal โ made their first commit to this issueโs fork.
- Assigned to Charchil Khandelwal
- Merge request !4Issue #3339420: Drupal Coding Standards Issues | phpcs โ (Merged) created by Charchil Khandelwal
- ๐ฎ๐ณIndia Charchil Khandelwal
Patch #2 tested and applied successfully, all the errors and warnings are fixed.
Created MR !4 for easy preview and commenting.
RTBC +1.Thanks.
- Issue was unassigned.
- Status changed to RTBC
over 1 year ago 3:26am 2 May 2023 - ๐ต๐ญPhilippines paraderojether
Hi Charchil Khandelwal
I reviewed MR!4, and verified it fixes all the issue reported by phpcs. Drupal core version 9.5.8, Bootstrap Paragraphs 8.x-2.x-dev.
I added screenshots for reference.
Thank You. - Status changed to Needs work
over 1 year ago 9:02am 2 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
- - paragraphs - - bootstrap_paragraphs + - drupal:paragraphs + - drupal:bootstrap_paragraphs
Those are not Drupal core modules.
- Status changed to Needs review
over 1 year ago 9:53am 2 May 2023 - ๐ฎ๐ณIndia Ashutosh Ahirwal India
Providing patch with solution.
please review. - Status changed to Needs work
over 1 year ago 11:36am 2 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
- - paragraphs - - bootstrap_paragraphs + - paragraphs: paragraphs + - bootstrap_paragraphs: bootstrap_paragraphs
The space after the colon must be removed.
- @paraderojether opened merge request.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
- - paragraphs - - bootstrap_paragraphs + - drupal:paragraphs + - drupal:bootstrap_paragraphs
Those are not Drupal core modules.
- Status changed to Needs review
over 1 year ago 1:14am 4 May 2023 - Status changed to Needs work
over 1 year ago 7:51am 4 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
- - paragraphs - - bootstrap_paragraphs + - drupal:paragraphs + - drupal:bootstrap_paragraphs
If those are not Drupal core modules,
drupal:
cannot be used to refer to those modules. The dependencies format is [project name]:[module name], where [project name] is replaced by the machine name of the project that contains the module, and [module name] is the module machine name. - ๐บ๐ธUnited States Devon_4224
Working on this for Drupalcon 2023 Pittsburgh
- Assigned to nitin_lama
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 1:04pm 9 June 2023 - Status changed to Needs work
10 months ago 11:12pm 21 January 2024 - ๐ท๐บRussia zniki.ru
Please check MR.
Hide patch files, let's continue with MR workflow. - Status changed to Needs review
10 months ago 8:17am 22 January 2024 - Status changed to Needs work
3 months ago 2:12am 14 August 2024 Hi @everyone,
Applied and reviewed MR!4, on my terminal, errors were still reported. Please see below:
bootstrap_paragraphs git:(8.x-2.x) curl https://git.drupalcode.org/project/bootstrap_paragraphs/-/merge_requests/4.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2446 0 2446 0 0 6360 0 --:--:-- --:--:-- --:--:-- 6575 patching file README.md patching file modules/bp_callout/bp_callout.info.yml patching file modules/bp_quicklinks/README.md patching file modules/bp_statistics/bp_statistics.info.yml โ bootstrap_paragraphs git:(8.x-2.x) โ .. โ contrib git:(master) โ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig bootstrap_paragraphs FILE: ...drupal-orgissue-v9/web/modules/contrib/bootstrap_paragraphs/CONTRIBUTOR.md -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 166 | WARNING | Line exceeds 80 characters; contains 81 characters -------------------------------------------------------------------------------- FILE: ...phs/config/optional/field.storage.paragraph.bp_link_open_in_new_window.yml -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 17 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: ...e-v9/web/modules/contrib/bootstrap_paragraphs/bootstrap_paragraphs.install -------------------------------------------------------------------------------- FOUND 9 ERRORS AFFECTING 5 LINES -------------------------------------------------------------------------------- 10 | ERROR | [x] Use statements should be sorted alphabetically. The first | | wrong one is Drupal\Component\Utility\NestedArray. 392 | ERROR | [x] Expected 1 blank line after function; 3 found 395 | ERROR | [ ] More than 2 empty lines are not allowed 421 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 421 | ERROR | [x] Line indented incorrectly; expected at least 2 spaces, found | | 1 421 | ERROR | [x] Array indentation error, expected 4 spaces but found 1 441 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed 441 | ERROR | [x] Line indented incorrectly; expected at least 2 spaces, found | | 1 441 | ERROR | [x] Array indentation error, expected 4 spaces but found 1 -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- Time: 617ms; Memory: 14MB
Kindly check
Thanks,
Jake- First commit to issue fork.
- ๐บ๐ธUnited States thejimbirch Cape Cod, Massachusetts
Merged to dev, thanks all.
-
thejimbirch โ
committed 7bba1ade on 8.x-2.x authored by
Charchil Khandelwal โ
Issue #3339420: Drupal Coding Standards Issues | phpcs
-
thejimbirch โ
committed 7bba1ade on 8.x-2.x authored by
Charchil Khandelwal โ
Automatically closed - issue fixed for 2 weeks with no activity.