Fix the issues reported by phpcs

Created on 27 June 2023, over 1 year ago
Updated 8 July 2024, 6 months ago

Problem/Motivation

37 | ERROR | [x] Concat operator must be surrounded by a single space
38 | ERROR | [x] Concat operator must be surrounded by a single space
38 | ERROR | [ ] Function strftime() has been deprecated
39 | ERROR | [ ] Function strftime() has been deprecated
65 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
98 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
--------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/drupal9_test/code/modules/contrib/health_check_url/src/Routing/RouteService.php
---------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------
22 | ERROR | Missing short description in doc comment

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇳India yashmalviya

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024