$ vendor/bin/phpcs --standard=Drupal web/core/modules/datetime
FILE: ...core\modules\datetime\src\Plugin\Field\FieldType\DateTimeFieldItemList.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
109 | WARNING | Line exceeds 80 characters; contains 82 characters
--------------------------------------------------------------------------------
FILE: ...\core\modules\datetime\src\Plugin\Field\FieldWidget\DateTimeWidgetBase.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
48 | WARNING | [x] There must be no blank line following an inline comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...ewdrupal\web\core\modules\datetime\tests\src\Functional\DateFilterTest.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
91 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
91 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...\newdrupal\web\core\modules\datetime\tests\src\Functional\DateTestBase.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
67 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
75 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
84 | ERROR | [ ] Description for the @return value is missing
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...rupal\web\core\modules\datetime\tests\src\Functional\DateTimeFieldTest.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AND 7 WARNINGS AFFECTING 8 LINES
--------------------------------------------------------------------------------
172 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
175 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
199 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
200 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
202 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
414 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
418 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
418 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
444 | WARNING | [ ] Line exceeds 80 characters; contains 91 characters
444 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...b\core\modules\datetime\tests\src\Kernel\Views\DateTimeHandlerTestBase.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
122 | ERROR | Protected method name
| | "DateTimeHandlerTestBase::getUTCEquivalentOfUserNowAsTimestamp"
| | is not in lowerCamel format
--------------------------------------------------------------------------------
FILE: ...al\web\core\modules\datetime\tests\src\Kernel\Views\FilterDateTimeTest.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
85 | ERROR | Protected method name "FilterDateTimeTest::_testOffset" is not
| | in lowerCamel format
120 | ERROR | Protected method name "FilterDateTimeTest::_testBetween" is not
| | in lowerCamel format
183 | ERROR | Protected method name "FilterDateTimeTest::_testExact" is not in
| | lowerCamel format
--------------------------------------------------------------------------------
Time: 2.79 secs; Memory: 18MB
Issue fork 1414166-3566319
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
amangupta commentedi will work on it
Comment #4
amangupta commented