@@ -616,7 +616,7 @@ class Email {
} elseif (preg_match($this->_emailPattern, $email)) {
return;
}
- throw new Error\SocketException(__d('cake_dev', 'Invalid email: "%s"', $email));
+ throw new Error\SocketException(sprintf('Invalid email: "%s"', $email));
/**
@@ -1334,10 +1334,9 @@ class Response {
);
if (strpos($path, '..') !== false) {
- throw new Error\NotFoundException(__d(
- 'cake_dev',
+ throw new Error\NotFoundException(
'The requested file contains `..` and will not be read.'
- ));
+ );
if (!is_file($path)) {
@@ -20,7 +20,7 @@
</p>
<p>
- <?php echo __d('cake_dev', 'Confirm you have created the file: %s', h($file)); ?>
+ <?= sprintf('Confirm you have created the file: %s', h($file)); ?>
in one of the following paths:
<ul>
@@ -21,7 +21,7 @@ use Cake\Utility\Inflector;