Introduce conditional in checkPhpVersion() for non-Laravel projects
Minor spelling fix