CdsConnector/qodana.sarif.json
Marko c6bc1776bd
Some checks failed
continuous-integration/drone/push Build is failing
add fixed export
2023-12-13 12:53:31 +01:00

46887 lines
1.9 MiB
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$schema": "https://raw.githubusercontent.com/schemastore/schemastore/master/src/schemas/json/sarif-2.1.0-rtm.5.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"name": "PS",
"fullName": "Qodana",
"version": "232.10072.32",
"rules": [],
"taxa": [
{
"id": "Shopware 6",
"name": "Shopware 6"
},
{
"id": "Shopware 6/Store check",
"name": "Store check",
"relationships": [
{
"target": {
"id": "Shopware 6",
"index": 0,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP",
"name": "PHP"
},
{
"id": "PHP/Code smell",
"name": "Code smell",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/PHPDoc",
"name": "PHPDoc",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Code style",
"name": "Code style",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Naming conventions",
"name": "Naming conventions",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shell script",
"name": "Shell script"
},
{
"id": "PHP/General",
"name": "General",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript",
"name": "JavaScript and TypeScript"
},
{
"id": "JavaScript and TypeScript/Unit testing",
"name": "Unit testing",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Probable bugs",
"name": "Probable bugs",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MySQL",
"name": "MySQL"
},
{
"id": "Symfony",
"name": "Symfony"
},
{
"id": "Symfony/Twig",
"name": "Twig",
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Control flow",
"name": "Control flow",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/PHPDoc/Code style",
"name": "Code style",
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/PhpClean",
"name": "PhpClean",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Sass/SCSS",
"name": "Sass/SCSS"
},
{
"id": "HTML",
"name": "HTML"
},
{
"id": "Cucumber",
"name": "Cucumber"
},
{
"id": "JavaScript and TypeScript/Unused symbols",
"name": "Unused symbols",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Flow type checker",
"name": "Flow type checker",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Data flow",
"name": "Data flow",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfig",
"name": "EditorConfig"
},
{
"id": "PHP/PHPUnit",
"name": "PHPUnit",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CSV",
"name": "CSV"
},
{
"id": "PostCSS",
"name": "PostCSS"
},
{
"id": "JavaScript and TypeScript/Bitwise operation issues",
"name": "Bitwise operation issues",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Type compatibility",
"name": "Type compatibility",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/General",
"name": "General",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Undefined symbols",
"name": "Undefined symbols",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/ES2015 migration aids",
"name": "ES2015 migration aids",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DotEnv",
"name": "DotEnv"
},
{
"id": "General",
"name": "General"
},
{
"id": "HTML/Accessibility",
"name": "Accessibility",
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/React",
"name": "React",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Validity issues",
"name": "Validity issues",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"name": "Potentially confusing code constructs",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CSS",
"name": "CSS"
},
{
"id": "CSS/Invalid elements",
"name": "Invalid elements",
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SQL",
"name": "SQL"
},
{
"id": "JavaScript and TypeScript/Try statement issues",
"name": "Try statement issues",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YAML",
"name": "YAML"
},
{
"id": "HTTP Client",
"name": "HTTP Client"
},
{
"id": "PHP/Unused symbols",
"name": "Unused symbols",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Ignore",
"name": "Ignore"
},
{
"id": "PHP/Composer",
"name": "Composer",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XML",
"name": "XML"
},
{
"id": "JavaScript and TypeScript/Control flow issues",
"name": "Control flow issues",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"name": "Potentially undesirable code constructs",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "OpenAPI specifications",
"name": "OpenAPI specifications"
},
{
"id": "CSS/Code style issues",
"name": "Code style issues",
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Symfony/Asset",
"name": "Asset",
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Less",
"name": "Less"
},
{
"id": "JavaScript and TypeScript/Probable bugs",
"name": "Probable bugs",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Attributes",
"name": "Attributes",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XSLT",
"name": "XSLT"
},
{
"id": "PHP/Annotation",
"name": "Annotation",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Symfony/Route",
"name": "Route",
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Dockerfile",
"name": "Dockerfile"
},
{
"id": "RegExp",
"name": "RegExp"
},
{
"id": "Shopware 6/Script",
"name": "Script",
"relationships": [
{
"target": {
"id": "Shopware 6",
"index": 0,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Code style issues",
"name": "Code style issues",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Assignment issues",
"name": "Assignment issues",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Joomla!",
"name": "Joomla!"
},
{
"id": "Symfony/Service",
"name": "Service",
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Refactoring opportunities",
"name": "Refactoring opportunities",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Angular",
"name": "Angular"
},
{
"id": "JavaScript and TypeScript/TypeScript",
"name": "TypeScript",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CSS/Probable bugs",
"name": "Probable bugs",
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Switch statement issues",
"name": "Switch statement issues",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/DOM issues",
"name": "DOM issues",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Async code and promises",
"name": "Async code and promises",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Code Coverage",
"name": "Code Coverage"
},
{
"id": "Proofreading",
"name": "Proofreading"
},
{
"id": "PHP/Behat",
"name": "Behat",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Imports and dependencies",
"name": "Imports and dependencies",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Markdown",
"name": "Markdown"
},
{
"id": "Ini files",
"name": "Ini files"
},
{
"id": "Symfony/Translation",
"name": "Translation",
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Code style/PSR-12",
"name": "PSR-12",
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Psalm",
"name": "Psalm",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Naming conventions",
"name": "Naming conventions",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Code quality tools",
"name": "Code quality tools",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Blade files",
"name": "Blade files"
},
{
"id": "PHP/PHP strict standards",
"name": "PHP strict standards",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Regular expressions",
"name": "Regular expressions",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware 6/PHP",
"name": "PHP",
"relationships": [
{
"target": {
"id": "Shopware 6",
"index": 0,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PHP/Quality tools",
"name": "Quality tools",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript and TypeScript/Function metrics",
"name": "Function metrics",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Security",
"name": "Security"
},
{
"id": "JSON and JSON5",
"name": "JSON and JSON5"
},
{
"id": "JSONPath",
"name": "JSONPath"
},
{
"id": "PHP/Error handling",
"name": "Error handling",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SASS/SCSS",
"name": "SASS/SCSS"
},
{
"id": "SASS/SCSS/Code quality tools",
"name": "Code quality tools",
"relationships": [
{
"target": {
"id": "SASS/SCSS",
"index": 95,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XPath",
"name": "XPath"
},
{
"id": "Docker-compose",
"name": "Docker-compose"
},
{
"id": "Oracle",
"name": "Oracle"
},
{
"id": "Internationalization",
"name": "Internationalization"
},
{
"id": "MongoJS",
"name": "MongoJS"
},
{
"id": "Vue",
"name": "Vue"
},
{
"id": "Version control",
"name": "Version control"
},
{
"id": "Makefile",
"name": "Makefile"
},
{
"id": "Structural search",
"name": "Structural search"
},
{
"id": "Phing",
"name": "Phing"
},
{
"id": "JavaScript and TypeScript/Node.js",
"name": "Node.js",
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript",
"index": 9,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RELAX NG",
"name": "RELAX NG"
},
{
"id": "PHP/Replaceable assignments",
"name": "Replaceable assignments",
"relationships": [
{
"target": {
"id": "PHP",
"index": 2,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Symfony/Template",
"name": "Template",
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Symfony/Yaml",
"name": "Yaml",
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CSS/Code quality tools",
"name": "Code quality tools",
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PostgreSQL",
"name": "PostgreSQL"
},
{
"id": "Symfony/Form",
"name": "Form",
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JavaScript",
"name": "JavaScript"
},
{
"id": "JavaScript/Code quality tools",
"name": "Code quality tools",
"relationships": [
{
"target": {
"id": "JavaScript",
"index": 115,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SQL server",
"name": "SQL server"
},
{
"id": "Qodana",
"name": "Qodana"
},
{
"id": "File Watchers",
"name": "File Watchers"
},
{
"id": "Shopware 6/Administration",
"name": "Administration",
"relationships": [
{
"target": {
"id": "Shopware 6",
"index": 0,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
"extensions": [
{
"name": "de.shyim.shopware6",
"version": "0.0.40",
"rules": [
{
"id": "Shopware6PluginStoreMissingManufacturerLink",
"shortDescription": {
"text": "Composer.json: missing extra.manufacturerLink"
},
"fullDescription": {
"text": "For the Shopware Store the manufacturerLink attribute is required.",
"markdown": "For the Shopware Store the manufacturerLink attribute is required."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Shopware6PluginStoreMissingManufacturerLink",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/Store check",
"index": 1,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware6PluginStoreMissingExtraDescription",
"shortDescription": {
"text": "Composer.json: missing extra.description"
},
"fullDescription": {
"text": "For the Shopware Store the description attribute is required.",
"markdown": "For the Shopware Store the description attribute is required."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Shopware6PluginStoreMissingExtraDescription",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/Store check",
"index": 1,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware6AppScriptPermissionMissing",
"shortDescription": {
"text": "Permission is missing in manifest.xml"
},
"fullDescription": {
"text": "Check for missing app permissions in your app scripts",
"markdown": "Check for missing app permissions in your app scripts"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Shopware6AppScriptPermissionMissing",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/Script",
"index": 62,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware6CriteriaIdMisused",
"shortDescription": {
"text": "Criteria IDs set by filter instead of constructor"
},
"fullDescription": {
"text": "The DAL does 2 queries to fetch entities. First it queries for the IDs and then fetches the entity's. When we know already the ids, we can pass it in the constructor to let the DAL to fetch directly the entities.",
"markdown": "The DAL does 2 queries to fetch entities. First it queries for the IDs and then fetches the entity's. When we know already the ids, we can pass it in the constructor to let the DAL to fetch directly the entities."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Shopware6CriteriaIdMisused",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/PHP",
"index": 88,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware6AppScriptServiceNotAvailable",
"shortDescription": {
"text": "Requested service is not available in this scope"
},
"fullDescription": {
"text": "Check for invalid service usage in App Scripts",
"markdown": "Check for invalid service usage in App Scripts"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Shopware6AppScriptServiceNotAvailable",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/Script",
"index": 62,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware6AbstractClassInspection",
"shortDescription": {
"text": "Class used instead of abstract class"
},
"fullDescription": {
"text": "Typeing the implementation instead of the abstract class breaks the decoration pattern of this class. Check for correct decoration usage in constructor",
"markdown": "Typeing the implementation instead of the abstract class breaks the decoration pattern of this class.\n\nCheck for correct decoration usage in constructor"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "Shopware6AbstractClassInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/PHP",
"index": 88,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware6PluginStoreMissingRequire",
"shortDescription": {
"text": "Composer.json: missing require.shopware/core"
},
"fullDescription": {
"text": "The plugin should always require the shopware/core and specify the compatible versions.",
"markdown": "The plugin should always require the shopware/core and specify the compatible versions."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Shopware6PluginStoreMissingRequire",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/Store check",
"index": 1,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware6PluginStoreMissingSupportLink",
"shortDescription": {
"text": "Composer.json: missing extra.supportLink"
},
"fullDescription": {
"text": "For the Shopware Store the supportLink attribute is required.",
"markdown": "For the Shopware Store the supportLink attribute is required."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Shopware6PluginStoreMissingSupportLink",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/Store check",
"index": 1,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware6PluginStoreMissingExtraLabel",
"shortDescription": {
"text": "Composer.json: missing extra.label"
},
"fullDescription": {
"text": "Any Shopware Plugin must have a label in the extra part of the composer.json",
"markdown": "Any Shopware Plugin must have a label in the extra part of the composer.json"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Shopware6PluginStoreMissingExtraLabel",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/Store check",
"index": 1,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Shopware6AdministrationSnippetMissing",
"shortDescription": {
"text": "Snippet translation is missing"
},
"fullDescription": {
"text": "Checks for missing Administration translations",
"markdown": "Checks for missing Administration translations"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Shopware6AdministrationSnippetMissing",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Shopware 6/Administration",
"index": 120,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.jetbrains.php",
"version": "232.10072.32",
"rules": [
{
"id": "PhpLoopCanBeReplacedWithStrRepeatInspection",
"shortDescription": {
"text": "Loop can be replaced with 'str_repeat'"
},
"fullDescription": {
"text": "Reports the 'for' loops that can be safely replaced with 'str_repeat()' calls.",
"markdown": "Reports the `for` loops that can be safely replaced with `str_repeat()` calls."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpLoopCanBeReplacedWithStrRepeatInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDocDuplicateTypeInspection",
"shortDescription": {
"text": "Type already exists in PHPDoc tag"
},
"fullDescription": {
"text": "Reports duplicate types in PHPDoc comments.",
"markdown": "Reports duplicate types in PHPDoc comments."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDocDuplicateTypeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryCurlyVarSyntaxInspection",
"shortDescription": {
"text": "Unnecessary curly braces syntax for variable"
},
"fullDescription": {
"text": "Reports unnecessary '{' and '}' used for interpolating variables in string literals. See Variable parsing (php.net) for details.",
"markdown": "Reports unnecessary `{` and `}` used for interpolating variables in string literals.\n\n\nSee [Variable parsing (php.net)](https://www.php.net/manual/en/language.types.string.php#language.types.string.parsing) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryCurlyVarSyntaxInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpFunctionNamingConventionInspection",
"shortDescription": {
"text": "Function name is not following coding convention"
},
"fullDescription": {
"text": "Reports the functions' names that are either too short, too long, or do not follow the specified regular expression pattern. Some coding styles have a special naming convention for functions. Use the inspection options to specify minimum/maximum length and the regular expression expected for functions' names. To ignore the names' length, specify 0. To learn more about regular expressions, refer to the Quick Start guide (regular-expressions.info).",
"markdown": "Reports the functions' names that are either too short, too long, or do not follow the specified regular expression pattern. Some coding styles have a special naming convention for functions.\n\n\nUse the inspection options to specify minimum/maximum length and the regular expression expected for functions' names.\nTo ignore the names' length, specify **0**.\n\n\nTo learn more about regular expressions, refer to the [Quick Start guide (regular-expressions.info)](https://www.regular-expressions.info/quickstart.html)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpFunctionNamingConventionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Naming conventions",
"index": 6,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayFillCanBeConvertedToLoopInspection",
"shortDescription": {
"text": "'array_fill' can be converted to loop"
},
"fullDescription": {
"text": "Reports the 'array_fill()' calls that can be replaced with 'foreach' loops.",
"markdown": "Reports the `array_fill()` calls that can be replaced with `foreach` loops."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayFillCanBeConvertedToLoopInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIssetCanBeReplacedWithCoalesceInspection",
"shortDescription": {
"text": "'isset' can be replaced with coalesce"
},
"fullDescription": {
"text": "Reports the conditions using 'isset' that can be safely replaced with expressions using the '??' null coalesce operator. See Null coalesce operator (php.net) for details.",
"markdown": "Reports the conditions using `isset` that can be safely replaced with expressions using the `??` null coalesce operator.\n\n\nSee [Null coalesce operator (php.net)](https://wiki.php.net/rfc/isset_ternary) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpIssetCanBeReplacedWithCoalesceInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNestedTernaryExpressionUsageInspection",
"shortDescription": {
"text": "Nested ternary operator usage"
},
"fullDescription": {
"text": "Reports nested ternary expressions, which are deprecated starting from PHP 7.4.",
"markdown": "Reports nested ternary expressions, which are deprecated starting from PHP 7.4."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpNestedTernaryExpressionUsageInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpVoidFunctionResultUsedInspection",
"shortDescription": {
"text": "Invalid function result used"
},
"fullDescription": {
"text": "Reports the usages of a 'void' or 'never' function's return value. Since 'void' functions do not have a return value and 'never' functions terminate execution or throw an exception, such usages are most likely a programming mistake.",
"markdown": "Reports the usages of a `void` or `never` function's return value.\n\n\nSince `void` functions do not have a return value and `never` functions terminate execution or throw an exception, such usages are most likely a programming mistake."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpVoidFunctionResultUsedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpConstantNamingConventionInspection",
"shortDescription": {
"text": "Constant name is not following coding convention"
},
"fullDescription": {
"text": "Reports the constants' names that are either too short, too long, or do not follow the specified regular expression pattern. Some coding styles have a special naming convention for constants. Use the inspection options to specify minimum/maximum length and the regular expression expected for constants' names. To ignore the names' length, specify 0. To learn more about regular expressions, refer to the Quick Start guide (regular-expressions.info).",
"markdown": "Reports the constants' names that are either too short, too long, or do not follow the specified regular expression pattern. Some coding styles have a special naming convention for constants.\n\n\nUse the inspection options to specify minimum/maximum length and the regular expression expected for constants' names.\nTo ignore the names' length, specify **0**.\n\n\nTo learn more about regular expressions, refer to the [Quick Start guide (regular-expressions.info)](https://www.regular-expressions.info/quickstart.html)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpConstantNamingConventionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Naming conventions",
"index": 6,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTernaryExpressionCanBeReducedToShortVersionInspection",
"shortDescription": {
"text": "Ternary expression can be replaced with short version"
},
"fullDescription": {
"text": "Reports the '?:' ternary expressions in which the condition and the 'true' statement are matching.",
"markdown": "Reports the `?:` ternary expressions in which the condition and the `true` statement are matching."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpTernaryExpressionCanBeReducedToShortVersionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCatchWithInstanceOfCanBeReplacedWithSpecificCatchesInspection",
"shortDescription": {
"text": "'instanceof' checks in 'catch' block can be replaced with specific catches"
},
"fullDescription": {
"text": "Reports the 'instanceof' checks in single 'catch' blocks that could be replaced with multiple 'catch' blocks specific for each exception instance.",
"markdown": "Reports the `instanceof` checks in single `catch` blocks that could be replaced with multiple `catch` blocks specific for each exception instance."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpCatchWithInstanceOfCanBeReplacedWithSpecificCatchesInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDuplicateMatchArmBodyInspection",
"shortDescription": {
"text": "Duplicate arm in 'match' expression"
},
"fullDescription": {
"text": "Reports duplicate bodies in 'match' arms. See Match expression (php.net) for details.",
"markdown": "Reports duplicate bodies in `match` arms.\n\n\nSee [Match expression (php.net)](https://wiki.php.net/rfc/match_expression_v2) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpDuplicateMatchArmBodyInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpWriteAccessToReferencedArrayValueWithoutUnsetInspection",
"shortDescription": {
"text": "Write access to referenced array value without 'unset'"
},
"fullDescription": {
"text": "Reports the write access expressions on variables that are still referencing the array value previously used in a 'foreach' statement. It is recommended to destroy such references by using 'unset'. See foreach (php.net) and unset (php.net) for details.",
"markdown": "Reports the write access expressions on variables that are still referencing the array value previously used in a `foreach` statement.\n\n\nIt is recommended to destroy such references by using `unset`.\n\n\nSee [foreach (php.net)](https://www.php.net/manual/en/control-structures.foreach.php) and [unset (php.net)](https://www.php.net/manual/en/function.unset.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpWriteAccessToReferencedArrayValueWithoutUnsetInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingDocCommentInspection",
"shortDescription": {
"text": "Missing PHPDoc comment"
},
"fullDescription": {
"text": "Reports non-fully typed elements without a PHPDoc comment or with a PHPDoc comment only containing the '@noinspection' tag. You can use the Enforce PHPDoc Comment inspection to report fully typed elements.",
"markdown": "Reports non-fully typed elements without a PHPDoc comment or with a PHPDoc comment only containing the `@noinspection` tag.\n\nYou can use the *Enforce PHPDoc Comment* inspection to report fully typed elements."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMissingDocCommentInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc/Code style",
"index": 16,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSameParameterValueInspection",
"shortDescription": {
"text": "Parameter's value is always the same"
},
"fullDescription": {
"text": "Reports the parameters in private methods that have the same value across all method calls.",
"markdown": "Reports the parameters in private methods that have the same value across all method calls."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpSameParameterValueInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitCoversFunctionWithoutScopeResolutionOperatorInspection",
"shortDescription": {
"text": "Covered function reference is provided without ‘::’"
},
"fullDescription": {
"text": "Reports the references to functions/methods in the '@covers' PHPDoc tags that are not prepended with the scope resolution operator ('::').",
"markdown": "Reports the references to functions/methods in the `@covers` PHPDoc tags that are not prepended with the scope resolution operator (`::`)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitCoversFunctionWithoutScopeResolutionOperatorInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayAccessOnIllegalTypeInspection",
"shortDescription": {
"text": "Array offset access on illegal type"
},
"fullDescription": {
"text": "Reports the array offset access expressions that are used on illegal types.",
"markdown": "Reports the array offset access expressions that are used on illegal types."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayAccessOnIllegalTypeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedGotoLabelInspection",
"shortDescription": {
"text": "Undefined goto label"
},
"fullDescription": {
"text": "Reports the 'goto' labels that are not found in the current scope. The target 'goto' label must reside in the same file and context: you cannot jump into or out of a function or method, and cannot jump into a loop or switch structure. See goto (php.net) for details.",
"markdown": "Reports the `goto` labels that are not found in the current scope.\n\n\nThe target `goto` label must reside in the same file and context: you cannot jump into or out of a function or method, and cannot jump into a loop or switch structure.\n\n\nSee [goto (php.net)](https://www.php.net/manual/en/control-structures.goto.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUndefinedGotoLabelInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDeprecatedPartiallySupportedCallableInspection",
"shortDescription": {
"text": "Deprecated partially supported callables"
},
"fullDescription": {
"text": "Reports deprecated usage of callables that are supported by 'call_user_func($callable)', but not by '$callable()'. Starting from PHP 8.2, the following callables are deprecated: '\"self::method\"'\n'\"parent::method\"'\n'\"static::method\"'\n'[\"self\", \"method\"]'\n'[\"parent\", \"method\"]'\n'[\"static\", \"method\"]'\n'[\"Foo\", \"Bar::method\"]'\n'[new Foo, \"Bar::method\"]' See Deprecate partially supported callables (php.net) for details.",
"markdown": "Reports deprecated usage of callables that are supported by `call_user_func($callable)`, but not by `$callable()`.\n\nStarting from PHP 8.2, the following callables are deprecated:\n\n \"self::method\"\n \"parent::method\"\n \"static::method\"\n [\"self\", \"method\"]\n [\"parent\", \"method\"]\n [\"static\", \"method\"]\n [\"Foo\", \"Bar::method\"]\n [new Foo, \"Bar::method\"]\n\n\nSee [Deprecate partially supported callables (php.net)](https://wiki.php.net/rfc/deprecate_partially_supported_callables) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDeprecatedPartiallySupportedCallableInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLoopCanBeConvertedToArrayFillInspection",
"shortDescription": {
"text": "Loop can be converted to 'array_fill()' call"
},
"fullDescription": {
"text": "Reports the 'for' loops that can be replaced with 'array_fill()' calls.",
"markdown": "Reports the `for` loops that can be replaced with `array_fill()` calls."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpLoopCanBeConvertedToArrayFillInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayToStringConversionInspection",
"shortDescription": {
"text": "Array to string conversion"
},
"fullDescription": {
"text": "Reports array to string conversions, that is, the arrays that are provided in the contexts where a string is expected. Prior to PHP 8.0, this would lead to a 'E_NOTICE' level error. In PHP 8.0, an 'E-WARNING' is emitted.",
"markdown": "Reports array to string conversions, that is, the arrays that are provided in the contexts where a string is expected.\n\n\nPrior to PHP 8.0, this would lead to a `E_NOTICE` level error. In PHP 8.0, an `E-WARNING` is emitted."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpArrayToStringConversionInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpConstantReassignmentInspection",
"shortDescription": {
"text": "Constant reassignment"
},
"fullDescription": {
"text": "Reports reassignments of constants. Since constants cannot be changed, such assignments will have no effect and will emit an 'E_NOTICE' (in PHP 7.4 and earlier) or 'E_WARNING' (in PHP 8.0 and later).",
"markdown": "Reports reassignments of constants.\n\n\nSince constants cannot be changed, such assignments will have no effect and will emit an `E_NOTICE` (in PHP 7.4 and earlier) or `E_WARNING` (in PHP 8.0 and later)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpConstantReassignmentInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedFieldInspection",
"shortDescription": {
"text": "Undefined property"
},
"fullDescription": {
"text": "Reports the references to class properties that are not declared. The inspection skips the objects of the 'stdClass' or derived types.",
"markdown": "Reports the references to class properties that are not declared.\n\n\nThe inspection skips the objects of the `stdClass` or derived types."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUndefinedFieldInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedClassConstantInspection",
"shortDescription": {
"text": "Undefined class constant"
},
"fullDescription": {
"text": "Reports the references to class constants that are not declared.",
"markdown": "Reports the references to class constants that are not declared."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpUndefinedClassConstantInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPregMatchWithoutEffectiveRegexpInspection",
"shortDescription": {
"text": "'preg_match' can be replaced with 'str_contains'"
},
"fullDescription": {
"text": "Reports the 'preg_match()' calls with 'pattern' arguments that don't use any regexp facilities. Such calls can be replaced with 'str_starts_with()', 'str_ends_with()' or 'str_contains()' calls.",
"markdown": "Reports the `preg_match()` calls with `pattern` arguments that don't use any regexp facilities. Such calls can be replaced with `str_starts_with()`, `str_ends_with()` or `str_contains()` calls."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPregMatchWithoutEffectiveRegexpInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpToStringReturnInspection",
"shortDescription": {
"text": "Method '__toString' return type"
},
"fullDescription": {
"text": "Reports the '__toString' methods that do not return 'string'. Prior to PHP 7.4, this would lead to a fatal 'E_RECOVERABLE_ERROR' level error. In PHP 7.4, a fatal non-recoverable 'ERROR' is thrown. In PHP 8.0, the return value follows the standard PHP type semantics and will be coerced into a string if possible and if strict typing is disabled. See __toString (php.net) for details.",
"markdown": "Reports the `__toString` methods that do not return `string`.\n\nPrior to PHP 7.4, this would lead to a fatal `E_RECOVERABLE_ERROR` level error. In PHP 7.4, a fatal non-recoverable `ERROR` is thrown. In PHP 8.0, the return value follows the standard PHP type semantics and will be coerced into a string if possible and if strict typing is disabled.\n\n\nSee [__toString (php.net)](https://www.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.tostring) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpToStringReturnInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIfCanBeReplacedWithMatchExpressionInspection",
"shortDescription": {
"text": "'if' can be replaced with 'match' expression"
},
"fullDescription": {
"text": "Reports the 'if' statements inside 'if-elseif-else' constructs that use strict comparisons ('===') and could be replaced with 'match' expressions.",
"markdown": "Reports the `if` statements inside `if-elseif-else` constructs that use strict comparisons (`===`) and could be replaced with `match` expressions."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpIfCanBeReplacedWithMatchExpressionInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUselessTrailingCommaInspection",
"shortDescription": {
"text": "Useless trailing comma"
},
"fullDescription": {
"text": "Reports the trailing commas in parameters lists and closures' 'use' lists that do not bring any benefit. In a single-line list, a trailing comma is redundant and can be removed. In a multiline list, if no line break is provided after a trailing comma, it becomes impossible to easily add, remove, or move lines.",
"markdown": "Reports the trailing commas in parameters lists and closures' `use` lists that do not bring any benefit.\n\n* In a single-line list, a trailing comma is redundant and can be removed.\n* In a multiline list, if no line break is provided after a trailing comma, it becomes impossible to easily add, remove, or move lines."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUselessTrailingCommaInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpParamsInspection",
"shortDescription": {
"text": "Parameter type"
},
"fullDescription": {
"text": "Reports the parameters passed to a function call, whose types do not match the ones specified in the function definition via type declaration or the PHPDoc '@param' tag. See Type declarations (php.net) and @param (phpdoc.org) for details.",
"markdown": "Reports the parameters passed to a function call, whose types do not match the ones specified in the function definition via type declaration or the PHPDoc `@param` tag.\n\nSee [Type declarations (php.net)](http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration) and\n[@param (phpdoc.org)](https://docs.phpdoc.org/guide/references/phpdoc/tags/param.html#param) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpParamsInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpClassCanBeReadonlyInspection",
"shortDescription": {
"text": "Class can be 'readonly'"
},
"fullDescription": {
"text": "Reports classes which contain only 'readonly' properties.",
"markdown": "Reports classes which contain only `readonly` properties."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpClassCanBeReadonlyInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCastIsUnnecessaryInspection",
"shortDescription": {
"text": "Type cast is unnecessary"
},
"fullDescription": {
"text": "Reports the type cast operators used on the values that are already of the corresponding type. Such operators are redundant and can be safely removed. See Type juggling (php.net) for details.",
"markdown": "Reports the type cast operators used on the values that are already of the corresponding type. Such operators are redundant and can be safely removed.\n\n\nSee [Type juggling (php.net)](https://www.php.net/manual/en/language.types.type-juggling.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpCastIsUnnecessaryInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDocMissingThrowsInspection",
"shortDescription": {
"text": "Missing @throws tag(s)"
},
"fullDescription": {
"text": "Reports missing PHPDoc '@throws' tags for exceptions thrown by functions or methods. The exception classes added to the Unchecked Exceptions list under Settings | PHP | Analysis are excluded from the inspection scope.",
"markdown": "Reports missing PHPDoc `@throws` tags for exceptions thrown by functions or methods.\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": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDocMissingThrowsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc/Code style",
"index": 16,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnusedAliasInspection",
"shortDescription": {
"text": "Unused import"
},
"fullDescription": {
"text": "Reports the imports that are never used.",
"markdown": "Reports the imports that are never used."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnusedAliasInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Unused symbols",
"index": 45,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ComposerJsonFileReferencesInspection",
"shortDescription": {
"text": "Unresolved file references"
},
"fullDescription": {
"text": "Reports unresolved file references in composer.json.",
"markdown": "Reports unresolved file references in composer.json."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ComposerJsonFileReferencesInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Composer",
"index": 47,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIssetCanCheckNestedAccessDirectlyInspection",
"shortDescription": {
"text": "'isset' can check nested array access and sub properties directly"
},
"fullDescription": {
"text": "Reports constructions like 'isset($a['a']) && isset($a['a']['b']) && isset($b) && isset($b->b)' that can be replaced with 'isset($a['a']['b']) && isset($b->b)'.",
"markdown": "Reports constructions like `isset($a['a']) && isset($a['a']['b']) && isset($b) && isset($b->b)` that can be replaced with `isset($a['a']['b']) && isset($b->b)`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpIssetCanCheckNestedAccessDirectlyInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantDefaultBreakContinueArgumentInspection",
"shortDescription": {
"text": "Redundant 'continue/break' argument"
},
"fullDescription": {
"text": "Reports the redundant '1' argument of 'continue' and 'break' statements. Since this argument is optional and its default value is '1', such usages can be omitted. See continue (php.net) and break (php.net) for details.",
"markdown": "Reports the redundant `1` argument of `continue` and `break` statements. Since this argument is optional and its default value is `1`, such usages can be omitted.\n\n\nSee [continue (php.net)](https://www.php.net/manual/en/control-structures.continue.php) and [break (php.net)](https://www.php.net/manual/en/control-structures.break.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantDefaultBreakContinueArgumentInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayUsedOnlyForWriteInspection",
"shortDescription": {
"text": "Array used only with write access"
},
"fullDescription": {
"text": "Reports local arrays that are only updated, but never queried.",
"markdown": "Reports local arrays that are only updated, but never queried."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayUsedOnlyForWriteInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIllegalPsrClassPathInspection",
"shortDescription": {
"text": "Class path doesn't match project structure"
},
"fullDescription": {
"text": "Reports the classes with the filepath not following the PSR-0/PSR-4 project structure. You can configure the project vendor roots under Settings/Preferences | Directories. See PSR-0/PSR-4 standards (php-fig.org) for details.",
"markdown": "Reports the classes with the filepath not following the PSR-0/PSR-4 project structure.\n\n\nYou can configure the project vendor roots under **Settings/Preferences \\| Directories**.\n\n\nSee [PSR-0/PSR-4 standards (php-fig.org)](https://www.php-fig.org/psr/psr-4/) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpIllegalPsrClassPathInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantMethodOverrideInspection",
"shortDescription": {
"text": "Redundant method override"
},
"fullDescription": {
"text": "Reports the overriding methods that only consist of a single call to the parent method.",
"markdown": "Reports the overriding methods that only consist of a single call to the parent method."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantMethodOverrideInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDefineCanBeReplacedWithConstInspection",
"shortDescription": {
"text": "Define constant name can be replaced with 'const' syntax"
},
"fullDescription": {
"text": "Reports the 'define()' calls that can be replaced with 'const' syntax.",
"markdown": "Reports the `define()` calls that can be replaced with `const` syntax."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDefineCanBeReplacedWithConstInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayAppendUsingCountInspection",
"shortDescription": {
"text": "Using 'count()' as index for appending value to array"
},
"fullDescription": {
"text": "Reports the 'count($array)' calls that are used as an array index for appending an element to the array: '$array[count($array)] = 42'. In such cases, it is recommended to use square bracket syntax ('$array[] = 42') instead, which adds no overhead of calling a function.",
"markdown": "Reports the `count($array)` calls that are used as an array index for appending an element to the array: `$array[count($array)] = 42`. In such cases, it is recommended to use square bracket syntax (`$array[] = 42`) instead, which adds no overhead of calling a function."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayAppendUsingCountInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSwitchCanBeReplacedWithMatchExpressionInspection",
"shortDescription": {
"text": "'switch' can be replaced with 'match' expression"
},
"fullDescription": {
"text": "Reports 'switch' statements that could be replaced with 'match' expression",
"markdown": "Reports 'switch' statements that could be replaced with 'match' expression"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpSwitchCanBeReplacedWithMatchExpressionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPowCallCanBeReplacedWithOperatorInspection",
"shortDescription": {
"text": "'pow()' call can be replaced with '**' operator"
},
"fullDescription": {
"text": "Reports the 'pow()' calls that can be replaced with the '**' operator, which adds no overhead of calling a function. See Power operator (php.net) for details.",
"markdown": "Reports the `pow()` calls that can be replaced with the `**` operator, which adds no overhead of calling a function.\n\n\nSee [Power operator (php.net)](https://wiki.php.net/rfc/pow-operator) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPowCallCanBeReplacedWithOperatorInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{