[phpMyAdmin Git] [phpmyadmin/phpmyadmin] a1c876: Refactor $dateFrom and $dateTo to use DateTimeImmutable

Maurício Meneghini Fauth mauricio at fauth.dev
Tue Nov 8 00:31:49 CET 2022


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: a1c8769fab0c9ed80f7e6b839330ab2866808248
https://github.com/phpmyadmin/phpmyadmin/commit/a1c8769fab0c9ed80f7e6b839330ab2866808248
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2022-11-07 (Mon, 11 November 2022) -03:00

Changed paths: 
M libraries/classes/Controllers/Table/TrackingController.php
M libraries/classes/Tracking.php
M test/classes/TrackingTest.php

Log Message:
-----------
Refactor $dateFrom and $dateTo to use DateTimeImmutable

Uses the DateTimeImmutable object to validate the datetime values of the
$dateFrom and $dateTo variables in the Tracking class.

Signed-off-by: Maurício Meneghini Fauth <mauricio at fauth.dev>

Commit: 4405b8afa42ad4057189a48b1ab6ca14d04403fc
https://github.com/phpmyadmin/phpmyadmin/commit/4405b8afa42ad4057189a48b1ab6ca14d04403fc
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2022-11-07 (Mon, 11 November 2022) -03:00

Changed paths: 
M libraries/classes/Controllers/Table/TrackingController.php
M libraries/classes/Tracking.php
M test/classes/TrackingTest.php

Log Message:
-----------
Merge pull request #17879 from MauricioFauth/tracking-datetime

Refactor `$dateFrom` and `$dateTo` to use `DateTimeImmutable`



More information about the Git mailing list