planetteamspeak / ts3phpframework

Modern use-at-will framework that provides individual components to manage TeamSpeak 3 Server instances
https://www.planetteamspeak.com
GNU General Public License v3.0
211 stars 59 forks source link

Implicit conversion from float 1678378651.114998 to int loses precision #193

Closed Grepher76380 closed 1 year ago

Grepher76380 commented 1 year ago

Hello

test dev-dev error : Implicit conversion from float 1678378651.114998 to int loses precision

FCPATH/vendor/planetteamspeak/ts3-php-framework/src/Helper/Profiler/Timer.php at line 93

86 if ($this->isRunning()) { 87 return; 88 } 89 90 $this->data["realmem_start"] = memory_get_usage(true); 91 $this->data["emalloc_start"] = memory_get_usage(); 92 93 $this->started = microtime(true); 94 $this->running = true; 95 }

php version : 8.1.16 AND 8.0.28 Use: codeigniter4

Sebbo94BY commented 1 year ago

I've already opened a pull request to fix it: https://github.com/planetteamspeak/ts3phpframework/pull/188

Sebbo94BY commented 1 year ago

This issue has been fixed with the above mentioned pull request. :)