$ phpcs --standard=Drupalpractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml trinion_base/
FILE: C:\xampp\htdocs\contribution\web\modules\contrib\trinion_base\src\Theme\TrinionBackendNegotiator.php
----------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNINGS AFFECTING 1 LINES
----------------------------------------------------------------------------------------------------------
24 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
----------------------------------------------------------------------------------------------------------
Issue fork 3283272-3290920
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
rakhi soni commentedI have fixed that issue and applied a patch for it,,
Comment #3
himanshu_jhaloya commentedHi @Rakhi soni i am reviewing your patch.
Comment #4
himanshu_jhaloya commentedHi @Rakhi soni i reviewed your patch. Patch #failed
Comment #5
himanshu_jhaloya commentedI have fixed that issue and applied a patch for it
Comment #6
himanshu_jhaloya commentedComment #7
himanshu_jhaloya commented