Closed woodyc79 closed 6 years ago
@woodyc79 and @CDRO can you please also verify that
I get the $isCliRequest = false
leads to an error, since it is indeed not used anywhere, but the static request to GeneralUtilty
cannot be avoided I guess :-)
needs testing and some refactoring later ... static calls should be avoided
this extension definitely needs some unit tests 😄
That's probably true, but I think that in the meantime you should ignore the PR Quality Review concerning the static call, at the moment this is best practice in TYPO3, so I don't see much that we could do about it :-)
If you verify, that it works as expected, i will merge it.
This solved the issues on TYPO3 8, I've sadly got no 7.6 with dyncss laying around to test it though.
tests on 7.6 are green.
Use Constant TYPO3_cliMode only in TYPO3 versions lower 8