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.
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.