<?php
+
namespace Shaarli\Plugin;
use Shaarli\Config\ConfigManager;
$data = [];
$this->pluginManager->executeHooks('error', $data);
- $this->assertMatchesRegularExpression(
+ $this->assertRegExp(
'/test \[plugin incompatibility\]: Class [\'"]Unknown[\'"] not found/',
$this->pluginManager->getErrors()[0]
);