turnitin / moodle-plagiarism_turnitin

Turnitin Plagiarism plugin for Moodle
http://www.turnitin.com
45 stars 65 forks source link

vendor/nategood/httpful not compatible with PHP 7.4 #621

Open sharpchi opened 2 years ago

sharpchi commented 2 years ago

This component, which I believe you use for testing, uses code that no longer works in PHP 7.4+ This is my output from phpdd /plagiarism/turnitin/vendor/nategood/httpful/tests/Httpful/HttpfulTest.php:279 | removed | Function each() is removed. Consider replace with foreach() /plagiarism/turnitin/vendor/nategood/httpful/tests/Httpful/HttpfulTest.php:282 | removed | Function each() is removed. Consider replace with foreach() /plagiarism/turnitin/vendor/nategood/httpful/tests/Httpful/HttpfulTest.php:285 | removed | Function each() is removed. Consider replace with foreach()

There is an updated version of httpful which is compatible with PHP 7.4+. This might fix the other errors people are getting when they're running Behat tests on your code.

ixiongtii commented 11 months ago

There is an open ticket for this and is under review.