v3.0.0
Upgrade to PHP 7.2 and Carbon 2.
Instead of using Carbon's depreciated methods to set the start and end of the week, use the new $calendar->setWeekStart(int $weekStart)
method and supply either a zero-indexed day integer (0 = Sunday, 1 = Monday, etc.) or use CarbonInterface::SUNDAY
, CarbonInterface::MONDAY
, etc.