The paper investigates the partial regularity of the minimizers for quadratic functionals whose integrands have VMO coefficients in principal part and nonlinear terms that are Carathéodory functions. We use some majorizations for the functional, rather than the well known Euler equation associated to it.