Problem/Motivation
PHPStan baseline is currently skipping multiple Call to an undefined method
errors, #3291519: [Meta] Fix 'Call to an undefined method' PHPStan L0 errors.
Proposed resolution
Fix the error about getExpectedUnauthorizedEntityAccessCacheability.
'message' => '#^Call to an undefined method Drupal\\\\Tests\\\\file\\\\Functional\\\\FileUploadJsonBasicAuthTest\\:\\:getExpectedUnauthorizedEntityAccessCacheability\\(\\)\\.$#',
'count' => 1,
'path' => __DIR__ . '/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php',
--
'message' => '#^Call to an undefined method Drupal\\\\Tests\\\\file\\\\Functional\\\\FileUploadJsonCookieTest\\:\\:getExpectedUnauthorizedEntityAccessCacheability\\(\\)\\.$#',
'count' => 1,
'path' => __DIR__ . '/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php',
'message' => '#^Call to an undefined method Drupal\\\\Tests\\\\user\\\\Functional\\\\UserRegistrationRestTest\\:\\:getExpectedUnauthorizedEntityAccessCacheability\\(\\)\\.$#',
'count' => 1,
'path' => __DIR__ . '/modules/user/tests/src/Functional/UserRegistrationRestTest.php',