[phpMyAdmin Git] [phpmyadmin/phpmyadmin] a2456a: Change SysInfo's supported method to static

Maurício Meneghini Fauth mauricio at fauth.dev
Mon May 30 21:15:23 CEST 2022


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

Changed paths: 
M libraries/classes/Server/SysInfo/Base.php
M libraries/classes/Server/SysInfo/Linux.php
M libraries/classes/Server/SysInfo/SunOs.php
M libraries/classes/Server/SysInfo/SysInfo.php
M libraries/classes/Server/SysInfo/WindowsNt.php
M test/classes/Server/SysInfo/SysInfoTest.php

Log Message:
-----------
Change SysInfo's supported method to static

Enables checking if a class is supported before creating a new instance.

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



More information about the Git mailing list