kylekatarnls/business-time

View on GitHub

Showing 227 of 228 total issues

Line exceeds 120 characters; contains 283 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      currentOrPreviousOpen(CarbonInterface $date)                                                                               Return current date-time if it's open, else go to the previous open date and time

Line exceeds 120 characters; contains 295 characters
Open

 * @method float                                                               diffInBusinessHours(CarbonInterface $date, $date = null, int $options = 0)                                                 Return a number of hours with open/closed business time between the current date and an other

Line exceeds 120 characters; contains 312 characters
Open

 * @method bool                                                                isBusinessOpen(CarbonInterface $date)                                                                                      Returns true if the business is open and not a holiday now (or current date and time) according to current

Line exceeds 120 characters; contains 267 characters
Open

 * @method \Spatie\OpeningHours\OpeningHoursForDay                             getCurrentDayOpeningHours(CarbonInterface $date)                                                                           Get OpeningHoursForDay instance of the current instance or class.

Line exceeds 120 characters; contains 271 characters
Open

 * @method \Spatie\OpeningHours\TimeRange|bool                                 getCurrentOpenTimeRange(CarbonInterface $date)                                                                             Get current open time range as TimeRange instance or false if closed.

Line exceeds 120 characters; contains 129 characters
Open

         *                                                                        => return negative value if start is before end

Line exceeds 120 characters; contains 122 characters
Open

         *                                                                        - BusinessTime::USE_DAYLIGHT_SAVING_TIME

Line exceeds 120 characters; contains 132 characters
Open

         *                                                                        => holidays are automatically considered as closed

Line exceeds 120 characters; contains 125 characters
Open

$contents = preg_replace('/(<autodoc([^>]*>))([\s\S]*)(<\/autodoc>)/', "$1\n *{{AUTODOC-CONTENT}}\n *</autodoc>", $contents);
Severity: Minor
Found in types.php by phpcodesniffer

Line exceeds 120 characters; contains 280 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      openOrNextClose(CarbonInterface $date)                                                                                     Return current date-time if it's open, else go to the next close date and time

Line exceeds 120 characters; contains 272 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface|bool getCurrentBusinessOpenTimeRangeEnd(CarbonInterface $date, $method = null)                                                  Get current open time range end as Carbon instance or false if closed.

Line exceeds 120 characters; contains 122 characters
Open

         *                                                                        - BusinessTime::USE_DAYLIGHT_SAVING_TIME

Line exceeds 120 characters; contains 129 characters
Open

         *                                                                        => return negative value if start is before end

Line exceeds 120 characters; contains 124 characters
Open

         *                                                                        => return the interval of for closed time,

Line exceeds 120 characters; contains 122 characters
Open

         *                                                                        - BusinessTime::USE_DAYLIGHT_SAVING_TIME

Line exceeds 120 characters; contains 124 characters
Open

         *                                                                        => return the interval of for closed time,

Line exceeds 120 characters; contains 132 characters
Open

         *                                                                        => holidays are automatically considered as closed

Line exceeds 120 characters; contains 132 characters
Open

         *                                                                        => holidays are automatically considered as closed

Line exceeds 120 characters; contains 122 characters
Open

         *                                                                        - BusinessTime::USE_DAYLIGHT_SAVING_TIME

Line exceeds 120 characters; contains 272 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface|bool getCurrentOpenTimeRangeEnd(CarbonInterface $date, $method = null)                                                          Get current open time range end as Carbon instance or false if closed.
Severity
Category
Status
Source
Language