Skip to content

Commit

Permalink
Merge branch 'release/0.10.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
pprkut committed Jan 14, 2025
2 parents 8ef6a30 + 2a7ad68 commit f01133d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/php-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
phpstan-level: 6
allow-style-failures: false
allow-phpstan-failures: false
codestyle-branch: '0.10.1'
phpcs-whitelist: tests/phpstan.autoload.inc.php tests/test.bootstrap.inc.php
php-extensions: uopz
stable-php-versions: '["8.1"]'
Expand Down
2 changes: 1 addition & 1 deletion src/Lunr/Halo/LegacyBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ abstract class LegacyBaseTest extends TestCase

/**
* Reflection instance of the tested class.
* @var ReflectionClass
* @var ReflectionClass<object>
*/
protected ReflectionClass $reflection;

Expand Down
2 changes: 1 addition & 1 deletion src/Lunr/Halo/LunrBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ abstract class LunrBaseTest extends TestCase

/**
* Reflection instance of the tested class.
* @var ReflectionClass
* @var ReflectionClass<object>
*/
protected ReflectionClass $reflection;

Expand Down
3 changes: 2 additions & 1 deletion tests/phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
# SPDX-License-Identifier: CC0-1.0

parameters:
checkGenericClassInNonGenericObjectType: false
bootstrapFiles:
- phpstan.autoload.inc.php
excludePaths:
- ../src/*/Tests/*
ignoreErrors:
- identifier: trait.unused

0 comments on commit f01133d

Please sign in to comment.