Closed padraic closed 9 years ago
The Hamcrest.php
file is generated. Please instead:
return
statement to the generator/parts/assertThat.txt
file (when function assertThat
exit then don't do the rest)php generator/run.php
I advise to use Hamcrest\Matchers
static class instead of global functions.
ping @aik099 is this still needed? if yes it needs a rebase
This is no longer needed after #22.
Checks if one of the more unique functions is previously defined. If not, will try to load all of the functions. This should help with hamcrest loading cross-project boundaries. Won't check all functions so clashes can still occur with non-hamcrest code (which is likely okay to leave alone).