Skip to content

Commit 35520cf

Browse files
demiankatzThoWagen
andauthored
Update module/VuFind/tests/integration-tests/src/VuFindTest/Files/BadStringsTest.php
Co-authored-by: Thomas Wagener <wagener@hebis.uni-frankfurt.de>
1 parent b351fea commit 35520cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/VuFind/tests/integration-tests/src/VuFindTest/Files/BadStringsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class BadStringsTest extends \PHPUnit\Framework\TestCase
5151
* @var array
5252
*/
5353
protected array $badStrings = [
54-
'non-standard boolean annotation (use bool)' => '/(@(param|return) boolean)/',
54+
'non-standard boolean annotation (use bool)' => '/(@(param|return|var)\s+[^\s]*\|?boolean)/',
5555
'outdated license address' => '51 Franklin',
5656
'outdated PHP header comment' => '/\\* (PHP version [^8])\s*\n/',
5757
'outdated wiki link' => 'vufind.org/wiki/vufind2',

0 commit comments

Comments
 (0)