1
0
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:
Sami Mazouz
2021-11-08 20:22:07 +01:00
committed by GitHub
parent 5cef9ad52c
commit a9ff884231
17 changed files with 429 additions and 1003 deletions

View File

@@ -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
{