Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Psalm error when trying to create a date object #587

Closed
LordSimal opened this issue Jan 2, 2024 · 0 comments
Closed

Psalm error when trying to create a date object #587

LordSimal opened this issue Jan 2, 2024 · 0 comments

Comments

@LordSimal
Copy link

I get the following error on psalm level 3

Constructor Eluceo\iCal\Domain\ValueObject\PointInTime::__construct is internal to Eluceo but called from App\Controller\StandByEntriesController::myStandByIcal

see https://psalm.dev/175

when doing

new \Eluceo\iCal\Domain\ValueObject\SingleDay(new \Eluceo\iCal\Domain\ValueObject\Date($myDateObject));

It seems psalm has a problem with the fact, that https://github.com/markuspoerschke/iCal/blob/2.13.0/src/Domain/ValueObject/PointInTime.php#L20 is marked as internal

Used versions:
PHP: 8.3.0
eluceo/ical: 2.13.0
vimeo/psalm: 5.18.0

@LordSimal LordSimal closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant