We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d7489b commit f9f0bedCopy full SHA for f9f0bed
tests/PhpScannerTest.php
@@ -31,7 +31,7 @@ public function testPhpCodeScanner()
31
$scanner->setDefaultDomain('domain1');
32
$scanner->scanFile($file);
33
34
- $this->assertCount(38, $domain1);
+ $this->assertCount(39, $domain1);
35
$this->assertCount(4, $domain2);
36
$this->assertCount(1, $domain3);
37
}
tests/assets/code.php
@@ -115,3 +115,10 @@ function foo() {
115
d__('domain4', 'domain4 Text not scanned');
116
gettext('no domain 2');
117
118
+class AuthMiddleware
119
+{
120
+ public function test()
121
+ {
122
+ return __('Accessing the Backoffice is not allowed at this time.');
123
+ }
124
+}
0 commit comments