Hello,
I have found a bug in the starterkit.
- cd into my parked sites folder for Laravel Valet using the Terminal app.
- run
composer create-project getkirby/starterkit
cd starterkit
composer require --dev vimeo/psalm
./vendor/bin/psalm --init
This results in (Psalm 5.25.0@01a8eb06b9e9cc6cfb6a320bf9fb14331919d505 crashed due to an uncaught Throwable).
If you follow the same steps using the plainkit, then the error does not happen.
Additionally, if you change class AlbumPage extends Page
→ class AlbumPage extends \Kirby\CMS\Page
on line 17 in site/models/album.php
and do the equivalent on line 20 in site/models/note.php
, then you can run ./vendor/bin/psalm --init
on the starter kit without errors.