[3365185] made this module drupal 10 compatible updated deprecated code and and fixed some coding standard
requested to merge issue/views_load_more-3365185:3365185-make-this-module-drupal-10-compatible into 2.x
[3365185] made this module drupal 10 compatible updated deprecated code and fixed some coding standard
Closes #3365185