mirror of
https://github.com/flarum/core.git
synced 2025-08-13 20:04:24 +02:00
Extension Tests (#9)
This commit is contained in:
@@ -13,7 +13,7 @@ use Flarum\Foundation\ErrorHandling\HandledError;
|
||||
|
||||
class ComposerCommandFailedExceptionHandler
|
||||
{
|
||||
protected const INCOMPATIBLE_REGEX = '/ +- {PACKAGE_NAME} v[0-9.]+ requires flarum\/core/m';
|
||||
protected const INCOMPATIBLE_REGEX = '/(?:(?: +- {PACKAGE_NAME} v[0-9A-z.-]+ requires flarum\/core)|(?:Could not find a version of package {PACKAGE_NAME} matching your minim))/m';
|
||||
|
||||
public function handle(ComposerCommandFailedException $e): HandledError
|
||||
{
|
||||
|
Reference in New Issue
Block a user