Zend certified PHP/Magento developer

yum downgrade and automatically include all dependencies?

When upgrading a package, yum resolves and updates all dependencies automatically. Is there a flag/option when downgrading packages. For instance i have php82 installed and am trying to get back to php 74.

sudo yum downgrade php-7.4.33-8.el7.remi.x86_64

which returns the error:

Error: Package: php-tidy-8.2.9-2.el7.remi.x86_64 (@remi-php82)

I can add php-tidy to the downgrade list as well, but there will be dozens of these dependencies. Can I just instruct yum to automatically downgrade all of them as well?