Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 794 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 794 Bytes

codecharge_php7fix

script to transform code charge studio output to php 7.4

I've developed a script to transform CCS php files to work with PHP7.4. includes changing function and constructor names, each iterations etc. I don't take any responsibility, but I am using this regularly.

Usage from command line:

php conv_fnames.php

Notice:

Run this after each publish. It is set to ignore directory CCS if its located inside your publish directory so not to touch the original. And set to ignore node_modules - if you are using node for any reason.

It assumes you haven't touched the CodeCharge library files such as classes.php etc - which can always be regenerated from scratch.