kalkun-sms / Kalkun

Open Source Web based SMS Manager
https://kalkun.sourceforge.io/
GNU General Public License v2.0
210 stars 131 forks source link

fix for php 8.3 #510

Closed alexandergotts closed 5 months ago

alexandergotts commented 5 months ago

updates codeigniter/framework to be compatible for php 8.2+ and removes fix that no longer works

tenzap commented 5 months ago

Please check https://github.com/kalkun-sms/Kalkun/pull/512 Is your PR still required?

alexandergotts commented 5 months ago

Please check #512 Is your PR still required?

I think my pr is no longer needed

tenzap commented 5 months ago

When doing squash & merge, use this commit message:

remove deprecated call to CI_Model::__construct()

In future CI3 version 3.2.0, that constructor is entirely removed,
which would result in fatal errors on attempts to call it.

See: https://github.com/bcit-ci/CodeIgniter/blob/develop/user_guide_src/source/installation/upgrade_320.rst
alexandergotts commented 5 months ago

get_class() not working with php 8.3

kingster commented 5 months ago

Shouldn't we remove the construct function itself? If there is nothing inside it?

tenzap commented 5 months ago

Shouldn't we remove the construct function itself? If there is nothing inside it?

That's what I meant in my comment above https://github.com/kalkun-sms/Kalkun/pull/510#discussion_r1489547772

alexandergotts commented 5 months ago

Could work but it also works if you just leave it empty

tenzap commented 5 months ago

Could you please squash all the commits to leave only these two and set an appropriate commit message?

alexandergotts commented 5 months ago

Could you please squash all the commits to leave only these two and set an appropriate commit message?

  • one commit for the changes related to the constructor for CI3.2. I think it is cleaner to remove completely the empty constructors.
  • one commit for the changes related to php 8.3 (__CLASS__)

I can only make one fork that I can commit

tenzap commented 5 months ago

You probably need to use the command line for that.

tenzap commented 5 months ago

Search for "git squash commit" in a search engine.

alexandergotts commented 5 months ago

it's done

tenzap commented 5 months ago

Thanks

tenzap commented 5 months ago

Replaced by #513 & #514