Magento 2.3 has removed its version information from the `composer.json` files since 2018-04-05
2018-04-17 01:52:00 UTC
How to programmatically find out what Magento 2 version in installed
2018-04-17 02:25:13 UTC
I have updated
my Magento version detection code
for compatibility with Magento 2.3.