- Issue created by @danmer
- Status changed to Needs work
6 months ago 4:49pm 22 December 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
Thank you for applying!
Branch names must have a name that ends with the literal .x. The main branch will be supported from drupal.org in future, but at the moment cannot be used to create project releases.
- Status changed to Needs review
6 months ago 8:53am 26 December 2023 - 🇺🇦Ukraine danmer
Hello @apaderno, Thank you for your reply. I’ve updated the branching in the project repo: https://git.drupalcode.org/project/zoom_video
Tell me if I can do anything else. - Status changed to Needs work
6 months ago 6:07am 27 December 2023 - 🇮🇳India vishal.kadam Mumbai
Fix phpcs issues.
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml zoom_video/ FILE: zoom_video/src/ZoomMeetingSDKRequest.php -------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES -------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\ConfigFactoryInterface. 58 | WARNING | [ ] Line exceeds 80 characters; contains 102 characters -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: zoom_video/src/Controller/ZoomVideoController.php -------------------------------------------------------------------------------- FOUND 7 ERRORS AFFECTING 7 LINES -------------------------------------------------------------------------------- 5 | ERROR | [x] When importing a class with "use", do not include a leading \ 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Serialization\Json. 27 | ERROR | [x] Doc comment short description must end with a full stop 39 | ERROR | [x] Parameter comment must end with a full stop 87 | ERROR | [x] Expected newline after closing brace 90 | ERROR | [x] Expected 1 blank line after function; 0 found 91 | ERROR | [x] The closing brace for the class must have an empty line before it -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: zoom_video/src/ZoomMeetingSDKRequestInterface.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Symfony\Component\HttpFoundation\JsonResponse. -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------
- Status changed to Needs review
6 months ago 10:40am 27 December 2023 - 🇺🇦Ukraine danmer
Hello @vishalkadam, thanks for the review. I have updated the repo: https://git.drupalcode.org/project/zoom_video with all fixes for the phpcs
- 🇺🇦Ukraine danmer
Hello, @vishalkadam, @apaderno. I have added a new release of the module; please check and let me know what I can fix or add if needed.
- Status changed to Needs work
4 months ago 4:39pm 18 February 2024 - 🇮🇹Italy apaderno Brescia, 🇮🇹
- The following points are just a start and don't necessarily encompass all of the changes that may be necessary
- A specific point may just be an example and may apply in other places
- A review is about code that doesn't follow the coding standards, contains possible security issue, or doesn't correctly use the Drupal API; the single points aren't ordered, not even by importance
src/Controller/ZoomVideoController.php
if (isset($error['error'])) { $this->logger->error($error['error']); }
The first argument passed to logger methods that log a message must be a literal string. Passing a dynamic string is considered a security issue.