I have a Kernel that extends Symfony\Component\HttpKernel\Kernel and uses a Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait.
The configureContainer() function from the trait is overridden in my Kernel class and is being used by Symfony so this notice shouldn't be shown.