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

Fix composer.lock and composer.json inconsistency, add predis package for REDIS usage and limit PHP version > 7.2.0 due to new count() implementation #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

thefat32
Copy link

@thefat32 thefat32 commented Jan 9, 2018

-9dbd0435109b3a0a6254387faf23123a79d275d8 changes zizaco/entrust version (#26) to fix issue 'This cache store does not support tagging' leaving composer.lock and composer.json in an incompatible state that arise an error when requiring new packages to the project.

-predis package needed for REDIS usage is missing from composer.json

-Since PHP 7.2 count() throws a warning in case a scalar or non-countable object is passed.
"count(): Parameter must be an array or an object that implements Countable" error is being arised by some dependencies that did not document their incompatibility with 7.2 (i.e. laravel's framework \Illuminate\Database\Eloquent\Builder.php)
Ref. https://wiki.php.net/rfc/counting_non_countables

Signed-off-by: Lucas Picchi [email protected]

9dbd043 changes zizaco/entrust version (lemberg#26) to fix issue  'This cache store does not support tagging' leaving composer.lock and composer.json in an incompatible state that arise an error when requiring new packages to the project.

Signed-off-by: Lucas Picchi <[email protected]>
@thefat32 thefat32 changed the title Fix composer.lock and composer.json inconsistency Fix composer.lock and composer.json inconsistency and add predis package for REDIS usage Jan 9, 2018
Since PHP 7.2 count() throws a warning in case a scalar or non-countable object is passed. 
"count(): Parameter must be an array or an object that implements Countable" error is being arised by some dependencies that did not document their incompatibility with 7.2 (i.e. laravel's framework \Illuminate\Database\Eloquent\Builder.php)
@thefat32 thefat32 changed the title Fix composer.lock and composer.json inconsistency and add predis package for REDIS usage Fix composer.lock and composer.json inconsistency, add predis package for REDIS usage and limit PHP version > 7.2.0 due to new count() implementation Jan 9, 2018
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

Successfully merging this pull request may close these issues.

1 participant