I am getting the following error in PHP 8:
Type mixed cannot be marked as nullable since mixed already includes null at ./vendor/nikaia/nova-rating-field/src/Rating.php:43
I checked your file and the constructor signatures is public function __construct(string $name, $attribute = null, ?mixed $resolveCallback = null) and the offending part is ?mixed as mixed already contains null, so no need to add the ?.