I am upgrading a lot of inherited custom module projects to Drupal 8. In almost all of them, I am getting this error when scanning them with Drupal 9 upgrade status:
Class PHPUnit\Framework\TestCase not found.
I've Googled, and even found an accepted answer on StackOverflow.
But I am not able to figure out what to do.
Hi, this is my first topic here and I hope have more clearly this doubt.
On D8 I could cast a field into a "orderBy" dynamic queries, but now in D9 I got an error, and I try to use other ways to CAST or CONVERT a field but I still got syntax errors...
I have this on my storage php file that is into a function I called from a Controller file:
$order_field is received from the Controller php file.
static function getSortedLimit($limit,$order_field) {...