ErrLookup › briannesbitt/Carbon
briannesbitt/Carbon
A simple PHP API extension for DateTime. · PHP · 923 source files
Analyzed at b13f05955d on 2026-08-17. 31 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Unknown unit '$unit'. | exception | error | php, carbon, rounding, unit-validation, invalid-argument |
| Invalid unit for real timestamp add/sub: '$unit' | exception | error | php, carbon, utc-arithmetic, unit-validation, strict-mode |
| Invalid ISO 8601 specification | exception | error | carbon, carbon-period, iso8601, string-parsing, date-range |
| Unable to add unit '.var_export($originalArgs, true) | exception | error | php, carbon, date-arithmetic, unit-validation, exception-chaining |
| Invalid constructor parameters. | exception | error | carbon, carbon-period, constructor, argument-validation, variadic |
| Absolute timezone offset cannot be greater than 99. | exception | error | carbon, carbon-timezone, timezone-offset, validation, unit-mistake |
| Unsupported unit '$unit' | exception | error | php, carbon, unit-validation, date-arithmetic, invalid-argument |
| $anchorDay parameter must not be set for $mode OverflowMode | exception | error | carbon, carbon-period, argument-combination, date-overflow, billing-cycle |
| You cannot set to a float value as would be overridden, set… | exception | error | carbon, carbon-interval, float, duration, unit-cascade |
| Invalid serialized value: $value | exception | error | php, carbon, serialization, cache-invalidation, upgrade |
| $name | exception | error | carbon, carbon-period, magic-properties, unknown-property |
| Interval objects cannot be multiplied by a non-integer… | exception | error | php, carbon, type-validation, interval-arithmetic |
| Method $method does not exist. | exception | error | carbon, carbon-period, magic-methods, typo, strict-mode |
| $anchorDay can be set only $overflow =… | exception | error | php, carbon, argument-validation, overflow-mode, api-misuse |
| Endless period can't be converted to array nor counted. | exception | error | carbon, carbon-period, infinite-loop-guard, array, count |
| Could not calculate period end after iterating 10000 times. | exception | error | carbon, carbon-period, iteration-limit, performance, calculate-end |
| Argument 1 passed to | exception | error | carbon, carbon-period, argument-type, type-check |
| $anchorDay must be greater than 0 | exception | error | php, carbon, argument-validation, anchor-day, off-by-one |
| $className has not the instance() method needed to cast the… | exception | error | carbon, carbon-period, cast, type-conversion |
| Invalid interval. | exception | error | carbon, carbon-period, carbon-interval, interval, string-parsing |
| Expected positive number of seconds, '.$seconds.' given | exception | error | php, carbon, clock, sleep, rate-limiting |
| $dateClass | exception | error | carbon, carbon-period, class-validation, date-class |
| Could not find next valid date. | exception | error | carbon, carbon-period, filters, infinite-loop-guard, iteration |
| Invalid end date. | exception | error | carbon, carbon-period, date-parsing, end-date |
| Invalid start date. | exception | error | carbon, carbon-period, date-parsing, start-date |
| Could not calculate period end without either explicit end… | exception | error | carbon, carbon-period, unbounded-period, calculate-end |
| You must specify $end or $recurrences but not both | exception | error | carbon, carbon-period, argument-combination, date-range |
| Invalid number of recurrences. | exception | error | carbon, carbon-period, recurrences, validation, negative-value |
| Empty interval is not accepted. | exception | error | carbon, carbon-period, interval, zero-value, infinite-loop-guard |
| Timezone ID ' ' is invalid. It must be one of the IDs from… | exception | error | |
| Translator does not implement… | exception | error |