Update ValidateCommand.php
Update ValidateCommand.php

Skip publish and lock check even in strict check mode when the user want so.
Example : `composer validate --no-check-lock --strict composer.json`.
Issue : #7624
floverdevel/composer,stof/composer,composer/composer,stefangr/composer,staabm/composer,nicolas-grekas/composer,alcohol/composer,localheinz/composer,fabpot/composer,andrerom/composer,milleruk/composer,pierredup/composer,slbmeh/composer,naderman/composer,johnstevenson/composer