- Issue was unassigned.
- Status changed to Needs review
over 2 years ago 11:15am 19 January 2023 - Status changed to Fixed
almost 2 years ago 10:20pm 19 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Getting Following errors/warnings
$ phpcs --standard=Drupal button_link
FILE: ...p\task\button_link\src\Plugin\Field\FieldFormatter\ButtonLinkFormatter.php
--------------------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found
| | "\r\n"
45 | ERROR | [x] Missing function doc comment
114 | ERROR | [x] Missing function doc comment
147 | ERROR | [x] Short array syntax must be used to define arrays
165 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
181 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 501ms; Memory: 8MB
Fix the errors and warnings.
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.