Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to fix type mismatch in tests for MW 1.41 #242

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

alex-mashin
Copy link
Collaborator

Trying to fix type mismatch in tests for MW 1.41

alex-mashin and others added 2 commits September 9, 2024 20:33
Hook Registry (SESP\Tests\HookRegistry)
 ✘ Register [27.02 ms]
   │
   │ TypeError: SESP\PropertyRegistry::register(): Argument #1 ($propertyRegistry) must be of type SMW\PropertyRegistry, array given, called in /var/www/html/extensions/SemanticExtraSpecialProperties/src/HookRegistry.php on line 150
   │
   │ /var/www/html/extensions/SemanticExtraSpecialProperties/src/PropertyRegistry.php:38
   │ /var/www/html/extensions/SemanticExtraSpecialProperties/src/HookRegistry.php:150
   │ /var/www/html/extensions/SemanticExtraSpecialProperties/tests/phpunit/Unit/HookRegistryTest.php:144
   │ /var/www/html/extensions/SemanticExtraSpecialProperties/tests/phpunit/Unit/HookRegistryTest.php:113
   │ /var/www/html/extensions/SemanticExtraSpecialProperties/tests/phpunit/Unit/HookRegistryTest.php:44
   │
@alex-mashin alex-mashin merged commit 66ef321 into SemanticMediaWiki:master Sep 9, 2024
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant