From 66e8044a6ebac4a06025d91b70c5ec6f6f3e3c71 Mon Sep 17 00:00:00 2001 From: Marco Perberschlager Date: Tue, 14 May 2024 09:33:01 +0200 Subject: [PATCH] 156 Readded baseline file after merging conflicts --- qodana.sarif.json | 3186 +++++++++++---------------------------------- 1 file changed, 767 insertions(+), 2419 deletions(-) diff --git a/qodana.sarif.json b/qodana.sarif.json index 9a052eb8a..d798eebe8 100644 --- a/qodana.sarif.json +++ b/qodana.sarif.json @@ -326,10 +326,6 @@ "id": "HTML", "name": "HTML" }, - { - "id": "Cucumber", - "name": "Cucumber" - }, { "id": "JavaScript and TypeScript/Unused symbols", "name": "Unused symbols", @@ -348,6 +344,10 @@ } ] }, + { + "id": "Cucumber", + "name": "Cucumber" + }, { "id": "JavaScript and TypeScript/Flow type checker", "name": "Flow type checker", @@ -714,6 +714,10 @@ "id": "YAML", "name": "YAML" }, + { + "id": "HTTP Client", + "name": "HTTP Client" + }, { "id": "PHP/Unused symbols", "name": "Unused symbols", @@ -732,10 +736,6 @@ } ] }, - { - "id": "HTTP Client", - "name": "HTTP Client" - }, { "id": "PHP/Composer", "name": "Composer", @@ -754,6 +754,10 @@ } ] }, + { + "id": "XML", + "name": "XML" + }, { "id": "JavaScript and TypeScript/Control flow issues", "name": "Control flow issues", @@ -772,10 +776,6 @@ } ] }, - { - "id": "XML", - "name": "XML" - }, { "id": "JavaScript and TypeScript/Potentially undesirable code constructs", "name": "Potentially undesirable code constructs", @@ -991,13 +991,13 @@ ] }, { - "id": "JavaScript and TypeScript/TypeScript", - "name": "TypeScript", + "id": "CSS/Probable bugs", + "name": "Probable bugs", "relationships": [ { "target": { - "id": "JavaScript and TypeScript", - "index": 10, + "id": "CSS", + "index": 44, "toolComponent": { "name": "QDPHP" } @@ -1009,13 +1009,13 @@ ] }, { - "id": "CSS/Probable bugs", - "name": "Probable bugs", + "id": "JavaScript and TypeScript/TypeScript", + "name": "TypeScript", "relationships": [ { "target": { - "id": "CSS", - "index": 44, + "id": "JavaScript and TypeScript", + "index": 10, "toolComponent": { "name": "QDPHP" } @@ -1063,13 +1063,13 @@ ] }, { - "id": "PHP/Php Inspections (EA Extended)/Architecture", - "name": "Architecture", + "id": "JavaScript and TypeScript/DOM issues", + "name": "DOM issues", "relationships": [ { "target": { - "id": "PHP/Php Inspections (EA Extended)", - "index": 1, + "id": "JavaScript and TypeScript", + "index": 10, "toolComponent": { "name": "QDPHP" } @@ -1081,13 +1081,13 @@ ] }, { - "id": "JavaScript and TypeScript/DOM issues", - "name": "DOM issues", + "id": "PHP/Php Inspections (EA Extended)/Architecture", + "name": "Architecture", "relationships": [ { "target": { - "id": "JavaScript and TypeScript", - "index": 10, + "id": "PHP/Php Inspections (EA Extended)", + "index": 1, "toolComponent": { "name": "QDPHP" } @@ -2819,7 +2819,7 @@ { "target": { "id": "PHP/Php Inspections (EA Extended)/Architecture", - "index": 74, + "index": 75, "toolComponent": { "name": "QDPHP" } @@ -3083,7 +3083,7 @@ { "target": { "id": "PHP/Php Inspections (EA Extended)/Architecture", - "index": 74, + "index": 75, "toolComponent": { "name": "QDPHP" } @@ -3677,7 +3677,7 @@ { "target": { "id": "PHP/Php Inspections (EA Extended)/Architecture", - "index": 74, + "index": 75, "toolComponent": { "name": "QDPHP" } @@ -4139,7 +4139,7 @@ { "target": { "id": "PHP/Php Inspections (EA Extended)/Architecture", - "index": 74, + "index": 75, "toolComponent": { "name": "QDPHP" } @@ -5195,7 +5195,7 @@ { "target": { "id": "PHP/Php Inspections (EA Extended)/Architecture", - "index": 74, + "index": 75, "toolComponent": { "name": "QDPHP" } @@ -5240,19 +5240,19 @@ ] }, { - "id": "UnqualifiedReferenceInspection", + "id": "StrEndsWithCanBeUsedInspection", "shortDescription": { - "text": "Unqualified function/constant reference" + "text": "'str_ends_with(...)' can be used" }, "fullDescription": { - "text": "Using fully-qualified function calls is faster, details and benchmarks are here.", - "markdown": "Using fully-qualified function calls is faster, details and benchmarks [are here](https://github.com/Roave/FunctionFQNReplacer)." + "text": "The inspection reports cases when 'str_ends_with(...)' can be used.", + "markdown": "The inspection reports cases when 'str_ends_with(...)' can be used." }, "defaultConfiguration": { - "enabled": false, + "enabled": true, "level": "note", "parameters": { - "suppressToolId": "UnqualifiedReferenceInspection", + "suppressToolId": "StrEndsWithCanBeUsedInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -5260,8 +5260,8 @@ "relationships": [ { "target": { - "id": "PHP/Php Inspections (EA Extended)/Performance", - "index": 42, + "id": "PHP/Php Inspections (EA Extended)/Language level migration", + "index": 47, "toolComponent": { "name": "QDPHP" } @@ -5273,19 +5273,19 @@ ] }, { - "id": "StrEndsWithCanBeUsedInspection", + "id": "UnqualifiedReferenceInspection", "shortDescription": { - "text": "'str_ends_with(...)' can be used" + "text": "Unqualified function/constant reference" }, "fullDescription": { - "text": "The inspection reports cases when 'str_ends_with(...)' can be used.", - "markdown": "The inspection reports cases when 'str_ends_with(...)' can be used." + "text": "Using fully-qualified function calls is faster, details and benchmarks are here.", + "markdown": "Using fully-qualified function calls is faster, details and benchmarks [are here](https://github.com/Roave/FunctionFQNReplacer)." }, "defaultConfiguration": { - "enabled": true, + "enabled": false, "level": "note", "parameters": { - "suppressToolId": "StrEndsWithCanBeUsedInspection", + "suppressToolId": "UnqualifiedReferenceInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -5293,8 +5293,8 @@ "relationships": [ { "target": { - "id": "PHP/Php Inspections (EA Extended)/Language level migration", - "index": 47, + "id": "PHP/Php Inspections (EA Extended)/Performance", + "index": 42, "toolComponent": { "name": "QDPHP" } @@ -5438,19 +5438,19 @@ ] }, { - "id": "ObGetCleanCanBeUsedInspection", + "id": "NullPointerExceptionInspection", "shortDescription": { - "text": "'ob_get_clean()' can be used" + "text": "Null reference" }, "fullDescription": { "text": "Documentation can be found here", - "markdown": "Documentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/control-flow.md#ob_get_clean-can-be-used)" + "markdown": "Documentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/probable-bugs.md#null-pointer-exceptions-prevention)" }, "defaultConfiguration": { "enabled": true, "level": "warning", "parameters": { - "suppressToolId": "ObGetCleanCanBeUsedInspection", + "suppressToolId": "NullPointerExceptionInspection", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -5458,8 +5458,8 @@ "relationships": [ { "target": { - "id": "PHP/Php Inspections (EA Extended)/Control Flow", - "index": 17, + "id": "PHP/Php Inspections (EA Extended)/Probable bugs", + "index": 2, "toolComponent": { "name": "QDPHP" } @@ -5471,19 +5471,19 @@ ] }, { - "id": "NullPointerExceptionInspection", + "id": "ObGetCleanCanBeUsedInspection", "shortDescription": { - "text": "Null reference" + "text": "'ob_get_clean()' can be used" }, "fullDescription": { "text": "Documentation can be found here", - "markdown": "Documentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/probable-bugs.md#null-pointer-exceptions-prevention)" + "markdown": "Documentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/control-flow.md#ob_get_clean-can-be-used)" }, "defaultConfiguration": { "enabled": true, "level": "warning", "parameters": { - "suppressToolId": "NullPointerExceptionInspection", + "suppressToolId": "ObGetCleanCanBeUsedInspection", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -5491,8 +5491,8 @@ "relationships": [ { "target": { - "id": "PHP/Php Inspections (EA Extended)/Probable bugs", - "index": 2, + "id": "PHP/Php Inspections (EA Extended)/Control Flow", + "index": 17, "toolComponent": { "name": "QDPHP" } @@ -6515,7 +6515,7 @@ { "target": { "id": "PHP/Php Inspections (EA Extended)/Architecture", - "index": 74, + "index": 75, "toolComponent": { "name": "QDPHP" } @@ -6560,28 +6560,28 @@ ] }, { - "id": "AliasFunctionsUsageInspection", + "id": "ArrayUniqueCanBeUsedInspection", "shortDescription": { - "text": "Alias functions usage" + "text": "'array_unique(...)' can be used" }, "fullDescription": { "text": "Documentation can be found here", - "markdown": "Documentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/language-level-migration.md#alias-functions-usage)" + "markdown": "Documentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/control-flow.md#array_unique-can-be-used)" }, "defaultConfiguration": { "enabled": true, - "level": "warning", + "level": "note", "parameters": { - "suppressToolId": "AliasFunctionsUsageInspection", - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" + "suppressToolId": "ArrayUniqueCanBeUsedInspection", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "PHP/Php Inspections (EA Extended)/Language level migration", - "index": 47, + "id": "PHP/Php Inspections (EA Extended)/Control Flow", + "index": 17, "toolComponent": { "name": "QDPHP" } @@ -6593,28 +6593,28 @@ ] }, { - "id": "ArrayUniqueCanBeUsedInspection", + "id": "AliasFunctionsUsageInspection", "shortDescription": { - "text": "'array_unique(...)' can be used" + "text": "Alias functions usage" }, "fullDescription": { "text": "Documentation can be found here", - "markdown": "Documentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/control-flow.md#array_unique-can-be-used)" + "markdown": "Documentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/language-level-migration.md#alias-functions-usage)" }, "defaultConfiguration": { "enabled": true, - "level": "note", + "level": "warning", "parameters": { - "suppressToolId": "ArrayUniqueCanBeUsedInspection", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "suppressToolId": "AliasFunctionsUsageInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" } }, "relationships": [ { "target": { - "id": "PHP/Php Inspections (EA Extended)/Control Flow", - "index": 17, + "id": "PHP/Php Inspections (EA Extended)/Language level migration", + "index": 47, "toolComponent": { "name": "QDPHP" } @@ -6857,28 +6857,28 @@ ] }, { - "id": "StaticLambdaBindingInspection", + "id": "TypeUnsafeArraySearchInspection", "shortDescription": { - "text": "Static lambdas binding" + "text": "'in_array(...)', 'array_search(...)' type unsafe usage" }, "fullDescription": { - "text": "Reports static closures, referencing '$this' (provokes a fatal error).", - "markdown": "Reports static closures, referencing '$this' (provokes a fatal error)." + "text": "Analyzes usages of 'array_search(..)' and 'in_array(...)'. If the 'strict' (third) parameter is missing, refactoring will be proposed for security's sake. Refactoring this might present a significant cost in terms of additional development and legacy code reverse engineering, so the cost-benefit should be weighed carefully. Documentation can be found here", + "markdown": "Analyzes usages of 'array_search(..)' and 'in_array(...)'. If the 'strict' (third) parameter is missing, refactoring will be proposed for security's sake. \n\nRefactoring this might present a significant cost in terms of additional development and legacy code reverse engineering, so the cost-benefit should be weighed carefully. \nDocumentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/types-compatibility.md#strict-type-search-in-arrays)" }, "defaultConfiguration": { "enabled": true, - "level": "error", + "level": "note", "parameters": { - "suppressToolId": "StaticLambdaBindingInspection", - "ideaSeverity": "ERROR", - "qodanaSeverity": "Critical" + "suppressToolId": "TypeUnsafeArraySearchInspection", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "PHP/Php Inspections (EA Extended)/Probable bugs", - "index": 2, + "id": "PHP/Php Inspections (EA Extended)/Type compatibility", + "index": 83, "toolComponent": { "name": "QDPHP" } @@ -6890,28 +6890,28 @@ ] }, { - "id": "TypeUnsafeArraySearchInspection", + "id": "StaticLambdaBindingInspection", "shortDescription": { - "text": "'in_array(...)', 'array_search(...)' type unsafe usage" + "text": "Static lambdas binding" }, "fullDescription": { - "text": "Analyzes usages of 'array_search(..)' and 'in_array(...)'. If the 'strict' (third) parameter is missing, refactoring will be proposed for security's sake. Refactoring this might present a significant cost in terms of additional development and legacy code reverse engineering, so the cost-benefit should be weighed carefully. Documentation can be found here", - "markdown": "Analyzes usages of 'array_search(..)' and 'in_array(...)'. If the 'strict' (third) parameter is missing, refactoring will be proposed for security's sake. \n\nRefactoring this might present a significant cost in terms of additional development and legacy code reverse engineering, so the cost-benefit should be weighed carefully. \nDocumentation can be found [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/types-compatibility.md#strict-type-search-in-arrays)" + "text": "Reports static closures, referencing '$this' (provokes a fatal error).", + "markdown": "Reports static closures, referencing '$this' (provokes a fatal error)." }, "defaultConfiguration": { "enabled": true, - "level": "note", + "level": "error", "parameters": { - "suppressToolId": "TypeUnsafeArraySearchInspection", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "suppressToolId": "StaticLambdaBindingInspection", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" } }, "relationships": [ { "target": { - "id": "PHP/Php Inspections (EA Extended)/Type compatibility", - "index": 83, + "id": "PHP/Php Inspections (EA Extended)/Probable bugs", + "index": 2, "toolComponent": { "name": "QDPHP" } @@ -7076,7 +7076,7 @@ { "target": { "id": "PHP/Php Inspections (EA Extended)/Architecture", - "index": 74, + "index": 75, "toolComponent": { "name": "QDPHP" } @@ -7109,7 +7109,7 @@ { "target": { "id": "PHP/Php Inspections (EA Extended)/Architecture", - "index": 74, + "index": 75, "toolComponent": { "name": "QDPHP" } @@ -7142,7 +7142,7 @@ { "target": { "id": "PHP/Php Inspections (EA Extended)/Architecture", - "index": 74, + "index": 75, "toolComponent": { "name": "QDPHP" } @@ -8573,7 +8573,7 @@ { "target": { "id": "PHP/Unused symbols", - "index": 50, + "index": 51, "toolComponent": { "name": "QDPHP" } @@ -9101,7 +9101,7 @@ { "target": { "id": "PHP/Unused symbols", - "index": 50, + "index": 51, "toolComponent": { "name": "QDPHP" } @@ -11984,28 +11984,28 @@ ] }, { - "id": "PhpArrayIsAlwaysEmptyInspection", + "id": "PhpIllegalArrayKeyTypeInspection", "shortDescription": { - "text": "Array is always empty at the point of access" + "text": "Illegal array key type" }, "fullDescription": { - "text": "Reports the iterated/accessed arrays that are known to be empty at the point of access.", - "markdown": "Reports the iterated/accessed arrays that are known to be empty at the point of access." + "text": "Reports the array keys that are of illegal type, such as objects or arrays. See Arrays (php.net) for details.", + "markdown": "Reports the array keys that are of illegal type, such as objects or arrays.\n\n\nSee [Arrays (php.net)](http://www.php.net/manual/en/language.types.array.php) for details." }, "defaultConfiguration": { "enabled": true, - "level": "note", + "level": "warning", "parameters": { - "suppressToolId": "PhpArrayIsAlwaysEmptyInspection", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "suppressToolId": "PhpIllegalArrayKeyTypeInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" } }, "relationships": [ { "target": { - "id": "PHP/Code smell", - "index": 3, + "id": "PHP/Type compatibility", + "index": 33, "toolComponent": { "name": "QDPHP" } @@ -12017,28 +12017,28 @@ ] }, { - "id": "PhpIllegalArrayKeyTypeInspection", + "id": "PhpArrayIsAlwaysEmptyInspection", "shortDescription": { - "text": "Illegal array key type" + "text": "Array is always empty at the point of access" }, "fullDescription": { - "text": "Reports the array keys that are of illegal type, such as objects or arrays. See Arrays (php.net) for details.", - "markdown": "Reports the array keys that are of illegal type, such as objects or arrays.\n\n\nSee [Arrays (php.net)](http://www.php.net/manual/en/language.types.array.php) for details." + "text": "Reports the iterated/accessed arrays that are known to be empty at the point of access.", + "markdown": "Reports the iterated/accessed arrays that are known to be empty at the point of access." }, "defaultConfiguration": { "enabled": true, - "level": "warning", + "level": "note", "parameters": { - "suppressToolId": "PhpIllegalArrayKeyTypeInspection", - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" + "suppressToolId": "PhpArrayIsAlwaysEmptyInspection", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "PHP/Type compatibility", - "index": 33, + "id": "PHP/Code smell", + "index": 3, "toolComponent": { "name": "QDPHP" } @@ -12842,19 +12842,19 @@ ] }, { - "id": "PhpDeprecationInspection", + "id": "MessDetectorValidationInspection", "shortDescription": { - "text": "Deprecated" + "text": "PHP Mess Detector validation" }, "fullDescription": { - "text": "Reports the usages of deprecated entities. In most cases, such usages should be removed or replaced with other constructs.", - "markdown": "Reports the usages of deprecated entities.\n\n\nIn most cases, such usages should be removed or replaced with other constructs." + "text": "Reports coding style problems detected by PHP Mess Detector. The inspection requires PHP Mess Detector to be properly installed and set up in the IDE under Settings | PHP | Quality Tools | Mess Detector. To learn more about installing PHP Mess Detector, see PHP Mess Detector installation (phpmd.org) for details. You can use a predefined set of rules or add your own by specifying valid ruleset.xml files. See the rules index (phpmd.org) and How to create a custom rule set (phpmd.org) for details.", + "markdown": "Reports coding style problems detected by PHP Mess Detector.\n\n\nThe inspection requires PHP Mess Detector to be properly installed and set up in the IDE under\n[Settings \\| PHP \\| Quality Tools \\| Mess Detector](settings://settings.php.quality.tools.mess.detector).\n\n\nTo learn more about installing PHP Mess Detector, see [PHP Mess Detector installation (phpmd.org)](https://phpmd.org/download/index.html) for details.\n\n\nYou can use a predefined set of rules or add your own by specifying valid *ruleset.xml* files. See the [rules index (phpmd.org)](https://phpmd.org/rules/index.html) and [How to create a custom rule set (phpmd.org)](https://phpmd.org/documentation/creating-a-ruleset.html) for details." }, "defaultConfiguration": { - "enabled": true, + "enabled": false, "level": "note", "parameters": { - "suppressToolId": "PhpDeprecationInspection", + "suppressToolId": "MessDetectorValidationInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -12862,8 +12862,8 @@ "relationships": [ { "target": { - "id": "PHP/General", - "index": 8, + "id": "PHP/Quality tools", + "index": 92, "toolComponent": { "name": "QDPHP" } @@ -12875,19 +12875,19 @@ ] }, { - "id": "MessDetectorValidationInspection", + "id": "PhpDeprecationInspection", "shortDescription": { - "text": "PHP Mess Detector validation" + "text": "Deprecated" }, "fullDescription": { - "text": "Reports coding style problems detected by PHP Mess Detector. The inspection requires PHP Mess Detector to be properly installed and set up in the IDE under Settings | PHP | Quality Tools | Mess Detector. To learn more about installing PHP Mess Detector, see PHP Mess Detector installation (phpmd.org) for details. You can use a predefined set of rules or add your own by specifying valid ruleset.xml files. See the rules index (phpmd.org) and How to create a custom rule set (phpmd.org) for details.", - "markdown": "Reports coding style problems detected by PHP Mess Detector.\n\n\nThe inspection requires PHP Mess Detector to be properly installed and set up in the IDE under\n[Settings \\| PHP \\| Quality Tools \\| Mess Detector](settings://settings.php.quality.tools.mess.detector).\n\n\nTo learn more about installing PHP Mess Detector, see [PHP Mess Detector installation (phpmd.org)](https://phpmd.org/download/index.html) for details.\n\n\nYou can use a predefined set of rules or add your own by specifying valid *ruleset.xml* files. See the [rules index (phpmd.org)](https://phpmd.org/rules/index.html) and [How to create a custom rule set (phpmd.org)](https://phpmd.org/documentation/creating-a-ruleset.html) for details." + "text": "Reports the usages of deprecated entities. In most cases, such usages should be removed or replaced with other constructs.", + "markdown": "Reports the usages of deprecated entities.\n\n\nIn most cases, such usages should be removed or replaced with other constructs." }, "defaultConfiguration": { - "enabled": false, + "enabled": true, "level": "note", "parameters": { - "suppressToolId": "MessDetectorValidationInspection", + "suppressToolId": "PhpDeprecationInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -12895,8 +12895,8 @@ "relationships": [ { "target": { - "id": "PHP/Quality tools", - "index": 92, + "id": "PHP/General", + "index": 8, "toolComponent": { "name": "QDPHP" } @@ -13205,19 +13205,19 @@ ] }, { - "id": "PhpConcatenationWithEmptyStringCanBeInlinedInspection", + "id": "PhpDisabledQualityToolComposerInspection", "shortDescription": { - "text": "Concatenation to empty string can be merged with assignment" + "text": "Quality tool inspection is disabled" }, "fullDescription": { - "text": "Reports the '.=' concatenation assignments performed right after assignment to an empty string literal. Such assignments can be merged together.", - "markdown": "Reports the `.=` concatenation assignments performed right after assignment to an empty string literal. Such assignments can be merged together." + "text": "Highlights the quality tools' entries in composer.json in case the corresponding code inspections are disabled.", + "markdown": "Highlights the quality tools' entries in *composer.json* in case the corresponding code inspections are disabled." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpConcatenationWithEmptyStringCanBeInlinedInspection", + "suppressToolId": "PhpDisabledQualityToolComposerInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -13225,8 +13225,8 @@ "relationships": [ { "target": { - "id": "PHP/Code smell", - "index": 3, + "id": "PHP/Composer", + "index": 52, "toolComponent": { "name": "QDPHP" } @@ -13238,19 +13238,19 @@ ] }, { - "id": "PhpDisabledQualityToolComposerInspection", + "id": "PhpConcatenationWithEmptyStringCanBeInlinedInspection", "shortDescription": { - "text": "Quality tool inspection is disabled" + "text": "Concatenation to empty string can be merged with assignment" }, "fullDescription": { - "text": "Highlights the quality tools' entries in composer.json in case the corresponding code inspections are disabled.", - "markdown": "Highlights the quality tools' entries in *composer.json* in case the corresponding code inspections are disabled." + "text": "Reports the '.=' concatenation assignments performed right after assignment to an empty string literal. Such assignments can be merged together.", + "markdown": "Reports the `.=` concatenation assignments performed right after assignment to an empty string literal. Such assignments can be merged together." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpDisabledQualityToolComposerInspection", + "suppressToolId": "PhpConcatenationWithEmptyStringCanBeInlinedInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -13258,8 +13258,8 @@ "relationships": [ { "target": { - "id": "PHP/Composer", - "index": 52, + "id": "PHP/Code smell", + "index": 3, "toolComponent": { "name": "QDPHP" } @@ -13271,28 +13271,28 @@ ] }, { - "id": "PhpNamedArgumentUsageInspection", + "id": "PhpUnusedFieldDefaultValueInspection", "shortDescription": { - "text": "Argument with name identifier" + "text": "Redundant property initializer" }, "fullDescription": { - "text": "Reports arguments with name identifiers.", - "markdown": "Reports arguments with name identifiers." + "text": "Reports the fields with default initializers that are always overwritten in the class constructor.", + "markdown": "Reports the fields with default initializers that are always overwritten in the class constructor." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpNamedArgumentUsageInspection", - "ideaSeverity": "INFORMATION", - "qodanaSeverity": "Info" + "suppressToolId": "PhpUnusedFieldDefaultValueInspection", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "PHP/General", - "index": 8, + "id": "PHP/Unused symbols", + "index": 51, "toolComponent": { "name": "QDPHP" } @@ -13304,19 +13304,19 @@ ] }, { - "id": "PhpUnusedFieldDefaultValueInspection", + "id": "PhpArrayIndexResetIsUnnecessaryInspection", "shortDescription": { - "text": "Redundant property initializer" + "text": "Array internal pointer reset is unnecessary" }, "fullDescription": { - "text": "Reports the fields with default initializers that are always overwritten in the class constructor.", - "markdown": "Reports the fields with default initializers that are always overwritten in the class constructor." + "text": "Reports the 'reset($array)' calls on arrays whose internal pointer is already set on the first element. Such calls are redundant and can be safely removed. See reset (php.net) for details.", + "markdown": "Reports the `reset($array)` calls on arrays whose internal pointer is already set on the first element. Such calls are redundant and can be safely removed.\n\n\nSee [reset (php.net)](https://www.php.net/manual/en/function.reset.php) for details." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpUnusedFieldDefaultValueInspection", + "suppressToolId": "PhpArrayIndexResetIsUnnecessaryInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -13324,8 +13324,8 @@ "relationships": [ { "target": { - "id": "PHP/Unused symbols", - "index": 50, + "id": "PHP/Code smell", + "index": 3, "toolComponent": { "name": "QDPHP" } @@ -13337,28 +13337,28 @@ ] }, { - "id": "PhpArrayIndexResetIsUnnecessaryInspection", + "id": "PhpNamedArgumentUsageInspection", "shortDescription": { - "text": "Array internal pointer reset is unnecessary" + "text": "Argument with name identifier" }, "fullDescription": { - "text": "Reports the 'reset($array)' calls on arrays whose internal pointer is already set on the first element. Such calls are redundant and can be safely removed. See reset (php.net) for details.", - "markdown": "Reports the `reset($array)` calls on arrays whose internal pointer is already set on the first element. Such calls are redundant and can be safely removed.\n\n\nSee [reset (php.net)](https://www.php.net/manual/en/function.reset.php) for details." + "text": "Reports arguments with name identifiers.", + "markdown": "Reports arguments with name identifiers." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpArrayIndexResetIsUnnecessaryInspection", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "suppressToolId": "PhpNamedArgumentUsageInspection", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" } }, "relationships": [ { "target": { - "id": "PHP/Code smell", - "index": 3, + "id": "PHP/General", + "index": 8, "toolComponent": { "name": "QDPHP" } @@ -13667,19 +13667,19 @@ ] }, { - "id": "PhpReturnValueOfMethodIsNeverUsedInspection", + "id": "PhpClassCantBeUsedAsAttributeInspection", "shortDescription": { - "text": "Method's return value is never used" + "text": "Class cannot be used as attribute" }, "fullDescription": { - "text": "Reports the private methods returning the values that are not used.", - "markdown": "Reports the private methods returning the values that are not used." + "text": "Reports the attributes that are resolved to a class not annotated with '#[Attribute]'. See Attributes (php.net) for details.", + "markdown": "Reports the attributes that are resolved to a class not annotated with `#[Attribute]`.\n\n\nSee [Attributes (php.net)](https://wiki.php.net/rfc/attributes_v2) for details." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpReturnValueOfMethodIsNeverUsedInspection", + "suppressToolId": "PhpClassCantBeUsedAsAttributeInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -13687,8 +13687,8 @@ "relationships": [ { "target": { - "id": "PHP/Code smell", - "index": 3, + "id": "PHP/Attributes", + "index": 61, "toolComponent": { "name": "QDPHP" } @@ -13700,19 +13700,19 @@ ] }, { - "id": "PhpClassCantBeUsedAsAttributeInspection", + "id": "PhpReturnValueOfMethodIsNeverUsedInspection", "shortDescription": { - "text": "Class cannot be used as attribute" + "text": "Method's return value is never used" }, "fullDescription": { - "text": "Reports the attributes that are resolved to a class not annotated with '#[Attribute]'. See Attributes (php.net) for details.", - "markdown": "Reports the attributes that are resolved to a class not annotated with `#[Attribute]`.\n\n\nSee [Attributes (php.net)](https://wiki.php.net/rfc/attributes_v2) for details." + "text": "Reports the private methods returning the values that are not used.", + "markdown": "Reports the private methods returning the values that are not used." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpClassCantBeUsedAsAttributeInspection", + "suppressToolId": "PhpReturnValueOfMethodIsNeverUsedInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -13720,8 +13720,8 @@ "relationships": [ { "target": { - "id": "PHP/Attributes", - "index": 61, + "id": "PHP/Code smell", + "index": 3, "toolComponent": { "name": "QDPHP" } @@ -13931,19 +13931,19 @@ ] }, { - "id": "PhpStrFunctionsInspection", + "id": "PhpDocRedundantThrowsInspection", "shortDescription": { - "text": "'str*()' calls can be replaced with PHP 8 'str_*()' calls" + "text": "Redundant @throws tag(s)" }, "fullDescription": { - "text": "Reports the 'strpos' and 'substr' functions calls that can be replaced with the 'str_*' functions calls (introduced in PHP 8.0). See str_contains (php.net) and str_starts_with and str_ends_with functions (php.net) for details.", - "markdown": "Reports the `strpos` and `substr` functions calls that can be replaced with the `str_*` functions calls (introduced in PHP 8.0).\n\n\nSee [str_contains (php.net)](https://wiki.php.net/rfc/str_contains) and [str_starts_with and str_ends_with functions (php.net)](https://wiki.php.net/rfc/add_str_starts_with_and_ends_with_functions) for details." + "text": "Reports '@throws' tags for exceptions that are not thrown by the function or method. The exception classes added to the Unchecked Exceptions list under Settings | PHP | Analysis are excluded from the inspection scope.", + "markdown": "Reports `@throws` tags for exceptions that are not thrown by the function or method.\n\nThe exception classes added to the **Unchecked Exceptions** list under\n[Settings \\| PHP \\| Analysis](settings://reference.webide.settings.project.settings.php?Unchecked%20Exceptions)\nare excluded from the inspection scope." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpStrFunctionsInspection", + "suppressToolId": "PhpDocRedundantThrowsInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -13951,8 +13951,8 @@ "relationships": [ { "target": { - "id": "PHP/Code style", - "index": 5, + "id": "PHP/PHPDoc", + "index": 4, "toolComponent": { "name": "QDPHP" } @@ -13964,19 +13964,19 @@ ] }, { - "id": "PhpDocRedundantThrowsInspection", + "id": "PhpStrFunctionsInspection", "shortDescription": { - "text": "Redundant @throws tag(s)" + "text": "'str*()' calls can be replaced with PHP 8 'str_*()' calls" }, "fullDescription": { - "text": "Reports '@throws' tags for exceptions that are not thrown by the function or method. The exception classes added to the Unchecked Exceptions list under Settings | PHP | Analysis are excluded from the inspection scope.", - "markdown": "Reports `@throws` tags for exceptions that are not thrown by the function or method.\n\nThe exception classes added to the **Unchecked Exceptions** list under\n[Settings \\| PHP \\| Analysis](settings://reference.webide.settings.project.settings.php?Unchecked%20Exceptions)\nare excluded from the inspection scope." + "text": "Reports the 'strpos' and 'substr' functions calls that can be replaced with the 'str_*' functions calls (introduced in PHP 8.0). See str_contains (php.net) and str_starts_with and str_ends_with functions (php.net) for details.", + "markdown": "Reports the `strpos` and `substr` functions calls that can be replaced with the `str_*` functions calls (introduced in PHP 8.0).\n\n\nSee [str_contains (php.net)](https://wiki.php.net/rfc/str_contains) and [str_starts_with and str_ends_with functions (php.net)](https://wiki.php.net/rfc/add_str_starts_with_and_ends_with_functions) for details." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpDocRedundantThrowsInspection", + "suppressToolId": "PhpStrFunctionsInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -13984,8 +13984,8 @@ "relationships": [ { "target": { - "id": "PHP/PHPDoc", - "index": 4, + "id": "PHP/Code style", + "index": 5, "toolComponent": { "name": "QDPHP" } @@ -14492,19 +14492,19 @@ ] }, { - "id": "PhpBooleanCanBeSimplifiedInspection", + "id": "PhpFuncGetArgCanBeReplacedWithParamInspection", "shortDescription": { - "text": "Boolean expression can be simplified" + "text": "'func_get_arg()' call can be replaced with parameter access" }, "fullDescription": { - "text": "Reports the boolean expressions that contain the 'true' or 'false' literals and can be simplified.", - "markdown": "Reports the boolean expressions that contain the `true` or `false` literals and can be simplified." + "text": "Reports the 'func_get_arg()' calls that can be replaced with direct parameter access.", + "markdown": "Reports the `func_get_arg()` calls that can be replaced with direct parameter access." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpBooleanCanBeSimplifiedInspection", + "suppressToolId": "PhpFuncGetArgCanBeReplacedWithParamInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -14525,19 +14525,19 @@ ] }, { - "id": "PhpFuncGetArgCanBeReplacedWithParamInspection", + "id": "PhpBooleanCanBeSimplifiedInspection", "shortDescription": { - "text": "'func_get_arg()' call can be replaced with parameter access" + "text": "Boolean expression can be simplified" }, "fullDescription": { - "text": "Reports the 'func_get_arg()' calls that can be replaced with direct parameter access.", - "markdown": "Reports the `func_get_arg()` calls that can be replaced with direct parameter access." + "text": "Reports the boolean expressions that contain the 'true' or 'false' literals and can be simplified.", + "markdown": "Reports the boolean expressions that contain the `true` or `false` literals and can be simplified." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpFuncGetArgCanBeReplacedWithParamInspection", + "suppressToolId": "PhpBooleanCanBeSimplifiedInspection", "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate" } @@ -14612,7 +14612,7 @@ { "target": { "id": "PHP/Unused symbols", - "index": 50, + "index": 51, "toolComponent": { "name": "QDPHP" } @@ -15503,7 +15503,7 @@ { "target": { "id": "PHP/Unused symbols", - "index": 50, + "index": 51, "toolComponent": { "name": "QDPHP" } @@ -16043,28 +16043,28 @@ ] }, { - "id": "PhpIncorrectMagicMethodSignatureInspection", + "id": "PhpUnitMissingTargetForTestInspection", "shortDescription": { - "text": "Incorrect magic method signature" + "text": "Missing target element for PHPUnit test" }, "fullDescription": { - "text": "Reports incompatible magic methods signatures. See RFC: Ensure correct signatures of magic methods (php.net) for details.", - "markdown": "Reports incompatible magic methods signatures.\n\n\nSee [RFC: Ensure correct signatures of magic methods (php.net)](https://wiki.php.net/rfc/magic-methods-signature) for details." + "text": "Reports the test classes and methods, for which no corresponding production classes or methods were found.", + "markdown": "Reports the test classes and methods, for which no corresponding production classes or methods were found." }, "defaultConfiguration": { "enabled": true, - "level": "error", + "level": "note", "parameters": { - "suppressToolId": "PhpIncorrectMagicMethodSignatureInspection", - "ideaSeverity": "ERROR", - "qodanaSeverity": "Critical" + "suppressToolId": "PhpUnitMissingTargetForTestInspection", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" } }, "relationships": [ { "target": { - "id": "PHP/General", - "index": 8, + "id": "PHP/PHPUnit", + "index": 29, "toolComponent": { "name": "QDPHP" } @@ -16076,28 +16076,28 @@ ] }, { - "id": "PhpUnitMissingTargetForTestInspection", + "id": "PhpIncorrectMagicMethodSignatureInspection", "shortDescription": { - "text": "Missing target element for PHPUnit test" + "text": "Incorrect magic method signature" }, "fullDescription": { - "text": "Reports the test classes and methods, for which no corresponding production classes or methods were found.", - "markdown": "Reports the test classes and methods, for which no corresponding production classes or methods were found." + "text": "Reports incompatible magic methods signatures. See RFC: Ensure correct signatures of magic methods (php.net) for details.", + "markdown": "Reports incompatible magic methods signatures.\n\n\nSee [RFC: Ensure correct signatures of magic methods (php.net)](https://wiki.php.net/rfc/magic-methods-signature) for details." }, "defaultConfiguration": { "enabled": true, - "level": "note", + "level": "error", "parameters": { - "suppressToolId": "PhpUnitMissingTargetForTestInspection", - "ideaSeverity": "INFORMATION", - "qodanaSeverity": "Info" + "suppressToolId": "PhpIncorrectMagicMethodSignatureInspection", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" } }, "relationships": [ { "target": { - "id": "PHP/PHPUnit", - "index": 29, + "id": "PHP/General", + "index": 8, "toolComponent": { "name": "QDPHP" } @@ -16109,28 +16109,28 @@ ] }, { - "id": "PhpGetClassCanBeReplacedWithClassNameLiteralInspection", + "id": "PhpContinueTargetingSwitchInspection", "shortDescription": { - "text": "'get_class()' call can be replaced with '::class'" + "text": "'continue' is targeting 'switch' statement" }, "fullDescription": { - "text": "Reports the 'get_class()' calls and suggests replacing them with '::class' when PHP Language level is set to 8.0 or later. See Allow ::class on objects (php.net) for details.", - "markdown": "Reports the `get_class()` calls and suggests replacing them with `::class` when PHP Language level is set to 8.0 or later.\n\n\nSee [Allow ::class on objects (php.net)](https://wiki.php.net/rfc/class_name_literal_on_object) for details." + "text": "Reports the 'continue' statements that are targeting 'switch' statements. In PHP 7.3 and later, such usages are deprecated and will emit an 'E_WARNING', since they are most likely the result of a programming mistake. In PHP, such 'continue' statements are equivalent to 'break', that is, they end the execution of the current 'switch' structure. In other languages, such 'continue' statements behave as 'continue 2' in PHP, that is, they take the execution to a higher level control structure (for example, the next iteration of an outer loop). See continue (php.net), break (php.net), and switch (php.net) for details.", + "markdown": "Reports the `continue` statements that are targeting `switch` statements. In PHP 7.3 and later, such usages are deprecated and will emit an `E_WARNING`, since they are most likely the result of a programming mistake.\n\n* In PHP, such `continue` statements are equivalent to `break`, that is, they end the execution of the current `switch` structure.\n* In other languages, such `continue` statements behave as `continue 2` in PHP, that is, they take the execution to a higher level control structure (for example, the next iteration of an outer loop).\n\n\nSee [continue (php.net)](https://www.php.net/manual/en/control-structures.continue.php), [break (php.net)](https://www.php.net/manual/en/control-structures.break.php), and [switch (php.net)](https://www.php.net/manual/en/control-structures.switch.php) for details." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpGetClassCanBeReplacedWithClassNameLiteralInspection", - "ideaSeverity": "INFORMATION", - "qodanaSeverity": "Info" + "suppressToolId": "PhpContinueTargetingSwitchInspection", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "PHP/Code style", - "index": 5, + "id": "PHP/Code smell", + "index": 3, "toolComponent": { "name": "QDPHP" } @@ -16142,28 +16142,28 @@ ] }, { - "id": "PhpContinueTargetingSwitchInspection", + "id": "PhpGetClassCanBeReplacedWithClassNameLiteralInspection", "shortDescription": { - "text": "'continue' is targeting 'switch' statement" + "text": "'get_class()' call can be replaced with '::class'" }, "fullDescription": { - "text": "Reports the 'continue' statements that are targeting 'switch' statements. In PHP 7.3 and later, such usages are deprecated and will emit an 'E_WARNING', since they are most likely the result of a programming mistake. In PHP, such 'continue' statements are equivalent to 'break', that is, they end the execution of the current 'switch' structure. In other languages, such 'continue' statements behave as 'continue 2' in PHP, that is, they take the execution to a higher level control structure (for example, the next iteration of an outer loop). See continue (php.net), break (php.net), and switch (php.net) for details.", - "markdown": "Reports the `continue` statements that are targeting `switch` statements. In PHP 7.3 and later, such usages are deprecated and will emit an `E_WARNING`, since they are most likely the result of a programming mistake.\n\n* In PHP, such `continue` statements are equivalent to `break`, that is, they end the execution of the current `switch` structure.\n* In other languages, such `continue` statements behave as `continue 2` in PHP, that is, they take the execution to a higher level control structure (for example, the next iteration of an outer loop).\n\n\nSee [continue (php.net)](https://www.php.net/manual/en/control-structures.continue.php), [break (php.net)](https://www.php.net/manual/en/control-structures.break.php), and [switch (php.net)](https://www.php.net/manual/en/control-structures.switch.php) for details." + "text": "Reports the 'get_class()' calls and suggests replacing them with '::class' when PHP Language level is set to 8.0 or later. See Allow ::class on objects (php.net) for details.", + "markdown": "Reports the `get_class()` calls and suggests replacing them with `::class` when PHP Language level is set to 8.0 or later.\n\n\nSee [Allow ::class on objects (php.net)](https://wiki.php.net/rfc/class_name_literal_on_object) for details." }, "defaultConfiguration": { "enabled": true, "level": "note", "parameters": { - "suppressToolId": "PhpContinueTargetingSwitchInspection", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "suppressToolId": "PhpGetClassCanBeReplacedWithClassNameLiteralInspection", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" } }, "relationships": [ { "target": { - "id": "PHP/Code smell", - "index": 3, + "id": "PHP/Code style", + "index": 5, "toolComponent": { "name": "QDPHP" } @@ -16438,39 +16438,6 @@ } ] }, - { - "id": "PhpConvertToJsonValidateInspection", - "shortDescription": { - "text": "'json_decode()' and 'json_last_error()' can be converted to 'json_validate()'" - }, - "fullDescription": { - "text": "In PHP 8.3 and later, suggests converting `json_decode()` and `json_last_error() === JSON_ERROR_NONE` to `json_validate()`. See PHP RFC: json_validate for details.", - "markdown": "In PHP 8.3 and later, suggests converting \\`json_decode()\\` and \\`json_last_error() === JSON_ERROR_NONE\\` to \\`json_validate()\\`.\n\n\nSee [PHP RFC: json_validate](https://wiki.php.net/rfc/json_validate) for details." - }, - "defaultConfiguration": { - "enabled": true, - "level": "note", - "parameters": { - "suppressToolId": "PhpConvertToJsonValidateInspection", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" - } - }, - "relationships": [ - { - "target": { - "id": "PHP/Code style", - "index": 5, - "toolComponent": { - "name": "QDPHP" - } - }, - "kinds": [ - "superset" - ] - } - ] - }, { "id": "PhpMissingStrictTypesDeclarationInspection", "shortDescription": { @@ -16504,6 +16471,39 @@ } ] }, + { + "id": "PhpConvertToJsonValidateInspection", + "shortDescription": { + "text": "'json_decode()' and 'json_last_error()' can be converted to 'json_validate()'" + }, + "fullDescription": { + "text": "In PHP 8.3 and later, suggests converting `json_decode()` and `json_last_error() === JSON_ERROR_NONE` to `json_validate()`. See PHP RFC: json_validate for details.", + "markdown": "In PHP 8.3 and later, suggests converting \\`json_decode()\\` and \\`json_last_error() === JSON_ERROR_NONE\\` to \\`json_validate()\\`.\n\n\nSee [PHP RFC: json_validate](https://wiki.php.net/rfc/json_validate) for details." + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "PhpConvertToJsonValidateInspection", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "PHP/Code style", + "index": 5, + "toolComponent": { + "name": "QDPHP" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, { "id": "PhpNamedArgumentMightBeUnresolvedInspection", "shortDescription": { @@ -17549,7 +17549,7 @@ { "target": { "id": "PHP/Unused symbols", - "index": 50, + "index": 51, "toolComponent": { "name": "QDPHP" } @@ -18275,7 +18275,7 @@ { "target": { "id": "PHP/Unused symbols", - "index": 50, + "index": 51, "toolComponent": { "name": "QDPHP" } @@ -18815,28 +18815,28 @@ ] }, { - "id": "PhpTooManyParametersInspection", + "id": "PhpInvalidStringOffsetUsageInspection", "shortDescription": { - "text": "Too many parameters in function declaration" + "text": "Invalid string offset usage" }, "fullDescription": { - "text": "Reports the function/method declarations with the number of parameters exceeding the specified limit.", - "markdown": "Reports the function/method declarations with the number of parameters exceeding the specified limit." + "text": "Reports invalid string offset usages that will result in a runtime error. The following usages are reported: Using string offsets as objects or arrays Unsetting string offsets via 'unset' Passing string offsets by reference Creating references to or from string offsets Incrementing or decrementing string offsets Using combined operator assignments such as '+=' or '.=' on string offsets Assigning string offsets with empty strings or strings with length >1", + "markdown": "Reports invalid string offset usages that will result in a runtime error.\n\n\nThe following usages are reported:\n\n* Using string offsets as objects or arrays\n* Unsetting string offsets via `unset`\n* Passing string offsets by reference\n* Creating references to or from string offsets\n* Incrementing or decrementing string offsets\n* Using combined operator assignments such as `+=` or `.=` on string offsets\n* Assigning string offsets with empty strings or strings with length \\>1" }, "defaultConfiguration": { - "enabled": false, - "level": "note", + "enabled": true, + "level": "error", "parameters": { - "suppressToolId": "PhpTooManyParametersInspection", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "suppressToolId": "PhpInvalidStringOffsetUsageInspection", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" } }, "relationships": [ { "target": { - "id": "PHP/Code smell", - "index": 3, + "id": "PHP/Probable bugs", + "index": 12, "toolComponent": { "name": "QDPHP" } @@ -18848,28 +18848,28 @@ ] }, { - "id": "PhpInvalidStringOffsetUsageInspection", + "id": "PhpWrongForeachArgumentTypeInspection", "shortDescription": { - "text": "Invalid string offset usage" + "text": "Invalid argument supplied for 'foreach()'" }, "fullDescription": { - "text": "Reports invalid string offset usages that will result in a runtime error. The following usages are reported: Using string offsets as objects or arrays Unsetting string offsets via 'unset' Passing string offsets by reference Creating references to or from string offsets Incrementing or decrementing string offsets Using combined operator assignments such as '+=' or '.=' on string offsets Assigning string offsets with empty strings or strings with length >1", - "markdown": "Reports invalid string offset usages that will result in a runtime error.\n\n\nThe following usages are reported:\n\n* Using string offsets as objects or arrays\n* Unsetting string offsets via `unset`\n* Passing string offsets by reference\n* Creating references to or from string offsets\n* Incrementing or decrementing string offsets\n* Using combined operator assignments such as `+=` or `.=` on string offsets\n* Assigning string offsets with empty strings or strings with length \\>1" + "text": "Reports the 'foreach' constructs used on variables of the 'string', 'float', 'int', or 'boolean' type. See foreach (php.net) for details.", + "markdown": "Reports the `foreach` constructs used on variables of the `string`, `float`, `int`, or `boolean` type.\n\n\nSee [foreach (php.net)](http://www.php.net/manual/en/control-structures.foreach.php) for details." }, "defaultConfiguration": { "enabled": true, - "level": "error", + "level": "warning", "parameters": { - "suppressToolId": "PhpInvalidStringOffsetUsageInspection", - "ideaSeverity": "ERROR", - "qodanaSeverity": "Critical" + "suppressToolId": "PhpWrongForeachArgumentTypeInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" } }, "relationships": [ { "target": { - "id": "PHP/Probable bugs", - "index": 12, + "id": "PHP/Type compatibility", + "index": 33, "toolComponent": { "name": "QDPHP" } @@ -18881,28 +18881,28 @@ ] }, { - "id": "PhpWrongForeachArgumentTypeInspection", + "id": "PhpTooManyParametersInspection", "shortDescription": { - "text": "Invalid argument supplied for 'foreach()'" + "text": "Too many parameters in function declaration" }, "fullDescription": { - "text": "Reports the 'foreach' constructs used on variables of the 'string', 'float', 'int', or 'boolean' type. See foreach (php.net) for details.", - "markdown": "Reports the `foreach` constructs used on variables of the `string`, `float`, `int`, or `boolean` type.\n\n\nSee [foreach (php.net)](http://www.php.net/manual/en/control-structures.foreach.php) for details." + "text": "Reports the function/method declarations with the number of parameters exceeding the specified limit.", + "markdown": "Reports the function/method declarations with the number of parameters exceeding the specified limit." }, "defaultConfiguration": { - "enabled": true, - "level": "warning", + "enabled": false, + "level": "note", "parameters": { - "suppressToolId": "PhpWrongForeachArgumentTypeInspection", - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" + "suppressToolId": "PhpTooManyParametersInspection", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "PHP/Type compatibility", - "index": 33, + "id": "PHP/Code smell", + "index": 3, "toolComponent": { "name": "QDPHP" } @@ -24254,7 +24254,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -24518,7 +24518,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -24617,7 +24617,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -24650,7 +24650,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -24716,7 +24716,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -24782,7 +24782,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -24914,7 +24914,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -25079,7 +25079,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -25178,7 +25178,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -25541,7 +25541,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -25673,7 +25673,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -25805,7 +25805,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -25970,7 +25970,7 @@ { "target": { "id": "XML", - "index": 54, + "index": 53, "toolComponent": { "name": "QDPHP" } @@ -26088,249 +26088,6 @@ ], "isComprehensive": false }, - { - "name": "gherkin", - "version": "241.16902", - "rules": [ - { - "id": "GherkinScenarioToScenarioOutline", - "shortDescription": { - "text": "Scenario with Examples section" - }, - "fullDescription": { - "text": "Reports Gherkin scenarios that contain an 'Examples' section. Use the quick-fix to convert 'Scenario' to 'Scenario Outline'.", - "markdown": "Reports Gherkin scenarios that contain an `Examples` section.\n\nUse the quick-fix to convert `Scenario` to `Scenario Outline`." - }, - "defaultConfiguration": { - "enabled": false, - "level": "error", - "parameters": { - "suppressToolId": "GherkinScenarioToScenarioOutline", - "ideaSeverity": "ERROR", - "qodanaSeverity": "Critical" - } - }, - "relationships": [ - { - "target": { - "id": "Cucumber", - "index": 23, - "toolComponent": { - "name": "QDPHP" - } - }, - "kinds": [ - "superset" - ] - } - ] - }, - { - "id": "CucumberTableInspection", - "shortDescription": { - "text": "Unused or missing columns in Cucumber tables" - }, - "fullDescription": { - "text": "Reports tables in 'Examples' sections in Cucumber .feature files with unused or missing columns.", - "markdown": "Reports tables in `Examples` sections in Cucumber .feature files with unused or missing columns." - }, - "defaultConfiguration": { - "enabled": false, - "level": "warning", - "parameters": { - "suppressToolId": "CucumberTableInspection", - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" - } - }, - "relationships": [ - { - "target": { - "id": "Cucumber", - "index": 23, - "toolComponent": { - "name": "QDPHP" - } - }, - "kinds": [ - "superset" - ] - } - ] - }, - { - "id": "GherkinBrokenTableInspection", - "shortDescription": { - "text": "Gherkin table is broken" - }, - "fullDescription": { - "text": "Reports a table if there is at least one row with the number of cells different from the number of cells in the table header.", - "markdown": "Reports a table if there is at least one row with the number of cells different from the number of cells in the table header." - }, - "defaultConfiguration": { - "enabled": false, - "level": "error", - "parameters": { - "suppressToolId": "GherkinBrokenTableInspection", - "ideaSeverity": "ERROR", - "qodanaSeverity": "Critical" - } - }, - "relationships": [ - { - "target": { - "id": "Cucumber", - "index": 23, - "toolComponent": { - "name": "QDPHP" - } - }, - "kinds": [ - "superset" - ] - } - ] - }, - { - "id": "GherkinMisplacedBackground", - "shortDescription": { - "text": "Misplaced background section" - }, - "fullDescription": { - "text": "Reports 'Background' sections that are located incorrectly. The 'Background' section must be located before the 'Scenario' section.", - "markdown": "Reports `Background` sections that are located incorrectly. The `Background` section must be located before the `Scenario` section." - }, - "defaultConfiguration": { - "enabled": false, - "level": "error", - "parameters": { - "suppressToolId": "GherkinMisplacedBackground", - "ideaSeverity": "ERROR", - "qodanaSeverity": "Critical" - } - }, - "relationships": [ - { - "target": { - "id": "Cucumber", - "index": 23, - "toolComponent": { - "name": "QDPHP" - } - }, - "kinds": [ - "superset" - ] - } - ] - }, - { - "id": "CucumberMissedExamples", - "shortDescription": { - "text": "Missing examples section" - }, - "fullDescription": { - "text": "Reports scenario outlines in Cucumber .feature files that do not have the 'Examples' section. Use the quick-fix to automatically create the 'Examples' section with a pre-filled table header.", - "markdown": "Reports scenario outlines in Cucumber .feature files that do not have the `Examples` section.\n\nUse the quick-fix to automatically create the `Examples` section with a pre-filled table header." - }, - "defaultConfiguration": { - "enabled": false, - "level": "error", - "parameters": { - "suppressToolId": "CucumberMissedExamples", - "ideaSeverity": "ERROR", - "qodanaSeverity": "Critical" - } - }, - "relationships": [ - { - "target": { - "id": "Cucumber", - "index": 23, - "toolComponent": { - "name": "QDPHP" - } - }, - "kinds": [ - "superset" - ] - } - ] - }, - { - "id": "CucumberUndefinedStep", - "shortDescription": { - "text": "Undefined step" - }, - "fullDescription": { - "text": "Reports steps in Cucumber (or some other Gherkin) .feature files that do not have matching step definitions. Use the quick-fix to automatically create a new step definition.", - "markdown": "Reports steps in Cucumber (or some other Gherkin) .feature files that do not have matching step definitions.\n\nUse the quick-fix to automatically create a new step definition." - }, - "defaultConfiguration": { - "enabled": false, - "level": "warning", - "parameters": { - "suppressToolId": "CucumberUndefinedStep", - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" - } - }, - "relationships": [ - { - "target": { - "id": "Cucumber", - "index": 23, - "toolComponent": { - "name": "QDPHP" - } - }, - "kinds": [ - "superset" - ] - } - ] - }, - { - "id": "CucumberExamplesColon", - "shortDescription": { - "text": "Missing ':' after examples keyword" - }, - "fullDescription": { - "text": "Reports 'Examples' sections in Cucumber .feature files if they do not have ':' after the 'Examples' keyword.", - "markdown": "Reports `Examples` sections in Cucumber .feature files if they do not have ':' after the `Examples` keyword." - }, - "defaultConfiguration": { - "enabled": false, - "level": "error", - "parameters": { - "suppressToolId": "CucumberExamplesColon", - "ideaSeverity": "ERROR", - "qodanaSeverity": "Critical" - } - }, - "relationships": [ - { - "target": { - "id": "Cucumber", - "index": 23, - "toolComponent": { - "name": "QDPHP" - } - }, - "kinds": [ - "superset" - ] - } - ] - } - ], - "language": "en-US", - "contents": [ - "localizedData", - "nonLocalizedData" - ], - "isComprehensive": false - }, { "name": "JavaScript", "version": "241.16902", @@ -26357,7 +26114,7 @@ { "target": { "id": "JavaScript and TypeScript/Unused symbols", - "index": 24, + "index": 23, "toolComponent": { "name": "QDPHP" } @@ -26786,7 +26543,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -27050,7 +26807,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -27182,7 +26939,7 @@ { "target": { "id": "JavaScript and TypeScript/Unused symbols", - "index": 24, + "index": 23, "toolComponent": { "name": "QDPHP" } @@ -27248,7 +27005,7 @@ { "target": { "id": "JavaScript and TypeScript/DOM issues", - "index": 75, + "index": 74, "toolComponent": { "name": "QDPHP" } @@ -27392,28 +27149,28 @@ ] }, { - "id": "TextLabelInSwitchStatementJS", + "id": "ES6PossiblyAsyncFunction", "shortDescription": { - "text": "Text label in 'switch' statement" + "text": "'await' in non-async function" }, "fullDescription": { - "text": "Reports a labeled statement inside a 'switch' statement, which often results from a typo. Example: 'switch(x)\n {\n case 1:\n case2: //typo!\n case 3:\n break;\n }'", - "markdown": "Reports a labeled statement inside a `switch` statement, which often results from a typo.\n\nExample:\n\n\n switch(x)\n {\n case 1:\n case2: //typo!\n case 3:\n break;\n }\n" + "text": "Reports a usage of 'await' in a function that was possibly intended to be async but is actually missing the 'async' modifier. Although 'await' can be used as an identifier, it is likely that it was intended to be used as an operator, so the containing function should be made 'async'.", + "markdown": "Reports a usage of `await` in a function that was possibly intended to be async but is actually missing the `async` modifier. Although `await` can be used as an identifier, it is likely that it was intended to be used as an operator, so the containing function should be made `async`." }, "defaultConfiguration": { "enabled": false, - "level": "warning", + "level": "note", "parameters": { - "suppressToolId": "TextLabelInSwitchStatementJS", - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" + "suppressToolId": "ES6PossiblyAsyncFunction", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Switch statement issues", - "index": 73, + "id": "JavaScript and TypeScript/Async code and promises", + "index": 76, "toolComponent": { "name": "QDPHP" } @@ -27425,28 +27182,28 @@ ] }, { - "id": "ES6PossiblyAsyncFunction", + "id": "TextLabelInSwitchStatementJS", "shortDescription": { - "text": "'await' in non-async function" + "text": "Text label in 'switch' statement" }, "fullDescription": { - "text": "Reports a usage of 'await' in a function that was possibly intended to be async but is actually missing the 'async' modifier. Although 'await' can be used as an identifier, it is likely that it was intended to be used as an operator, so the containing function should be made 'async'.", - "markdown": "Reports a usage of `await` in a function that was possibly intended to be async but is actually missing the `async` modifier. Although `await` can be used as an identifier, it is likely that it was intended to be used as an operator, so the containing function should be made `async`." + "text": "Reports a labeled statement inside a 'switch' statement, which often results from a typo. Example: 'switch(x)\n {\n case 1:\n case2: //typo!\n case 3:\n break;\n }'", + "markdown": "Reports a labeled statement inside a `switch` statement, which often results from a typo.\n\nExample:\n\n\n switch(x)\n {\n case 1:\n case2: //typo!\n case 3:\n break;\n }\n" }, "defaultConfiguration": { "enabled": false, - "level": "note", + "level": "warning", "parameters": { - "suppressToolId": "ES6PossiblyAsyncFunction", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "suppressToolId": "TextLabelInSwitchStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" } }, "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Async code and promises", - "index": 76, + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 73, "toolComponent": { "name": "QDPHP" } @@ -27578,7 +27335,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -28073,7 +27830,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -28139,7 +27896,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -28205,7 +27962,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -28238,7 +27995,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -28271,7 +28028,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -28370,7 +28127,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -28634,7 +28391,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -28700,7 +28457,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -28964,7 +28721,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -28997,7 +28754,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -29129,7 +28886,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -29240,19 +28997,19 @@ ] }, { - "id": "IfStatementWithIdenticalBranchesJS", + "id": "PlatformDetectionJS", "shortDescription": { - "text": "'if' statement with identical branches" + "text": "Inaccurate platform detection" }, "fullDescription": { - "text": "Reports an 'if' statement with identical 'then' and 'else' branches. Such statements are almost certainly an error.", - "markdown": "Reports an `if` statement with identical `then` and `else` branches. Such statements are almost certainly an error." + "text": "Reports a common JavaScript pattern for detecting the browser or operating system in which the script is run. In addition to pointing out non-portable constructs, these platform detection patterns are often incomplete and easily fooled. For most cases, detection of individual environment features is preferable to attempting to detect the entire platform. Patterns detected include: 'document.all' 'document.layers' 'navigator.userAgent' 'navigator.oscpu' 'navigator.appName' 'navigator.appCodeName' 'navigator.platform'", + "markdown": "Reports a common JavaScript pattern for detecting the browser or operating system in which the script is run. In addition to pointing out non-portable constructs, these platform detection patterns are often incomplete and easily fooled. For most cases, detection of individual environment features is preferable to attempting to detect the entire platform.\n\nPatterns detected include:\n\n* `document.all`\n* `document.layers`\n* `navigator.userAgent`\n* `navigator.oscpu`\n* `navigator.appName`\n* `navigator.appCodeName`\n* `navigator.platform`" }, "defaultConfiguration": { "enabled": false, "level": "warning", "parameters": { - "suppressToolId": "IfStatementWithIdenticalBranchesJS", + "suppressToolId": "PlatformDetectionJS", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -29260,8 +29017,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "id": "JavaScript and TypeScript/DOM issues", + "index": 74, "toolComponent": { "name": "QDPHP" } @@ -29273,19 +29030,19 @@ ] }, { - "id": "PlatformDetectionJS", + "id": "IfStatementWithIdenticalBranchesJS", "shortDescription": { - "text": "Inaccurate platform detection" + "text": "'if' statement with identical branches" }, "fullDescription": { - "text": "Reports a common JavaScript pattern for detecting the browser or operating system in which the script is run. In addition to pointing out non-portable constructs, these platform detection patterns are often incomplete and easily fooled. For most cases, detection of individual environment features is preferable to attempting to detect the entire platform. Patterns detected include: 'document.all' 'document.layers' 'navigator.userAgent' 'navigator.oscpu' 'navigator.appName' 'navigator.appCodeName' 'navigator.platform'", - "markdown": "Reports a common JavaScript pattern for detecting the browser or operating system in which the script is run. In addition to pointing out non-portable constructs, these platform detection patterns are often incomplete and easily fooled. For most cases, detection of individual environment features is preferable to attempting to detect the entire platform.\n\nPatterns detected include:\n\n* `document.all`\n* `document.layers`\n* `navigator.userAgent`\n* `navigator.oscpu`\n* `navigator.appName`\n* `navigator.appCodeName`\n* `navigator.platform`" + "text": "Reports an 'if' statement with identical 'then' and 'else' branches. Such statements are almost certainly an error.", + "markdown": "Reports an `if` statement with identical `then` and `else` branches. Such statements are almost certainly an error." }, "defaultConfiguration": { "enabled": false, "level": "warning", "parameters": { - "suppressToolId": "PlatformDetectionJS", + "suppressToolId": "IfStatementWithIdenticalBranchesJS", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -29293,8 +29050,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/DOM issues", - "index": 75, + "id": "JavaScript and TypeScript/Control flow issues", + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -29372,19 +29129,19 @@ ] }, { - "id": "TypeScriptDuplicateUnionOrIntersectionType", + "id": "TrivialConditionalJS", "shortDescription": { - "text": "Duplicate union or intersection type component" + "text": "Redundant conditional expression" }, "fullDescription": { - "text": "Reports a duplicate type inside a union or intersection.", - "markdown": "Reports a duplicate type inside a union or intersection." + "text": "Reports a conditional expression of the form 'condition ? true : false\ncondition ? false : true' These expressions may be safely converted to 'condition\n!condition'", + "markdown": "Reports a conditional expression of the form\n\n\n condition ? true : false\n condition ? false : true\n\n\nThese expressions may be safely converted to\n\n\n condition\n !condition\n" }, "defaultConfiguration": { "enabled": false, "level": "warning", "parameters": { - "suppressToolId": "TypeScriptDuplicateUnionOrIntersectionType", + "suppressToolId": "RedundantConditionalExpressionJS", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -29392,8 +29149,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "id": "JavaScript and TypeScript/Control flow issues", + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -29405,19 +29162,19 @@ ] }, { - "id": "TrivialConditionalJS", + "id": "TypeScriptDuplicateUnionOrIntersectionType", "shortDescription": { - "text": "Redundant conditional expression" + "text": "Duplicate union or intersection type component" }, "fullDescription": { - "text": "Reports a conditional expression of the form 'condition ? true : false\ncondition ? false : true' These expressions may be safely converted to 'condition\n!condition'", - "markdown": "Reports a conditional expression of the form\n\n\n condition ? true : false\n condition ? false : true\n\n\nThese expressions may be safely converted to\n\n\n condition\n !condition\n" + "text": "Reports a duplicate type inside a union or intersection.", + "markdown": "Reports a duplicate type inside a union or intersection." }, "defaultConfiguration": { "enabled": false, "level": "warning", "parameters": { - "suppressToolId": "RedundantConditionalExpressionJS", + "suppressToolId": "TypeScriptDuplicateUnionOrIntersectionType", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -29425,8 +29182,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "id": "JavaScript and TypeScript/TypeScript", + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -29459,7 +29216,7 @@ { "target": { "id": "JavaScript and TypeScript/DOM issues", - "index": 75, + "index": 74, "toolComponent": { "name": "QDPHP" } @@ -29591,7 +29348,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -29723,7 +29480,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -29768,19 +29525,19 @@ ] }, { - "id": "NonBlockStatementBodyJS", + "id": "IfStatementWithTooManyBranchesJS", "shortDescription": { - "text": "Statement body without braces" + "text": "'if' statement with too many branches" }, "fullDescription": { - "text": "Reports a 'if', 'while', 'for', or 'with' statements whose body is not a block statement. Using code block in statement bodies is usually safer for downstream maintenance.", - "markdown": "Reports a `if`, `while`, `for`, or `with` statements whose body is not a block statement. Using code block in statement bodies is usually safer for downstream maintenance." + "text": "Reports an 'if' statement with too many branches. Such statements may be confusing, and often indicate inadequate levels of design abstraction. Use the field below to specify the maximum number of branches expected.", + "markdown": "Reports an `if` statement with too many branches. Such statements may be confusing, and often indicate inadequate levels of design abstraction.\n\n\nUse the field below to specify the maximum number of branches expected." }, "defaultConfiguration": { "enabled": false, "level": "warning", "parameters": { - "suppressToolId": "NonBlockStatementBodyJS", + "suppressToolId": "IfStatementWithTooManyBranchesJS", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -29788,8 +29545,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Code style issues", - "index": 66, + "id": "JavaScript and TypeScript/Control flow issues", + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -29801,19 +29558,19 @@ ] }, { - "id": "IfStatementWithTooManyBranchesJS", + "id": "NonBlockStatementBodyJS", "shortDescription": { - "text": "'if' statement with too many branches" + "text": "Statement body without braces" }, "fullDescription": { - "text": "Reports an 'if' statement with too many branches. Such statements may be confusing, and often indicate inadequate levels of design abstraction. Use the field below to specify the maximum number of branches expected.", - "markdown": "Reports an `if` statement with too many branches. Such statements may be confusing, and often indicate inadequate levels of design abstraction.\n\n\nUse the field below to specify the maximum number of branches expected." + "text": "Reports a 'if', 'while', 'for', or 'with' statements whose body is not a block statement. Using code block in statement bodies is usually safer for downstream maintenance.", + "markdown": "Reports a `if`, `while`, `for`, or `with` statements whose body is not a block statement. Using code block in statement bodies is usually safer for downstream maintenance." }, "defaultConfiguration": { "enabled": false, "level": "warning", "parameters": { - "suppressToolId": "IfStatementWithTooManyBranchesJS", + "suppressToolId": "NonBlockStatementBodyJS", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -29821,8 +29578,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "id": "JavaScript and TypeScript/Code style issues", + "index": 66, "toolComponent": { "name": "QDPHP" } @@ -30020,7 +29777,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -30053,7 +29810,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -30197,19 +29954,19 @@ ] }, { - "id": "JSObjectNullOrUndefined", + "id": "TypeScriptMissingConfigOption", "shortDescription": { - "text": "Object is 'null' or 'undefined'" + "text": "Missing tsconfig.json option " }, "fullDescription": { - "text": "Reports an error caused by invoking a method, accessing a property, or calling a function on an object that is 'undefined' or 'null'.", - "markdown": "Reports an error caused by invoking a method, accessing a property, or calling a function on an object that is `undefined` or `null`." + "text": "Reports a usage that requires an explicit option in 'tsconfig.json'. For example, to use JSX in '.tsx' files, 'tsconfig.json' must contain '\"jsx\"' property.", + "markdown": "Reports a usage that requires an explicit option in `tsconfig.json`. For example, to use JSX in `.tsx` files, `tsconfig.json` must contain `\"jsx\"` property." }, "defaultConfiguration": { "enabled": false, "level": "warning", "parameters": { - "suppressToolId": "JSObjectNullOrUndefined", + "suppressToolId": "TypeScriptMissingConfigOption", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -30217,8 +29974,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "id": "JavaScript and TypeScript/TypeScript", + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -30230,19 +29987,19 @@ ] }, { - "id": "TypeScriptMissingConfigOption", + "id": "JSObjectNullOrUndefined", "shortDescription": { - "text": "Missing tsconfig.json option " + "text": "Object is 'null' or 'undefined'" }, "fullDescription": { - "text": "Reports a usage that requires an explicit option in 'tsconfig.json'. For example, to use JSX in '.tsx' files, 'tsconfig.json' must contain '\"jsx\"' property.", - "markdown": "Reports a usage that requires an explicit option in `tsconfig.json`. For example, to use JSX in `.tsx` files, `tsconfig.json` must contain `\"jsx\"` property." + "text": "Reports an error caused by invoking a method, accessing a property, or calling a function on an object that is 'undefined' or 'null'.", + "markdown": "Reports an error caused by invoking a method, accessing a property, or calling a function on an object that is `undefined` or `null`." }, "defaultConfiguration": { "enabled": false, "level": "warning", "parameters": { - "suppressToolId": "TypeScriptMissingConfigOption", + "suppressToolId": "JSObjectNullOrUndefined", "ideaSeverity": "WARNING", "qodanaSeverity": "High" } @@ -30250,8 +30007,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "id": "JavaScript and TypeScript/Control flow issues", + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -30482,7 +30239,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -30647,7 +30404,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -30779,7 +30536,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -31142,7 +30899,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -31175,7 +30932,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -31406,7 +31163,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -31736,7 +31493,7 @@ { "target": { "id": "JavaScript and TypeScript/DOM issues", - "index": 75, + "index": 74, "toolComponent": { "name": "QDPHP" } @@ -31769,7 +31526,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -31802,7 +31559,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -31868,7 +31625,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -31880,28 +31637,28 @@ ] }, { - "id": "JSUnfilteredForInLoop", + "id": "JSIncompatibleTypesComparison", "shortDescription": { - "text": "Unfiltered for..in loop" + "text": "Comparison of expressions having incompatible types" }, "fullDescription": { - "text": "Reports unfiltered 'for-in' loops. The use of this construct results in processing not only own properties of an object but properties from its prototype as well. It may be unexpected in some specific cases, for example, in utility methods that copy or modify all properties or when 'Object''s prototype may be incorrectly modified. For example, the following code will print 42 and myMethod: 'Object.prototype.myMethod = function myMethod() {};\nlet a = { foo: 42 };\nfor (let i in a) {\n console.log(a[i]);\n}' Suggests replacing the whole loop with a 'Object.keys()' method or adding a 'hasOwnProperty()' check. After applying the quick-fix the code looks as follows: 'for (let i in a) {\n if (a.hasOwnProperty(i)) {\n console.log(a[i]);\n }\n}'", - "markdown": "Reports unfiltered `for-in` loops. \n\nThe use of this construct results in processing not only own properties of an object but properties from its prototype as well. It may be unexpected in some specific cases, for example, in utility methods that copy or modify all properties or when `Object`'s prototype may be incorrectly modified. For example, the following code will print **42** and **myMethod** : \n\n\n Object.prototype.myMethod = function myMethod() {};\n let a = { foo: 42 };\n for (let i in a) {\n console.log(a[i]);\n }\n\nSuggests replacing the whole loop with a `Object.keys()` method or adding a `hasOwnProperty()` check. After applying the quick-fix the code looks as follows:\n\n\n for (let i in a) {\n if (a.hasOwnProperty(i)) {\n console.log(a[i]);\n }\n }\n" + "text": "Reports a comparison with operands of incompatible types or an operand with a type without possible common values.", + "markdown": "Reports a comparison with operands of incompatible types or an operand with a type without possible common values." }, "defaultConfiguration": { "enabled": false, - "level": "warning", + "level": "note", "parameters": { - "suppressToolId": "JSUnfilteredForInLoop", - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" + "suppressToolId": "JSIncompatibleTypesComparison", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "JavaScript and TypeScript/General", - "index": 34, + "id": "JavaScript and TypeScript/Probable bugs", + "index": 60, "toolComponent": { "name": "QDPHP" } @@ -31913,28 +31670,28 @@ ] }, { - "id": "JSIncompatibleTypesComparison", + "id": "JSUnfilteredForInLoop", "shortDescription": { - "text": "Comparison of expressions having incompatible types" + "text": "Unfiltered for..in loop" }, "fullDescription": { - "text": "Reports a comparison with operands of incompatible types or an operand with a type without possible common values.", - "markdown": "Reports a comparison with operands of incompatible types or an operand with a type without possible common values." + "text": "Reports unfiltered 'for-in' loops. The use of this construct results in processing not only own properties of an object but properties from its prototype as well. It may be unexpected in some specific cases, for example, in utility methods that copy or modify all properties or when 'Object''s prototype may be incorrectly modified. For example, the following code will print 42 and myMethod: 'Object.prototype.myMethod = function myMethod() {};\nlet a = { foo: 42 };\nfor (let i in a) {\n console.log(a[i]);\n}' Suggests replacing the whole loop with a 'Object.keys()' method or adding a 'hasOwnProperty()' check. After applying the quick-fix the code looks as follows: 'for (let i in a) {\n if (a.hasOwnProperty(i)) {\n console.log(a[i]);\n }\n}'", + "markdown": "Reports unfiltered `for-in` loops. \n\nThe use of this construct results in processing not only own properties of an object but properties from its prototype as well. It may be unexpected in some specific cases, for example, in utility methods that copy or modify all properties or when `Object`'s prototype may be incorrectly modified. For example, the following code will print **42** and **myMethod** : \n\n\n Object.prototype.myMethod = function myMethod() {};\n let a = { foo: 42 };\n for (let i in a) {\n console.log(a[i]);\n }\n\nSuggests replacing the whole loop with a `Object.keys()` method or adding a `hasOwnProperty()` check. After applying the quick-fix the code looks as follows:\n\n\n for (let i in a) {\n if (a.hasOwnProperty(i)) {\n console.log(a[i]);\n }\n }\n" }, "defaultConfiguration": { "enabled": false, - "level": "note", + "level": "warning", "parameters": { - "suppressToolId": "JSIncompatibleTypesComparison", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "suppressToolId": "JSUnfilteredForInLoop", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" } }, "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Probable bugs", - "index": 60, + "id": "JavaScript and TypeScript/General", + "index": 34, "toolComponent": { "name": "QDPHP" } @@ -32462,7 +32219,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -32573,28 +32330,28 @@ ] }, { - "id": "ConstantOnLHSOfComparisonJS", + "id": "JSCheckFunctionSignatures", "shortDescription": { - "text": "Constant on left side of comparison" + "text": "Signature mismatch" }, "fullDescription": { - "text": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons.", - "markdown": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons." + "text": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types. TypeScript code is ignored.", + "markdown": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types.\n\nTypeScript code is ignored." }, "defaultConfiguration": { "enabled": false, - "level": "warning", + "level": "note", "parameters": { - "suppressToolId": "ConstantOnLefSideOfComparisonJS", - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" + "suppressToolId": "JSCheckFunctionSignatures", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Code style issues", - "index": 66, + "id": "JavaScript and TypeScript/General", + "index": 34, "toolComponent": { "name": "QDPHP" } @@ -32606,28 +32363,28 @@ ] }, { - "id": "JSCheckFunctionSignatures", + "id": "ConstantOnLHSOfComparisonJS", "shortDescription": { - "text": "Signature mismatch" + "text": "Constant on left side of comparison" }, "fullDescription": { - "text": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types. TypeScript code is ignored.", - "markdown": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types.\n\nTypeScript code is ignored." + "text": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons.", + "markdown": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons." }, "defaultConfiguration": { "enabled": false, - "level": "note", + "level": "warning", "parameters": { - "suppressToolId": "JSCheckFunctionSignatures", - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "suppressToolId": "ConstantOnLefSideOfComparisonJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" } }, "relationships": [ { "target": { - "id": "JavaScript and TypeScript/General", - "index": 34, + "id": "JavaScript and TypeScript/Code style issues", + "index": 66, "toolComponent": { "name": "QDPHP" } @@ -32759,7 +32516,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -32990,7 +32747,7 @@ { "target": { "id": "JavaScript and TypeScript/TypeScript", - "index": 70, + "index": 71, "toolComponent": { "name": "QDPHP" } @@ -33155,7 +32912,7 @@ { "target": { "id": "JavaScript and TypeScript/Control flow issues", - "index": 53, + "index": 54, "toolComponent": { "name": "QDPHP" } @@ -33254,6 +33011,249 @@ { "target": { "id": "JavaScript and TypeScript/Unused symbols", + "index": 23, + "toolComponent": { + "name": "QDPHP" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "gherkin", + "version": "241.16902", + "rules": [ + { + "id": "GherkinScenarioToScenarioOutline", + "shortDescription": { + "text": "Scenario with Examples section" + }, + "fullDescription": { + "text": "Reports Gherkin scenarios that contain an 'Examples' section. Use the quick-fix to convert 'Scenario' to 'Scenario Outline'.", + "markdown": "Reports Gherkin scenarios that contain an `Examples` section.\n\nUse the quick-fix to convert `Scenario` to `Scenario Outline`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "GherkinScenarioToScenarioOutline", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Cucumber", + "index": 24, + "toolComponent": { + "name": "QDPHP" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CucumberTableInspection", + "shortDescription": { + "text": "Unused or missing columns in Cucumber tables" + }, + "fullDescription": { + "text": "Reports tables in 'Examples' sections in Cucumber .feature files with unused or missing columns.", + "markdown": "Reports tables in `Examples` sections in Cucumber .feature files with unused or missing columns." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CucumberTableInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Cucumber", + "index": 24, + "toolComponent": { + "name": "QDPHP" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "GherkinBrokenTableInspection", + "shortDescription": { + "text": "Gherkin table is broken" + }, + "fullDescription": { + "text": "Reports a table if there is at least one row with the number of cells different from the number of cells in the table header.", + "markdown": "Reports a table if there is at least one row with the number of cells different from the number of cells in the table header." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "GherkinBrokenTableInspection", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Cucumber", + "index": 24, + "toolComponent": { + "name": "QDPHP" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "GherkinMisplacedBackground", + "shortDescription": { + "text": "Misplaced background section" + }, + "fullDescription": { + "text": "Reports 'Background' sections that are located incorrectly. The 'Background' section must be located before the 'Scenario' section.", + "markdown": "Reports `Background` sections that are located incorrectly. The `Background` section must be located before the `Scenario` section." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "GherkinMisplacedBackground", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Cucumber", + "index": 24, + "toolComponent": { + "name": "QDPHP" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CucumberMissedExamples", + "shortDescription": { + "text": "Missing examples section" + }, + "fullDescription": { + "text": "Reports scenario outlines in Cucumber .feature files that do not have the 'Examples' section. Use the quick-fix to automatically create the 'Examples' section with a pre-filled table header.", + "markdown": "Reports scenario outlines in Cucumber .feature files that do not have the `Examples` section.\n\nUse the quick-fix to automatically create the `Examples` section with a pre-filled table header." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CucumberMissedExamples", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Cucumber", + "index": 24, + "toolComponent": { + "name": "QDPHP" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CucumberUndefinedStep", + "shortDescription": { + "text": "Undefined step" + }, + "fullDescription": { + "text": "Reports steps in Cucumber (or some other Gherkin) .feature files that do not have matching step definitions. Use the quick-fix to automatically create a new step definition.", + "markdown": "Reports steps in Cucumber (or some other Gherkin) .feature files that do not have matching step definitions.\n\nUse the quick-fix to automatically create a new step definition." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CucumberUndefinedStep", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Cucumber", + "index": 24, + "toolComponent": { + "name": "QDPHP" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CucumberExamplesColon", + "shortDescription": { + "text": "Missing ':' after examples keyword" + }, + "fullDescription": { + "text": "Reports 'Examples' sections in Cucumber .feature files if they do not have ':' after the 'Examples' keyword.", + "markdown": "Reports `Examples` sections in Cucumber .feature files if they do not have ':' after the `Examples` keyword." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CucumberExamplesColon", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Cucumber", "index": 24, "toolComponent": { "name": "QDPHP" @@ -34919,7 +34919,7 @@ { "target": { "id": "CSS/Probable bugs", - "index": 71, + "index": 70, "toolComponent": { "name": "QDPHP" } @@ -35183,7 +35183,7 @@ { "target": { "id": "CSS/Probable bugs", - "index": 71, + "index": 70, "toolComponent": { "name": "QDPHP" } @@ -35546,7 +35546,7 @@ { "target": { "id": "CSS/Probable bugs", - "index": 71, + "index": 70, "toolComponent": { "name": "QDPHP" } @@ -36065,7 +36065,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36098,7 +36098,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36131,7 +36131,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36164,7 +36164,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36230,7 +36230,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36263,7 +36263,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36296,7 +36296,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36329,7 +36329,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36362,7 +36362,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36395,7 +36395,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -36428,7 +36428,7 @@ { "target": { "id": "HTTP Client", - "index": 51, + "index": 50, "toolComponent": { "name": "QDPHP" } @@ -38482,9 +38482,9 @@ }, "invocations": [ { - "startTimeUtc": "2024-05-13T11:31:43.619168085Z", + "startTimeUtc": "2024-05-14T07:21:49.379400518Z", "exitCode": 255, - "exitCodeDescription": "Failure condition triggered:\n- Detected 26 problems across all severities, fail threshold: 0", + "exitCodeDescription": "Failure condition triggered:\n- Detected 1 problem across all severities, fail threshold: 0", "executionSuccessful": true } ], @@ -38492,13 +38492,13 @@ "versionControlProvenance": [ { "repositoryUri": "https://github.com/pimcore/studio-backend-bundle.git", - "revisionId": "4c3dd0749eafb132b84178828c6eaa17bcde84d4", - "branch": "1.x", + "revisionId": "ce66ae4335960310ee8dc41aceb619acf647aec2", + "branch": "156-dependencies", "properties": { "repoUrl": "https://github.com/pimcore/studio-backend-bundle.git", - "lastAuthorName": "lukmzig", + "lastAuthorName": "mattamon", "vcsType": "Git", - "lastAuthorEmail": "30526586+lukmzig@users.noreply.github.com" + "lastAuthorEmail": "matthias.schuhmayer@pimcore.com" } } ], @@ -38508,532 +38508,20 @@ "kind": "fail", "level": "note", "message": { - "text": "[EA] High efferent coupling (22).", - "markdown": "\\[EA\\] High efferent coupling (22)." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Asset/Controller/CustomSettingsController.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 13, - "charOffset": 2116, - "charLength": 24, - "snippet": { - "text": "CustomSettingsController" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 2087, - "charLength": 115, - "snippet": { - "text": " * @internal\n */\nfinal class CustomSettingsController extends AbstractApiController\n{\n use ElementProviderTrait;" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "7ba46194b23c4715", - "equalIndicator/v1": "c3a1fb37b40e52d1c38c4c51dc39402aa72d2557cd4c06356d0b1747ada4bf85" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "DuplicatedCode", - "kind": "fail", - "level": "note", - "message": { - "text": "Duplicated code", - "markdown": "Duplicated code" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/DataIndex/Hydrator/Asset/ArchiveHydrator.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 13, - "charOffset": 1277, - "charLength": 743, - "snippet": { - "text": "$this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1265, - "charLength": 755, - "snippet": { - "text": " $this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - }, - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/DataIndex/Hydrator/Asset/AudioHydrator.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 13, - "charOffset": 1261, - "charLength": 743, - "snippet": { - "text": "$this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1249, - "charLength": 755, - "snippet": { - "text": " $this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - }, - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/DataIndex/Hydrator/Asset/FolderHydrator.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 13, - "charOffset": 1269, - "charLength": 743, - "snippet": { - "text": "$this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1257, - "charLength": 755, - "snippet": { - "text": " $this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - }, - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/DataIndex/Hydrator/Asset/TextHydrator.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 13, - "charOffset": 1253, - "charLength": 743, - "snippet": { - "text": "$this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1241, - "charLength": 755, - "snippet": { - "text": " $this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - }, - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/DataIndex/Hydrator/Asset/UnknownHydrator.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 13, - "charOffset": 1277, - "charLength": 743, - "snippet": { - "text": "$this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1265, - "charLength": 755, - "snippet": { - "text": " $this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - }, - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/DataIndex/Hydrator/AssetHydrator.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 13, - "charOffset": 1251, - "charLength": 743, - "snippet": { - "text": "$this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1239, - "charLength": 755, - "snippet": { - "text": " $this->iconService->getIconForAsset($item->getType(), $item->getMimeType()),\n $item->isHasChildren(),\n $item->getType(),\n $item->getKey(),\n $item->getMimeType(),\n $this->metaDataHydrator->hydrate($item->getMetaData()),\n $item->isHasWorkflowWithPermissions(),\n $item->getFullPath(),\n $item->getId(),\n $item->getParentId(),\n $item->getPath(),\n $item->getUserOwner(),\n $item->getUserModification(),\n $item->getLocked(),\n $item->isLocked(),\n $item->getCreationDate(),\n $item->getModificationDate(),\n $this->permissionsHydrator->hydrate($item->getPermissions())" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "1a48abf43e131b3c", - "equalIndicator/v1": "d332e327ffffb913d03b5c1b123366ccfb39379be3645fdac1a4e16298cddeb5" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "EfferentObjectCouplingInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "[EA] High efferent coupling (21).", - "markdown": "\\[EA\\] High efferent coupling (21)." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Authorization/Controller/AuthorizationController.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 13, - "charOffset": 2183, - "charLength": 23, - "snippet": { - "text": "AuthorizationController" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 2154, - "charLength": 117, - "snippet": { - "text": " * @internal\n */\nfinal class AuthorizationController extends AbstractApiController\n{\n public function __construct(" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "af124e8aa2be2d8b", - "equalIndicator/v1": "31c95f4bfa8bf741b071ffed051cc58534a0d8fa41131ab271c2271332f08bcd" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "EfferentObjectCouplingInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "[EA] High efferent coupling (30).", - "markdown": "\\[EA\\] High efferent coupling (30)." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/DataObject/Controller/CollectionController.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 13, - "charOffset": 3025, - "charLength": 20, - "snippet": { - "text": "CollectionController" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 2958, - "charLength": 151, - "snippet": { - "text": "use Symfony\\Component\\Serializer\\SerializerInterface;\n\nfinal class CollectionController extends AbstractApiController\n{\n use PaginatedResponseTrait;" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "2628b827dadbc43e", - "equalIndicator/v1": "4eff5b6887106f38106f3d5e26c162bd2a02157f1c71659dc533c9ec4a13c41c" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "EfferentObjectCouplingInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "[EA] High efferent coupling (20).", - "markdown": "\\[EA\\] High efferent coupling (20)." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Version/Controller/CleanupController.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 13, - "charOffset": 2021, - "charLength": 17, - "snippet": { - "text": "CleanupController" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 1992, - "charLength": 111, - "snippet": { - "text": " * @internal\n */\nfinal class CleanupController extends AbstractApiController\n{\n public function __construct(" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "ef77395305986867", - "equalIndicator/v1": "56fa5cb989107bf6a2500e4f7e4590ecd2a76c4b9c3266968efd6977f85df779" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "EfferentObjectCouplingInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "[EA] High efferent coupling (30).", - "markdown": "\\[EA\\] High efferent coupling (30)." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Asset/Controller/CollectionController.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 13, - "charOffset": 2996, - "charLength": 20, - "snippet": { - "text": "CollectionController" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 2967, - "charLength": 113, - "snippet": { - "text": " * @internal\n */\nfinal class CollectionController extends AbstractApiController\n{\n use PaginatedResponseTrait;" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "4fb327c4151fd0ef", - "equalIndicator/v1": "5c00a4f43cabb4c6181f0353ac0fcab81fe0f6be307800d7899ad041c4d5a7a5" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "EfferentObjectCouplingInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "[EA] High efferent coupling (24).", - "markdown": "\\[EA\\] High efferent coupling (24)." + "text": "[EA] High efferent coupling (25).", + "markdown": "\\[EA\\] High efferent coupling (25)." }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "src/Version/Controller/CollectionController.php", + "uri": "src/Dependency/Controller/CollectionController.php", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 46, + "startLine": 47, "startColumn": 13, - "charOffset": 2370, + "charOffset": 2487, "charLength": 20, "snippet": { "text": "CollectionController" @@ -39041,9 +38529,9 @@ "sourceLanguage": "PHP" }, "contextRegion": { - "startLine": 44, + "startLine": 45, "startColumn": 1, - "charOffset": 2341, + "charOffset": 2458, "charLength": 113, "snippet": { "text": " * @internal\n */\nfinal class CollectionController extends AbstractApiController\n{\n use PaginatedResponseTrait;" @@ -39060,1148 +38548,8 @@ } ], "partialFingerprints": { - "equalIndicator/v2": "92b68947b9449ee1", - "equalIndicator/v1": "83f4848e12782b2d396312d0d5597edc0a820ff23ebf26d04fa71f2c2699290d" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Asset/Schema/Asset.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 11, - "charOffset": 1762, - "charLength": 75, - "snippet": { - "text": "Property(description: 'Workflow permissions', type: 'bool', example: false)" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1699, - "charLength": 291, - "snippet": { - "text": " )]\n private readonly array $metaData,\n #[Property(description: 'Workflow permissions', type: 'bool', example: false)]\n private readonly bool $hasWorkflowWithPermissions,\n #[Property(description: 'Full path', type: 'string', example: '/path/to/asset.jpg')]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "c8e54b4ae449ef08", - "equalIndicator/v1": "08a9dc4e9b115719de1aeaed732b08c3844bfa0d83ec7ce65f3d70a6998a7355" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Response/Element.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 11, - "charOffset": 1882, - "charLength": 33, - "snippet": { - "text": "Property(ref: Permissions::class)" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1732, - "charLength": 242, - "snippet": { - "text": " #[Property(description: 'Modification date', type: 'integer', example: 327417600)]\n private readonly ?int $modificationDate,\n #[Property(ref: Permissions::class)]\n private readonly Permissions $permissions\n ) {" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "14ab2cf63d196a8d", - "equalIndicator/v1": "1519aa442e4b7420e0c7976d0355262e40ecff315029ceb0f77558914cdc8c7e" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Version/Schema/AssetVersion.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 11, - "charOffset": 738, - "charLength": 78, - "snippet": { - "text": "Property(description: 'file name', type: 'string', example: 'myImageFile.png')" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 693, - "charLength": 264, - "snippet": { - "text": "{\n public function __construct(\n #[Property(description: 'file name', type: 'string', example: 'myImageFile.png')]\n private string $fileName,\n #[Property(description: 'temporary file', type: 'string', example: 'path/to/temporary/file.png')]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "84178e08c07824ca", - "equalIndicator/v1": "40378ee9c96fbd740fa85b6951c8a29bdf4466e8f7534633fd0f233505230f64" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Asset/Schema/Asset.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 11, - "charOffset": 1142, - "charLength": 63, - "snippet": { - "text": "Property(description: 'Type', type: 'string', example: 'image')" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 1009, - "charLength": 318, - "snippet": { - "text": " #[Property(description: 'Has children', type: 'bool', example: false)]\n private readonly bool $hasChildren,\n #[Property(description: 'Type', type: 'string', example: 'image')]\n private readonly string $type,\n #[Property(description: 'Filename', type: 'string', example: 'cool.jpg')]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "669bc6ac0069bd19", - "equalIndicator/v1": "43a80b488985c32dafac3a484c67f89e44977e35238a60da91129ee894458006" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Version/Schema/AssetVersion.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 11, - "charOffset": 862, - "charLength": 94, - "snippet": { - "text": "Property(description: 'temporary file', type: 'string', example: 'path/to/temporary/file.png')" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 728, - "charLength": 277, - "snippet": { - "text": " #[Property(description: 'file name', type: 'string', example: 'myImageFile.png')]\n private string $fileName,\n #[Property(description: 'temporary file', type: 'string', example: 'path/to/temporary/file.png')]\n private ?string $temporaryFile,\n ) {" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "402d16b5748c1803", - "equalIndicator/v1": "4d0f4b8b25bda5952fb05a5f1ae26ef53b28dc776cb6c9b419e6ea833fdcdf52" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Response/Element.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 11, - "charOffset": 1742, - "charLength": 79, - "snippet": { - "text": "Property(description: 'Modification date', type: 'integer', example: 327417600)" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1600, - "charLength": 316, - "snippet": { - "text": " #[Property(description: 'Creation date', type: 'integer', example: 221846400)]\n private readonly ?int $creationDate,\n #[Property(description: 'Modification date', type: 'integer', example: 327417600)]\n private readonly ?int $modificationDate,\n #[Property(ref: Permissions::class)]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "7bcbe5e0ca1111b0", - "equalIndicator/v1": "56ec89239bdfba357459724f1bb84609cec99734a3a9fbc3a0a1cce71f74f674" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Request/CollectionParameters.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 11, - "charOffset": 905, - "charLength": 8, - "snippet": { - "text": "Positive" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 844, - "charLength": 114, - "snippet": { - "text": " private int $page = 1,\n #[NotBlank]\n #[Positive]\n private int $pageSize = 10,\n ) {" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "77d6ecc501de5c0c", - "equalIndicator/v1": "64afe4fba632fd3636d6943e45b1124b60c35b33bcbcbb3be68e9ad0e99134a3" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Request/CollectionParameters.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 11, - "charOffset": 885, - "charLength": 8, - "snippet": { - "text": "NotBlank" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 824, - "charLength": 126, - "snippet": { - "text": " #[Positive]\n private int $page = 1,\n #[NotBlank]\n #[Positive]\n private int $pageSize = 10," - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "ccd5d96bc68b7e1a", - "equalIndicator/v1": "70cb41f7fe78e21c7d9dc60728b83fd4fe5e2d7eece4ba89f9a57f4d07018b1c" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Asset/Schema/Asset.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 11, - "charOffset": 1509, - "charLength": 199, - "snippet": { - "text": "Property(\n description: 'Metadata',\n type: 'array',\n items: new Items(type: 'string', example: 'meta_data_example'),\n example: 'pimcore_icon_pdf'\n )" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 1371, - "charLength": 467, - "snippet": { - "text": " #[Property(description: 'Mimetype', type: 'string', example: 'image/jpeg')]\n private readonly ?string $mimeType,\n #[Property(\n description: 'Metadata',\n type: 'array',\n items: new Items(type: 'string', example: 'meta_data_example'),\n example: 'pimcore_icon_pdf'\n )]\n private readonly array $metaData,\n #[Property(description: 'Workflow permissions', type: 'bool', example: false)]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "b4c6aa1929d1bf97", - "equalIndicator/v1": "7e7fad67b721599df9b4a59f1faf5ae55576773c810fe1f0b11211a03ffdc9fb" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Response/Element.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 11, - "charOffset": 983, - "charLength": 74, - "snippet": { - "text": "Property(description: 'path', type: 'string', example: '/path/to/element')" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 855, - "charLength": 319, - "snippet": { - "text": " #[Property(description: 'ID of parent', type: 'integer', example: 1)]\n private readonly int $parentId,\n #[Property(description: 'path', type: 'string', example: '/path/to/element')]\n private readonly string $path,\n #[Property(description: 'ID of owner', type: 'integer', example: 1)]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "dd3f5ea7a9dff674", - "equalIndicator/v1": "8126ddc2ba426ea7c6af291056e76b92f38870ecf0967860a9a3bb0fa7933858" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Asset/Schema/Asset.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 11, - "charOffset": 1908, - "charLength": 81, - "snippet": { - "text": "Property(description: 'Full path', type: 'string', example: '/path/to/asset.jpg')" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1752, - "charLength": 298, - "snippet": { - "text": " #[Property(description: 'Workflow permissions', type: 'bool', example: false)]\n private readonly bool $hasWorkflowWithPermissions,\n #[Property(description: 'Full path', type: 'string', example: '/path/to/asset.jpg')]\n private readonly string $fullPath,\n int $id," - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "0b4f2b468ad5fa55", - "equalIndicator/v1": "8589169c7dc68ddd3a3ff4ca9c715b43f668e1a9f3d177dae4138d9370b0e4a8" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Response/Element.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 11, - "charOffset": 1610, - "charLength": 75, - "snippet": { - "text": "Property(description: 'Creation date', type: 'integer', example: 221846400)" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1480, - "charLength": 342, - "snippet": { - "text": " #[Property(description: 'Is locked', type: 'boolean', example: false)]\n private readonly bool $isLocked,\n #[Property(description: 'Creation date', type: 'integer', example: 221846400)]\n private readonly ?int $creationDate,\n #[Property(description: 'Modification date', type: 'integer', example: 327417600)]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "80bfcd5e195caddf", - "equalIndicator/v1": "a202732b45abe1c94d18ae6ea5f71ddbbfd1fb71649fbfcec1ec249f16766178" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Response/Element.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 11, - "charOffset": 1490, - "charLength": 67, - "snippet": { - "text": "Property(description: 'Is locked', type: 'boolean', example: false)" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 1360, - "charLength": 326, - "snippet": { - "text": " #[Property(description: 'Locked', type: 'string', example: 'locked')]\n private readonly ?string $locked,\n #[Property(description: 'Is locked', type: 'boolean', example: false)]\n private readonly bool $isLocked,\n #[Property(description: 'Creation date', type: 'integer', example: 221846400)]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "2fec47e9fbf8e257", - "equalIndicator/v1": "b8d74bf3622ae06c9cab86005a1ab064dc1fea4c53635f2556e00d81b9cddd88" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Request/CollectionParameters.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 11, - "charOffset": 834, - "charLength": 8, - "snippet": { - "text": "Positive" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 771, - "charLength": 123, - "snippet": { - "text": " public function __construct(\n #[NotBlank]\n #[Positive]\n private int $page = 1,\n #[NotBlank]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "63721e6ae2ff09e4", - "equalIndicator/v1": "cc182978cf2b938bd3cf51d25b8852bdcaefc64d83197c7c517a569e1bed1d79" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Response/Element.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 11, - "charOffset": 1108, - "charLength": 65, - "snippet": { - "text": "Property(description: 'ID of owner', type: 'integer', example: 1)" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 973, - "charLength": 338, - "snippet": { - "text": " #[Property(description: 'path', type: 'string', example: '/path/to/element')]\n private readonly string $path,\n #[Property(description: 'ID of owner', type: 'integer', example: 1)]\n private readonly int $userOwner,\n #[Property(description: 'User that modified the element', type: 'integer', example: 1)]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "9c7851323aec72ad", - "equalIndicator/v1": "d23051cfd5b754ac82c3b6a0393e6667205ad4a75d4f5eefbeab50b23606d799" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Asset/Schema/Asset.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 11, - "charOffset": 1381, - "charLength": 72, - "snippet": { - "text": "Property(description: 'Mimetype', type: 'string', example: 'image/jpeg')" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1246, - "charLength": 272, - "snippet": { - "text": " #[Property(description: 'Filename', type: 'string', example: 'cool.jpg')]\n private readonly string $filename,\n #[Property(description: 'Mimetype', type: 'string', example: 'image/jpeg')]\n private readonly ?string $mimeType,\n #[Property(" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "01e6b1622c1ac541", - "equalIndicator/v1": "e1278b582ec78526441db2e368254195614e887186a2c3c98383915ca5fa35fe" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Asset/Schema/Asset.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 11, - "charOffset": 1256, - "charLength": 70, - "snippet": { - "text": "Property(description: 'Filename', type: 'string', example: 'cool.jpg')" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 1132, - "charLength": 322, - "snippet": { - "text": " #[Property(description: 'Type', type: 'string', example: 'image')]\n private readonly string $type,\n #[Property(description: 'Filename', type: 'string', example: 'cool.jpg')]\n private readonly string $filename,\n #[Property(description: 'Mimetype', type: 'string', example: 'image/jpeg')]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "4265bd53264b2b0c", - "equalIndicator/v1": "e6cc6503ffca3f6dd7dce4f92789ac1a3e122d9a7ab44c799f8b7aebf6f514e1" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Request/CollectionParameters.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 11, - "charOffset": 814, - "charLength": 8, - "snippet": { - "text": "NotBlank" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 769, - "charLength": 105, - "snippet": { - "text": "{\n public function __construct(\n #[NotBlank]\n #[Positive]\n private int $page = 1," - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "b924270e17c10f07", - "equalIndicator/v1": "f2c0dc13e7e15ff2d40ef3f389848e6f1605257cc3a55e118392df3632ecdabf" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Response/Element.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 11, - "charOffset": 1370, - "charLength": 66, - "snippet": { - "text": "Property(description: 'Locked', type: 'string', example: 'locked')" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 1216, - "charLength": 342, - "snippet": { - "text": " #[Property(description: 'User that modified the element', type: 'integer', example: 1)]\n private readonly int $userModification,\n #[Property(description: 'Locked', type: 'string', example: 'locked')]\n private readonly ?string $locked,\n #[Property(description: 'Is locked', type: 'boolean', example: false)]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "54e2faa7120fdfad", - "equalIndicator/v1": "faa3722f6b90434e54f632922c9803f6e391e29984d1a9464086c270b3a0ed41" - }, - "baselineState": "new", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "PHP" - ] - } - }, - { - "ruleId": "PhpAttributeCanBeAddedToOverriddenMemberInspection", - "kind": "fail", - "level": "note", - "message": { - "text": "Attribute can be added to overriding parameter", - "markdown": "Attribute can be added to overriding parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/Response/Element.php", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 11, - "charOffset": 1226, - "charLength": 84, - "snippet": { - "text": "Property(description: 'User that modified the element', type: 'integer', example: 1)" - }, - "sourceLanguage": "PHP" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1098, - "charLength": 339, - "snippet": { - "text": " #[Property(description: 'ID of owner', type: 'integer', example: 1)]\n private readonly int $userOwner,\n #[Property(description: 'User that modified the element', type: 'integer', example: 1)]\n private readonly int $userModification,\n #[Property(description: 'Locked', type: 'string', example: 'locked')]" - }, - "sourceLanguage": "PHP" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "project", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v2": "0d648721bc039127", - "equalIndicator/v1": "fe6fc561100aa403c25a9624309cc14e7f1cc862740c652d71d7cc91df967beb" + "equalIndicator/v2": "f54edb7d9c3c153c", + "equalIndicator/v1": "52b9b3d89e0c0fb0a94ee06d8c10a4c92828b25d923c5f8cfd096f182e084deb" }, "baselineState": "new", "properties": { @@ -40214,10 +38562,10 @@ } ], "automationDetails": { - "id": "project/qodana/2024-05-13", - "guid": "55167e2f-5460-4a55-9b54-f1ad705fa0a1", + "id": "project/qodana/2024-05-14", + "guid": "18f5511a-9086-408f-84ed-2d0f45f280be", "properties": { - "jobUrl": "https://github.com/pimcore/studio-backend-bundle/actions/runs/9062100886" + "jobUrl": "https://github.com/pimcore/studio-backend-bundle/actions/runs/9075349479" } }, "newlineSequences": [ @@ -40233,8 +38581,8 @@ "configProfile": "path", "deviceId": "200820300000000-7c33-767c-9695-477d79c87e1c", "qodanaNewResultSummary": { - "moderate": 26, - "total": 26 + "moderate": 1, + "total": 1 } } }