Add a test version.php for PHP7.3
The Json file https://github.com/ZerooCool/phpsecinfo/blob/phpsecinfo-zeroocool-v0.2.1/20070406-phpsecinfo-v0.2.1/.version.json
The file version.php https://github.com/ZerooCool/phpsecinfo/blob/phpsecinfo-zeroocool-v0.2.1/20070406-phpsecinfo-v0.2.1/PhpSecInfo/Test/Core/version.php
I change it for PHP 7.3 value.
Can you create a PR for that? That'd be great
Only those with write access to this repository can merge pull requests.
patch-1 + patch-2
I don't really understand the use of this new test and hardcoding the version information. This test already checks for the latest version https://github.com/matomo-org/plugin-SecurityInfo/blob/e5994c355d0a4cb502749e2085b9ed67c9d4e282/PhpSecInfo/Test/Application/php.php
And if you dislike deserializing data, you could also simply use https://www.php.net/releases/?json=1&version=7
BTW: We can ping external URLs only if \Piwik\SettingsPiwik::isInternetEnabled() is enabled
Then use relative link ?