-
Notifications
You must be signed in to change notification settings - Fork 51
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
Can't install Analogue on Laravel 6 #291
Comments
@IbrahimFathy19 This is due to the constraint on the laravel packages version that analogue require. Most likely the laravel version installed in your project is grater than Sorry if I'm not able to do it myself but right now I'm short in time. Also please use brench |
The tests produced:
|
And this is the composer file:
|
I think is better if we restrict the version a little more so we can control possible braking changes in laravel packages. Maybe you can do something like
So on and so forth. Do you think you can fix those issues on the tests and make travis test those different version? |
I can gladly solve the two errors, but to write the other 10 tests, well this would take some time. |
I will do it during these two weeks |
@IbrahimFathy19 If you can write tests for those 10 empty ones would be awesome, but if you would like we can merge the fix for those 2 errors and make a release for you to use on your project and make another release when those tests are complete. TBH those empty tests were there since long ago, way before I became a contributor. @RemiCollin any suggestion you can provide on this? |
It would be much help if we could make a release with the correct versions! can we do that? |
Ok, help me fix the 2 errors and I will make a release with the correct version needed. Can you provide the version of laravel you have installed? |
Laravel 6.1.18, Laravel 6.2 |
Well the first error can be resolved By removing the check if the class EntityMap has a parent class or not
As I believe the error is produced based on parsing the file maybe!
And with this code all the tests pass |
The second one is resolved by using property_exists() instead of array_key_exists() |
@IbrahimFathy19 I published a new release. Please feel free to close this issue if this new release resolve your problem. |
well there's now |
We might run the tests for all of these versions and edit composer.json based on the results maybe!? |
I’ll work on this as soon as I have time to do it. As I mention before my free time is nearly null. |
I can't install Analogue on fresh installation of Laravel 6
This is my composer.json
and this is the error produced when trying composer require analogue/orm:6.*
The text was updated successfully, but these errors were encountered: