Posts made by Howard Miller

Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Ok - answering my own question - the test function now seems to require an explicit return type of void. That is...

function test_something(): void {}

The script also insists that the class is qualified as 'final'. None of this is reflected in the PHPUnit documentation (that I can find) sad
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I updated my ci.yml scripts to the latest version and some odd stuff is now going on. One thing  I've not been able to resolve...

"Test method test_blah_blah() is missing a return type"

In unit tests. Obviously, unit test methods don't have a return type. Does anybody know what it is asking me to change?

Average of ratings: -