Issues (119)

templates/challenge.php (2 issues)

Labels
Severity
1
<?php
2
style('twofactor_gateway', 'style');
0 ignored issues
show
The function style was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

2
/** @scrutinizer ignore-call */ 
3
style('twofactor_gateway', 'style');
Loading history...
3
?>
4
5
<form method="POST" class="sms-2fa-form">
6
	<input type="text"
7
		   class="challenge"
8
		   name="challenge"
9
		   required="required"
10
		   autofocus
11
		   autocomplete="off"
12
		   autocapitalize="off"
13
		   value="<?php echo isset($_['secret']) ? $_['secret'] : '' ?>"
14
		   placeholder="<?php p($l->t('Authentication code')) ?>">
0 ignored issues
show
The function p was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

14
		   placeholder="<?php /** @scrutinizer ignore-call */ p($l->t('Authentication code')) ?>">
Loading history...
15
	<input type="submit" class="confirm-inline icon-confirm" value="">
16
	<p><?php p($l->t('An access code has been sent to %s', [$_['phone']])); ?></p>
17
</form>
18