Homework 18. Leetcode 2 #2426
Annotations
6 errors and 2 warnings
phpcs:
FractionToRecurringDecimal.php#L3
Each class must be in a namespace of at least one level (a top-level vendor name)
|
phpcs:
FractionToRecurringDecimal.php#L4
Opening brace must not be followed by a blank line
|
phpcs:
FractionToRecurringDecimal.php#L11
Visibility must be declared on method "fractionToDecimal"
|
phpcs:
IntersectionOfTwoLinkedList.php#L12
Each class must be in a namespace of at least one level (a top-level vendor name)
|
phpcs:
IntersectionOfTwoLinkedList.php#L19
Visibility must be declared on method "getIntersectionNode"
|
phpcs
Error: Command failed: php phpcs.phar --report=checkstyle --standard=phpcs.xml FractionToRecurringDecimal.php IntersectionOfTwoLinkedList.php
|
phpcs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, tinovyatkin/action-php-codesniffer@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpcs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, tinovyatkin/action-php-codesniffer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|