- Status changed to Needs review
almost 2 years ago 5:19pm 20 January 2023 - Status changed to Needs work
almost 2 years ago 7:01am 23 January 2023 - 🇮🇳India Charchil Khandelwal
The patch #4 has been reviewed and applied cleanly, but a few phpcs still remain.
FILE: ...\modules\workbench\src\Controller\WorkbenchContentController.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n"
| | but found "\r\n"
138 | WARNING | [ ] Unused variable $key.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------FILE: C:\xampp\htdocs\abc\drupal\modules\workbench\workbench.api.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but
| | found "\r\n"
30 | ERROR | [ ] @return doc comment specified, but function has no
| | return statement
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------- - Status changed to Needs review
almost 2 years ago 8:08am 23 January 2023 - @charchil-khandelwal opened merge request.
- Status changed to RTBC
almost 2 years ago 9:21am 23 January 2023 - 🇮🇳India Charchil Khandelwal
Patch #7 applied cleanly, and all errors and warnings are fixed.
So moving it to RTBC.
Thanks - Status changed to Needs work
almost 2 years ago 3:22pm 23 January 2023 - 🇺🇸United States agentrickard Georgia (US)
Tests failed, though.
PHP Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /var/www/html/modules/contrib/workbench/src/Plugin/Block/WorkbenchBlock.php on line 41 xargs: php: exited with status 255; aborting
- 🇮🇹Italy apaderno Brescia, 🇮🇹
- $items = \Drupal::moduleHandler()->invokeAll('workbench_block'); + $items = this->moduleHandler->invokeAll('workbench_block');
this
should be$this
. - Status changed to Needs review
almost 2 years ago 5:06am 24 January 2023 - 🇮🇳India sidharth_soman Bangalore
I have fixed the '$this' issue. Please review this patch.
- Status changed to RTBC
almost 2 years ago 6:18am 24 January 2023 - 🇮🇳India akshay.singh Noida
All errors and warnings are fixed now.
I have updated the MR.
Moving it to RTBCThanks
- Status changed to Needs review
almost 2 years ago 3:42pm 14 February 2023 - Status changed to RTBC
almost 2 years ago 6:52am 15 February 2023 - 🇮🇳India nayana_mvr
Verified the MR!2 on Drupal version 10.1.x and Workbench version 8.x-1.x. All the coding standard issues are fixed after applying the patch.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; +use Symfony\Component\DependencyInjection\ContainerInterface; +use Drupal\Core\Entity\EntityTypeManagerInterface;
Those statements are usually ordered alphabetically.
* @param array $output * A Render API array of content items, passed by reference. - * @param $context + * @param string $context * A string context for the request, defaults to overview|edits|all. * - * @return array - * A renderable array or an array keyed with a #view_id and #view_display - * to indicate which View display to load onto the page. - * * @see WorkbenchContentController::renderBlocks() */ -function hook_workbench_content_alter(&$output, $context = NULL) { +function hook_workbench_content_alter(array &$output, $context = NULL) {
Since it is a change for a documentation file, is that really necessary? If it is necessary, then also
$context
should be type-hinted. - Assigned to Neeraj333
- Status changed to Needs work
over 1 year ago 11:09am 26 April 2023 - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 11:10am 26 April 2023 - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.3 & MySQL 5.6last update
over 1 year ago Waiting for branch to pass - 🇮🇳India Nishant
Reviewed your patch #20, Most of issues are fixed but still one warning with your patch.
getting warning while applying patch. The last submitted patch, 20: fix_coding_standard-3334870-20.patch, failed testing. View results →
- Status changed to Needs work
about 1 year ago 8:19pm 19 September 2023 - 🇺🇸United States raywalters
I was able to successfully apply patch #20 on version 1.4 without issues.
- Assigned to nitin_lama
- 🇮🇳India nitin_lama India
Providing updated patch and fixing trailing whitespace issue.
- Status changed to Needs review
about 1 year ago 12:10pm 20 September 2023 - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.3 & MySQL 5.6last update
about 1 year ago Waiting for branch to pass - Issue was unassigned.
- First commit to issue fork.
- Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.3 & MySQL 5.6last update
about 1 year ago Waiting for branch to pass - 🇺🇸United States ddavisboxleitner
I have updated the code in gitlab with the contents of the patch file in #25.
- last update
about 1 year ago Build Successful - Status changed to RTBC
about 1 year ago 12:21am 21 September 2023 - Status changed to Needs work
about 1 year ago 7:56am 21 September 2023 - Assigned to nitin_lama
- Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.3 & MySQL 5.6last update
about 1 year ago Waiting for branch to pass - Status changed to Needs review
about 1 year ago 12:20pm 21 September 2023 - Issue was unassigned.
- Status changed to RTBC
about 1 year ago 3:32pm 21 September 2023 The last submitted patch, 25: fix_coding_standard-3334870-25.patch, failed testing. View results →
- Status changed to Needs work
about 1 year ago 4:01pm 21 September 2023 - 🇺🇸United States agentrickard Georgia (US)
Please do not RTBC things that have no test runs.
This will be merged as part of 📌 Move automated testing to GitLab Active
-
agentrickard →
committed 59a033ca on 8.x-1.x authored by
Charchil Khandelwal →
Issue #3334870 by nitin_lama, sahil.goyal, akshay.singh, Charchil...
-
agentrickard →
committed 59a033ca on 8.x-1.x authored by
Charchil Khandelwal →
- Status changed to Fixed
about 1 year ago 4:09pm 21 September 2023 - 🇺🇸United States agentrickard Georgia (US)
I'm going to mark this as fixed, merge, and then follow-up in the linked issue.
Automatically closed - issue fixed for 2 weeks with no activity.