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

softdelete update for cakephp 3.6 #29

Open
isemantics opened this issue Apr 18, 2018 · 0 comments
Open

softdelete update for cakephp 3.6 #29

isemantics opened this issue Apr 18, 2018 · 0 comments

Comments

@isemantics
Copy link

While using dev-master of softdelete for a project with cakephp3.6, I got "X is deprecated, use Y"
warnings. I think only a couple of things need to be changed. Below is some things I changed locally:

SoftDeleteTrait.php - Line 39: connection() -> getConnection()
SoftDeleteTrait.php - Line 25: schema()>column( -> getSchema()->getColumn(
SoftDeleteTrait.php - "primaryKey()" to "getPrimaryKey()" ( I think )
Query.php - Line 25: repository() -> getRepository()

Maybe I've missed a version of soft-delete that already has/supports this, then this ssue may be closed.

Thanks for your work.

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