catalyst / moodle-auth_outage

Planned, graduated user and admin friendly moodle outages
https://moodle.org/plugins/auth_outage
17 stars 34 forks source link

4.4+ Callback before_standard_top_of_body_html in auth_outage component should be migrated to new hook callback for core\hook\output\before_standard_top_of_body_html_generation #339

Open aspark21 opened 2 months ago

aspark21 commented 2 months ago

Similar to #334 but different callback that needs migrating

core.core_renderer_test/test_before_standard_top_of_body_html_generation_hooked
core\core_renderer_test::test_before_standard_top_of_body_html_generation_hooked
Unexpected debugging() call detected.
Debugging: Callback before_standard_top_of_body_html in auth_outage component should be migrated to new hook callback for core\hook\output\before_standard_top_of_body_html_generation
* line 7475 of /lib/moodlelib.php: call to debugging()
* line 7589 of /lib/moodlelib.php: call to {closure}()
* line 93 of /lib/classes/hook/output/before_standard_top_of_body_html_generation.php: call to get_plugins_with_function()
* line 832 of /lib/outputrenderers.php: call to core\hook\output\before_standard_top_of_body_html_generation->process_legacy_callbacks()
* line 60 of /lib/tests/core_renderer_test.php: call to core_renderer->standard_top_of_body_html()
* line 1617 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to core\core_renderer_test->test_before_standard_top_of_body_html_generation_hooked()
* line 1223 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestCase->runTest()
* line 72 of /lib/phpunit/classes/advanced_testcase.php: call to PHPUnit\Framework\TestCase->runBare()
* line 729 of /vendor/phpunit/phpunit/src/Framework/TestResult.php: call to advanced_testcase->runBare()
* line 973 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestResult->run()
* line 685 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestCase->run()
* line 685 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
* line 685 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
* line 651 of /vendor/phpunit/phpunit/src/TextUI/TestRunner.php: call to PHPUnit\Framework\TestSuite->run()
* line 146 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\TestRunner->run()
* line 99 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\Command->run()
* line 107 of /vendor/phpunit/phpunit/phpunit: call to PHPUnit\TextUI\Command::main()
* line 122 of /vendor/bin/phpunit: call to include()