Updating core to 8.8.0, and getting the error: Declaration of Drupal\Core\Security\PharExtensionInterceptor::assert(string $path, string $command): bool must be compatible with TYPO3\PharStreamWrapper\Assertable::assert($path, $command) in /app/web/core/lib/Drupal/Core/Security/PharExtensionInterceptor.php on line 14
My PHP version: 7.2.19
Workaround
Try the following steps:
rm -rf vendor
composer remove --dev webflo/drupal-core-require-dev
composer require
any other packages you use (e.g., Drush)- Clear the site cache.