This run took 171 seconds.
From 5178e9f8bc117ae1710b49e9a278c211f9faf112 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Sat, 2 Nov 2024 04:41:32 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 Change-Id: I4f758c1b48e6df178630582505e6faffd66efa03 --- composer.json | 2 +- .../ChangeOp/AddFormToLexemeChangeOp.php | 2 +- .../ChangeOp/AddSenseToLexemeChangeOp.php | 2 +- src/DataAccess/ChangeOp/ChangeOpFormAdd.php | 2 +- src/DataAccess/ChangeOp/ChangeOpFormClone.php | 2 +- src/DataAccess/ChangeOp/ChangeOpFormEdit.php | 2 +- src/DataAccess/ChangeOp/ChangeOpGloss.php | 4 ++-- src/DataAccess/ChangeOp/ChangeOpGlossList.php | 2 +- .../ChangeOp/ChangeOpGrammaticalFeatures.php | 4 ++-- src/DataAccess/ChangeOp/ChangeOpLanguage.php | 2 +- src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php | 2 +- src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php | 2 +- .../ChangeOp/ChangeOpLexicalCategory.php | 2 +- src/DataAccess/ChangeOp/ChangeOpRemoveForm.php | 2 +- .../ChangeOpRemoveFormRepresentation.php | 4 ++-- src/DataAccess/ChangeOp/ChangeOpRemoveSense.php | 2 +- .../ChangeOp/ChangeOpRemoveSenseGloss.php | 4 ++-- .../ChangeOp/ChangeOpRepresentation.php | 4 ++-- .../ChangeOp/ChangeOpRepresentationList.php | 2 +- src/DataAccess/ChangeOp/ChangeOpSenseAdd.php | 2 +- src/DataAccess/ChangeOp/ChangeOpSenseClone.php | 2 +- src/DataAccess/ChangeOp/ChangeOpSenseEdit.php | 2 +- src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php | 2 +- src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php | 2 +- src/DataAccess/LexemeDescription.php | 2 +- src/Domain/Diff/AddFormDiff.php | 2 +- src/Domain/Diff/AddSenseDiff.php | 2 +- src/Domain/Diff/ChangeFormDiffOp.php | 2 +- src/Domain/Diff/ChangeSenseDiffOp.php | 2 +- src/Domain/Diff/LexemeDiff.php | 2 +- src/Domain/Diff/RemoveFormDiff.php | 2 +- src/Domain/Diff/RemoveSenseDiff.php | 2 +- src/Domain/Model/Form.php | 2 +- src/Domain/Model/Lexeme.php | 14 +++++++------- src/Domain/Model/Sense.php | 2 +- src/MediaWiki/Content/LexemeContent.php | 8 ++++---- src/MediaWiki/Content/LexemeHandler.php | 4 ++-- .../EntityLinkFormatters/FormLinkFormatter.php | 6 +++--- .../EntityLinkFormatters/LexemeLinkFormatter.php | 6 +++--- src/WikibaseLexemeServices.php | 16 ++++++++-------- .../composer/ErisGenerators/FormGenerator.php | 2 +- .../composer/ErisGenerators/LexemeGenerator.php | 2 +- .../composer/ErisGenerators/SenseGenerator.php | 2 +- .../ErisGenerators/WikibaseLexemeGenerators.php | 2 +- .../mediawiki/Content/LexemeHandlerTest.php | 6 +++--- .../FormLinkFormatterIntegrationTest.php | 2 +- tests/phpunit/mediawiki/Store/FormStoreTest.php | 2 +- tests/phpunit/mediawiki/Store/SenseStoreTest.php | 2 +- tests/phpunit/mediawiki/View/LexemeViewTest.php | 4 ++-- 49 files changed, 78 insertions(+), 78 deletions(-) diff --git a/composer.json b/composer.json index 0aada68..9f9e0ff 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "davidrjonas/composer-lock-diff": "^1.4", "giorgiosironi/eris": "^0.14.0", "hamcrest/hamcrest-php": "^2.0", - "mediawiki/mediawiki-codesniffer": "44.0.0", + "mediawiki/mediawiki-codesniffer": "45.0.0", "mediawiki/mediawiki-phan-config": "0.14.0", "mediawiki/minus-x": "1.1.3", "php-parallel-lint/php-console-highlighter": "1.0.0", diff --git a/src/DataAccess/ChangeOp/AddFormToLexemeChangeOp.php b/src/DataAccess/ChangeOp/AddFormToLexemeChangeOp.php index c99338b..4033a22 100644 --- a/src/DataAccess/ChangeOp/AddFormToLexemeChangeOp.php +++ b/src/DataAccess/ChangeOp/AddFormToLexemeChangeOp.php @@ -40,7 +40,7 @@ class AddFormToLexemeChangeOp implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $form, Summary $summary = null ) { + public function apply( EntityDocument $form, ?Summary $summary = null ) { Assert::parameterType( BlankForm::class, $form, '$form' ); '@phan-var BlankForm $form'; diff --git a/src/DataAccess/ChangeOp/AddSenseToLexemeChangeOp.php b/src/DataAccess/ChangeOp/AddSenseToLexemeChangeOp.php index 085dde3..f7179d5 100644 --- a/src/DataAccess/ChangeOp/AddSenseToLexemeChangeOp.php +++ b/src/DataAccess/ChangeOp/AddSenseToLexemeChangeOp.php @@ -40,7 +40,7 @@ class AddSenseToLexemeChangeOp implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $sense, Summary $summary = null ) { + public function apply( EntityDocument $sense, ?Summary $summary = null ) { Assert::parameterType( BlankSense::class, $sense, '$entity' ); '@phan-var BlankSense $sense'; diff --git a/src/DataAccess/ChangeOp/ChangeOpFormAdd.php b/src/DataAccess/ChangeOp/ChangeOpFormAdd.php index 67abcf9..e3e8cf5 100644 --- a/src/DataAccess/ChangeOp/ChangeOpFormAdd.php +++ b/src/DataAccess/ChangeOp/ChangeOpFormAdd.php @@ -37,7 +37,7 @@ class ChangeOpFormAdd extends ChangeOpBase { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpFormClone.php b/src/DataAccess/ChangeOp/ChangeOpFormClone.php index 8c49185..0521ecb 100644 --- a/src/DataAccess/ChangeOp/ChangeOpFormClone.php +++ b/src/DataAccess/ChangeOp/ChangeOpFormClone.php @@ -37,7 +37,7 @@ class ChangeOpFormClone implements ChangeOp { $this->guidGenerator = $guidGenerator; } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; /** @var Form $entity */ diff --git a/src/DataAccess/ChangeOp/ChangeOpFormEdit.php b/src/DataAccess/ChangeOp/ChangeOpFormEdit.php index d78ff99..74ef36f 100644 --- a/src/DataAccess/ChangeOp/ChangeOpFormEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpFormEdit.php @@ -39,7 +39,7 @@ class ChangeOpFormEdit implements ChangeOp { $this->summaryAggregator = new SummaryAggregator( self::SUMMARY_ACTION_AGGREGATE ); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpGloss.php b/src/DataAccess/ChangeOp/ChangeOpGloss.php index 9139b96..19aebdb 100644 --- a/src/DataAccess/ChangeOp/ChangeOpGloss.php +++ b/src/DataAccess/ChangeOp/ChangeOpGloss.php @@ -35,7 +35,7 @@ class ChangeOpGloss implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Sense::class, $entity, '$entity' ); '@phan-var Sense $entity'; @@ -52,7 +52,7 @@ class ChangeOpGloss implements ChangeOp { return [ EntityPermissionChecker::ACTION_EDIT ]; } - private function updateSummary( Sense $sense, Summary $summary = null ) { + private function updateSummary( Sense $sense, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpGlossList.php b/src/DataAccess/ChangeOp/ChangeOpGlossList.php index aeb56f7..d10ac6f 100644 --- a/src/DataAccess/ChangeOp/ChangeOpGlossList.php +++ b/src/DataAccess/ChangeOp/ChangeOpGlossList.php @@ -37,7 +37,7 @@ class ChangeOpGlossList implements ChangeOp { $this->summaryAggregator = new SummaryAggregator( self::SUMMARY_ACTION_AGGREGATE ); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Sense::class, $entity, '$entity' ); foreach ( $this->changeOps as $changeOp ) { diff --git a/src/DataAccess/ChangeOp/ChangeOpGrammaticalFeatures.php b/src/DataAccess/ChangeOp/ChangeOpGrammaticalFeatures.php index 12a474f..efca927 100644 --- a/src/DataAccess/ChangeOp/ChangeOpGrammaticalFeatures.php +++ b/src/DataAccess/ChangeOp/ChangeOpGrammaticalFeatures.php @@ -36,7 +36,7 @@ class ChangeOpGrammaticalFeatures implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; @@ -52,7 +52,7 @@ class ChangeOpGrammaticalFeatures implements ChangeOp { return [ EntityPermissionChecker::ACTION_EDIT ]; } - private function updateSummary( Form $form, Summary $summary = null ) { + private function updateSummary( Form $form, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpLanguage.php b/src/DataAccess/ChangeOp/ChangeOpLanguage.php index 3e5b2bf..1bbe9be 100644 --- a/src/DataAccess/ChangeOp/ChangeOpLanguage.php +++ b/src/DataAccess/ChangeOp/ChangeOpLanguage.php @@ -44,7 +44,7 @@ class ChangeOpLanguage extends ChangeOpBase { * * @throws InvalidArgumentException */ - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php b/src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php index cecb976..90f30bf 100644 --- a/src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php @@ -69,7 +69,7 @@ class ChangeOpLemmaEdit extends ChangeOpBase { * * @throws InvalidArgumentException */ - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php b/src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php index 047e775..17765a5 100644 --- a/src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php +++ b/src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php @@ -47,7 +47,7 @@ class ChangeOpLemmaRemove extends ChangeOpBase { * * @throws InvalidArgumentException */ - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpLexicalCategory.php b/src/DataAccess/ChangeOp/ChangeOpLexicalCategory.php index 5f71a5a..9a33501 100644 --- a/src/DataAccess/ChangeOp/ChangeOpLexicalCategory.php +++ b/src/DataAccess/ChangeOp/ChangeOpLexicalCategory.php @@ -47,7 +47,7 @@ class ChangeOpLexicalCategory extends ChangeOpBase { * * @throws InvalidArgumentException */ - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpRemoveForm.php b/src/DataAccess/ChangeOp/ChangeOpRemoveForm.php index 374b52a..90293ad 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRemoveForm.php +++ b/src/DataAccess/ChangeOp/ChangeOpRemoveForm.php @@ -50,7 +50,7 @@ class ChangeOpRemoveForm extends ChangeOpBase { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpRemoveFormRepresentation.php b/src/DataAccess/ChangeOp/ChangeOpRemoveFormRepresentation.php index 315a993..c7b6740 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRemoveFormRepresentation.php +++ b/src/DataAccess/ChangeOp/ChangeOpRemoveFormRepresentation.php @@ -38,7 +38,7 @@ class ChangeOpRemoveFormRepresentation implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; @@ -57,7 +57,7 @@ class ChangeOpRemoveFormRepresentation implements ChangeOp { return new DummyChangeOpResult(); } - private function updateSummary( Form $form, Summary $summary = null ) { + private function updateSummary( Form $form, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpRemoveSense.php b/src/DataAccess/ChangeOp/ChangeOpRemoveSense.php index afc3f4d..ed30f06 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRemoveSense.php +++ b/src/DataAccess/ChangeOp/ChangeOpRemoveSense.php @@ -50,7 +50,7 @@ class ChangeOpRemoveSense extends ChangeOpBase { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpRemoveSenseGloss.php b/src/DataAccess/ChangeOp/ChangeOpRemoveSenseGloss.php index de401ef..e138160 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRemoveSenseGloss.php +++ b/src/DataAccess/ChangeOp/ChangeOpRemoveSenseGloss.php @@ -38,7 +38,7 @@ class ChangeOpRemoveSenseGloss implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Sense::class, $entity, '$entity' ); '@phan-var Sense $entity'; @@ -57,7 +57,7 @@ class ChangeOpRemoveSenseGloss implements ChangeOp { return new DummyChangeOpResult(); } - private function updateSummary( Sense $sense, Summary $summary = null ) { + private function updateSummary( Sense $sense, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpRepresentation.php b/src/DataAccess/ChangeOp/ChangeOpRepresentation.php index 8c678f3..3def3bb 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRepresentation.php +++ b/src/DataAccess/ChangeOp/ChangeOpRepresentation.php @@ -35,7 +35,7 @@ class ChangeOpRepresentation implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; @@ -52,7 +52,7 @@ class ChangeOpRepresentation implements ChangeOp { return [ EntityPermissionChecker::ACTION_EDIT ]; } - private function updateSummary( Form $form, Summary $summary = null ) { + private function updateSummary( Form $form, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpRepresentationList.php b/src/DataAccess/ChangeOp/ChangeOpRepresentationList.php index 668fe40..bdaee07 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRepresentationList.php +++ b/src/DataAccess/ChangeOp/ChangeOpRepresentationList.php @@ -37,7 +37,7 @@ class ChangeOpRepresentationList implements ChangeOp { $this->summaryAggregator = new SummaryAggregator( self::SUMMARY_ACTION_AGGREGATE ); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); foreach ( $this->changeOps as $changeOp ) { diff --git a/src/DataAccess/ChangeOp/ChangeOpSenseAdd.php b/src/DataAccess/ChangeOp/ChangeOpSenseAdd.php index c6a4c3e..6eb83d1 100644 --- a/src/DataAccess/ChangeOp/ChangeOpSenseAdd.php +++ b/src/DataAccess/ChangeOp/ChangeOpSenseAdd.php @@ -44,7 +44,7 @@ class ChangeOpSenseAdd extends ChangeOpBase { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpSenseClone.php b/src/DataAccess/ChangeOp/ChangeOpSenseClone.php index 561ae5c..9cf185d 100644 --- a/src/DataAccess/ChangeOp/ChangeOpSenseClone.php +++ b/src/DataAccess/ChangeOp/ChangeOpSenseClone.php @@ -29,7 +29,7 @@ class ChangeOpSenseClone implements ChangeOp { $this->sourceSense = $sourceSense->copy(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( BlankSense::class, $entity, '$entity' ); '@phan-var Sense $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpSenseEdit.php b/src/DataAccess/ChangeOp/ChangeOpSenseEdit.php index 3681925..8a58cf8 100644 --- a/src/DataAccess/ChangeOp/ChangeOpSenseEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpSenseEdit.php @@ -39,7 +39,7 @@ class ChangeOpSenseEdit implements ChangeOp { $this->summaryAggregator = new SummaryAggregator( self::SUMMARY_ACTION_AGGREGATE ); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Sense::class, $entity, '$entity' ); '@phan-var Sense $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php b/src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php index 3160b30..1febc48 100644 --- a/src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php @@ -57,7 +57,7 @@ class ChangeOpsFormsEdit implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; /** @var Lexeme $entity */ diff --git a/src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php b/src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php index 40d4085..3ad8ae1 100644 --- a/src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php @@ -57,7 +57,7 @@ class ChangeOpsSensesEdit implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; /** @var Lexeme $entity */ diff --git a/src/DataAccess/LexemeDescription.php b/src/DataAccess/LexemeDescription.php index 64dc471..3d5e05b 100644 --- a/src/DataAccess/LexemeDescription.php +++ b/src/DataAccess/LexemeDescription.php @@ -46,7 +46,7 @@ class LexemeDescription { * @return string Label or "" if does not exist. */ public function getLabelOrDefault( - EntityId $id = null, + ?EntityId $id = null, $default = "" ) { if ( !$id ) { diff --git a/src/Domain/Diff/AddFormDiff.php b/src/Domain/Diff/AddFormDiff.php index 5dbe9c6..db0f61c 100644 --- a/src/Domain/Diff/AddFormDiff.php +++ b/src/Domain/Diff/AddFormDiff.php @@ -61,7 +61,7 @@ class AddFormDiff implements FormDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new \LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Diff/AddSenseDiff.php b/src/Domain/Diff/AddSenseDiff.php index 4ada515..b6d016f 100644 --- a/src/Domain/Diff/AddSenseDiff.php +++ b/src/Domain/Diff/AddSenseDiff.php @@ -55,7 +55,7 @@ class AddSenseDiff implements SenseDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Diff/ChangeFormDiffOp.php b/src/Domain/Diff/ChangeFormDiffOp.php index 0891357..133356a 100644 --- a/src/Domain/Diff/ChangeFormDiffOp.php +++ b/src/Domain/Diff/ChangeFormDiffOp.php @@ -65,7 +65,7 @@ class ChangeFormDiffOp extends EntityDiff implements FormDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new \LogicException( "toArray() is not implemented" ); } diff --git a/src/Domain/Diff/ChangeSenseDiffOp.php b/src/Domain/Diff/ChangeSenseDiffOp.php index 457b2fb..3635d21 100644 --- a/src/Domain/Diff/ChangeSenseDiffOp.php +++ b/src/Domain/Diff/ChangeSenseDiffOp.php @@ -59,7 +59,7 @@ class ChangeSenseDiffOp extends EntityDiff implements SenseDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new LogicException( "toArray() is not implemented" ); } diff --git a/src/Domain/Diff/LexemeDiff.php b/src/Domain/Diff/LexemeDiff.php index a579b96..82589ea 100644 --- a/src/Domain/Diff/LexemeDiff.php +++ b/src/Domain/Diff/LexemeDiff.php @@ -99,7 +99,7 @@ class LexemeDiff extends EntityDiff { return $this['nextSenseId'] ?? new Diff( [], true ); } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new \LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Diff/RemoveFormDiff.php b/src/Domain/Diff/RemoveFormDiff.php index 5d2b703..0d9a03e 100644 --- a/src/Domain/Diff/RemoveFormDiff.php +++ b/src/Domain/Diff/RemoveFormDiff.php @@ -61,7 +61,7 @@ class RemoveFormDiff implements FormDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new \LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Diff/RemoveSenseDiff.php b/src/Domain/Diff/RemoveSenseDiff.php index 25628ff..9e4687b 100644 --- a/src/Domain/Diff/RemoveSenseDiff.php +++ b/src/Domain/Diff/RemoveSenseDiff.php @@ -55,7 +55,7 @@ class RemoveSenseDiff implements SenseDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Model/Form.php b/src/Domain/Model/Form.php index 6628afd..3517c80 100644 --- a/src/Domain/Model/Form.php +++ b/src/Domain/Model/Form.php @@ -45,7 +45,7 @@ class Form implements StatementListProvidingEntity, ClearableEntity { FormId $id, TermList $representations, array $grammaticalFeatures, - StatementList $statementList = null + ?StatementList $statementList = null ) { $this->id = $id; $this->representations = $representations; diff --git a/src/Domain/Model/Lexeme.php b/src/Domain/Model/Lexeme.php index 2c3c192..e549b60 100644 --- a/src/Domain/Model/Lexeme.php +++ b/src/Domain/Model/Lexeme.php @@ -51,15 +51,15 @@ class Lexeme implements StatementListProvidingEntity, ClearableEntity { * corresponding field was never initialized. */ public function __construct( - LexemeId $id = null, - TermList $lemmas = null, - ItemId $lexicalCategory = null, - ItemId $language = null, - StatementList $statements = null, + ?LexemeId $id = null, + ?TermList $lemmas = null, + ?ItemId $lexicalCategory = null, + ?ItemId $language = null, + ?StatementList $statements = null, int $nextFormId = 1, - FormSet $forms = null, + ?FormSet $forms = null, int $nextSenseId = 1, - SenseSet $senses = null + ?SenseSet $senses = null ) { $this->id = $id; $this->lemmas = $lemmas ?: new TermList(); diff --git a/src/Domain/Model/Sense.php b/src/Domain/Model/Sense.php index 773b489..e75037d 100644 --- a/src/Domain/Model/Sense.php +++ b/src/Domain/Model/Sense.php @@ -34,7 +34,7 @@ class Sense implements StatementListProvidingEntity, ClearableEntity { public function __construct( SenseId $id, TermList $glossList, - StatementList $statementList = null + ?StatementList $statementList = null ) { $this->id = $id; $this->glossList = $glossList; // TODO: check there is at least gloss in one language provided diff --git a/src/MediaWiki/Content/LexemeContent.php b/src/MediaWiki/Content/LexemeContent.php index 8e9ff59..1d30916 100644 --- a/src/MediaWiki/Content/LexemeContent.php +++ b/src/MediaWiki/Content/LexemeContent.php @@ -48,9 +48,9 @@ class LexemeContent extends EntityContent { * @throws InvalidArgumentException */ public function __construct( - EntityHolder $lexemeHolder = null, - EntityRedirect $redirect = null, - Title $redirectTitle = null + ?EntityHolder $lexemeHolder = null, + ?EntityRedirect $redirect = null, + ?Title $redirectTitle = null ) { parent::__construct( self::CONTENT_MODEL_ID ); @@ -202,7 +202,7 @@ class LexemeContent extends EntityContent { $this->lexemeHolder = $lexemeHolder; } - private function constructAsRedirect( EntityRedirect $redirect, Title $redirectTitle = null ) { + private function constructAsRedirect( EntityRedirect $redirect, ?Title $redirectTitle = null ) { if ( $redirectTitle === null ) { throw new InvalidArgumentException( '$redirect and $redirectTitle must both be provided or both be empty.' diff --git a/src/MediaWiki/Content/LexemeHandler.php b/src/MediaWiki/Content/LexemeHandler.php index 032438b..68c25d8 100644 --- a/src/MediaWiki/Content/LexemeHandler.php +++ b/src/MediaWiki/Content/LexemeHandler.php @@ -60,7 +60,7 @@ class LexemeHandler extends EntityHandler { FieldDefinitions $lexemeFieldDefinitions, LemmaLookup $lemmaLookup, LexemeTermFormatter $lexemeTermFormatter, - callable $legacyExportFormatDetector = null + ?callable $legacyExportFormatDetector = null ) { parent::__construct( LexemeContent::CONTENT_MODEL_ID, @@ -141,7 +141,7 @@ class LexemeHandler extends EntityHandler { /** * @see EntityHandler::newEntityContent */ - protected function newEntityContent( EntityHolder $entityHolder = null ): LexemeContent { + protected function newEntityContent( ?EntityHolder $entityHolder = null ): LexemeContent { if ( $entityHolder !== null && $entityHolder->getEntityType() === Form::ENTITY_TYPE ) { $formId = $entityHolder->getEntityId(); if ( !( $formId instanceof FormId ) ) { diff --git a/src/MediaWiki/EntityLinkFormatters/FormLinkFormatter.php b/src/MediaWiki/EntityLinkFormatters/FormLinkFormatter.php index 24f04af..43342b9 100644 --- a/src/MediaWiki/EntityLinkFormatters/FormLinkFormatter.php +++ b/src/MediaWiki/EntityLinkFormatters/FormLinkFormatter.php @@ -50,7 +50,7 @@ class FormLinkFormatter implements EntityLinkFormatter { $this->representationsFormatter = $representationsFormatter; } - public function getHtml( EntityId $entityId, array $labelData = null ) { + public function getHtml( EntityId $entityId, ?array $labelData = null ) { Assert::parameterType( FormId::class, $entityId, '$entityId' ); '@phan-var FormId $entityId'; @@ -85,8 +85,8 @@ class FormLinkFormatter implements EntityLinkFormatter { */ public function getTitleAttribute( EntityId $entityId, - array $labelData = null, - array $descriptionData = null + ?array $labelData = null, + ?array $descriptionData = null ) { return $entityId->getSerialization(); } diff --git a/src/MediaWiki/EntityLinkFormatters/LexemeLinkFormatter.php b/src/MediaWiki/EntityLinkFormatters/LexemeLinkFormatter.php index 6d6e6d5..00da084 100644 --- a/src/MediaWiki/EntityLinkFormatters/LexemeLinkFormatter.php +++ b/src/MediaWiki/EntityLinkFormatters/LexemeLinkFormatter.php @@ -47,7 +47,7 @@ class LexemeLinkFormatter implements EntityLinkFormatter { /** * @inheritDoc */ - public function getHtml( EntityId $entityId, array $labelData = null ): string { + public function getHtml( EntityId $entityId, ?array $labelData = null ): string { Assert::parameterType( LexemeId::class, $entityId, '$entityId' ); '@phan-var LexemeId $entityId'; @@ -67,8 +67,8 @@ class LexemeLinkFormatter implements EntityLinkFormatter { */ public function getTitleAttribute( EntityId $entityId, - array $labelData = null, - array $descriptionData = null + ?array $labelData = null, + ?array $descriptionData = null ): string { // TODO Can't this use $entityId->getSerialization() directly? // It may have only used the Title text for historical reasons. diff --git a/src/WikibaseLexemeServices.php b/src/WikibaseLexemeServices.php index c7c033b..2c8085b 100644 --- a/src/WikibaseLexemeServices.php +++ b/src/WikibaseLexemeServices.php @@ -18,56 +18,56 @@ use Wikibase\Lib\Store\ItemOrderProvider; class WikibaseLexemeServices { public static function getTermLanguages( - ContainerInterface $services = null + ?ContainerInterface $services = null ): ContentLanguages { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeTermLanguages' ); } public static function getLanguageNameLookupFactory( - ContainerInterface $services = null + ?ContainerInterface $services = null ): LexemeLanguageNameLookupFactory { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeLanguageNameLookupFactory' ); } public static function getMobileView( - ContainerInterface $services = null + ?ContainerInterface $services = null ): bool { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeMobileView' ); } public static function getLemmaLookup( - ContainerInterface $services = null + ?ContainerInterface $services = null ): LemmaLookup { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeLemmaLookup' ); } public static function getLemmaTermValidator( - ContainerInterface $services = null + ?ContainerInterface $services = null ): LemmaTermValidator { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeLemmaTermValidator' ); } public static function getEditFormChangeOpDeserializer( - ContainerInterface $services = null + ?ContainerInterface $services = null ): EditFormChangeOpDeserializer { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeEditFormChangeOpDeserializer' ); } public static function getGrammaticalFeaturesOrderProvider( - ContainerInterface $services = null + ?ContainerInterface $services = null ): ItemOrderProvider { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeGrammaticalFeaturesOrderProvider' ); } public static function getMergeLexemesInteractor( - ContainerInterface $services = null + ?ContainerInterface $services = null ): MergeLexemesInteractor { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeMergeLexemesInteractor' ); diff --git a/tests/phpunit/composer/ErisGenerators/FormGenerator.php b/tests/phpunit/composer/ErisGenerators/FormGenerator.php index e7827ad..828a808 100644 --- a/tests/phpunit/composer/ErisGenerators/FormGenerator.php +++ b/tests/phpunit/composer/ErisGenerators/FormGenerator.php @@ -35,7 +35,7 @@ class FormGenerator implements Generator { */ private $formIdGenerator; - public function __construct( FormId $formId = null ) { + public function __construct( ?FormId $formId = null ) { $this->representationGenerator = new TermListGenerator( 1 ); $this->grammaticalFeaturesGenerator = new SetGenerator( new ItemIdGenerator( 50 ) ); if ( $formId ) { diff --git a/tests/phpunit/composer/ErisGenerators/LexemeGenerator.php b/tests/phpunit/composer/ErisGenerators/LexemeGenerator.php index fe2a431..5b083ee 100644 --- a/tests/phpunit/composer/ErisGenerators/LexemeGenerator.php +++ b/tests/phpunit/composer/ErisGenerators/LexemeGenerator.php @@ -46,7 +46,7 @@ class LexemeGenerator implements Generator { */ private $lexemeIdGenerator; - public function __construct( LexemeId $lexemeId = null ) { + public function __construct( ?LexemeId $lexemeId = null ) { if ( $lexemeId ) { $this->lexemeIdGenerator = new ConstantGenerator( $lexemeId ); } else { diff --git a/tests/phpunit/composer/ErisGenerators/SenseGenerator.php b/tests/phpunit/composer/ErisGenerators/SenseGenerator.php index 0616b2a..403de06 100644 --- a/tests/phpunit/composer/ErisGenerators/SenseGenerator.php +++ b/tests/phpunit/composer/ErisGenerators/SenseGenerator.php @@ -29,7 +29,7 @@ class SenseGenerator implements Generator { */ private $senseIdGenerator; - public function __construct( SenseId $senseId = null ) { + public function __construct( ?SenseId $senseId = null ) { $this->representationGenerator = new TermListGenerator( 1 ); if ( $senseId ) { $this->senseIdGenerator = ConstantGenerator::box( $senseId ); diff --git a/tests/phpunit/composer/ErisGenerators/WikibaseLexemeGenerators.php b/tests/phpunit/composer/ErisGenerators/WikibaseLexemeGenerators.php index cd9e87b..80fe8db 100644 --- a/tests/phpunit/composer/ErisGenerators/WikibaseLexemeGenerators.php +++ b/tests/phpunit/composer/ErisGenerators/WikibaseLexemeGenerators.php @@ -11,7 +11,7 @@ use Wikibase\Lexeme\Domain\Model\SenseId; */ class WikibaseLexemeGenerators { - public static function lexeme( LexemeId $lexemeId = null ) { + public static function lexeme( ?LexemeId $lexemeId = null ) { return new LexemeGenerator( $lexemeId ); } diff --git a/tests/phpunit/mediawiki/Content/LexemeHandlerTest.php b/tests/phpunit/mediawiki/Content/LexemeHandlerTest.php index d0e39a4..e155fd9 100644 --- a/tests/phpunit/mediawiki/Content/LexemeHandlerTest.php +++ b/tests/phpunit/mediawiki/Content/LexemeHandlerTest.php @@ -61,7 +61,7 @@ class LexemeHandlerTest extends EntityHandlerTestCase { * * @return EntityHandler */ - protected function getHandler( SettingsArray $settings = null ) { + protected function getHandler( ?SettingsArray $settings = null ) { // This parent method is still called, as it sets up mocks for required // service dependencies $this->getWikibaseRepo( $settings ); @@ -70,7 +70,7 @@ class LexemeHandlerTest extends EntityHandlerTestCase { ->getContentHandlerForType( Lexeme::ENTITY_TYPE ); } - protected function newEntityContent( EntityDocument $entity = null ): EntityContent { + protected function newEntityContent( ?EntityDocument $entity = null ): EntityContent { if ( $entity === null ) { $entity = $this->newEntity(); } @@ -94,7 +94,7 @@ class LexemeHandlerTest extends EntityHandlerTestCase { * * @return EntityDocument */ - protected function newEntity( EntityId $id = null ) { + protected function newEntity( ?EntityId $id = null ) { if ( !$id ) { $id = new LexemeId( 'L7' ); } diff --git a/tests/phpunit/mediawiki/Hooks/Formatters/FormLinkFormatterIntegrationTest.php b/tests/phpunit/mediawiki/Hooks/Formatters/FormLinkFormatterIntegrationTest.php index ef8214f..3f526fa 100644 --- a/tests/phpunit/mediawiki/Hooks/Formatters/FormLinkFormatterIntegrationTest.php +++ b/tests/phpunit/mediawiki/Hooks/Formatters/FormLinkFormatterIntegrationTest.php @@ -51,7 +51,7 @@ class FormLinkFormatterIntegrationTest extends WikibaseLexemeIntegrationTestCase ); } - private function getEntityTitleTextLookupMock( string $titleText = null ) { + private function getEntityTitleTextLookupMock( ?string $titleText = null ) { $entityTitleTextLookup = $this->createMock( EntityTitleTextLookup::class ); $entityTitleTextLookup->method( 'getPrefixedText' ) ->with( $entityId ?? $this->anything() ) diff --git a/tests/phpunit/mediawiki/Store/FormStoreTest.php b/tests/phpunit/mediawiki/Store/FormStoreTest.php index 4342f62..610a44a 100644 --- a/tests/phpunit/mediawiki/Store/FormStoreTest.php +++ b/tests/phpunit/mediawiki/Store/FormStoreTest.php @@ -319,7 +319,7 @@ class FormStoreTest extends TestCase { * * @return EntityRevisionLookup */ - private function newEntityRevisionLookup( Lexeme $expectedLexeme = null ) { + private function newEntityRevisionLookup( ?Lexeme $expectedLexeme = null ) { $lookup = $this->createMock( EntityRevisionLookup::class ); if ( $expectedLexeme ) { diff --git a/tests/phpunit/mediawiki/Store/SenseStoreTest.php b/tests/phpunit/mediawiki/Store/SenseStoreTest.php index f46d57d..e1ba670 100644 --- a/tests/phpunit/mediawiki/Store/SenseStoreTest.php +++ b/tests/phpunit/mediawiki/Store/SenseStoreTest.php @@ -320,7 +320,7 @@ class SenseStoreTest extends TestCase { * * @return EntityRevisionLookup */ - private function newEntityRevisionLookup( Lexeme $expectedLexeme = null ) { + private function newEntityRevisionLookup( ?Lexeme $expectedLexeme = null ) { $lookup = $this->createMock( EntityRevisionLookup::class ); if ( $expectedLexeme ) { diff --git a/tests/phpunit/mediawiki/View/LexemeViewTest.php b/tests/phpunit/mediawiki/View/LexemeViewTest.php index dbf9345..89b77a3 100644 --- a/tests/phpunit/mediawiki/View/LexemeViewTest.php +++ b/tests/phpunit/mediawiki/View/LexemeViewTest.php @@ -65,7 +65,7 @@ class LexemeViewTest extends \MediaWikiIntegrationTestCase { * * @return StatementSectionsView */ - private function newStatementSectionsViewMock( StatementList $expectedStatements = null ) { + private function newStatementSectionsViewMock( ?StatementList $expectedStatements = null ) { $statementSectionsView = $this->createMock( StatementSectionsView::class ); $statementSectionsView->expects( $expectedStatements ? $this->once() : $this->never() ) @@ -87,7 +87,7 @@ class LexemeViewTest extends \MediaWikiIntegrationTestCase { return $languageDirectionalityLookup; } - private function newLexemeView( StatementList $expectedStatements = null ) { + private function newLexemeView( ?StatementList $expectedStatements = null ) { $languageDirectionalityLookup = $this->newLanguageDirectionalityLookupMock(); $lemmaFormatter = new LexemeTermFormatter( '/' ); -- 2.39.2
$ date --- stdout --- Sat Nov 2 04:39:01 UTC 2024 --- end --- $ git clone file:///srv/git/mediawiki-extensions-WikibaseLexeme.git repo --depth=1 -b master --- stderr --- Cloning into 'repo'... --- stdout --- --- end --- $ git config user.name libraryupgrader --- stdout --- --- end --- $ git config user.email tools.libraryupgrader@tools.wmflabs.org --- stdout --- --- end --- $ git submodule update --init --- stderr --- Submodule 'resources/special/new-lexeme' (https://phabricator.wikimedia.org/diffusion/NLSP/new-lexeme-special-page.git) registered for path 'resources/special/new-lexeme' Cloning into '/src/repo/resources/special/new-lexeme'... --- stdout --- Submodule path 'resources/special/new-lexeme': checked out '0a9293702bb5993f1d02f51c3424947fbd7470e8' --- end --- $ grr init --- stdout --- Installed commit-msg hook. --- end --- $ git show-ref refs/heads/master --- stdout --- 33f4c79b8e03ce72e376790ca57e4d81b60d532d refs/heads/master --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "request": { "name": "request", "severity": "moderate", "isDirect": true, "via": [ { "source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": [ "CWE-918" ], "cvss": { "score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, "range": "<=2.88.2" }, "tough-cookie" ], "effects": [], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/request/node_modules/tough-cookie" ], "fixAvailable": false } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 2, "high": 0, "critical": 0, "total": 2 }, "dependencies": { "prod": 1, "dev": 848, "optional": 5, "peer": 19, "peerOptional": 0, "total": 848 } } } --- end --- $ /usr/bin/composer install --- stderr --- No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information. Loading composer repositories with package information Updating dependencies Lock file operations: 44 installs, 0 updates, 0 removals - Locking composer/pcre (3.3.1) - Locking composer/semver (3.4.2) - Locking composer/spdx-licenses (1.5.8) - Locking composer/xdebug-handler (3.0.5) - Locking davidrjonas/composer-lock-diff (1.7.0) - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0) - Locking doctrine/deprecations (1.1.3) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking giorgiosironi/eris (0.14.0) - Locking hamcrest/hamcrest-php (v2.0.1) - Locking mediawiki/mediawiki-codesniffer (v44.0.0) - Locking mediawiki/mediawiki-phan-config (0.14.0) - Locking mediawiki/minus-x (1.1.3) - Locking mediawiki/phan-taint-check-plugin (6.0.0) - Locking microsoft/tolerant-php-parser (v0.1.2) - Locking netresearch/jsonmapper (v4.5.0) - Locking phan/phan (5.4.3) - Locking php-parallel-lint/php-console-color (v1.0.1) - Locking php-parallel-lint/php-console-highlighter (v1.0.0) - Locking php-parallel-lint/php-parallel-lint (v1.4.0) - Locking phpcsstandards/phpcsextra (1.2.1) - Locking phpcsstandards/phpcsutils (1.0.11) - Locking phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.4.1) - Locking phpdocumentor/type-resolver (1.8.2) - Locking phpstan/phpdoc-parser (1.33.0) - Locking psr/container (2.0.2) - Locking psr/log (3.0.2) - Locking sabre/event (5.1.7) - Locking serialization/serialization (4.0.0) - Locking squizlabs/php_codesniffer (3.9.0) - Locking symfony/console (v7.1.6) - Locking symfony/deprecation-contracts (v3.5.0) - Locking symfony/polyfill-ctype (v1.31.0) - Locking symfony/polyfill-intl-grapheme (v1.31.0) - Locking symfony/polyfill-intl-normalizer (v1.31.0) - Locking symfony/polyfill-mbstring (v1.31.0) - Locking symfony/polyfill-php80 (v1.31.0) - Locking symfony/service-contracts (v3.5.0) - Locking symfony/string (v7.1.6) - Locking tysonandre/var_representation_polyfill (0.1.3) - Locking webmozart/assert (1.11.0) - Locking wikimedia/assert (v0.5.1) - Locking wmde/php-vuejs-templating (2.0.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 44 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Installing squizlabs/php_codesniffer (3.9.0): Extracting archive - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive - Installing composer/pcre (3.3.1): Extracting archive - Installing davidrjonas/composer-lock-diff (1.7.0): Extracting archive - Installing giorgiosironi/eris (0.14.0): Extracting archive - Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive - Installing symfony/polyfill-php80 (v1.31.0): Extracting archive - Installing phpcsstandards/phpcsutils (1.0.11): Extracting archive - Installing phpcsstandards/phpcsextra (1.2.1): Extracting archive - Installing symfony/polyfill-mbstring (v1.31.0): Extracting archive - Installing composer/spdx-licenses (1.5.8): Extracting archive - Installing composer/semver (3.4.2): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v44.0.0): Extracting archive - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.31.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.31.0): Extracting archive - Installing symfony/polyfill-ctype (v1.31.0): Extracting archive - Installing symfony/string (v7.1.6): Extracting archive - Installing symfony/deprecation-contracts (v3.5.0): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.5.0): Extracting archive - Installing symfony/console (v7.1.6): Extracting archive - Installing sabre/event (5.1.7): Extracting archive - Installing netresearch/jsonmapper (v4.5.0): Extracting archive - Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing phpstan/phpdoc-parser (1.33.0): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing doctrine/deprecations (1.1.3): Extracting archive - Installing phpdocumentor/type-resolver (1.8.2): Extracting archive - Installing phpdocumentor/reflection-docblock (5.4.1): Extracting archive - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive - Installing psr/log (3.0.2): Extracting archive - Installing composer/xdebug-handler (3.0.5): Extracting archive - Installing phan/phan (5.4.3): Extracting archive - Installing mediawiki/phan-taint-check-plugin (6.0.0): Extracting archive - Installing mediawiki/mediawiki-phan-config (0.14.0): Extracting archive - Installing mediawiki/minus-x (1.1.3): Extracting archive - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive - Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive - Installing serialization/serialization (4.0.0): Extracting archive - Installing wikimedia/assert (v0.5.1): Extracting archive - Installing wmde/php-vuejs-templating (2.0.0): Extracting archive 0/42 [>---------------------------] 0% 20/42 [=============>--------------] 47% 32/42 [=====================>------] 76% 42/42 [============================] 100% 3 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 16 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils --- end --- Upgrading c:mediawiki/mediawiki-codesniffer from 44.0.0 -> 45.0.0 $ /usr/bin/composer update --- stderr --- Loading composer repositories with package information Updating dependencies Lock file operations: 0 installs, 4 updates, 0 removals - Upgrading composer/semver (3.4.2 => 3.4.3) - Upgrading mediawiki/mediawiki-codesniffer (v44.0.0 => v45.0.0) - Upgrading phpcsstandards/phpcsutils (1.0.11 => 1.0.12) - Upgrading squizlabs/php_codesniffer (3.9.0 => 3.10.3) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 0 installs, 4 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Upgrading squizlabs/php_codesniffer (3.9.0 => 3.10.3): Extracting archive - Upgrading phpcsstandards/phpcsutils (1.0.11 => 1.0.12): Extracting archive - Upgrading composer/semver (3.4.2 => 3.4.3): Extracting archive - Upgrading mediawiki/mediawiki-codesniffer (v44.0.0 => v45.0.0): Extracting archive 0/4 [>---------------------------] 0% 3/4 [=====================>------] 75% 4/4 [============================] 100% Generating autoload files 16 packages you are using are looking for funding. Use the `composer fund` command to find out more! No security vulnerability advisories found --- stdout --- PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils --- end --- Previously failing phpcs rules: {'MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment'} $ vendor/bin/phpcs --report=json --- stdout --- {"totals":{"errors":77,"warnings":85,"fixable":77},"files":{"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/DifferentLanguagesException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/LexemeSaveFailedException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/ConflictingLemmaValueException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/LexemeLoadingException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/LexemeSensesMerger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/CrossReferencingException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/BlankSense.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/PermissionDeniedException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/LexemeStatementEntityReferenceExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/SenseIdDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/ReferenceSameLexemeException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/SenseId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpLanguage.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":47,"column":52}]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/ValidationContext.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/WikibaseLexemeServices.php":{"errors":8,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":21,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":35,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":42,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":49,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":56,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":63,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":70,"column":9}]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/SensesStatementEntityReferenceExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/DummySenseId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/Validation\/LemmaTermValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/MergingException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpSenseEdit.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":42,"column":52}]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/ModificationFailedException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Diff\/ItemReferenceDifferenceVisualizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRemoveForm.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":53,"column":52}]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/RepresentationsChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/AddFormDiff.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?callable $valueConverter = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":64,"column":30}]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/LexicalCategoryItemIdExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/LexemeSubEntityId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/BlankForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/ParserOutput\/LexemeParserOutputUpdater.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/LexemePatchAccess.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/LexemeTermTextCanNotBeEmpty.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/LexemeNotFoundException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ApiError.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/LexemeMerger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeEntityFormLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/NullSenseId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/MediaWikiPageSubEntityMetaDataAccessor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Validator\/NoConflictingTermListValues.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/UnknownLanguage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/LemmaLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeEntitySenseLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpsFormsEdit.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":60,"column":52}]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/GrammaticalFeatureItemIdsExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/LanguageInconsistent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpsSensesEdit.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":60,"column":52}]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/LexemeChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/Validation\/LexemeTermSerializationValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpSenseAdd.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":47,"column":52}]},"\/src\/repo\/src\/Registrar.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/DummyFormId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/LexemeNotFound.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/SenseDiffer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/SenseNotFound.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/EntityLinkFormatters\/LexemeLinkFormatter.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $labelData = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":50,"column":50},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $labelData = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":70,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $descriptionData = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":71,"column":9}]},"\/src\/repo\/src\/Presentation\/Formatters\/SenseIdHtmlFormatter.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":73,"column":37}]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/EditSenseChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/FormsView.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":77,"column":28},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":79,"column":28}]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/LanguageItemIdExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/NullFormId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/ItemIdGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/Template\/VueTemplates.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/JsonFieldHasWrongType.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/InvalidItemId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/FormTitleStoreLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeAbstractEntityLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Validator\/FormMergeability.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpGloss.php":{"errors":2,"warnings":1,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":38,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":55,"column":51},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":74,"column":50}]},"\/src\/repo\/src\/Serialization\/SenseDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddFormRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/InvalidFormClaims.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/LanguageCodeGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/NullLabelDescriptionLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeEntityLexemeLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRemoveSense.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":53,"column":52}]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/FormIdDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/LexicalCategoryItemIdExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/Validation\/LexemeTermLanguageValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Diff\/FormDiffView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/RemoveFormDiff.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?callable $valueConverter = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":64,"column":30}]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpGlossList.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":40,"column":52}]},"\/src\/repo\/src\/MediaWiki\/Config\/LexemeLanguageCodePropertyIdConfig.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ParameterIsNotSenseId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/LemmaChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/SenseStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/Template\/LexemeTemplateFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Storage\/SenseLabelDescriptionLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/MediaWikiLexemeRedirector.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/EntityLinkFormatters\/FormLinkFormatter.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $labelData = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":53,"column":50},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $labelData = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":88,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $descriptionData = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":89,"column":9}]},"\/src\/repo\/src\/Domain\/Diff\/SenseDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/ExternalLexemeSerializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Merge\/Validator\/NoConflictingTermListValuesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/FormSet.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/JsonFieldIsNotAnItemId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ParameterIsNotLexemeId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpSenseClone.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":32,"column":52}]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/PHPUnitTestCaseWrapper.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/JsonFieldIsRequired.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/SenseChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/FormSetGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/LexemeFormsMerger.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":54,"column":33}]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRepresentationList.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":40,"column":52}]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpFormAdd.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":40,"column":52}]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeOp\/Deserialization\/FormIdDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ParameterIsNotFormId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/FormIdHtmlFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpLemmaRemove.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":50,"column":52}]},"\/src\/repo\/src\/MediaWiki\/Content\/LexemeHandler.php":{"errors":2,"warnings":1,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?callable $legacyExportFormatDetector = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":63,"column":9},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":67,"column":19},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?EntityHolder $entityHolder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":144,"column":42}]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/FormSerializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Content\/LexemeLanguageNameLookupFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/FormSerializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/LexemePatchAccessTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Summary\/SummaryAggregator.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":107,"column":18}]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/WikibaseLexemeGenerators.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LexemeId $lexemeId = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":14,"column":36}]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/LanguageChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/WikibaseLexemeIntegrationTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/SenseListChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/FormRevisionLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Merge\/Validator\/FormMergeabilityTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/LexemeDiff.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?callable $valueConverter = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":102,"column":30}]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRemoveSenseGloss.php":{"errors":2,"warnings":1,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":41,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":60,"column":51},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":69,"column":50}]},"\/src\/repo\/src\/Domain\/Merge\/NoCrossReferencingLexemeStatements.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/TemplateModuleTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeOp\/Deserialization\/ItemIdListDeserializerTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":62,"column":33}]},"\/src\/repo\/WikibaseLexeme.datatypes.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":118,"column":71}]},"\/src\/repo\/WikibaseLexeme.i18n.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpLemmaEdit.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":72,"column":52}]},"\/src\/repo\/src\/Presentation\/Diff\/SenseDiffView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/FormGenerator.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?FormId $formId = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":38,"column":34}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/Template\/LexemeTemplateFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Content\/LexemeLanguageNameLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/Nonserializable.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpFormEdit.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":42,"column":52}]},"\/src\/repo\/src\/DataAccess\/LexemeDescription.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?EntityId $id = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":49,"column":9}]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/DifferentLexicalCategoriesException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveFormRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpLexicalCategory.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":50,"column":52}]},"\/src\/repo\/src\/DataAccess\/Store\/EntityLookupLemmaLookup.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":27,"column":61}]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/DummyFormIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRemoveFormTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/LanguageItemIdExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRepresentationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddSense.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditSenseElementsRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveSenseRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/Form.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?StatementList $statementList = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":48,"column":9}]},"\/src\/repo\/src\/MediaWiki\/Api\/AddSenseRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/LexemeDiffer.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":302,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":310,"column":24}]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/AddFormToLexemeChangeOp.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":43,"column":50}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpSenseCloneTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRepresentation.php":{"errors":2,"warnings":1,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":38,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":55,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":74,"column":49}]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/NullFormIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpFormClone.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":40,"column":52}]},"\/src\/repo\/WikibaseLexeme.resources.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":275,"column":38}]},"\/src\/repo\/src\/DataAccess\/Store\/SenseTitleStoreLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveFormRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/SenseTitleStoreLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Diff\/LexemeDiffVisualizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/FormsStatementEntityReferenceExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeOp\/Deserialization\/SenseIdDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/MediaWikiLexemeRedirectorIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/LexemeDifferTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/LexemeIdHtmlFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/FormChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/SensesStatementEntityReferenceExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Rdf\/LexemeStubRdfBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewLexeme.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/LexemeDescriptionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/FormListChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/DummySenseIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/InfoActionHookHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeEntityFormLibraryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditSenseElements.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/LexemePageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/LexemeView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditSenseElementsRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewSenseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Diff\/GrammaticalFeatureDiffVisualizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/FormChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Config\/LexemeLanguageCodePropertyIdConfigTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpGrammaticalFeatures.php":{"errors":2,"warnings":3,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":39,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":55,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":71,"column":46},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":80,"column":46},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":89,"column":46}]},"\/src\/repo\/src\/Serialization\/LexemeDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddSenseRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/LemmaChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeEntityLexemeLibraryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/ApiUserBlockedTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/FixPagePropsSortkey.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":54,"column":55},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":80,"column":59}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/Formatters\/LexemeLinkFormatterIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/FormDiffer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/FormIdTextFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/ChangeFormDiffOp.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?callable $valueConverter = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":68,"column":30}]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/NullSenseIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpsFormsEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/Lexeme.php":{"errors":7,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LexemeId $id = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":54,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?TermList $lemmas = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":55,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ItemId $lexicalCategory = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":56,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ItemId $language = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":57,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?StatementList $statements = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":58,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?FormSet $forms = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":60,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?SenseSet $senses = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":62,"column":9}]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/LexemeGenerator.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LexemeId $lexemeId = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":49,"column":34}]},"\/src\/repo\/src\/MediaWiki\/Api\/AddSenseRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeEntitySenseLibraryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRemoveFormRepresentation.php":{"errors":2,"warnings":1,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":41,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":60,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":69,"column":49}]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/LexemeStatementEntityReferenceExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Interactors\/MergeLexemes\/MergeLexemesStatus.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Actions\/InfoActionHookHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/WikibaseLexemeHooksTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/LexicalCategoryChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Content\/LexemeContent.php":{"errors":4,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?EntityHolder $lexemeHolder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":51,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?EntityRedirect $redirect = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":52,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Title $redirectTitle = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":53,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Title $redirectTitle = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":205,"column":69}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeLibraryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/BlankFormTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/RedirectedLexemeSubEntityIdHtmlFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpSenseAddTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/AddSenseToLexemeChangeOp.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Summary $summary = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":43,"column":51}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpGlossTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/ValidationContextTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/Summary\/SummaryAggregatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveFormRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Actions\/LexemeHistoryAction.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/Services\/Diff\/LexemePatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/FormPatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/ItemIdListDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/FormTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/FormDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/ResultBuilderLexemeTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":110,"column":38},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":111,"column":34},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":112,"column":52}]},"\/src\/repo\/tests\/phpunit\/composer\/Merge\/LexemeFormsMergerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddFormRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/EditFormChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Actions\/ViewLexemeAction.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":19,"column":59}]},"\/src\/repo\/src\/Presentation\/Formatters\/LexemeTermFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/FormsViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/Error\/ApiErrorTranslationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/GrammaticalFeatureItemIdsExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditSenseElementsRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/SensesView.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":82,"column":28},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":84,"column":28}]},"\/src\/repo\/src\/Domain\/Model\/Sense.php":{"errors":1,"warnings":1,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?StatementList $statementList = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":37,"column":9},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":40,"column":40}]},"\/src\/repo\/src\/DataAccess\/Store\/FormStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/Services\/Diff\/FormDifferTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/WikibaseLexemeApiTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Content\/LexemeHandlerTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?SettingsArray $settings = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":64,"column":36},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?EntityDocument $entity = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":73,"column":42},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?EntityId $id = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":97,"column":35}]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/SenseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/TermListGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/LanguageChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/AddSenseDiff.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?callable $valueConverter = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":58,"column":30}]},"\/src\/repo\/src\/Presentation\/View\/TemplateModule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/LexemeIdHtmlFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/AddFormToLexemeChangeOpTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/Formatters\/LexemeLinkFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/GlossesChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/LexemeDescriptionTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/SenseIdTextFormatter.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":51,"column":37}]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/GlossesChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Rdf\/LexemeRdfBuilderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpLemmaRemoveTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/LexemeId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeOp\/Validation\/LexemeTermSerializationValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/Services\/Diff\/SenseDifferTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/SenseSerializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Content\/LexemeLanguageNameLookupAndFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddFormRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/LexemeDifferPatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/Exceptions\/ConflictException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewLexemeTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/WikibaseLexemeExtensionRegistrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeLibraryTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/CreateReservedLexemes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/LexemeNamespaceTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Rdf\/LexemeSpecificComponentsRdfBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/SenseRevisionLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/SensePatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/CartesianProduct.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/LexemePatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/LexemeDiffVisualizerIntegrationTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":132,"column":47},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":225,"column":47},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":319,"column":47}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpGlossListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditFormElementsRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Interactors\/MergeLexemes\/MergeLexemesInteractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/FormsStatementEntityReferenceExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/RedirectedLexemeSubEntityIdHtmlFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/LexemeViewFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRemoveSenseGlossTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewSense.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditFormElements.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Diff\/GrammaticalFeatureDiffVisualizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Rdf\/LexemeRdfBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRemoveSenseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveSenseRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Content\/LemmaTextSummaryFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/TermGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpFormAddTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/Formatters\/FormLinkFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/LemmaTextSummaryFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/ChangeSenseDiffOp.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?callable $valueConverter = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":62,"column":30}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/SensesViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/LexemeMetaTagsCreator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataAccess\/EntityLemmaLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditFormElementsRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRemoveFormRepresentationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/LexemeViewFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/SenseSet.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/Serialization\/SenseDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Rdf\/LexemeStubRdfBuilderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditFormElementsRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/RemoveSenseDiff.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?callable $valueConverter = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":58,"column":30}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/Formatters\/FormLinkFormatterIntegrationTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?string $titleText = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":54,"column":52}]},"\/src\/repo\/tests\/phpunit\/unit\/Merge\/Exceptions\/LexemeNotFoundExceptionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/FormId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveSenseTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":99,"column":56}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/SenseStoreTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Lexeme $expectedLexeme = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":323,"column":47}]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/FormSetTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/SenseIdTextFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/SenseListChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/MergeLexemes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Validation\/LexemeTermLanguageValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/FormDifferPatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveFormRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/StorageLexemeSerializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/LexemeStoreIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/SenseIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/WikibaseLexemeHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/FormDiffViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/LexemeMetaTagsCreatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/Merge\/MergeLexemesInteractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpSenseEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/AddSenseToLexemeChangeOpTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/SenseSetTest.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":112,"column":52},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":116,"column":67}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddFormRequestParserIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveSense.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.mediawiki-services.php":{"errors":0,"warnings":21,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":48,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":49,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":51,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":52,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":55,"column":20},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":57,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":58,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":59,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":60,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":61,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":63,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":64,"column":22},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":65,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":66,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":68,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":69,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":70,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":72,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":73,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":74,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":75,"column":21}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRepresentationListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Specials\/SpecialNewLexeme.php":{"errors":0,"warnings":5,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":216,"column":36},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":227,"column":45},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":228,"column":43},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":233,"column":39},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":473,"column":23}]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ParameterIsNotAJsonObject.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.datatypes.client.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/SenseDifferPatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/FormNotFound.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpLanguageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveFormTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":99,"column":56}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpsSensesEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/FormIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/InvalidSenseClaims.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Validators\/NoCrossReferencingLexemeStatementsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Specials\/HTMLForm\/LemmaLanguageField.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpFormCloneTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/LexemeTermLanguageCanNotBeEmpty.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/SenseIdHtmlFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/SenseChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveSenseRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/SenseRevisionLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/SenseDiffViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Validators\/LemmaTermValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/LexemeDiffTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Specials\/SpecialNewLexemeTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":254,"column":26},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":296,"column":29},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":375,"column":45}]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/LexemeIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpLexicalCategoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/ExternalLexemeSerializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/LexemeTermFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/FormIdHtmlFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Rdf\/LexemeSpecificComponentsRdfBuilderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditSenseElementsRequestParserIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Specials\/HTMLForm\/LemmaLanguageFieldTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/Merge\/LexemeSensesMergerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpLemmaEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/MediaWikiPageSubEntityMetaDataAccessorTest.php":{"errors":0,"warnings":4,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":33,"column":70},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":34,"column":65},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":37,"column":56},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":52,"column":24}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/LexemeViewTest.php":{"errors":2,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?StatementList $expectedStatements = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":68,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?StatementList $expectedStatements = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":90,"column":37}]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/SenseLabelDescriptionLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpGrammaticalFeaturesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.entitytypes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpFormEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Specials\/LexemeSpecialEntityDataTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/resources\/templates.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/FormIdTextFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/FormListChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/SetClaimTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddSenseRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.entitytypes.repo.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Specials\/SpecialMergeLexemes.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":234,"column":25}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditFormElementsTest.php":{"errors":0,"warnings":4,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":149,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":161,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":176,"column":46},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":193,"column":46}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/ItemReferenceDifferenceVisualizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/SenseSerializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/LexemeGetEntitiesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/LexemeDiffVisualizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/FormStoreTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Lexeme $expectedLexeme = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":322,"column":47}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/FormTitleStoreLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditFormElementsRequestParserIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/LexemeDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/StorageLexemeSerializer.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":94,"column":31}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/EditSenseChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/WikibaseLexemeServicesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddFormRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Actions\/LexemeHistoryActionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/LexicalCategoryChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Content\/LexemeContentTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/EnabledEntityTypesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Specials\/SpecialMergeLexemesTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":354,"column":44}]},"\/src\/repo\/tests\/phpunit\/maintenance\/DumpJsonTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/FormRevisionLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/SenseGenerator.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?SenseId $senseId = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":32,"column":34}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditSenseElementsTest.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":135,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":147,"column":44}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/MergeLexemesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ParserOutput\/LexemeEntityParserOutputGeneratorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/ErisTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditFormElementsRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditSenseElementsRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/SearchEntitiesIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/CartesianProductTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/LexemeEditPageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveSenseRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/LexemeTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/LexemeSubEntityIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/Merge\/LexemeMergerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DummyObjects\/BlankSenseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/EditFormChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/RepresentationsChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/LexemeEditEntityTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":1104,"column":32}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddSenseTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":99,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":111,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":123,"column":44}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/LexemeChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/LexemeApiQueryBacklinksTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddFormTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":113,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":125,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":137,"column":44}]}}} --- end --- PHPCS run failed $ vendor/bin/phpcbf --- stdout --- PHPCBF RESULT SUMMARY -------------------------------------------------------------------------------- FILE FIXED REMAINING -------------------------------------------------------------------------------- /src/repo/src/DataAccess/ChangeOp/ChangeOpLanguage.php 1 0 /src/repo/src/Domain/Diff/AddFormDiff.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpSenseEdit.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpRemoveForm.php 1 0 /src/repo/src/WikibaseLexemeServices.php 8 0 .../src/MediaWiki/EntityLinkFormatters/LexemeLinkFormatter.php 3 0 /src/repo/src/Domain/Diff/RemoveFormDiff.php 1 0 ...hpunit/composer/ErisGenerators/WikibaseLexemeGenerators.php 1 0 ...epo/tests/phpunit/composer/ErisGenerators/FormGenerator.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpSenseAdd.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpRemoveSense.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpFormAdd.php 1 0 ...po/src/MediaWiki/EntityLinkFormatters/FormLinkFormatter.php 3 0 /src/repo/src/DataAccess/LexemeDescription.php 1 0 /src/repo/src/MediaWiki/Content/LexemeHandler.php 2 1 /src/repo/src/Domain/Diff/LexemeDiff.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpGlossList.php 1 0 ...repo/src/DataAccess/ChangeOp/ChangeOpRepresentationList.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpGloss.php 2 1 /src/repo/src/Domain/Model/Form.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpFormEdit.php 1 0 /src/repo/src/Domain/Diff/ChangeFormDiffOp.php 1 0 ...o/tests/phpunit/composer/ErisGenerators/LexemeGenerator.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpSenseClone.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpFormClone.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpLexicalCategory.php 1 0 /src/repo/src/Domain/Diff/AddSenseDiff.php 1 0 /src/repo/src/DataAccess/ChangeOp/AddFormToLexemeChangeOp.php 1 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpRemoveSenseGloss.php 2 1 ...awiki/Hooks/Formatters/FormLinkFormatterIntegrationTest.php 1 0 .../repo/tests/phpunit/mediawiki/Content/LexemeHandlerTest.php 3 0 /src/repo/src/Domain/Diff/ChangeSenseDiffOp.php 1 0 /src/repo/src/MediaWiki/Content/LexemeContent.php 4 0 ...epo/src/DataAccess/ChangeOp/ChangeOpGrammaticalFeatures.php 2 3 /src/repo/src/Domain/Model/Lexeme.php 7 0 /src/repo/src/DataAccess/ChangeOp/ChangeOpRepresentation.php 2 1 /src/repo/src/Domain/Diff/RemoveSenseDiff.php 1 0 /src/repo/src/DataAccess/ChangeOp/AddSenseToLexemeChangeOp.php 1 0 /src/repo/src/Domain/Model/Sense.php 1 1 ...rc/DataAccess/ChangeOp/ChangeOpRemoveFormRepresentation.php 2 1 /src/repo/tests/phpunit/mediawiki/Store/SenseStoreTest.php 1 0 /src/repo/tests/phpunit/mediawiki/View/LexemeViewTest.php 2 0 ...po/tests/phpunit/composer/ErisGenerators/SenseGenerator.php 1 0 /src/repo/tests/phpunit/mediawiki/Store/FormStoreTest.php 1 0 -------------------------------------------------------------------------------- A TOTAL OF 77 ERRORS WERE FIXED IN 48 FILES -------------------------------------------------------------------------------- Time: 5.22 secs; Memory: 8MB --- end --- $ vendor/bin/phpcs --report=json --- stdout --- {"totals":{"errors":0,"warnings":85,"fixable":0},"files":{"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/LexemeLoadingException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/CrossReferencingException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/DifferentLanguagesException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/LexemeSaveFailedException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/PermissionDeniedException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/SenseIdDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/ConflictingLemmaValueException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/LexemeSensesMerger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/ReferenceSameLexemeException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/BlankSense.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/SenseId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/WikibaseLexemeServices.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/LexemeStatementEntityReferenceExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/MergingException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/ValidationContext.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpLanguage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/SensesStatementEntityReferenceExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Diff\/ItemReferenceDifferenceVisualizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/ModificationFailedException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/DummySenseId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/ParserOutput\/LexemeParserOutputUpdater.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRemoveForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/AddFormDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/Validation\/LemmaTermValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeEntityFormLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ApiError.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/LexemeTermTextCanNotBeEmpty.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpSenseEdit.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/BlankForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/LexemeSubEntityId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/LexicalCategoryItemIdExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/RepresentationsChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/LexemePatchAccess.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeEntitySenseLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/LexemeChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/MediaWikiPageSubEntityMetaDataAccessor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/LemmaLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/UnknownLanguage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/LexemeNotFoundException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/NullSenseId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpsFormsEdit.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/LanguageInconsistent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Registrar.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/LexemeMerger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/LexemeNotFound.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/DummyFormId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpSenseAdd.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Validator\/NoConflictingTermListValues.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeAbstractEntityLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/EntityLinkFormatters\/LexemeLinkFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/SenseDiffer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpsSensesEdit.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/Validation\/LexemeTermSerializationValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/FormTitleStoreLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/GrammaticalFeatureItemIdsExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/JsonFieldHasWrongType.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/SenseNotFound.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/DummyObjects\/NullFormId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Diff\/FormDiffView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/NullLabelDescriptionLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddFormRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Scribunto\/WikibaseLexemeEntityLexemeLibrary.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/InvalidFormClaims.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/FormsView.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":77,"column":28},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":79,"column":28}]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/InvalidItemId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/EditSenseChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/Template\/VueTemplates.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/LanguageCodeGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRemoveSense.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/LanguageItemIdExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/SenseIdHtmlFormatter.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":73,"column":37}]},"\/src\/repo\/src\/MediaWiki\/Config\/LexemeLanguageCodePropertyIdConfig.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/SenseDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Merge\/Validator\/NoConflictingTermListValuesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Validator\/FormMergeability.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpGlossList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/JsonFieldIsNotAnItemId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/LemmaChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ParameterIsNotSenseId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/RemoveFormDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/ItemIdGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/SenseChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/EntityLinkFormatters\/FormLinkFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/PHPUnitTestCaseWrapper.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/ExternalLexemeSerializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/FormIdDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/LexicalCategoryItemIdExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/SenseDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/JsonFieldIsRequired.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpGloss.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":74,"column":50}]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/Validation\/LexemeTermLanguageValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/Template\/LexemeTemplateFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ParameterIsNotLexemeId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/SenseStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Content\/LexemeHandler.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":67,"column":19}]},"\/src\/repo\/src\/DataAccess\/Store\/MediaWikiLexemeRedirector.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/FormSet.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Storage\/SenseLabelDescriptionLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Content\/LexemeLanguageNameLookupFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeOp\/Deserialization\/FormIdDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRepresentationList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Summary\/SummaryAggregator.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":107,"column":18}]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/FormSerializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/LexemeFormsMerger.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":54,"column":33}]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpLemmaRemove.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/FormSerializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Merge\/Validator\/FormMergeabilityTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ParameterIsNotFormId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/LanguageChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/FormRevisionLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Content\/LexemeLanguageNameLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.datatypes.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":118,"column":71}]},"\/src\/repo\/WikibaseLexeme.i18n.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/WikibaseLexemeIntegrationTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/FormSetGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpFormAdd.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/FormGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpSenseClone.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveFormRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeOp\/Deserialization\/ItemIdListDeserializerTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":62,"column":33}]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/SenseListChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/EntityLookupLemmaLookup.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":27,"column":61}]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/DummyFormIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/TemplateModuleTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpLexicalCategory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/FormIdHtmlFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/WikibaseLexemeGenerators.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/NoCrossReferencingLexemeStatements.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/LexemeDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddSenseRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/Template\/LexemeTemplateFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpLemmaEdit.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Merge\/Exceptions\/DifferentLexicalCategoriesException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/LexemePatchAccessTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRemoveFormTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddSense.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Diff\/SenseDiffView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/NullFormIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/Nonserializable.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveSenseRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditSenseElementsRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/LexemeDescription.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/SenseTitleStoreLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/LanguageItemIdExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpFormEdit.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRemoveSenseGloss.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":69,"column":50}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpSenseCloneTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.resources.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":275,"column":38}]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/AddFormToLexemeChangeOp.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRepresentationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/DummySenseIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/LexemeDiffer.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":302,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":310,"column":24}]},"\/src\/repo\/src\/Presentation\/View\/LexemeView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/FormListChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/Form.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/FormChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/SenseTitleStoreLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeOp\/Deserialization\/SenseIdDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/MediaWikiLexemeRedirectorIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewLexeme.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpGrammaticalFeatures.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":71,"column":46},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":80,"column":46},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":89,"column":46}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/LexemeDescriptionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddSenseRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveFormRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/LemmaChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeEntityFormLibraryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditSenseElementsRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditSenseElements.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/EntityReferenceExtractors\/FormsStatementEntityReferenceExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/LexemePageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewSenseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/FormChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Rdf\/LexemeStubRdfBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/InfoActionHookHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpFormClone.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/SensesStatementEntityReferenceExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Config\/LexemeLanguageCodePropertyIdConfigTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/LexemeGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Diff\/LexemeDiffVisualizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeEntityLexemeLibraryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRepresentation.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":74,"column":49}]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/NullSenseIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/FixPagePropsSortkey.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":54,"column":55},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":80,"column":59}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/WikibaseLexemeHooksTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/LexicalCategoryChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/LexemeIdHtmlFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/AddSenseToLexemeChangeOp.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeEntitySenseLibraryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/LexemeDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/ValidationContextTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpsFormsEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/ChangeFormDiffOp.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Actions\/InfoActionHookHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/ApiUserBlockedTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Diff\/GrammaticalFeatureDiffVisualizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddSenseRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Content\/LexemeContent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/LexemeDifferTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeLibraryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/Formatters\/LexemeLinkFormatterIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DummyObjects\/BlankFormTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/Lexeme.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Interactors\/MergeLexemes\/MergeLexemesStatus.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpGlossTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/ItemIdListDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/FormDiffer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveFormRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpSenseAddTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/LexemeStatementEntityReferenceExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/SensesView.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":82,"column":28},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":84,"column":28}]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/EditFormChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/ChangeOp\/ChangeOpRemoveFormRepresentation.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":69,"column":49}]},"\/src\/repo\/src\/MediaWiki\/Actions\/LexemeHistoryAction.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/FormIdTextFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/ResultBuilderLexemeTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":110,"column":38},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":111,"column":34},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":112,"column":52}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/Summary\/SummaryAggregatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Actions\/ViewLexemeAction.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":19,"column":59}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/LanguageChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/TermListGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/FormPatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddFormRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/RedirectedLexemeSubEntityIdHtmlFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/FormsViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/WikibaseLexemeApiTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/FormDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/FormTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/Error\/ApiErrorTranslationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/Merge\/LexemeFormsMergerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/TemplateModule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/Services\/Diff\/LexemePatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditSenseElementsRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/GlossesChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/ChangeOp\/Deserialization\/GlossesChangeOpDeserializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Content\/LexemeHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/LexemeTermFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/GrammaticalFeatureItemIdsExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/FormStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/Sense.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":40,"column":40}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/LexemeIdHtmlFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/AddFormToLexemeChangeOpTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/LexemeDescriptionTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/AddSenseDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpLemmaRemoveTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/SenseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/SenseSerializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/Services\/Diff\/FormDifferTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/CartesianProduct.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddFormRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRemoveSenseGlossTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/CreateReservedLexemes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeOp\/Validation\/LexemeTermSerializationValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Scribunto\/WikibaseLexemeLibraryTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/WikibaseLexemeExtensionRegistrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/Formatters\/LexemeLinkFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/LexemeViewFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Content\/LexemeLanguageNameLookupAndFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Rdf\/LexemeRdfBuilderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/SensePatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/Services\/Diff\/SenseDifferTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/LexemeId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditFormElementsRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Formatters\/SenseIdTextFormatter.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":51,"column":37}]},"\/src\/repo\/src\/Domain\/Model\/Exceptions\/ConflictException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/TermGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataAccess\/Store\/SenseRevisionLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditFormElements.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpGlossListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/LexemeNamespaceTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewLexemeTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/RedirectedLexemeSubEntityIdHtmlFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Diff\/GrammaticalFeatureDiffVisualizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/EntityReferenceExtractors\/FormsStatementEntityReferenceExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/View\/LexemeMetaTagsCreator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveSenseRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRemoveSenseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Interactors\/MergeLexemes\/MergeLexemesInteractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Rdf\/LexemeSpecificComponentsRdfBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/LexemePatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/AddForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/NewSense.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpFormAddTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/LexemeDifferPatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/LemmaTextSummaryFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/LexemeDiffVisualizerIntegrationTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":132,"column":47},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":225,"column":47},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":319,"column":47}]},"\/src\/repo\/src\/MediaWiki\/Api\/MergeLexemes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/SensesViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Rdf\/LexemeRdfBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/SenseListChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditFormElementsRequestParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataAccess\/EntityLemmaLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/Formatters\/FormLinkFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Presentation\/Content\/LemmaTextSummaryFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/ChangeSenseDiffOp.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRemoveFormRepresentationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Merge\/Exceptions\/LexemeNotFoundExceptionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/EditFormElementsRequest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/LexemeViewFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/SenseStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveSenseTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":99,"column":56}]},"\/src\/repo\/src\/Domain\/Model\/SenseSet.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Rdf\/LexemeStubRdfBuilderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpSenseEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/SenseIdTextFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/FormSetTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Hooks\/Formatters\/FormLinkFormatterIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/Serialization\/SenseDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/StorageLexemeSerializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Diff\/RemoveSenseDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Domain\/Model\/FormId.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveFormRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/LexemeStoreIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Validation\/LexemeTermLanguageValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/Merge\/MergeLexemesInteractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/LexemeMetaTagsCreatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpLanguageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/SenseIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.mediawiki-services.php":{"errors":0,"warnings":21,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":48,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":49,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":51,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":52,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":55,"column":20},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":57,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":58,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":59,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":60,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":61,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":63,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":64,"column":22},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":65,"column":24},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":66,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":68,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":69,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":70,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":72,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":73,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":74,"column":21},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":75,"column":21}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/AddSenseToLexemeChangeOpTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddFormRequestParserIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/SenseChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpRepresentationListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/WikibaseLexemeHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Specials\/SpecialNewLexeme.php":{"errors":0,"warnings":5,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":216,"column":36},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":227,"column":45},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":228,"column":43},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":233,"column":39},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":473,"column":23}]},"\/src\/repo\/src\/MediaWiki\/Api\/RemoveSense.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.datatypes.client.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/FormDiffViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/ParameterIsNotAJsonObject.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/FormDifferPatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Specials\/HTMLForm\/LemmaLanguageField.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/SenseSetTest.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":112,"column":52},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":116,"column":67}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpLexicalCategoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/FormNotFound.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/SenseRevisionLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveFormTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":99,"column":56}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpsSensesEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Validators\/NoCrossReferencingLexemeStatementsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpFormCloneTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/InvalidSenseClaims.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Api\/Error\/LexemeTermLanguageCanNotBeEmpty.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveSenseRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/SenseIdHtmlFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Validators\/LemmaTermValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/FormIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/ExternalLexemeSerializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Specials\/SpecialNewLexemeTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":254,"column":26},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":296,"column":29},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":375,"column":45}]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/SenseDifferPatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/FormIdHtmlFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/FormListChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditSenseElementsRequestParserIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/Merge\/LexemeSensesMergerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Rdf\/LexemeSpecificComponentsRdfBuilderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/LexemeTermFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/MediaWikiPageSubEntityMetaDataAccessorTest.php":{"errors":0,"warnings":4,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":33,"column":70},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":34,"column":65},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":37,"column":56},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":52,"column":24}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Specials\/HTMLForm\/LemmaLanguageFieldTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.entitytypes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/SenseDiffViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/LexemeIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpFormEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/resources\/templates.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/View\/LexemeViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/WikibaseLexeme.entitytypes.repo.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/Diff\/LexemeDiffTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpGrammaticalFeaturesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/ChangeOpLemmaEditTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/SetClaimTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/MediaWiki\/Specials\/SpecialMergeLexemes.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":234,"column":25}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Formatters\/FormIdTextFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Specials\/LexemeSpecialEntityDataTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/EditSenseChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/SenseSerializer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/ItemReferenceDifferenceVisualizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Services\/SenseLabelDescriptionLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditFormElementsTest.php":{"errors":0,"warnings":4,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":149,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":161,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":176,"column":46},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":193,"column":46}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddSenseRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/LexicalCategoryChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Serialization\/StorageLexemeSerializer.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":94,"column":31}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditFormElementsRequestParserIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DataModel\/Serialization\/LexemeDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/WikibaseLexemeServicesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddFormRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/maintenance\/DumpJsonTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/LexemeGetEntitiesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/FormStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Diff\/LexemeDiffVisualizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/SenseGenerator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/FormTitleStoreLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/ErisTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Specials\/SpecialMergeLexemesTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":354,"column":44}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/MergeLexemesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Store\/FormRevisionLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/Merge\/LexemeMergerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Actions\/LexemeHistoryActionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/DummyObjects\/BlankSenseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Content\/LexemeContentTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditSenseElementsRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/EnabledEntityTypesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditSenseElementsTest.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":135,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":147,"column":44}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/SearchEntitiesIntegrationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/composer\/ErisGenerators\/CartesianProductTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/EditFormElementsRequestTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/LexemeEditPageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/RemoveSenseRequestParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ParserOutput\/LexemeEntityParserOutputGeneratorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/LexemeTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/DataModel\/LexemeSubEntityIdTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/EditFormChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/RepresentationsChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/LexemeEditEntityTest.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":1104,"column":32}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/ChangeOp\/Deserialization\/LexemeChangeOpDeserializerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddSenseTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":99,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":111,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":123,"column":44}]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/LexemeApiQueryBacklinksTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mediawiki\/Api\/AddFormTest.php":{"errors":0,"warnings":3,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":113,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":125,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":137,"column":44}]}}} --- end --- $ git checkout .phpcs.xml --- stderr --- Updated 1 path from the index --- stdout --- --- end --- $ /usr/bin/composer install --- stderr --- Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Generating autoload files 16 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- --- end --- $ /usr/bin/composer test --- stderr --- > parallel-lint . --exclude vendor --exclude node_modules --exclude resources/special/new-lexeme > phpcs -sp --cache > minus-x check . --- stdout --- PHP 8.2.20 | 10 parallel jobs ............................................................ 60/416 ( 14%) ............................................................ 120/416 ( 28%) ............................................................ 180/416 ( 43%) ............................................................ 240/416 ( 57%) ............................................................ 300/416 ( 72%) ............................................................ 360/416 ( 86%) ........................................................ 416/416 (100%) Checked 416 files in 1.7 seconds No syntax error found ............................................................ 60 / 60 (100%) Time: 455ms; Memory: 22MB MinusX ====== Processing /src/repo... ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ..................................... All good! --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "request": { "name": "request", "severity": "moderate", "isDirect": true, "via": [ { "source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": [ "CWE-918" ], "cvss": { "score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, "range": "<=2.88.2" }, "tough-cookie" ], "effects": [], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/request/node_modules/tough-cookie" ], "fixAvailable": false } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 2, "high": 0, "critical": 0, "total": 2 }, "dependencies": { "prod": 1, "dev": 848, "optional": 5, "peer": 19, "peerOptional": 0, "total": 848 } } } --- end --- Attempting to npm audit fix $ /usr/bin/npm audit fix --dry-run --only=dev --json --- stderr --- npm WARN invalid config only="dev" set in command line options npm WARN invalid config Must be one of: null, prod, production --- stdout --- { "added": 848, "removed": 0, "changed": 0, "audited": 849, "funding": 183, "audit": { "auditReportVersion": 2, "vulnerabilities": { "request": { "name": "request", "severity": "moderate", "isDirect": true, "via": [ { "source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": [ "CWE-918" ], "cvss": { "score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, "range": "<=2.88.2" }, "tough-cookie" ], "effects": [], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/request/node_modules/tough-cookie" ], "fixAvailable": false } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 2, "high": 0, "critical": 0, "total": 2 }, "dependencies": { "prod": 1, "dev": 848, "optional": 5, "peer": 19, "peerOptional": 0, "total": 848 } } } } --- end --- {"added": 848, "removed": 0, "changed": 0, "audited": 849, "funding": 183, "audit": {"auditReportVersion": 2, "vulnerabilities": {"request": {"name": "request", "severity": "moderate", "isDirect": true, "via": [{"source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": ["CWE-918"], "cvss": {"score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}, "range": "<=2.88.2"}, "tough-cookie"], "effects": [], "range": "*", "nodes": ["node_modules/request"], "fixAvailable": false}, "tough-cookie": {"name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [{"source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}, "range": "<4.1.3"}], "effects": ["request"], "range": "<4.1.3", "nodes": ["node_modules/request/node_modules/tough-cookie"], "fixAvailable": false}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 2, "high": 0, "critical": 0, "total": 2}, "dependencies": {"prod": 1, "dev": 848, "optional": 5, "peer": 19, "peerOptional": 0, "total": 848}}}} $ /usr/bin/npm audit fix --only=dev --- stderr --- npm WARN invalid config only="dev" set in command line options npm WARN invalid config Must be one of: null, prod, production npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated grunt-jasmine-nodejs@1.6.1: Deprecated in favor of npm scripts. npm WARN deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported npm WARN deprecated glob@7.2.0: Glob versions prior to v9 are no longer supported npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated superagent@6.1.0: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net --- stdout --- added 847 packages, and audited 848 packages in 23s 183 packages are looking for funding run `npm fund` for details # npm audit report request * Severity: moderate Server-Side Request Forgery in Request - https://github.com/advisories/GHSA-p8p7-x288-28g6 Depends on vulnerable versions of tough-cookie No fix available node_modules/request tough-cookie <4.1.3 Severity: moderate tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3 No fix available node_modules/request/node_modules/tough-cookie 2 moderate severity vulnerabilities Some issues need review, and may require choosing a different dependency. --- end --- Verifying that tests still pass $ /usr/bin/npm ci --- stderr --- npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated grunt-jasmine-nodejs@1.6.1: Deprecated in favor of npm scripts. npm WARN deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported npm WARN deprecated glob@7.2.0: Glob versions prior to v9 are no longer supported npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated superagent@6.1.0: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net --- stdout --- added 847 packages, and audited 848 packages in 18s 183 packages are looking for funding run `npm fund` for details 2 moderate severity vulnerabilities Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. --- end --- $ /usr/bin/npm test --- stderr --- [Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead. [Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead. [Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead. [Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead. [Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead. [33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.[39m DEPRECATION WARNING: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ╷ 6 │ ┌ & > * + * { 7 │ │ margin-top: $dimension-layout-xsmall; 8 │ │ } │ └─── nested rule ... │ 11 │ padding: $dimension-layout-small; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration ╵ src/components/NewLexemeForm.vue 11:2 root stylesheet DEPRECATION WARNING: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ╷ 6 │ ┌ & > * + * { 7 │ │ margin-top: $dimension-layout-xsmall; 8 │ │ } │ └─── nested rule ... │ 14 │ border-style: $border-style-base; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration ╵ src/components/NewLexemeForm.vue 14:2 root stylesheet DEPRECATION WARNING: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ╷ 6 │ ┌ & > * + * { 7 │ │ margin-top: $dimension-layout-xsmall; 8 │ │ } │ └─── nested rule ... │ 15 │ border-width: $border-width-thin; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration ╵ src/components/NewLexemeForm.vue 15:2 root stylesheet DEPRECATION WARNING: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ╷ 6 │ ┌ & > * + * { 7 │ │ margin-top: $dimension-layout-xsmall; 8 │ │ } │ └─── nested rule ... │ 16 │ border-radius: $border-radius-base; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration ╵ src/components/NewLexemeForm.vue 16:2 root stylesheet DEPRECATION WARNING: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ╷ 6 │ ┌ & > * + * { 7 │ │ margin-top: $dimension-layout-xsmall; 8 │ │ } │ └─── nested rule ... │ 17 │ border-color: $border-color-base-subtle; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration ╵ src/components/NewLexemeForm.vue 17:2 root stylesheet --- stdout --- > test > run-s test:* > test:grunt > grunt test Running "eslint:all" (eslint) task /src/repo/cypress/support/pageObjects/FormsSection.ts 143:2 warning Missing JSDoc @return declaration jsdoc/require-returns 144:1 warning Missing JSDoc @param "formId" type jsdoc/require-param-type /src/repo/resources/entityChangers/FormChanger.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/resources/entityChangers/SenseChanger.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/resources/jquery.wikibase.lexemeformview.js 287:1 warning Missing JSDoc @param "lemmas" type jsdoc/require-param-type 288:1 warning Missing JSDoc @param "formIndex" type jsdoc/require-param-type 289:1 warning Missing JSDoc @param "formId" type jsdoc/require-param-type 290:1 warning Missing JSDoc @param "representations" type jsdoc/require-param-type /src/repo/resources/jquery.wikibase.lexemeview.js 25:1 warning Expected 0 trailing lines jsdoc/tag-lines /src/repo/resources/serialization/FormSerializer.js 12:1 warning The type 'serialization' is undefined jsdoc/no-undefined-types /src/repo/resources/serialization/LexemeDeserializer.js 10:1 warning The type 'SERIALIZER' is undefined jsdoc/no-undefined-types /src/repo/resources/serialization/SenseSerializer.js 12:1 warning The type 'serialization' is undefined jsdoc/no-undefined-types /src/repo/resources/special/NewLexeme.js 6:2 warning Unused eslint-disable directive (no problems were reported from 'no-undef') /src/repo/resources/special/NewLexemeFallback.js 8:3 warning NodeList.forEach not supported by Chrome<51, Firefox<50, Safari<10, IE & others. Use Array.prototype.forEach.call instead mediawiki/no-nodelist-unsupported-methods /src/repo/resources/view/ViewFactoryFactory.js 17:1 warning Syntax error in type: [] jsdoc/valid-types /src/repo/resources/widgets/GlossWidget.js 34:1 warning Syntax error in type: [{ value: string, language: string }] jsdoc/valid-types /src/repo/tests/qunit/datamodel/Form.tests.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/tests/qunit/datamodel/Sense.tests.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/tests/qunit/entityChangers/FormChanger.tests.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/tests/qunit/entityChangers/SenseChanger.tests.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/tests/qunit/jquery.wikibase.lexemeformlistview.tests.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/tests/qunit/jquery.wikibase.lexemeformview.tests.js 1:1 warning Missing JSDoc @param "require" declaration jsdoc/require-param 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/tests/qunit/jquery.wikibase.senselistview.tests.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/tests/qunit/jquery.wikibase.senseview.tests.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/tests/qunit/serialization/LexemeDeserializer.tests.js 1:1 warning Missing JSDoc @param "wb" declaration jsdoc/require-param /src/repo/tests/qunit/widgets/GrammaticalFeatureListWidget.tests.js 1:1 warning Missing JSDoc @param "QUnit" declaration jsdoc/require-param 1:1 warning Missing JSDoc @param "require" declaration jsdoc/require-param 1:1 warning Missing JSDoc @param "sinon" declaration jsdoc/require-param ✖ 29 problems (0 errors, 29 warnings) 0 errors and 17 warnings potentially fixable with the `--fix` option. Running "banana:WikibaseLexeme" (banana) task >> The "fr" translation has 2 translations with trailing whitespace: >> * wikibaselexeme-formidformatter-separator-multiple-representation >> * wikibaselexeme-presentation-lexeme-display-label-separator-multiple-lemma >> 3 message directories checked. Running "jasmine_nodejs:all" (jasmine_nodejs) task >> Executing 127 defined specs... Test Suites & Specs: 1) store ✔ creates initial state 2) wikibase.lexeme.widgets.LexemeHeader 3) hasChanges ✔ returns true when lemmas change ✔ ignores added empty lemmas ✔ returns true when language changes ✔ returns true when lexical category changes ✔ returns false by default 4) isUnsaveable ✔ returns false by default ✔ returns true when there are no changes ✔ returns true when there are changes but saving is ongoing ✔ returns true when there are changes but also lemmas with redundant languages ✔ shows save button enabled when not unsaveable ✔ binds to lemma-widget hasRedundantLanguage event ✔ switch to edit mode ✔ passes lemmas to LemmaWidget ✔ passes language and lexical category to LanguageAndLexicalCategoryWidget ✔ updates language and lexical category on save ✔ shows save button disabled without changes ✔ cancel edit mode ✔ save lemma list with error ✔ save lemma list ✔ attempting to save with empty lemmas fails ✔ shows save button disabled when unsaveable 5) RedundantLanguageIndicator ✔ creates mixin watch handler that can find multiple redundant languages ✔ creates mixin definition that adds a redundantLanguages property to data ✔ creates mixin watch handler that updates redundantLanguages with respective language values ✔ creates mixin watch handler not taking offence in repeated empty language ✔ creates mixin definition with watch that fires immediately ✔ creates mixin property hasRedundantLanguage returning true for existing redundantLanguages ✔ creates mixin definition with watch that monitors the property recursively ✔ creates mixin property hasRedundantLanguage returning false for empty redundantLanguages ✔ creates mixin definition providing computed property hasRedundantLanguage ✔ creates mixin definition method isRedundantLanguage returning false for empty redundantLanguages ✔ creates mixin definition with watch on desired property ✔ creates mixin definition providing method to determine if language isRedundantLanguage 6) RepresentationWidget ✔ is not in edit mode after editing is stopped ✔ detects redundant representation languages and can mark the individual languages ✔ can carry redundant representations ✔ detects redundant representation languages and marks the widget ✔ cannot remove representation if not in edit mode ✔ is not in edit mode after being created ✔ adds a new representation with lemma language when editing the widget with no representations and one lemma ✔ switches to edit mode when editing ✔ shows only the representation it contains when editing the widget with some representation ✔ adds an empty representation on add ✔ adds a new empty representation when editing the widget with no representations and multiple lemmas ✔ can remove a representation ✔ adds a representation with unique lemmas language on add after delete ✔ cannot add representation if not in edit mode 7) actions ✔ ADD_REPRESENTATION on state having no representations and one lemma mutates to empty values and derives lemma language ✔ UPDATE_REPRESENTATION_VALUE delegates to mutation ✔ REMOVE_REPRESENTATION delegates to mutation ✔ ADD_REPRESENTATION on state having existing representation and one lemma mutates to empty values ✔ ADD_REPRESENTATION on state having no representations and multiple lemmas mutates to empty values ✔ UPDATE_REPRESENTATION_LANGUAGE delegates to mutation ✔ REPLACE_ALL_REPRESENTATIONS delegates to mutation 8) mutations ✔ UPDATE_REPRESENTATION_LANGUAGE changes correct representation language ✔ DERIVE_REPRESENTATION_LANGUAGE_FROM_LEMMA changes representation language correctly ✔ REPLACE_ALL_REPRESENTATIONS replaces representations of correct form ✔ UPDATE_REPRESENTATION_VALUE changes correct representation value ✔ ADD_REPRESENTATION adds a new representation to the right form ✔ REMOVE_REPRESENTATION removes representation leaving others with updated index 9) wikibase.lexeme.widgets.LemmaWidget ✔ edit mode is true ✔ detects redundant lemma language to mark the individual languages ✔ detects redundant lemma languages to mark the widget ✔ initialize widget with one lemma ✔ marks-up the lemma term with the lemma language ✔ add a new lemma ✔ remove a lemma ✔ edit mode is false ✔ can carry redundant lemma languages 10) mutationTypes ✔ uses unique ids for all mutation types 11) LexemeHeader.newLexemeHeaderStore ✔ action save calls API with correct parameters when editing one of several existing lemmas ✔ action save calls API with correct parameters when adding, editing and removing lemmas ✔ action save calls API with correct parameters when editing several existing lemmas ✔ action save on success mutates the state to start saving, updates state and finishes saving ✔ action save calls API with correct parameters when removing an item from the state ✔ action save calls API with correct parameters when editing an existing lemma ✔ action save on success processes tempuser values when present ✔ mutation startSaving switches the isSaving flag to true ✔ mutation updateLemmas changes lemmas to given values ✔ action save calls API with correct parameters and changes state using data from response ✔ failed save returns rejected promise with first error object if API returns multiple errors ✔ mutation updateLanguage changes lexical category and the link to given values ✔ action save calls API with correct parameters when removing one of several existing lemmas ✔ mutation finishSaving switches the isSaving flag to false ✔ failed save returns rejected promise with a single error object ✔ mutation updateRevisionId changes baseRevId to given value ✔ mutation updateLanguage changes language and languageLink to given values 12) actionTypes ✔ uses unique ids for all action types 13) LemmaList ✔ getLemmas 14) equals ✔ returns false for LemmaList of different length ✔ returns false for LemmaList with different lemmas ✔ returns true for LemmaList with same lemmas ✔ ignores empty lemmas ✔ returns false for objects that are not of type LemmaList ✔ add ✔ remove 15) copy ✔ creates an identical LemmaList ✔ clones Lemmas ✔ length 16) ItemSelectorWrapper ✔ passes the item ID to the entityselector widget on mount 17) LanguageAndLexicalCategoryWidget ✔ switches to edit mode and back ✔ shows the language and the lexical category 18) GlossWidget ✔ removes empty glosses when saved ✔ remove a gloss ✔ create with no glosses - when switched to edit mode empty gloss is added ✔ switch to edit mode ✔ initialize widget with one gloss ✔ stop editing ✔ add a new gloss 19) InvalidLanguageIndicator ✔ creates mixin property hasInvalidLanguage returning true for existing InvalidLanguages ✔ creates mixin watch handler not taking offence in empty language ✔ creates mixin definition with watch that does not fire immediately ✔ creates mixin definition with watch on desired property ✔ creates mixin definition that adds an InvalidLanguages property to data ✔ creates mixin definition method isInvalidLanguage returning false for empty InvalidLanguages ✔ creates mixin property hasInvalidLanguage returning false for empty InvalidLanguages ✔ creates mixin definition providing computed property hasInvalidLanguage ✔ creates mixin definition providing method to determine if language isInvalidLanguage ✔ creates mixin watch handler that can find multiple invalid languages ✔ creates mixin watch handler that updates InvalidLanguages with respective language values ✔ creates mixin definition with watch that monitors the property recursively 20) focusElement ✔ returns a callback without doing anything else 21) callback ✔ calls focus on selected element ✔ can handle missing element 22) LexemeSubEntityId 23) getIdSuffix ✔ returns the Form id suffix ✔ returns the Sense id suffix >> Done! Summary: Suites: 23 of 23 Specs: 127 of 127 Expects: 0 (0 failures) Finished in 0.747 seconds >> Successful! Running "jasmine_nodejs_reset" task Running "stylelint:all" (stylelint) task >> Linted 7 files without errors Done. > test:snl-distnodiff > run-s snl:install snl:build snl:cp snl:diff > snl:install > npm -C $npm_package_config_snl_src i > new-lexeme-special-page@0.0.1 prepare > husky added 1160 packages, and audited 1161 packages in 33s 206 packages are looking for funding run `npm fund` for details 4 vulnerabilities (2 moderate, 2 high) To address all issues, run: npm audit fix Run `npm audit` for details. > snl:build > npm -C $npm_package_config_snl_src run build > new-lexeme-special-page@0.0.1 build > vite build vite v5.4.0 building for production... transforming... ✓ 100 modules transformed. rendering chunks... computing gzip size... dist/style.css 27.27 kB │ gzip: 4.20 kB dist/SpecialNewLexeme.cjs.js 104.34 kB │ gzip: 34.83 kB ✓ built in 2.85s > snl:cp > run-p snl:cp:* > snl:cp:cjs > cp $npm_package_config_snl_src/dist/$npm_package_config_snl_cjs $npm_package_config_snl_dist/ > snl:cp:css > cp $npm_package_config_snl_src/dist/$npm_package_config_snl_css $npm_package_config_snl_dist/ > snl:diff > git diff --exit-code $npm_package_config_snl_dist > test:snl-main > git -C $npm_package_config_snl_src branch --contains HEAD main | grep -q . > test:mwlibs > echo 'disabled (T297381)' # ZUUL_BRANCH=${ZUUL_BRANCH:-master} lib-version-check disabled (T297381) --- end --- $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 $ git add . --- stdout --- --- end --- $ git commit -F /tmp/tmpwwk1qm0x --- stdout --- [master 5178e9f] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 49 files changed, 78 insertions(+), 78 deletions(-) --- end --- $ git format-patch HEAD~1 --stdout --- stdout --- From 5178e9f8bc117ae1710b49e9a278c211f9faf112 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Sat, 2 Nov 2024 04:41:32 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 Change-Id: I4f758c1b48e6df178630582505e6faffd66efa03 --- composer.json | 2 +- .../ChangeOp/AddFormToLexemeChangeOp.php | 2 +- .../ChangeOp/AddSenseToLexemeChangeOp.php | 2 +- src/DataAccess/ChangeOp/ChangeOpFormAdd.php | 2 +- src/DataAccess/ChangeOp/ChangeOpFormClone.php | 2 +- src/DataAccess/ChangeOp/ChangeOpFormEdit.php | 2 +- src/DataAccess/ChangeOp/ChangeOpGloss.php | 4 ++-- src/DataAccess/ChangeOp/ChangeOpGlossList.php | 2 +- .../ChangeOp/ChangeOpGrammaticalFeatures.php | 4 ++-- src/DataAccess/ChangeOp/ChangeOpLanguage.php | 2 +- src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php | 2 +- src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php | 2 +- .../ChangeOp/ChangeOpLexicalCategory.php | 2 +- src/DataAccess/ChangeOp/ChangeOpRemoveForm.php | 2 +- .../ChangeOpRemoveFormRepresentation.php | 4 ++-- src/DataAccess/ChangeOp/ChangeOpRemoveSense.php | 2 +- .../ChangeOp/ChangeOpRemoveSenseGloss.php | 4 ++-- .../ChangeOp/ChangeOpRepresentation.php | 4 ++-- .../ChangeOp/ChangeOpRepresentationList.php | 2 +- src/DataAccess/ChangeOp/ChangeOpSenseAdd.php | 2 +- src/DataAccess/ChangeOp/ChangeOpSenseClone.php | 2 +- src/DataAccess/ChangeOp/ChangeOpSenseEdit.php | 2 +- src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php | 2 +- src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php | 2 +- src/DataAccess/LexemeDescription.php | 2 +- src/Domain/Diff/AddFormDiff.php | 2 +- src/Domain/Diff/AddSenseDiff.php | 2 +- src/Domain/Diff/ChangeFormDiffOp.php | 2 +- src/Domain/Diff/ChangeSenseDiffOp.php | 2 +- src/Domain/Diff/LexemeDiff.php | 2 +- src/Domain/Diff/RemoveFormDiff.php | 2 +- src/Domain/Diff/RemoveSenseDiff.php | 2 +- src/Domain/Model/Form.php | 2 +- src/Domain/Model/Lexeme.php | 14 +++++++------- src/Domain/Model/Sense.php | 2 +- src/MediaWiki/Content/LexemeContent.php | 8 ++++---- src/MediaWiki/Content/LexemeHandler.php | 4 ++-- .../EntityLinkFormatters/FormLinkFormatter.php | 6 +++--- .../EntityLinkFormatters/LexemeLinkFormatter.php | 6 +++--- src/WikibaseLexemeServices.php | 16 ++++++++-------- .../composer/ErisGenerators/FormGenerator.php | 2 +- .../composer/ErisGenerators/LexemeGenerator.php | 2 +- .../composer/ErisGenerators/SenseGenerator.php | 2 +- .../ErisGenerators/WikibaseLexemeGenerators.php | 2 +- .../mediawiki/Content/LexemeHandlerTest.php | 6 +++--- .../FormLinkFormatterIntegrationTest.php | 2 +- tests/phpunit/mediawiki/Store/FormStoreTest.php | 2 +- tests/phpunit/mediawiki/Store/SenseStoreTest.php | 2 +- tests/phpunit/mediawiki/View/LexemeViewTest.php | 4 ++-- 49 files changed, 78 insertions(+), 78 deletions(-) diff --git a/composer.json b/composer.json index 0aada68..9f9e0ff 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "davidrjonas/composer-lock-diff": "^1.4", "giorgiosironi/eris": "^0.14.0", "hamcrest/hamcrest-php": "^2.0", - "mediawiki/mediawiki-codesniffer": "44.0.0", + "mediawiki/mediawiki-codesniffer": "45.0.0", "mediawiki/mediawiki-phan-config": "0.14.0", "mediawiki/minus-x": "1.1.3", "php-parallel-lint/php-console-highlighter": "1.0.0", diff --git a/src/DataAccess/ChangeOp/AddFormToLexemeChangeOp.php b/src/DataAccess/ChangeOp/AddFormToLexemeChangeOp.php index c99338b..4033a22 100644 --- a/src/DataAccess/ChangeOp/AddFormToLexemeChangeOp.php +++ b/src/DataAccess/ChangeOp/AddFormToLexemeChangeOp.php @@ -40,7 +40,7 @@ class AddFormToLexemeChangeOp implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $form, Summary $summary = null ) { + public function apply( EntityDocument $form, ?Summary $summary = null ) { Assert::parameterType( BlankForm::class, $form, '$form' ); '@phan-var BlankForm $form'; diff --git a/src/DataAccess/ChangeOp/AddSenseToLexemeChangeOp.php b/src/DataAccess/ChangeOp/AddSenseToLexemeChangeOp.php index 085dde3..f7179d5 100644 --- a/src/DataAccess/ChangeOp/AddSenseToLexemeChangeOp.php +++ b/src/DataAccess/ChangeOp/AddSenseToLexemeChangeOp.php @@ -40,7 +40,7 @@ class AddSenseToLexemeChangeOp implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $sense, Summary $summary = null ) { + public function apply( EntityDocument $sense, ?Summary $summary = null ) { Assert::parameterType( BlankSense::class, $sense, '$entity' ); '@phan-var BlankSense $sense'; diff --git a/src/DataAccess/ChangeOp/ChangeOpFormAdd.php b/src/DataAccess/ChangeOp/ChangeOpFormAdd.php index 67abcf9..e3e8cf5 100644 --- a/src/DataAccess/ChangeOp/ChangeOpFormAdd.php +++ b/src/DataAccess/ChangeOp/ChangeOpFormAdd.php @@ -37,7 +37,7 @@ class ChangeOpFormAdd extends ChangeOpBase { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpFormClone.php b/src/DataAccess/ChangeOp/ChangeOpFormClone.php index 8c49185..0521ecb 100644 --- a/src/DataAccess/ChangeOp/ChangeOpFormClone.php +++ b/src/DataAccess/ChangeOp/ChangeOpFormClone.php @@ -37,7 +37,7 @@ class ChangeOpFormClone implements ChangeOp { $this->guidGenerator = $guidGenerator; } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; /** @var Form $entity */ diff --git a/src/DataAccess/ChangeOp/ChangeOpFormEdit.php b/src/DataAccess/ChangeOp/ChangeOpFormEdit.php index d78ff99..74ef36f 100644 --- a/src/DataAccess/ChangeOp/ChangeOpFormEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpFormEdit.php @@ -39,7 +39,7 @@ class ChangeOpFormEdit implements ChangeOp { $this->summaryAggregator = new SummaryAggregator( self::SUMMARY_ACTION_AGGREGATE ); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpGloss.php b/src/DataAccess/ChangeOp/ChangeOpGloss.php index 9139b96..19aebdb 100644 --- a/src/DataAccess/ChangeOp/ChangeOpGloss.php +++ b/src/DataAccess/ChangeOp/ChangeOpGloss.php @@ -35,7 +35,7 @@ class ChangeOpGloss implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Sense::class, $entity, '$entity' ); '@phan-var Sense $entity'; @@ -52,7 +52,7 @@ class ChangeOpGloss implements ChangeOp { return [ EntityPermissionChecker::ACTION_EDIT ]; } - private function updateSummary( Sense $sense, Summary $summary = null ) { + private function updateSummary( Sense $sense, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpGlossList.php b/src/DataAccess/ChangeOp/ChangeOpGlossList.php index aeb56f7..d10ac6f 100644 --- a/src/DataAccess/ChangeOp/ChangeOpGlossList.php +++ b/src/DataAccess/ChangeOp/ChangeOpGlossList.php @@ -37,7 +37,7 @@ class ChangeOpGlossList implements ChangeOp { $this->summaryAggregator = new SummaryAggregator( self::SUMMARY_ACTION_AGGREGATE ); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Sense::class, $entity, '$entity' ); foreach ( $this->changeOps as $changeOp ) { diff --git a/src/DataAccess/ChangeOp/ChangeOpGrammaticalFeatures.php b/src/DataAccess/ChangeOp/ChangeOpGrammaticalFeatures.php index 12a474f..efca927 100644 --- a/src/DataAccess/ChangeOp/ChangeOpGrammaticalFeatures.php +++ b/src/DataAccess/ChangeOp/ChangeOpGrammaticalFeatures.php @@ -36,7 +36,7 @@ class ChangeOpGrammaticalFeatures implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; @@ -52,7 +52,7 @@ class ChangeOpGrammaticalFeatures implements ChangeOp { return [ EntityPermissionChecker::ACTION_EDIT ]; } - private function updateSummary( Form $form, Summary $summary = null ) { + private function updateSummary( Form $form, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpLanguage.php b/src/DataAccess/ChangeOp/ChangeOpLanguage.php index 3e5b2bf..1bbe9be 100644 --- a/src/DataAccess/ChangeOp/ChangeOpLanguage.php +++ b/src/DataAccess/ChangeOp/ChangeOpLanguage.php @@ -44,7 +44,7 @@ class ChangeOpLanguage extends ChangeOpBase { * * @throws InvalidArgumentException */ - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php b/src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php index cecb976..90f30bf 100644 --- a/src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpLemmaEdit.php @@ -69,7 +69,7 @@ class ChangeOpLemmaEdit extends ChangeOpBase { * * @throws InvalidArgumentException */ - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php b/src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php index 047e775..17765a5 100644 --- a/src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php +++ b/src/DataAccess/ChangeOp/ChangeOpLemmaRemove.php @@ -47,7 +47,7 @@ class ChangeOpLemmaRemove extends ChangeOpBase { * * @throws InvalidArgumentException */ - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpLexicalCategory.php b/src/DataAccess/ChangeOp/ChangeOpLexicalCategory.php index 5f71a5a..9a33501 100644 --- a/src/DataAccess/ChangeOp/ChangeOpLexicalCategory.php +++ b/src/DataAccess/ChangeOp/ChangeOpLexicalCategory.php @@ -47,7 +47,7 @@ class ChangeOpLexicalCategory extends ChangeOpBase { * * @throws InvalidArgumentException */ - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpRemoveForm.php b/src/DataAccess/ChangeOp/ChangeOpRemoveForm.php index 374b52a..90293ad 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRemoveForm.php +++ b/src/DataAccess/ChangeOp/ChangeOpRemoveForm.php @@ -50,7 +50,7 @@ class ChangeOpRemoveForm extends ChangeOpBase { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpRemoveFormRepresentation.php b/src/DataAccess/ChangeOp/ChangeOpRemoveFormRepresentation.php index 315a993..c7b6740 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRemoveFormRepresentation.php +++ b/src/DataAccess/ChangeOp/ChangeOpRemoveFormRepresentation.php @@ -38,7 +38,7 @@ class ChangeOpRemoveFormRepresentation implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; @@ -57,7 +57,7 @@ class ChangeOpRemoveFormRepresentation implements ChangeOp { return new DummyChangeOpResult(); } - private function updateSummary( Form $form, Summary $summary = null ) { + private function updateSummary( Form $form, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpRemoveSense.php b/src/DataAccess/ChangeOp/ChangeOpRemoveSense.php index afc3f4d..ed30f06 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRemoveSense.php +++ b/src/DataAccess/ChangeOp/ChangeOpRemoveSense.php @@ -50,7 +50,7 @@ class ChangeOpRemoveSense extends ChangeOpBase { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpRemoveSenseGloss.php b/src/DataAccess/ChangeOp/ChangeOpRemoveSenseGloss.php index de401ef..e138160 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRemoveSenseGloss.php +++ b/src/DataAccess/ChangeOp/ChangeOpRemoveSenseGloss.php @@ -38,7 +38,7 @@ class ChangeOpRemoveSenseGloss implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Sense::class, $entity, '$entity' ); '@phan-var Sense $entity'; @@ -57,7 +57,7 @@ class ChangeOpRemoveSenseGloss implements ChangeOp { return new DummyChangeOpResult(); } - private function updateSummary( Sense $sense, Summary $summary = null ) { + private function updateSummary( Sense $sense, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpRepresentation.php b/src/DataAccess/ChangeOp/ChangeOpRepresentation.php index 8c678f3..3def3bb 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRepresentation.php +++ b/src/DataAccess/ChangeOp/ChangeOpRepresentation.php @@ -35,7 +35,7 @@ class ChangeOpRepresentation implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); '@phan-var Form $entity'; @@ -52,7 +52,7 @@ class ChangeOpRepresentation implements ChangeOp { return [ EntityPermissionChecker::ACTION_EDIT ]; } - private function updateSummary( Form $form, Summary $summary = null ) { + private function updateSummary( Form $form, ?Summary $summary = null ) { if ( $summary === null ) { return; } diff --git a/src/DataAccess/ChangeOp/ChangeOpRepresentationList.php b/src/DataAccess/ChangeOp/ChangeOpRepresentationList.php index 668fe40..bdaee07 100644 --- a/src/DataAccess/ChangeOp/ChangeOpRepresentationList.php +++ b/src/DataAccess/ChangeOp/ChangeOpRepresentationList.php @@ -37,7 +37,7 @@ class ChangeOpRepresentationList implements ChangeOp { $this->summaryAggregator = new SummaryAggregator( self::SUMMARY_ACTION_AGGREGATE ); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Form::class, $entity, '$entity' ); foreach ( $this->changeOps as $changeOp ) { diff --git a/src/DataAccess/ChangeOp/ChangeOpSenseAdd.php b/src/DataAccess/ChangeOp/ChangeOpSenseAdd.php index c6a4c3e..6eb83d1 100644 --- a/src/DataAccess/ChangeOp/ChangeOpSenseAdd.php +++ b/src/DataAccess/ChangeOp/ChangeOpSenseAdd.php @@ -44,7 +44,7 @@ class ChangeOpSenseAdd extends ChangeOpBase { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpSenseClone.php b/src/DataAccess/ChangeOp/ChangeOpSenseClone.php index 561ae5c..9cf185d 100644 --- a/src/DataAccess/ChangeOp/ChangeOpSenseClone.php +++ b/src/DataAccess/ChangeOp/ChangeOpSenseClone.php @@ -29,7 +29,7 @@ class ChangeOpSenseClone implements ChangeOp { $this->sourceSense = $sourceSense->copy(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( BlankSense::class, $entity, '$entity' ); '@phan-var Sense $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpSenseEdit.php b/src/DataAccess/ChangeOp/ChangeOpSenseEdit.php index 3681925..8a58cf8 100644 --- a/src/DataAccess/ChangeOp/ChangeOpSenseEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpSenseEdit.php @@ -39,7 +39,7 @@ class ChangeOpSenseEdit implements ChangeOp { $this->summaryAggregator = new SummaryAggregator( self::SUMMARY_ACTION_AGGREGATE ); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Sense::class, $entity, '$entity' ); '@phan-var Sense $entity'; diff --git a/src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php b/src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php index 3160b30..1febc48 100644 --- a/src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpsFormsEdit.php @@ -57,7 +57,7 @@ class ChangeOpsFormsEdit implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; /** @var Lexeme $entity */ diff --git a/src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php b/src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php index 40d4085..3ad8ae1 100644 --- a/src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php +++ b/src/DataAccess/ChangeOp/ChangeOpsSensesEdit.php @@ -57,7 +57,7 @@ class ChangeOpsSensesEdit implements ChangeOp { return Result::newSuccess(); } - public function apply( EntityDocument $entity, Summary $summary = null ) { + public function apply( EntityDocument $entity, ?Summary $summary = null ) { Assert::parameterType( Lexeme::class, $entity, '$entity' ); '@phan-var Lexeme $entity'; /** @var Lexeme $entity */ diff --git a/src/DataAccess/LexemeDescription.php b/src/DataAccess/LexemeDescription.php index 64dc471..3d5e05b 100644 --- a/src/DataAccess/LexemeDescription.php +++ b/src/DataAccess/LexemeDescription.php @@ -46,7 +46,7 @@ class LexemeDescription { * @return string Label or "" if does not exist. */ public function getLabelOrDefault( - EntityId $id = null, + ?EntityId $id = null, $default = "" ) { if ( !$id ) { diff --git a/src/Domain/Diff/AddFormDiff.php b/src/Domain/Diff/AddFormDiff.php index 5dbe9c6..db0f61c 100644 --- a/src/Domain/Diff/AddFormDiff.php +++ b/src/Domain/Diff/AddFormDiff.php @@ -61,7 +61,7 @@ class AddFormDiff implements FormDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new \LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Diff/AddSenseDiff.php b/src/Domain/Diff/AddSenseDiff.php index 4ada515..b6d016f 100644 --- a/src/Domain/Diff/AddSenseDiff.php +++ b/src/Domain/Diff/AddSenseDiff.php @@ -55,7 +55,7 @@ class AddSenseDiff implements SenseDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Diff/ChangeFormDiffOp.php b/src/Domain/Diff/ChangeFormDiffOp.php index 0891357..133356a 100644 --- a/src/Domain/Diff/ChangeFormDiffOp.php +++ b/src/Domain/Diff/ChangeFormDiffOp.php @@ -65,7 +65,7 @@ class ChangeFormDiffOp extends EntityDiff implements FormDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new \LogicException( "toArray() is not implemented" ); } diff --git a/src/Domain/Diff/ChangeSenseDiffOp.php b/src/Domain/Diff/ChangeSenseDiffOp.php index 457b2fb..3635d21 100644 --- a/src/Domain/Diff/ChangeSenseDiffOp.php +++ b/src/Domain/Diff/ChangeSenseDiffOp.php @@ -59,7 +59,7 @@ class ChangeSenseDiffOp extends EntityDiff implements SenseDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new LogicException( "toArray() is not implemented" ); } diff --git a/src/Domain/Diff/LexemeDiff.php b/src/Domain/Diff/LexemeDiff.php index a579b96..82589ea 100644 --- a/src/Domain/Diff/LexemeDiff.php +++ b/src/Domain/Diff/LexemeDiff.php @@ -99,7 +99,7 @@ class LexemeDiff extends EntityDiff { return $this['nextSenseId'] ?? new Diff( [], true ); } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new \LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Diff/RemoveFormDiff.php b/src/Domain/Diff/RemoveFormDiff.php index 5d2b703..0d9a03e 100644 --- a/src/Domain/Diff/RemoveFormDiff.php +++ b/src/Domain/Diff/RemoveFormDiff.php @@ -61,7 +61,7 @@ class RemoveFormDiff implements FormDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new \LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Diff/RemoveSenseDiff.php b/src/Domain/Diff/RemoveSenseDiff.php index 25628ff..9e4687b 100644 --- a/src/Domain/Diff/RemoveSenseDiff.php +++ b/src/Domain/Diff/RemoveSenseDiff.php @@ -55,7 +55,7 @@ class RemoveSenseDiff implements SenseDiff { return false; } - public function toArray( callable $valueConverter = null ): array { + public function toArray( ?callable $valueConverter = null ): array { throw new LogicException( 'toArray() is not implemented' ); } diff --git a/src/Domain/Model/Form.php b/src/Domain/Model/Form.php index 6628afd..3517c80 100644 --- a/src/Domain/Model/Form.php +++ b/src/Domain/Model/Form.php @@ -45,7 +45,7 @@ class Form implements StatementListProvidingEntity, ClearableEntity { FormId $id, TermList $representations, array $grammaticalFeatures, - StatementList $statementList = null + ?StatementList $statementList = null ) { $this->id = $id; $this->representations = $representations; diff --git a/src/Domain/Model/Lexeme.php b/src/Domain/Model/Lexeme.php index 2c3c192..e549b60 100644 --- a/src/Domain/Model/Lexeme.php +++ b/src/Domain/Model/Lexeme.php @@ -51,15 +51,15 @@ class Lexeme implements StatementListProvidingEntity, ClearableEntity { * corresponding field was never initialized. */ public function __construct( - LexemeId $id = null, - TermList $lemmas = null, - ItemId $lexicalCategory = null, - ItemId $language = null, - StatementList $statements = null, + ?LexemeId $id = null, + ?TermList $lemmas = null, + ?ItemId $lexicalCategory = null, + ?ItemId $language = null, + ?StatementList $statements = null, int $nextFormId = 1, - FormSet $forms = null, + ?FormSet $forms = null, int $nextSenseId = 1, - SenseSet $senses = null + ?SenseSet $senses = null ) { $this->id = $id; $this->lemmas = $lemmas ?: new TermList(); diff --git a/src/Domain/Model/Sense.php b/src/Domain/Model/Sense.php index 773b489..e75037d 100644 --- a/src/Domain/Model/Sense.php +++ b/src/Domain/Model/Sense.php @@ -34,7 +34,7 @@ class Sense implements StatementListProvidingEntity, ClearableEntity { public function __construct( SenseId $id, TermList $glossList, - StatementList $statementList = null + ?StatementList $statementList = null ) { $this->id = $id; $this->glossList = $glossList; // TODO: check there is at least gloss in one language provided diff --git a/src/MediaWiki/Content/LexemeContent.php b/src/MediaWiki/Content/LexemeContent.php index 8e9ff59..1d30916 100644 --- a/src/MediaWiki/Content/LexemeContent.php +++ b/src/MediaWiki/Content/LexemeContent.php @@ -48,9 +48,9 @@ class LexemeContent extends EntityContent { * @throws InvalidArgumentException */ public function __construct( - EntityHolder $lexemeHolder = null, - EntityRedirect $redirect = null, - Title $redirectTitle = null + ?EntityHolder $lexemeHolder = null, + ?EntityRedirect $redirect = null, + ?Title $redirectTitle = null ) { parent::__construct( self::CONTENT_MODEL_ID ); @@ -202,7 +202,7 @@ class LexemeContent extends EntityContent { $this->lexemeHolder = $lexemeHolder; } - private function constructAsRedirect( EntityRedirect $redirect, Title $redirectTitle = null ) { + private function constructAsRedirect( EntityRedirect $redirect, ?Title $redirectTitle = null ) { if ( $redirectTitle === null ) { throw new InvalidArgumentException( '$redirect and $redirectTitle must both be provided or both be empty.' diff --git a/src/MediaWiki/Content/LexemeHandler.php b/src/MediaWiki/Content/LexemeHandler.php index 032438b..68c25d8 100644 --- a/src/MediaWiki/Content/LexemeHandler.php +++ b/src/MediaWiki/Content/LexemeHandler.php @@ -60,7 +60,7 @@ class LexemeHandler extends EntityHandler { FieldDefinitions $lexemeFieldDefinitions, LemmaLookup $lemmaLookup, LexemeTermFormatter $lexemeTermFormatter, - callable $legacyExportFormatDetector = null + ?callable $legacyExportFormatDetector = null ) { parent::__construct( LexemeContent::CONTENT_MODEL_ID, @@ -141,7 +141,7 @@ class LexemeHandler extends EntityHandler { /** * @see EntityHandler::newEntityContent */ - protected function newEntityContent( EntityHolder $entityHolder = null ): LexemeContent { + protected function newEntityContent( ?EntityHolder $entityHolder = null ): LexemeContent { if ( $entityHolder !== null && $entityHolder->getEntityType() === Form::ENTITY_TYPE ) { $formId = $entityHolder->getEntityId(); if ( !( $formId instanceof FormId ) ) { diff --git a/src/MediaWiki/EntityLinkFormatters/FormLinkFormatter.php b/src/MediaWiki/EntityLinkFormatters/FormLinkFormatter.php index 24f04af..43342b9 100644 --- a/src/MediaWiki/EntityLinkFormatters/FormLinkFormatter.php +++ b/src/MediaWiki/EntityLinkFormatters/FormLinkFormatter.php @@ -50,7 +50,7 @@ class FormLinkFormatter implements EntityLinkFormatter { $this->representationsFormatter = $representationsFormatter; } - public function getHtml( EntityId $entityId, array $labelData = null ) { + public function getHtml( EntityId $entityId, ?array $labelData = null ) { Assert::parameterType( FormId::class, $entityId, '$entityId' ); '@phan-var FormId $entityId'; @@ -85,8 +85,8 @@ class FormLinkFormatter implements EntityLinkFormatter { */ public function getTitleAttribute( EntityId $entityId, - array $labelData = null, - array $descriptionData = null + ?array $labelData = null, + ?array $descriptionData = null ) { return $entityId->getSerialization(); } diff --git a/src/MediaWiki/EntityLinkFormatters/LexemeLinkFormatter.php b/src/MediaWiki/EntityLinkFormatters/LexemeLinkFormatter.php index 6d6e6d5..00da084 100644 --- a/src/MediaWiki/EntityLinkFormatters/LexemeLinkFormatter.php +++ b/src/MediaWiki/EntityLinkFormatters/LexemeLinkFormatter.php @@ -47,7 +47,7 @@ class LexemeLinkFormatter implements EntityLinkFormatter { /** * @inheritDoc */ - public function getHtml( EntityId $entityId, array $labelData = null ): string { + public function getHtml( EntityId $entityId, ?array $labelData = null ): string { Assert::parameterType( LexemeId::class, $entityId, '$entityId' ); '@phan-var LexemeId $entityId'; @@ -67,8 +67,8 @@ class LexemeLinkFormatter implements EntityLinkFormatter { */ public function getTitleAttribute( EntityId $entityId, - array $labelData = null, - array $descriptionData = null + ?array $labelData = null, + ?array $descriptionData = null ): string { // TODO Can't this use $entityId->getSerialization() directly? // It may have only used the Title text for historical reasons. diff --git a/src/WikibaseLexemeServices.php b/src/WikibaseLexemeServices.php index c7c033b..2c8085b 100644 --- a/src/WikibaseLexemeServices.php +++ b/src/WikibaseLexemeServices.php @@ -18,56 +18,56 @@ use Wikibase\Lib\Store\ItemOrderProvider; class WikibaseLexemeServices { public static function getTermLanguages( - ContainerInterface $services = null + ?ContainerInterface $services = null ): ContentLanguages { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeTermLanguages' ); } public static function getLanguageNameLookupFactory( - ContainerInterface $services = null + ?ContainerInterface $services = null ): LexemeLanguageNameLookupFactory { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeLanguageNameLookupFactory' ); } public static function getMobileView( - ContainerInterface $services = null + ?ContainerInterface $services = null ): bool { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeMobileView' ); } public static function getLemmaLookup( - ContainerInterface $services = null + ?ContainerInterface $services = null ): LemmaLookup { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeLemmaLookup' ); } public static function getLemmaTermValidator( - ContainerInterface $services = null + ?ContainerInterface $services = null ): LemmaTermValidator { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeLemmaTermValidator' ); } public static function getEditFormChangeOpDeserializer( - ContainerInterface $services = null + ?ContainerInterface $services = null ): EditFormChangeOpDeserializer { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeEditFormChangeOpDeserializer' ); } public static function getGrammaticalFeaturesOrderProvider( - ContainerInterface $services = null + ?ContainerInterface $services = null ): ItemOrderProvider { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeGrammaticalFeaturesOrderProvider' ); } public static function getMergeLexemesInteractor( - ContainerInterface $services = null + ?ContainerInterface $services = null ): MergeLexemesInteractor { return ( $services ?: MediaWikiServices::getInstance() ) ->get( 'WikibaseLexemeMergeLexemesInteractor' ); diff --git a/tests/phpunit/composer/ErisGenerators/FormGenerator.php b/tests/phpunit/composer/ErisGenerators/FormGenerator.php index e7827ad..828a808 100644 --- a/tests/phpunit/composer/ErisGenerators/FormGenerator.php +++ b/tests/phpunit/composer/ErisGenerators/FormGenerator.php @@ -35,7 +35,7 @@ class FormGenerator implements Generator { */ private $formIdGenerator; - public function __construct( FormId $formId = null ) { + public function __construct( ?FormId $formId = null ) { $this->representationGenerator = new TermListGenerator( 1 ); $this->grammaticalFeaturesGenerator = new SetGenerator( new ItemIdGenerator( 50 ) ); if ( $formId ) { diff --git a/tests/phpunit/composer/ErisGenerators/LexemeGenerator.php b/tests/phpunit/composer/ErisGenerators/LexemeGenerator.php index fe2a431..5b083ee 100644 --- a/tests/phpunit/composer/ErisGenerators/LexemeGenerator.php +++ b/tests/phpunit/composer/ErisGenerators/LexemeGenerator.php @@ -46,7 +46,7 @@ class LexemeGenerator implements Generator { */ private $lexemeIdGenerator; - public function __construct( LexemeId $lexemeId = null ) { + public function __construct( ?LexemeId $lexemeId = null ) { if ( $lexemeId ) { $this->lexemeIdGenerator = new ConstantGenerator( $lexemeId ); } else { diff --git a/tests/phpunit/composer/ErisGenerators/SenseGenerator.php b/tests/phpunit/composer/ErisGenerators/SenseGenerator.php index 0616b2a..403de06 100644 --- a/tests/phpunit/composer/ErisGenerators/SenseGenerator.php +++ b/tests/phpunit/composer/ErisGenerators/SenseGenerator.php @@ -29,7 +29,7 @@ class SenseGenerator implements Generator { */ private $senseIdGenerator; - public function __construct( SenseId $senseId = null ) { + public function __construct( ?SenseId $senseId = null ) { $this->representationGenerator = new TermListGenerator( 1 ); if ( $senseId ) { $this->senseIdGenerator = ConstantGenerator::box( $senseId ); diff --git a/tests/phpunit/composer/ErisGenerators/WikibaseLexemeGenerators.php b/tests/phpunit/composer/ErisGenerators/WikibaseLexemeGenerators.php index cd9e87b..80fe8db 100644 --- a/tests/phpunit/composer/ErisGenerators/WikibaseLexemeGenerators.php +++ b/tests/phpunit/composer/ErisGenerators/WikibaseLexemeGenerators.php @@ -11,7 +11,7 @@ use Wikibase\Lexeme\Domain\Model\SenseId; */ class WikibaseLexemeGenerators { - public static function lexeme( LexemeId $lexemeId = null ) { + public static function lexeme( ?LexemeId $lexemeId = null ) { return new LexemeGenerator( $lexemeId ); } diff --git a/tests/phpunit/mediawiki/Content/LexemeHandlerTest.php b/tests/phpunit/mediawiki/Content/LexemeHandlerTest.php index d0e39a4..e155fd9 100644 --- a/tests/phpunit/mediawiki/Content/LexemeHandlerTest.php +++ b/tests/phpunit/mediawiki/Content/LexemeHandlerTest.php @@ -61,7 +61,7 @@ class LexemeHandlerTest extends EntityHandlerTestCase { * * @return EntityHandler */ - protected function getHandler( SettingsArray $settings = null ) { + protected function getHandler( ?SettingsArray $settings = null ) { // This parent method is still called, as it sets up mocks for required // service dependencies $this->getWikibaseRepo( $settings ); @@ -70,7 +70,7 @@ class LexemeHandlerTest extends EntityHandlerTestCase { ->getContentHandlerForType( Lexeme::ENTITY_TYPE ); } - protected function newEntityContent( EntityDocument $entity = null ): EntityContent { + protected function newEntityContent( ?EntityDocument $entity = null ): EntityContent { if ( $entity === null ) { $entity = $this->newEntity(); } @@ -94,7 +94,7 @@ class LexemeHandlerTest extends EntityHandlerTestCase { * * @return EntityDocument */ - protected function newEntity( EntityId $id = null ) { + protected function newEntity( ?EntityId $id = null ) { if ( !$id ) { $id = new LexemeId( 'L7' ); } diff --git a/tests/phpunit/mediawiki/Hooks/Formatters/FormLinkFormatterIntegrationTest.php b/tests/phpunit/mediawiki/Hooks/Formatters/FormLinkFormatterIntegrationTest.php index ef8214f..3f526fa 100644 --- a/tests/phpunit/mediawiki/Hooks/Formatters/FormLinkFormatterIntegrationTest.php +++ b/tests/phpunit/mediawiki/Hooks/Formatters/FormLinkFormatterIntegrationTest.php @@ -51,7 +51,7 @@ class FormLinkFormatterIntegrationTest extends WikibaseLexemeIntegrationTestCase ); } - private function getEntityTitleTextLookupMock( string $titleText = null ) { + private function getEntityTitleTextLookupMock( ?string $titleText = null ) { $entityTitleTextLookup = $this->createMock( EntityTitleTextLookup::class ); $entityTitleTextLookup->method( 'getPrefixedText' ) ->with( $entityId ?? $this->anything() ) diff --git a/tests/phpunit/mediawiki/Store/FormStoreTest.php b/tests/phpunit/mediawiki/Store/FormStoreTest.php index 4342f62..610a44a 100644 --- a/tests/phpunit/mediawiki/Store/FormStoreTest.php +++ b/tests/phpunit/mediawiki/Store/FormStoreTest.php @@ -319,7 +319,7 @@ class FormStoreTest extends TestCase { * * @return EntityRevisionLookup */ - private function newEntityRevisionLookup( Lexeme $expectedLexeme = null ) { + private function newEntityRevisionLookup( ?Lexeme $expectedLexeme = null ) { $lookup = $this->createMock( EntityRevisionLookup::class ); if ( $expectedLexeme ) { diff --git a/tests/phpunit/mediawiki/Store/SenseStoreTest.php b/tests/phpunit/mediawiki/Store/SenseStoreTest.php index f46d57d..e1ba670 100644 --- a/tests/phpunit/mediawiki/Store/SenseStoreTest.php +++ b/tests/phpunit/mediawiki/Store/SenseStoreTest.php @@ -320,7 +320,7 @@ class SenseStoreTest extends TestCase { * * @return EntityRevisionLookup */ - private function newEntityRevisionLookup( Lexeme $expectedLexeme = null ) { + private function newEntityRevisionLookup( ?Lexeme $expectedLexeme = null ) { $lookup = $this->createMock( EntityRevisionLookup::class ); if ( $expectedLexeme ) { diff --git a/tests/phpunit/mediawiki/View/LexemeViewTest.php b/tests/phpunit/mediawiki/View/LexemeViewTest.php index dbf9345..89b77a3 100644 --- a/tests/phpunit/mediawiki/View/LexemeViewTest.php +++ b/tests/phpunit/mediawiki/View/LexemeViewTest.php @@ -65,7 +65,7 @@ class LexemeViewTest extends \MediaWikiIntegrationTestCase { * * @return StatementSectionsView */ - private function newStatementSectionsViewMock( StatementList $expectedStatements = null ) { + private function newStatementSectionsViewMock( ?StatementList $expectedStatements = null ) { $statementSectionsView = $this->createMock( StatementSectionsView::class ); $statementSectionsView->expects( $expectedStatements ? $this->once() : $this->never() ) @@ -87,7 +87,7 @@ class LexemeViewTest extends \MediaWikiIntegrationTestCase { return $languageDirectionalityLookup; } - private function newLexemeView( StatementList $expectedStatements = null ) { + private function newLexemeView( ?StatementList $expectedStatements = null ) { $languageDirectionalityLookup = $this->newLanguageDirectionalityLookupMock(); $lemmaFormatter = new LexemeTermFormatter( '/' ); -- 2.39.2 --- end ---