laravel-doctrine / orm

A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen

Home Page:http://laraveldoctrine.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[PRPOSAL] Php 8 deprecation bug

michaeldnelson opened this issue · comments

Marking as proposal because php 8 is not supported.

Package version, Laravel version

1.72, 8

Expected behaviour

Works with php 8

Actual behaviour

Fails with deprecation error. Required parameter $manager follows optional parameter $settings

protected function registerListeners(array $settings = [], EntityManagerInterface $manager)

Steps to reproduce the behaviour

Install php 8

There is some work on this here: #462. There is probably more work needed on the other laravel-doctrine packages too.

So all pull requests with PHP 8 have been merged now. Please try it out and report bugs :)