- Issue created by @sunil jolapara
- Status changed to Needs review
11 months ago 12:16pm 21 September 2024 - šŗšøUnited States sunil jolapara 3265 Summitrun Drive, Independence, KY, 41051
- šµšPhilippines clarkssquared
Hi
I checked and applied MR !1 and these are the remaining reported PHPCS issues
ā revision_assignee git:(main) ā curl https://git.drupalcode.org/project/revision_assignee/-/merge_requests/1.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3989 0 3989 0 0 8286 0 --:--:-- --:--:-- --:--:-- 8415 patching file README.txt patching file revision_assignee.install patching file revision_assignee.module patching file revision_assignee.services.yml patching file 'src/EventSubscriber/EntitySchemaSubscriber.php' patching file 'src/Utility/RevisionAssigneeUtility.php' ā revision_assignee git:(main) ā .. ā contrib git:(main) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml revision_assignee FILE: ...pal_local/web/modules/contrib/revision_assignee/revision_assignee.info.yml -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE -------------------------------------------------------------------------------- 1 | WARNING | Remove "project" from the info file, it will be added by | | drupal.org packaging automatically 1 | WARNING | Remove "datestamp" from the info file, it will be added by | | drupal.org packaging automatically 1 | WARNING | Remove "version" from the info file, it will be added by | | drupal.org packaging automatically -------------------------------------------------------------------------------- FILE: .../modules/contrib/revision_assignee/src/Utility/RevisionAssigneeUtility.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES -------------------------------------------------------------------------------- 43 | WARNING | t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait and | | $this->t() instead 44 | WARNING | t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait and | | $this->t() instead -------------------------------------------------------------------------------- Time: 277ms; Memory: 10MB ā contrib git:(main) ā
- š®š¹Italy apaderno Brescia, š®š¹
The issue summary for PHP_CodeSniffer issues should always show the report given from PHP_CodeSniffer and the arguments passed to
phpcs
.Furthermore, since GitLab CI is now enabled for all the projects, GitLab CI should be used to get PHP_CodeSniffer errors/warnings.