From 188ece856d9300ef68adb73604b5de848b1276bb Mon Sep 17 00:00:00 2001 From: Vinicius Dias Date: Sat, 11 May 2019 21:52:06 -0300 Subject: [PATCH] Remove duplicate variables Removing duplicate variables `$beginDtObj` and `$beginTimestamp`. --- ext/date/tests/date_timestamp_get.phpt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/date/tests/date_timestamp_get.phpt b/ext/date/tests/date_timestamp_get.phpt index dc9f6ab541..2aade6db60 100644 --- a/ext/date/tests/date_timestamp_get.phpt +++ b/ext/date/tests/date_timestamp_get.phpt @@ -6,6 +6,7 @@ Daiane Alves Ednaldo Neimeg Marques Henrique Ramos Larissa Mourullo +Vinicius Dias Virgílio de Carvalho Pontes Vitor Mattos --FILE-- @@ -16,8 +17,6 @@ var_dump($beginTimestamp); // Test the DateTime feature alias in function date_timestamp_get(). $dateTimeTz = (new DateTime('1970-01-01T00:00:00UTC'))->getTimeStamp(); -$beginDtObj = date_create('1970-01-01T00:00:00UTC'); -$beginTimestamp = date_timestamp_get($beginDtObj); var_dump($dateTimeTz === $beginTimestamp); ?> --EXPECT-- -- 2.40.0