Use PHP 7.4 featers and PHP 8 polyfills

This commit is contained in:
David Stone
2025-02-08 13:57:32 -07:00
parent 8bea6067cd
commit b41dc2b2eb
550 changed files with 15270 additions and 14627 deletions

View File

@ -3,7 +3,7 @@
namespace WP_Ultimo;
class Date_Functions_Test extends \WP_UnitTestCase {
public function test_wu_get_days_ago() {
public function test_wu_get_days_ago(): void {
$days = wu_get_days_ago('2024-01-01 00:00:00', '2024-01-31 00:00:00');
$this->assertEquals(-30, $days);