mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Initial Rector fixes with basic configuration
This commit is contained in:
parent
a679117736
commit
84eb99c59b
5 changed files with 90 additions and 42 deletions
|
@ -31,7 +31,7 @@ class AuthenticatorProvider implements ExpressionFunctionProviderInterface
|
|||
{
|
||||
return new ExpressionFunction(
|
||||
'request_html',
|
||||
function () {
|
||||
function (): void {
|
||||
throw new \Exception('Not supported');
|
||||
},
|
||||
function (array $arguments, $uri) {
|
||||
|
@ -44,7 +44,7 @@ class AuthenticatorProvider implements ExpressionFunctionProviderInterface
|
|||
{
|
||||
return new ExpressionFunction(
|
||||
'preg_match',
|
||||
function () {
|
||||
function (): void {
|
||||
throw new \Exception('Not supported');
|
||||
},
|
||||
function (array $arguments, $pattern, $html) {
|
||||
|
@ -63,7 +63,7 @@ class AuthenticatorProvider implements ExpressionFunctionProviderInterface
|
|||
{
|
||||
return new ExpressionFunction(
|
||||
'xpath',
|
||||
function () {
|
||||
function (): void {
|
||||
throw new \Exception('Not supported');
|
||||
},
|
||||
function (array $arguments, $xpathQuery, $html) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue