From e794451e6b7eb6e21b9ec5209de7b5e72aeaffee Mon Sep 17 00:00:00 2001 From: im Date: Wed, 10 Sep 2025 21:00:46 +0200 Subject: Upgrade to Carbon v3 and PHP 8.1+ - Update nesbot/carbon from ^2.42 to ^3.0 - Update PHP requirement from ^7.4||^8.0 to ^8.1 - Fix nullable parameter syntax in ScoTracking::setLatestDate() - Remove version field from composer.json for GitHub hosting BREAKING CHANGE: Requires PHP 8.1+ due to Carbon v3 dependency --- src/Entity/ScoTracking.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entity/ScoTracking.php') diff --git a/src/Entity/ScoTracking.php b/src/Entity/ScoTracking.php index 64e83b2..e78e02e 100644 --- a/src/Entity/ScoTracking.php +++ b/src/Entity/ScoTracking.php @@ -257,7 +257,7 @@ class ScoTracking return $this->latestDate; } - public function setLatestDate(Carbon $latestDate = null) + public function setLatestDate(?Carbon $latestDate = null) { $this->latestDate = $latestDate; } -- cgit v1.2.3