Module version in composer.json
0
I'm running the static tests on one of my modules and on magento version 2.3 it reports an inconsistency: Version must not be specified in the root and package composer JSON files in Git Failed asserting that object of class "stdClass" does not have attribute "version". This does not happen for magento 2.2. After some digging around I found that there is this test MagentoTestIntegrityComposerTest::assertNoVersionSpecified() /** * Version must not be specified in the root and package composer JSON files in Git. * * All versions are added by tools during release publication by version setter tool. * * @param StdClass $json */ private function assertNoVersionSpecified(StdClass $json) { $errorMessage = 'Version must not be specified in the root and packa...