Page 1 of 1

How to include functions with no class in strict mode

PostPosted: April 1st, 2015, 8:29 pm
by RobertPlummer
These are the functions:
https://github.com/gabordemooij/redbean ... ctions.php

This is the project I'm trying to include them in:
https://github.com/robertleeplummerjr/redbean.net

This is the command to build it:
https://github.com/robertleeplummerjr/r ... /build.bat

This will be very similar to:
https://github.com/wikiLingo/wikiLingo.net

The original developer doesn't want to change how he is using the functions, and I thought this would be a great unit test or example to have out in the wild. Also, I'd like to show that Entity Framework isn't the only kid on the block.

Re: How to include functions with no class in strict mode

PostPosted: April 3rd, 2015, 2:05 am
by RobertPlummer
Could I just search and replace using cli and exclude this file? Come on guys, don't leave me hangin'.

Re: How to include functions with no class in strict mode

PostPosted: April 3rd, 2015, 8:37 pm
by RobertPlummer
Nevermind, I found that the functions in question in the file that was causing the issues are only actually used in the test suite, so they are not crutial to this project. Thanks again guys for your hard and outstanding work.