Remove the built-in psr module. Use apt remove php-psr or dnf remove php-psr do not forget to restart your webserver (apache or php-fpm) after that.
apt remove php-psr
dnf remove php-psr