A lot will depend on how is the "... flammable liquid near ..." is contained and/or controlled; but, for the most part, if it is a typical garage (major or minor) the classification can just follow the guidelines of Section 511.3 and, odds are, it will only be Division 2 at worst.
After the appropriate classification has been determined, the installation simply must be consistent with the classification [Section 511.3 main text] with the additional caveat that there are special rules for wiring and equipment above Class I locations in garages [Section 511.7].