Use PHP 7.4 featers and PHP 8 polyfills

This commit is contained in:
David Stone committed 2025-02-08 13:57:32 -07:00
1 parent 8bea6067cd
commit b41dc2b2eb
550 files changed
+15270 -14627

No files matched your search

@@ -9,11 +9,11 @@ class Dashboard_Admin_Page_Test extends WP_UnitTestCase {
/**
* Test the register_scripts method enqueues the necessary scripts and styles.
*/
public function test_register_scripts() {
public function test_register_scripts(): void {
// Create a mock instance of Dashboard_Admin_Page and call the register_scripts method
$dashboard_admin_page = $this->getMockBuilder(Dashboard_Admin_Page::class)
->disableOriginalConstructor()
->setMethods(array('output'))
->setMethods(['output'])
->getMock();
// Fake dates for testing