CdsConnector/qodana.sarif.json

46887 lines
1.9 MiB
JSON
Raw Permalink Normal View History

2023-12-13 12:53:31 +01:00
{
"$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"
]
}
]
},
{
"id": "PhpFormatFunctionParametersMismatchInspection",
"shortDescription": {
"text": "Format function parameters mismatch"
},
"fullDescription": {
"text": "Reports the arguments of a format function (such as 'printf' or 'sprintf') that are not mapped to any parameters or specification conversions. See printf (php.net) and sprintf (php.net) for details.",
"markdown": "Reports the arguments of a format function (such as `printf` or `sprintf`) that are not mapped to any parameters or specification conversions.\n\n\nSee [printf (php.net)](https://www.php.net/manual/en/function.printf.php) and [sprintf (php.net)](https://www.php.net/manual/en/function.sprintf.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpFormatFunctionParametersMismatchInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpForeachVariableOverwritesAlreadyDefinedVariableInspection",
"shortDescription": {
"text": "'foreach' variable overwrites already defined variable"
},
"fullDescription": {
"text": "Reports the keys and values in 'foreach' loops that are assigned a non-primitive value before the 'foreach' loop and are accessed after it. Such usages may unwillingly overwrite an already defined value and cause latent bugs.",
"markdown": "Reports the keys and values in `foreach` loops that are assigned a non-primitive value before the `foreach` loop and are accessed after it. Such usages may unwillingly overwrite an already defined value and cause latent bugs."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpForeachVariableOverwritesAlreadyDefinedVariableInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLoopCanBeReplacedWithStdFunctionCallsInspection",
"shortDescription": {
"text": "Loop can be replaced with 'in_array()' or 'array_key_exists()' call"
},
"fullDescription": {
"text": "Reports the 'foreach' loops that can be safely replaced with 'in_array()' or 'array_key_exists()' calls. See in_array (php.net) and array_key_exists (php.net) for details.",
"markdown": "Reports the `foreach` loops that can be safely replaced with `in_array()` or `array_key_exists()` calls.\n\n\nSee [in_array (php.net)](https://www.php.net/manual/en/function.in-array) and [array_key_exists (php.net)](https://www.php.net/manual/en/function.array-key-exists) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpLoopCanBeReplacedWithStdFunctionCallsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayKeyDoesNotMatchArrayShapeInspection",
"shortDescription": {
"text": "Array key does not match array shape "
},
"fullDescription": {
"text": "Reports the array keys that do not match the keys specified via the '#[ArrayShape]' attribute.",
"markdown": "Reports the array keys that do not match the keys specified via the `#[ArrayShape]` attribute."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayKeyDoesNotMatchArrayShapeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpComposerExtensionStubsInspection",
"shortDescription": {
"text": "Extension is missing in composer.json"
},
"fullDescription": {
"text": "Reports the usages of classes, functions, and constants from the PHP extensions not specified in composer.json. If an extension is listed in the 'require-dev' section of composer.json, the inspection reports the corresponding symbols' usages located outside of the folders marked as test roots.",
"markdown": "Reports the usages of classes, functions, and constants from the PHP extensions not specified in *composer.json* . If an extension is listed in the `require-dev` section of *composer.json*, the inspection reports the corresponding symbols' usages located outside of the folders marked as test roots."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpComposerExtensionStubsInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Composer",
"index": 47,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnusedParameterInspection",
"shortDescription": {
"text": "Unused parameter"
},
"fullDescription": {
"text": "Reports the parameters that are considered unused in the following cases: The parameter is passed by value, and the value is not used anywhere or is overwritten immediately. The parameter is passed by reference, and the reference is not used anywhere or is overwritten immediately.",
"markdown": "Reports the parameters that are considered unused in the following cases:\n\n* The parameter is passed by value, and the value is not used anywhere or is overwritten immediately.\n* The parameter is passed by reference, and the reference is not used anywhere or is overwritten immediately."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnusedParameterInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Unused symbols",
"index": 45,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDisabledExtensionStubsInspection",
"shortDescription": {
"text": "Disabled extension stubs"
},
"fullDescription": {
"text": "Reports the usages of classes, functions, and constants, for which the stubs for the corresponding PHP interpreter extensions are disabled. You can configure the set of stubs under Settings | PHP | PHP Runtime. See PhpStorm stubs (blog.jetbrains.com/phpstorm) for details.",
"markdown": "Reports the usages of classes, functions, and constants, for which the stubs for the corresponding PHP interpreter extensions are disabled.\n\n\nYou can configure the set of stubs under\n[Settings \\| PHP \\| PHP Runtime](settings://reference.webide.settings.project.settings.php?PHP%20Runtime).\n\n\nSee [PhpStorm stubs (blog.jetbrains.com/phpstorm)](https://blog.jetbrains.com/phpstorm/2018/03/how-to-provide-stubs-for-phpstorm/) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDisabledExtensionStubsInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTernaryExpressionCanBeReplacedWithConditionInspection",
"shortDescription": {
"text": "Ternary expression can be replaced with condition"
},
"fullDescription": {
"text": "Reports the ternary expressions specified as 'condition ? true : false' that can be safely replaced with just 'condition'.",
"markdown": "Reports the ternary expressions specified as `condition ? true : false` that can be safely replaced with just `condition`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpTernaryExpressionCanBeReplacedWithConditionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPregMatchReplaceWithComparisonInspection",
"shortDescription": {
"text": "'preg_match()' can be replaced with comparison"
},
"fullDescription": {
"text": "Reports the 'preg_match()' calls that are provided with a string argument starting with '^' (Start of String anchor) and ending with '$' (End of String anchor). Such calls can be replaced with a comparison operation.",
"markdown": "Reports the `preg_match()` calls that are provided with a string argument starting with `^` (Start of String anchor) and ending with `$` (End of String anchor). Such calls can be replaced with a comparison operation."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPregMatchReplaceWithComparisonInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMethodMayBeInaccessibleInLateStaticBindingInspection",
"shortDescription": {
"text": "Private method may be inaccessible during late static binding call"
},
"fullDescription": {
"text": "Reports the late static binding method calls (that is, performed via 'static::') that may be resolved to inaccessible private methods from child classes. See Late Static Bindings (php.net) for details.",
"markdown": "Reports the late static binding method calls (that is, performed via `static::`) that may be resolved to inaccessible private methods from child classes.\n\n\nSee [Late Static Bindings (php.net)](https://www.php.net/manual/en/language.oop5.late-static-bindings.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpMethodMayBeInaccessibleInLateStaticBindingInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpClassConstantCanBeFinalInspection",
"shortDescription": {
"text": "Class constant can be 'final'"
},
"fullDescription": {
"text": "Reports the non-'final' class constants that are not redefined in child classes. In PHP 8.1 and later, such constants can be made 'final'. See Final class constants (php.net) for details.",
"markdown": "Reports the non-`final` class constants that are not redefined in child classes. In PHP 8.1 and later, such constants can be made `final`.\n\n\nSee [Final class constants (php.net)](https://wiki.php.net/rfc/final_class_const) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpClassConstantCanBeFinalInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantArrayCallInForeachIteratedValueInspection",
"shortDescription": {
"text": "Redundant 'array_values' call on a value iterated in 'foreach'"
},
"fullDescription": {
"text": "Reports the 'array_values()' calls inside 'foreach' loops in which the iterated value is used without a key. Such calls are redundant and can be safely removed.",
"markdown": "Reports the `array_values()` calls inside `foreach` loops in which the iterated value is used without a key. Such calls are redundant and can be safely removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantArrayCallInForeachIteratedValueInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpClosureCanBeConvertedToFirstClassCallableInspection",
"shortDescription": {
"text": "'Closure::fromCallable()' can be converted to the first-class callable syntax"
},
"fullDescription": {
"text": "Reports the 'callable' creation expressions that use 'Closure::fromCallable' but can be replaced with first-class callable syntax 'f(...)' available since PHP 8.1. See First-class callable syntax (php.net) for details.",
"markdown": "Reports the `callable` creation expressions that use `Closure::fromCallable` but can be replaced with first-class callable syntax `f(...)` available since PHP 8.1.\n\n\nSee [First-class callable syntax (php.net)](https://wiki.php.net/rfc/first_class_callable_syntax) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpClosureCanBeConvertedToFirstClassCallableInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpExpressionAlwaysNullInspection",
"shortDescription": {
"text": "Expression is always 'null'"
},
"fullDescription": {
"text": "Reports the variables in 'return' statements that are always 'null'.",
"markdown": "Reports the variables in `return` statements that are always `null`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpExpressionAlwaysNullInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDefineConstantNameStartsWithLeadingSlashInspection",
"shortDescription": {
"text": "Constant name defined with a leading slash"
},
"fullDescription": {
"text": "Reports the 'define' constructs in which the constant's FQN starts with a leading slash. Such constants will not be correctly registered by PHP.",
"markdown": "Reports the `define` constructs in which the constant's FQN starts with a leading slash. Such constants will not be correctly registered by PHP."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDefineConstantNameStartsWithLeadingSlashInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitAssertCountInspection",
"shortDescription": {
"text": "Usage 'assertCount/assertSameSize' methods instead of assertEquals"
},
"fullDescription": {
"text": "Reports alternative usage of the 'assertEquals' and 'assertNotEquals' methods with 'count' function as a parameter See Usage of the assertCount for details. See Usage of the assertSameSize for details.",
"markdown": "Reports alternative usage of the `assertEquals` and `assertNotEquals` methods with `count` function as a parameter\n\n\nSee [Usage of the assertCount](https://phpunit.readthedocs.io/en/stable/assertions.html#assertcount) for details.\n\n\nSee [Usage of the assertSameSize](https://hotexamples.com/examples/-/PHPUnit_Framework_Assert/assertSameSize/php-phpunit_framework_assert-assertsamesize-method-examples.html) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitAssertCountInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryParenthesesInspection",
"shortDescription": {
"text": "Unnecessary parentheses"
},
"fullDescription": {
"text": "Reports the expressions containing redundant parenthesis, which can be safely removed.",
"markdown": "Reports the expressions containing redundant parenthesis, which can be safely removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryParenthesesInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIfCanBeMergedWithSequentialConditionInspection",
"shortDescription": {
"text": "'if' can be merged with subsequent condition"
},
"fullDescription": {
"text": "Reports the 'if' statements that are followed by 'elseif' or other 'if' statements having the same bodies. Such statements can be merged together.",
"markdown": "Reports the `if` statements that are followed by `elseif` or other `if` statements having the same bodies. Such statements can be merged together."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpIfCanBeMergedWithSequentialConditionInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayModificationWillNotHaveEffectInspection",
"shortDescription": {
"text": "Modification of the array returned from function by value won't have any effect"
},
"fullDescription": {
"text": "Reports call to a function that returns array by value, which makes the assignment operation non-working. Return by reference shall be used instead. For example: '<?php\nclass A {\n private $values = [];\n public function getValues() {\n return $this->values;\n }\n}\n$config = new A();\n$config->getValues()['a'] = 'a';'",
"markdown": "Reports call to a function that returns array by value, which makes the assignment operation non-working. Return by reference shall be used instead.\n\n**For example:**\n\n\n <?php\n class A {\n private $values = [];\n public function getValues() {\n return $this->values;\n }\n }\n $config = new A();\n $config->getValues()['a'] = 'a';\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayModificationWillNotHaveEffectInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpConstructorStyleInspection",
"shortDescription": {
"text": "Old style constructor"
},
"fullDescription": {
"text": "Reports old-style constructor declarations ('ClassName()') and suggests replacing them with new-style constructors ('__construct()'). Prior to PHP 8.0, old-style constructor syntax used in the classes in the global namespace is treated as deprecated and will result in an 'E_DEPRECATED' error. If both a '__construct()' and a 'ClassName()' method are defined, '__construct()' will be called. In namespaced classes, or any classes as of PHP 8.0, a 'ClassName()' method never has any special meaning and will never be called as a constructor. As a result, the inspection does not report such cases if the PHP language level is set to 8.0 or later. See Constructors and destructors (php.net) for details.",
"markdown": "Reports old-style constructor declarations (`ClassName()`) and suggests replacing them with new-style constructors (`__construct()`).\n\n\nPrior to PHP 8.0, old-style constructor syntax used in the classes in the global namespace is treated as deprecated and will result in an `E_DEPRECATED` error. If both a `__construct()` and a `ClassName()` method are defined, `__construct()` will be called.\n\nIn namespaced classes, or any classes as of PHP 8.0, a `ClassName()` method never has any special meaning and will never be called as a constructor. As a result, the inspection does not report such cases if the PHP language level is set to 8.0 or later.\n\n\nSee [Constructors and destructors (php.net)](https://www.php.net/manual/en/language.oop5.decon.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpConstructorStyleInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNonStrictObjectEqualityInspection",
"shortDescription": {
"text": "Non-strict object equality"
},
"fullDescription": {
"text": "Reports the usages of the comparison operator ('==') for comparing object variables. Object variables are compared as follows: When using the comparison operator ('=='), two object instances are considered equal if they have the same attributes and values (values are compared with '=='), and are instances of the same class. When using the identity operator ('==='), object variables are considered identical if and only if they refer to the same instance of the same class. See Comparing Objects (php.net) for details.",
"markdown": "Reports the usages of the comparison operator (`==`) for comparing object variables.\n\n\nObject variables are compared as follows:\n\n* When using the comparison operator (`==`), two object instances are considered equal if they have the same attributes and values (values are compared with `==`), and are instances of the same class.\n* When using the identity operator (`===`), object variables are considered identical if and only if they refer to the same instance of the same class.\n\n\nSee [Comparing Objects (php.net)](http://www.php.net/manual/en/language.oop5.object-comparison.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpNonStrictObjectEqualityInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUsageOfSilenceOperatorInspection",
"shortDescription": {
"text": "Usage of a silence operator"
},
"fullDescription": {
"text": "Reports the usages of the silence operator ('@'), which is highly discouraged. See Error Control Operators (php.net) for details.",
"markdown": "Reports the usages of the silence operator (`@`), which is highly discouraged.\n\nSee [Error Control Operators (php.net)](https://www.php.net/manual/en/language.operators.errorcontrol.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUsageOfSilenceOperatorInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedVariableInspection",
"shortDescription": {
"text": "Undefined variable"
},
"fullDescription": {
"text": "Produces two types of warnings: Undefined variable: the variable's definition is not found in the project files, configured include paths, or among the PHP predefined variables. Variable might have not been defined: there are one or more paths to reach the line with the variable usage without defining it. Use the options below to customize the inspection: Report that variable is probably undefined: clear the checkbox to disable the Variable might have not been defined warnings. Enable inspection in global space: by default, the inspection is enabled for global space. Clear the checkbox to only report undefined variables from functions' local scope. Search for variable's definition outside the current file: if selected, the IDE reports a global variable as undefined only in case there are no 'include' or 'require' statements in the current file and the variable's definition cannot be found in the project. Note that the IDE does not examine the actual content of included files but only checks the presence of 'include' or 'require' statements. Otherwise, if not selected, the IDE searches for the variable's definition only in the current file and ignores the 'include' or 'require' statements if any.",
"markdown": "Produces two types of warnings:\n\n* *Undefined variable*: the variable's definition is not found in the project files, configured include paths, or among the PHP predefined variables.\n* *Variable might have not been defined*: there are one or more paths to reach the line with the variable usage without defining it.\n\n\nUse the options below to customize the inspection:\n\n* **Report that variable is probably undefined** : clear the checkbox to disable the *Variable might have not been defined* warnings.\n* **Enable inspection in global space**: by default, the inspection is enabled for global space. Clear the checkbox to only report undefined variables from functions' local scope.\n*\n **Search for variable's definition outside the current file** : if selected, the IDE reports a global variable as undefined only in case there are no `include` or `require` statements in the current file and the variable's definition cannot be found in the project. Note that the IDE does not examine the actual content of included files but only checks the presence of `include` or `require` statements.\n\n\n Otherwise, if not selected, the IDE searches for the variable's definition only in the current file and ignores the `include` or `require` statements if any."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpUndefinedVariableInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpShortOpenTagInspection",
"shortDescription": {
"text": "Short open tag usage"
},
"fullDescription": {
"text": "Reports short PHP opening tag '<?' usages. Since short tags can be disabled in the PHP interpreter configuration, using them may lead to code compatibility issues. See PHP tags (php.net) for details.",
"markdown": "Reports short PHP opening tag `<?` usages. Since short tags can be disabled in the PHP interpreter configuration, using them may lead to code compatibility issues.\n\n\nSee [PHP tags (php.net)](https://www.php.net/manual/en/language.basic-syntax.phptags.php#language.basic-syntax.phptags) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpShortOpenTagInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIntRangesMismatchInspection",
"shortDescription": {
"text": "Number ranges mismatch"
},
"fullDescription": {
"text": "Reports the assignments and return statements whose arguments do not match the expected ranges specified via 'int<min, max>' PHPDoc syntax.",
"markdown": "Reports the assignments and return statements whose arguments do not match the expected ranges specified via `int<min, max>` PHPDoc syntax."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpIntRangesMismatchInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpReturnDocTypeMismatchInspection",
"shortDescription": {
"text": "Return type in PHPDoc comment does not match the actual return type"
},
"fullDescription": {
"text": "Reports the return types in PHPDoc comments that do not match the actual return type of a function.",
"markdown": "Reports the return types in PHPDoc comments that do not match the actual return type of a function."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpReturnDocTypeMismatchInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpElementIsNotAvailableInCurrentPhpVersionInspection",
"shortDescription": {
"text": "Element is not available in configured PHP version"
},
"fullDescription": {
"text": "Reports the usages of entities which were introduced in PHP version later than configured one.",
"markdown": "Reports the usages of entities which were introduced in PHP version later than configured one."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpElementIsNotAvailableInCurrentPhpVersionInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpFieldCanBePromotedInspection",
"shortDescription": {
"text": "Property can be promoted"
},
"fullDescription": {
"text": "Reports the properties that can be replaced with promoted versions. See Constructor Property Promotion (php.net) for details.",
"markdown": "Reports the properties that can be replaced with promoted versions.\n\n\nSee [Constructor Property Promotion (php.net)](https://wiki.php.net/rfc/constructor_promotion) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpFieldCanBePromotedInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPrivateFieldCanBeLocalVariableInspection",
"shortDescription": {
"text": "Private property can be local"
},
"fullDescription": {
"text": "Reports the private properties that are used only in a single method. Such properties can be replaced with local variables.",
"markdown": "Reports the private properties that are used only in a single method. Such properties can be replaced with local variables."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPrivateFieldCanBeLocalVariableInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTypedPropertyMightBeUninitializedInspection",
"shortDescription": {
"text": "Typed property might be uninitialized"
},
"fullDescription": {
"text": "Reports the attempts to read from an uninitialized typed property. Such attempts will result in 'TypeError'. Typed properties should be initialized in any of the following ways: by a default value in the constructor by the '__get()' magic getter in-place, at the moment of usage See Uninitialized and Unset Properties (php.net) for details.",
"markdown": "Reports the attempts to read from an uninitialized typed property. Such attempts will result in `TypeError`.\n\n\nTyped properties should be initialized in any of the following ways:\n\n* by a default value\n* in the constructor\n* by the `__get()` magic getter\n* in-place, at the moment of usage\n\n\nSee [Uninitialized and Unset Properties (php.net)](https://wiki.php.net/rfc/typed_properties_v2#uninitialized_and_unset_properties) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpTypedPropertyMightBeUninitializedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingParamTypeInspection",
"shortDescription": {
"text": "Missing parameter's type declaration"
},
"fullDescription": {
"text": "Reports the parameters that have no type declaration specified.",
"markdown": "Reports the parameters that have no type declaration specified."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMissingParamTypeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryFullyQualifiedNameInspection",
"shortDescription": {
"text": "Unnecessary fully qualified name"
},
"fullDescription": {
"text": "Reports the usages of fully qualified class names, which can be shortened without adding the 'use' statement.",
"markdown": "Reports the usages of fully qualified class names, which can be shortened without adding the `use` statement."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryFullyQualifiedNameInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingParentCallCommonInspection",
"shortDescription": {
"text": "Missing parent call for method"
},
"fullDescription": {
"text": "Reports the methods that do not call their parent method.",
"markdown": "Reports the methods that do not call their parent method."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMissingParentCallCommonInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMixedReturnTypeCanBeReducedInspection",
"shortDescription": {
"text": "'mixed' return type can be narrowed"
},
"fullDescription": {
"text": "Reports 'mixed' return types that can be narrowed down to more concrete types.",
"markdown": "Reports 'mixed' return types that can be narrowed down to more concrete types."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMixedReturnTypeCanBeReducedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTraditionalSyntaxArrayLiteralInspection",
"shortDescription": {
"text": "Traditional syntax array literal detected"
},
"fullDescription": {
"text": "Reports traditional array syntax ('array()') usages in array literals and suggests replacing them with short array syntax ('[]').",
"markdown": "Reports traditional array syntax (`array()`) usages in array literals and suggests replacing them with short array syntax (`[]`)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpTraditionalSyntaxArrayLiteralInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpConditionCheckedByNextConditionInspection",
"shortDescription": {
"text": "Condition inside logical expression checked by subsequent condition"
},
"fullDescription": {
"text": "Reports the conditions inside logical binary expressions that are covered by subsequent conditions and are therefore redundant.",
"markdown": "Reports the conditions inside logical binary expressions that are covered by subsequent conditions and are therefore redundant."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpConditionCheckedByNextConditionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpInconsistentReturnPointsInspection",
"shortDescription": {
"text": "Inconsistent return points"
},
"fullDescription": {
"text": "Reports inconsistencies in function/method exit points. The following types of inconsistencies are reported: The function/method contains the 'return' statements both with and without arguments. The function/method may return a value or otherwise end its execution without returning anything. Technically these are not errors, but practically they usually indicate a programming mistake.",
"markdown": "Reports inconsistencies in function/method exit points.\n\n\nThe following types of inconsistencies are reported:\n\n* The function/method contains the `return` statements both with and without arguments.\n* The function/method may return a value or otherwise end its execution without returning anything.\n\n\nTechnically these are not errors, but practically they usually indicate a programming mistake."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpInconsistentReturnPointsInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNoReturnAttributeCanBeAddedInspection",
"shortDescription": {
"text": "NoReturn attribute can be added"
},
"fullDescription": {
"text": "Reports function without '#[NoReturn]' that are always halting their execution by calling other exitPoint functions attribute.",
"markdown": "Reports function without `#[NoReturn]` that are always halting their execution by calling other exitPoint functions attribute."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpNoReturnAttributeCanBeAddedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpConditionCanBeReplacedWithMinMaxCallInspection",
"shortDescription": {
"text": "Condition can be replaced with 'min()'/'max()' call"
},
"fullDescription": {
"text": "Reports the conditions that perform manual min/max calculation instead of calling 'min'/'max' functions.",
"markdown": "Reports the conditions that perform manual min/max calculation instead of calling `min`/`max` functions."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpConditionCanBeReplacedWithMinMaxCallInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpInapplicableAttributeTargetDeclarationInspection",
"shortDescription": {
"text": "Non-applicable attribute target declaration"
},
"fullDescription": {
"text": "Reports the attributes that do not have the appropriate 'Attribute::TARGET_*' flag in their arguments declaration. See Attributes (php.net) for details.",
"markdown": "Reports the attributes that do not have the appropriate `Attribute::TARGET_*` flag in their arguments declaration.\n\n\nSee [Attributes (php.net)](https://wiki.php.net/rfc/attributes_v2) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpInapplicableAttributeTargetDeclarationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingParentCallMagicInspection",
"shortDescription": {
"text": "Missing parent call for magic methods"
},
"fullDescription": {
"text": "Reports the magic methods that do not call their parent magic method.",
"markdown": "Reports the magic methods that do not call their parent magic method."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMissingParentCallMagicInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpGotoIntoLoopInspection",
"shortDescription": {
"text": "Goto into loop statement"
},
"fullDescription": {
"text": "Reports the 'goto' labels that are located inside loops or 'switch' statements. See goto (php.net) for details.",
"markdown": "Reports the `goto` labels that are located inside loops or `switch` statements.\n\n\nSee [goto (php.net)](https://www.php.net/manual/en/control-structures.goto.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpGotoIntoLoopInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMatchExpressionCanBeReplacedWithTernaryInspection",
"shortDescription": {
"text": "'match' expression can be replace with ternary expression"
},
"fullDescription": {
"text": "Reports the 'match' expressions containing a default arm and a single non-default arm. Such 'match' expressions can be replaced with ternary expressions. See Match expression (php.net) for details.",
"markdown": "Reports the `match` expressions containing a default arm and a single non-default arm. Such `match` expressions can be replaced with ternary expressions.\n\n\nSee [Match expression (php.net)](https://wiki.php.net/rfc/match_expression_v2) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMatchExpressionCanBeReplacedWithTernaryInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDeprecatedStdLibCallInspection",
"shortDescription": {
"text": "Deprecated Standard Library call"
},
"fullDescription": {
"text": "Reports the calls to Standard PHP Library functions that are deprecated starting from PHP 8.1. The following calls are reported: 'key()', 'current()', 'next()', 'prev()', and 'reset()' calls with objects as arguments. 'mb_check_encoding()' calls without arguments. 'get_class()', 'get_parent_class()' and 'get_called_class()' calls without arguments. 'IntlCalendar::roll()' calls with a Boolean passed as the '$value' argument. 'ctype_*()' calls with non-string arguments. See PHP RFC: Deprecations for PHP 8.1 for details.",
"markdown": "Reports the calls to Standard PHP Library functions that are deprecated starting from PHP 8.1.\n\n\nThe following calls are reported:\n\n* `key()`, `current()`, `next()`, `prev()`, and `reset()` calls with objects as arguments.\n* `mb_check_encoding()` calls without arguments.\n* `get_class()`, `get_parent_class()` and `get_called_class()` calls without arguments.\n* `IntlCalendar::roll()` calls with a Boolean passed as the `$value` argument.\n* `ctype_*()` calls with non-string arguments.\n\n\nSee [PHP RFC: Deprecations for PHP 8.1](https://wiki.php.net/rfc/deprecations_php_8_1) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDeprecatedStdLibCallInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingBreakStatementInspection",
"shortDescription": {
"text": "Missing 'break' statement"
},
"fullDescription": {
"text": "Reports the 'case' clauses in 'switch' statements that do not end with a 'break' or a 'return' statement. If a 'case' clause does not end with 'break' or 'return', its execution can unintentionally fall through the next case.",
"markdown": "Reports the `case` clauses in `switch` statements that do not end with a `break` or a `return` statement.\n\n\nIf a `case` clause does not end with `break` or `return`, its execution can unintentionally fall through the next case."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMissingBreakStatementInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMethodMayBeStaticInspection",
"shortDescription": {
"text": "Method can be made 'static'"
},
"fullDescription": {
"text": "Reports the methods that don't use any instance references and thus may be converted to static methods.",
"markdown": "Reports the methods that don't use any instance references and thus may be converted to static methods."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMethodMayBeStaticInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpForeachArrayIsUsedAsValueInspection",
"shortDescription": {
"text": "Foreach array is used as value"
},
"fullDescription": {
"text": "Reports the variables that are used in a 'foreach' loop as both an array expression and an array's key or value (for example, 'foreach ($items as $items) {}'). Commonly, this is the result of a typing error.",
"markdown": "Reports the variables that are used in a `foreach` loop as both an array expression and an array's key or value (for example, `foreach ($items as $items) {}`).\n\n\nCommonly, this is the result of a typing error."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpForeachArrayIsUsedAsValueInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpToStringMayProduceExceptionInspection",
"shortDescription": {
"text": "'__toString' may throw an exception"
},
"fullDescription": {
"text": "Reports the usages of '__toString' that may throw an exception, which is not allowed for PHP language level lower than 7.4.",
"markdown": "Reports the usages of `__toString` that may throw an exception, which is not allowed for PHP language level lower than 7.4."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpToStringMayProduceExceptionInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDeprecatedDollarBraceStringInterpolationInspection",
"shortDescription": {
"text": "Deprecated '${' string interpolation"
},
"fullDescription": {
"text": "Reports '${var}' and '${expr}' interpolations in strings. Such interpolations are deprecated starting from PHP 8.2. See Deprecate ${} string interpolation (php.net) for details.",
"markdown": "Reports `${var}` and `${expr}` interpolations in strings. Such interpolations are deprecated starting from PHP 8.2.\n\n\nSee [Deprecate ${} string interpolation (php.net)](https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDeprecatedDollarBraceStringInterpolationInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSeparateElseIfInspection",
"shortDescription": {
"text": "Else if"
},
"fullDescription": {
"text": "Reports the usages of the 'else if' constructs specified in two words. According to PSR-12, the keyword 'elseif' SHOULD be used instead of 'else if' so that all control keywords look like single words. See PSR-12: Extended Coding Style (php-fig.org) for details.",
"markdown": "Reports the usages of the `else if` constructs specified in two words.\n\nAccording to PSR-12, the keyword `elseif` SHOULD be used instead of `else if` so that all control keywords look like single words.\n\n\nSee [PSR-12: Extended Coding Style (php-fig.org)](https://www.php-fig.org/psr/psr-12/#51-if-elseif-else) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpSeparateElseIfInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style/PSR-12",
"index": 81,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedFunctionInspection",
"shortDescription": {
"text": "Undefined function"
},
"fullDescription": {
"text": "Reports the references to functions that are not defined in the project files, configured include paths, or among the PHP predefined functions.",
"markdown": "Reports the references to functions that are not defined in the project files, configured include paths, or among the PHP predefined functions."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUndefinedFunctionInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDuplicateArrayKeysInspection",
"shortDescription": {
"text": "Duplicate array keys"
},
"fullDescription": {
"text": "Reports duplicate keys in array declarations. If multiple elements in the array declaration use the same key, only the last one will be used, and all others will be overwritten.",
"markdown": "Reports duplicate keys in array declarations.\n\nIf multiple elements in the array declaration use the same key, only the last one will be used, and all others will be overwritten."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDuplicateArrayKeysInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitDeprecatedExpectExceptionInspection",
"shortDescription": {
"text": "Deprecated expectException usage"
},
"fullDescription": {
"text": "Reports deprecated usages of 'expectException()'. Support for using the 'expectException()' method with '\\PHPUnit\\Framework\\Error\\Deprecated', '\\PHPUnit\\Framework\\Error\\Error', '\\PHPUnit\\Framework\\Error\\Notice', and '\\PHPUnit\\Framework\\Error\\Warning' is deprecated and will be removed in PHPUnit 10. Instead, the 'expectDeprecation()', 'expectError()', 'expectNotice()', and 'expectWarning()' methods should be used. See Testing PHP Errors, Warnings, and Notices (phpunit.readthedocs.io) for details.",
"markdown": "Reports deprecated usages of `expectException()`.\n\n\nSupport for using the `expectException()` method with\n`\\PHPUnit\\Framework\\Error\\Deprecated`,\n`\\PHPUnit\\Framework\\Error\\Error`,\n`\\PHPUnit\\Framework\\Error\\Notice`, and\n`\\PHPUnit\\Framework\\Error\\Warning` is deprecated and will be removed in PHPUnit 10.\n\n\nInstead, the `expectDeprecation()`, `expectError()`, `expectNotice()`, and\n`expectWarning()` methods should be used.\n\n\nSee [Testing PHP Errors, Warnings, and Notices (phpunit.readthedocs.io)](https://phpunit.readthedocs.io/en/stable/writing-tests-for-phpunit.html#testing-php-errors-warnings-and-notices) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitDeprecatedExpectExceptionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitTestFailedLineInspection",
"shortDescription": {
"text": "Failed line in test"
},
"fullDescription": {
"text": "Reports failed method calls or assertions in tests. It helps detect the failed line in code faster and start debugging it immediately. Example: 'function test() {\n $this->assertEquals(1,2); //highlighted\n }'",
"markdown": "Reports failed method calls or assertions in tests. It helps detect the failed line in code faster and start debugging it immediately.\n\n**Example:**\n\n\n function test() {\n $this->assertEquals(1,2); //highlighted\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUnitTestFailedLineInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMatchCanBeReplacedWithSwitchStatementInspection",
"shortDescription": {
"text": "'match' can be replaced with 'switch' statement"
},
"fullDescription": {
"text": "Reports the 'match' expressions that can be replaced with 'switch' statements. Note that 'match' expressions use strict type comparison, while 'switch' statements rely on loose comparison. As a result, the expression semantics may change after replacement. See match (php.net) and switch (php.net) for details.",
"markdown": "Reports the `match` expressions that can be replaced with `switch` statements.\n\n\nNote that `match` expressions use strict type comparison, while `switch` statements rely on loose comparison. As a\nresult, the expression semantics may change after replacement.\n\n\nSee [match (php.net)](https://www.php.net/manual/en/control-structures.match.php) and [switch (php.net)](https://www.php.net/manual/en/control-structures.switch.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMatchCanBeReplacedWithSwitchStatementInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSecondWriteToReadonlyPropertyInspection",
"shortDescription": {
"text": "Second write to 'readonly' property"
},
"fullDescription": {
"text": "Reports reassignments of 'readonly' properties. Such properties cannot be modified after initialization. See Readonly properties (php.net) for details.",
"markdown": "Reports reassignments of `readonly` properties. Such properties cannot be modified after initialization.\n\n\nSee [Readonly properties (php.net)](https://wiki.php.net/rfc/readonly_properties_v2) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpSecondWriteToReadonlyPropertyInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpEnforceDocCommentInspection",
"shortDescription": {
"text": "Enforce PHPDoc comment"
},
"fullDescription": {
"text": "Reports the elements without a PHPDoc comment or with a PHPDoc comment only containing the '@noinspection' tag. You can use Missing PHPDoc Comment inspection to report only non-fully typed elements.",
"markdown": "Reports the elements without a PHPDoc comment or with a PHPDoc comment only containing the `@noinspection` tag.\n\nYou can use *Missing PHPDoc Comment* inspection to report only non-fully typed elements."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpEnforceDocCommentInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc/Code style",
"index": 16,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDocFinalChecksInspection",
"shortDescription": {
"text": "Overriding method/extending class marked as '@final'"
},
"fullDescription": {
"text": "Reports override of method or extending of class with '@final' in the PHPDoc.",
"markdown": "Reports override of method or extending of class with `@final` in the PHPDoc."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpDocFinalChecksInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPureAttributeCanBeAddedInspection",
"shortDescription": {
"text": "'#[Pure]' attribute can be added"
},
"fullDescription": {
"text": "Reports the functions that are non-trivially pure. Such functions have other functions calls in their body, but all such calls do not produce any side effects.",
"markdown": "Reports the functions that are non-trivially pure. Such functions have other functions calls in their body, but all such calls do not produce any side effects."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPureAttributeCanBeAddedInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpVarTagWithoutVariableNameInspection",
"shortDescription": {
"text": "Type tag without variable name"
},
"fullDescription": {
"text": "Reports the PHPDoc type tags ('@var','@type','@param') that are provided without a specified variable/parameter name. Such tags do not provide any type information for expressions and should be either deleted or expanded to include a concrete variable name for which the type is provided.",
"markdown": "Reports the PHPDoc type tags (`@var`,`@type`,`@param`) that are provided without a specified variable/parameter name. Such tags do not provide any type information for expressions and should be either deleted or expanded to include a concrete variable name for which the type is provided."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpVarTagWithoutVariableNameInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpImmutablePropertyIsWrittenInspection",
"shortDescription": {
"text": "Immutable property written in invalid scope"
},
"fullDescription": {
"text": "Highlights write access references to properties, for which the write access scope declared via '#[Immutable]' is stricter than the reference scope.",
"markdown": "Highlights write access references to properties, for which the write access scope declared via `#[Immutable]` is stricter than the reference scope."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpImmutablePropertyIsWrittenInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDeprecatedAssertDeclarationInspection",
"shortDescription": {
"text": "Deprecated 'assert()' function declaration"
},
"fullDescription": {
"text": "Reports the 'assert()' function declarations. Declaring the 'assert()' function is global namespace is forbidden. Starting from PHP 7.3, declaring the 'assert()' function in non-global namespace is deprecated. See assert (php.net) for details.",
"markdown": "Reports the `assert()` function declarations.\n\n* Declaring the `assert()` function is global namespace is forbidden.\n* Starting from PHP 7.3, declaring the `assert()` function in non-global namespace is deprecated.\n\n\nSee [assert (php.net)](https://www.php.net/manual/en/function.assert.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpDeprecatedAssertDeclarationInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAutovivificationOnFalseValuesInspection",
"shortDescription": {
"text": "Automatic conversion of 'false' to array is deprecated"
},
"fullDescription": {
"text": "Reports automatic conversions of 'false' values to arrays. Such expressions are deprecated starting from PHP 8.1. See Deprecate autovivification on false for details.",
"markdown": "Reports automatic conversions of `false` values to arrays. Such expressions are deprecated starting from PHP 8.1.\n\n\nSee [Deprecate autovivification on false](https://wiki.php.net/rfc/autovivification_false) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpAutovivificationOnFalseValuesInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDocSignatureIsNotCompleteInspection",
"shortDescription": {
"text": "PHPDoc comment signature is not complete"
},
"fullDescription": {
"text": "Reports the PHPDoc comments that contain at least one '@param' or '@return' tag but are missing some of the '@param' or '@return' tags for parameters or return types specified in the function/method declaration.",
"markdown": "Reports the PHPDoc comments that contain at least one `@param` or `@return` tag but are missing some of the `@param` or `@return` tags for parameters or return types specified in the function/method declaration."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDocSignatureIsNotCompleteInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc/Code style",
"index": 16,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSignatureMismatchDuringInheritanceInspection",
"shortDescription": {
"text": "Declaration of overridden method should be compatible with parent class"
},
"fullDescription": {
"text": "Reports the overridden methods declarations that are not compatible with the parent class. The inspection is enabled only for the PHP language level lower than 8.0.",
"markdown": "Reports the overridden methods declarations that are not compatible with the parent class. The inspection is enabled only for the PHP language level lower than 8.0."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpSignatureMismatchDuringInheritanceInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHP strict standards",
"index": 86,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTraitUsageOutsideUseInspection",
"shortDescription": {
"text": "Trait usage is not allowed"
},
"fullDescription": {
"text": "Reports the class references that are resolved to traits but are specified outside 'use' statements. Such usages are most probably the result of a programming mistake, since traits cannot be instantiated and any 'instanceof'-like behaviour is not supported for traits by design. See Traits (php.net) for details.",
"markdown": "Reports the class references that are resolved to traits but are specified outside `use` statements. Such usages are most probably the result of a programming mistake, since traits cannot be instantiated and any `instanceof`-like behaviour is not supported for traits by design.\n\n\nSee [Traits (php.net)](https://www.php.net/manual/en/language.oop5.traits.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpTraitUsageOutsideUseInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpStrictTypeCheckingInspection",
"shortDescription": {
"text": "Strict type checking rules violation"
},
"fullDescription": {
"text": "Reports violations of the strict type checking rules. In strict mode, only the variables exactly matching the declaration types are accepted. Strict type-checking mode can be enabled: Per file, if the 'declare(strict_types=1)' directive is specified. The directive must be the first statement in a file, block mode is explicitly disallowed. For all files, if the Enable for all files inspection option is enabled. See Strict typing (php.net) for details.",
"markdown": "Reports violations of the strict type checking rules.\n\n\nIn strict mode, only the variables exactly matching the declaration types are accepted. Strict type-checking mode can be enabled:\n\n* Per file, if the `declare(strict_types=1)` directive is specified. The directive must be the first statement in a file, block mode is explicitly disallowed.\n* For all files, if the **Enable for all files** inspection option is enabled.\n\n\nSee [Strict typing (php.net)](https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpStrictTypeCheckingInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIfWithCommonPartsInspection",
"shortDescription": {
"text": "'if' with common parts"
},
"fullDescription": {
"text": "Reports the 'if' statements with duplicated common parts.",
"markdown": "Reports the `if` statements with duplicated common parts."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpIfWithCommonPartsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpStaticAsDynamicMethodCallInspection",
"shortDescription": {
"text": "Static method called as dynamic"
},
"fullDescription": {
"text": "Reports dynamic calls to static class methods. If the target has the magic method '__call', a separate inspection severity and highlighting level can be set.",
"markdown": "Reports dynamic calls to static class methods.\n\nIf the target has the magic method `__call`, a separate inspection severity and highlighting level can be set."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpStaticAsDynamicMethodCallInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDangerousArrayInitializationInspection",
"shortDescription": {
"text": "Dangerous array initialization"
},
"fullDescription": {
"text": "Reports dangerous array initializations (such as '$arr[] = value'). This practice is discouraged because if '$arr' already contains some value (for example, a string from a request variable), then this value will stay in place and '[]' may actually stand for string access operator. It is always preferable to initialize a variable by direct assignment. See Creating/modifying with square bracket syntax (php.net) for details.",
"markdown": "Reports dangerous array initializations (such as `$arr[] = value`).\n\n\nThis practice is discouraged because if `$arr` already contains some value (for example, a string from a request variable), then this value will stay in place and `[]` may actually stand for string access operator. It is always preferable to initialize a variable by direct assignment.\n\nSee [Creating/modifying with square bracket syntax (php.net)](https://www.php.net/manual/en/language.types.array.php#language.types.array.syntax.modifying) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDangerousArrayInitializationInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDeprecatedImplodeUsageInspection",
"shortDescription": {
"text": "Deprecated 'implode/join' usage"
},
"fullDescription": {
"text": "Reports deprecated usage of the 'implode' and 'join' functions. Starting from PHP 7.4, using 'implode' and 'join' with an array as the first argument and a string as the second argument is deprecated. See Deprecations for PHP 7.4 (php.net) for details.",
"markdown": "Reports deprecated usage of the `implode` and `join` functions.\n\nStarting from PHP 7.4, using `implode` and `join` with an array as the first argument and a string as the second argument is deprecated.\n\n\nSee [Deprecations for PHP 7.4 (php.net)](https://wiki.php.net/rfc/deprecations_php_7_4#implode_parameter_order_mix) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDeprecatedImplodeUsageInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpOverridingMethodVisibilityInspection",
"shortDescription": {
"text": "Method visibility should not be overridden"
},
"fullDescription": {
"text": "Checks that the methods don't override visibility. Overriding a 'protected' method with a 'public' method in a child class makes this method accessible from everywhere. This violates the encapsulation principle and is considered bad practice. See Method Visibility (php.net) for details.",
"markdown": "Checks that the methods don't override visibility.\n\n\nOverriding a `protected` method with a `public` method in a child class makes this method accessible from everywhere.\nThis violates the encapsulation principle and is considered bad practice.\n\n\nSee [Method Visibility (php.net)](https://www.php.net/manual/en/language.oop5.visibility.php#language.oop5.visiblity-methods) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpOverridingMethodVisibilityInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMockeryInvalidMockingMethodInspection",
"shortDescription": {
"text": "Invalid Mockery mocking target"
},
"fullDescription": {
"text": "Reports the methods and classes that are incorrectly mocked in Mockery tests. The following entities are reported: 'private' methods 'protected' methods without appropriate '\\Mockery\\Mock::shouldAllowMockingProtectedMethods' call",
"markdown": "Reports the methods and classes that are incorrectly mocked in Mockery tests.\n\n\nThe following entities are reported:\n\n* `private` methods\n* `protected` methods without appropriate `\\Mockery\\Mock::shouldAllowMockingProtectedMethods` call"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PhpMockeryInvalidMockingMethodInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpForeachOverSingleElementArrayLiteralInspection",
"shortDescription": {
"text": "Foreach over array literal with single element"
},
"fullDescription": {
"text": "Reports the 'foreach' statements that iterate over an array literal containing a single element.",
"markdown": "Reports the `foreach` statements that iterate over an array literal containing a single element."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpForeachOverSingleElementArrayLiteralInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpClassNamingConventionInspection",
"shortDescription": {
"text": "Class name is not following coding convention"
},
"fullDescription": {
"text": "Reports the classes' 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 classes. Use the inspection options to specify minimum/maximum length and the regular expression expected for classes' 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 classes' 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 classes.\n\n\nUse the inspection options to specify minimum/maximum length and the regular expression expected for classes' 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": "PhpClassNamingConventionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Naming conventions",
"index": 6,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCoveredCharacterInClassInspection",
"shortDescription": {
"text": "Element in class is already covered"
},
"fullDescription": {
"text": "Reports the elements in regular expression character classes that are already covered by another element in the same class. Such elements are redundant and can be safely removed.",
"markdown": "Reports the elements in regular expression character classes that are already covered by another element in the same class. Such elements are redundant and can be safely removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpCoveredCharacterInClassInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Regular expressions",
"index": 87,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpVariableIsUsedOnlyInClosureInspection",
"shortDescription": {
"text": "Variable is only used inside closure"
},
"fullDescription": {
"text": "Reports variables in closures' 'use' list that are only used inside closure.",
"markdown": "Reports variables in closures' `use` list that are only used inside closure."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpVariableIsUsedOnlyInClosureInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLongTypeFormInspection",
"shortDescription": {
"text": "Short form of type keywords"
},
"fullDescription": {
"text": "Reports usages of long form type keywords. According to PSR-12, short form of type keywords MUST be used, that is 'bool' instead of 'boolean', 'int' instead of 'integer', and so on. See Keywords and Types (php-fig.org) for details.",
"markdown": "Reports usages of long form type keywords.\n\n\nAccording to PSR-12, short form of type keywords MUST be used, that is `bool` instead of `boolean`, `int` instead of `integer`, and so on.\n\n\nSee [Keywords and Types (php-fig.org)](https://www.php-fig.org/psr/psr-12/#25-keywords-and-types) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpLongTypeFormInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style/PSR-12",
"index": 81,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnreachableStatementInspection",
"shortDescription": {
"text": "Unreachable statement"
},
"fullDescription": {
"text": "Reports the statements that cannot be reached.",
"markdown": "Reports the statements that cannot be reached."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUnreachableStatementInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCSFixerValidationInspection",
"shortDescription": {
"text": "PHP CS Fixer validation"
},
"fullDescription": {
"text": "Reports coding style problems detected by PHP CS Fixer. The inspection requires PHP CS Fixer to be properly installed and set up in the IDE under Settings | PHP | Quality Tools | PHP CS Fixer. To learn more about installing PHP CS Fixer, see PHP-CS-Fixer installation (GitHub).",
"markdown": "Reports coding style problems detected by PHP CS Fixer.\n\n\nThe inspection requires PHP CS Fixer to be properly installed and set up in the IDE under\n[Settings \\| PHP \\| Quality Tools \\| PHP CS Fixer](settings://settings.php.quality.tools?CS%20Fixer).\n\n\nTo learn more about installing PHP CS Fixer, see [PHP-CS-Fixer installation (GitHub)](https://github.com/FriendsOfPHP/PHP-CS-Fixer#installation)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpCSFixerValidationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Quality tools",
"index": 89,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpClosureCanBeConvertedToShortArrowFunctionInspection",
"shortDescription": {
"text": "Closure can be converted to arrow function"
},
"fullDescription": {
"text": "Reports the anonymous functions that can be transformed to short arrow functions. Support for short arrow functions is available since PHP 7.4. See PHP RFC: Arrow Functions 2.0 (php.net) for details.",
"markdown": "Reports the anonymous functions that can be transformed to short arrow functions. Support for short arrow functions is available since PHP 7.4.\n\n\nSee [PHP RFC: Arrow Functions 2.0 (php.net)](https://wiki.php.net/rfc/arrow_functions_v2) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpClosureCanBeConvertedToShortArrowFunctionInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitDeprecatedCallsIn10VersionInspection",
"shortDescription": {
"text": "Method is deprecated in PHPUnit 10"
},
"fullDescription": {
"text": "Reports the calls to the PHPUnit assertion methods that are removed in PHPUnit 10.",
"markdown": "Reports the calls to the PHPUnit assertion methods that are removed in PHPUnit 10."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUnitDeprecatedCallsIn10VersionInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnhandledExceptionInspection",
"shortDescription": {
"text": "Unhandled exception"
},
"fullDescription": {
"text": "Reports the exceptions that are neither enclosed in a 'try-catch' block nor documented via the '@throws' tag.",
"markdown": "Reports the exceptions that are neither enclosed in a `try-catch` block nor documented via the `@throws` tag."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnhandledExceptionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Error handling",
"index": 94,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIncludeInspection",
"shortDescription": {
"text": "Unresolved include"
},
"fullDescription": {
"text": "Reports non-resolved 'include', 'include_once', 'require', and 'require_once' expressions.",
"markdown": "Reports non-resolved `include`, `include_once`, `require`, and `require_once` expressions."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpIncludeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitUndefinedDataProviderInspection",
"shortDescription": {
"text": "Undefined PHPUnit data provider"
},
"fullDescription": {
"text": "Reports the references to functions/methods in the '@dataProvider' PHPDoc tag that are not resolved. Note that when resolving 'dataProvider', PHPUnit doesn't take 'use' statements into account.",
"markdown": "Reports the references to functions/methods in the `@dataProvider` PHPDoc tag that are not resolved.\n\nNote that when resolving `dataProvider`, PHPUnit doesn't take `use` statements into account."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUnitUndefinedDataProviderInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpFieldAssignmentTypeMismatchInspection",
"shortDescription": {
"text": "Type mismatch in property assignment"
},
"fullDescription": {
"text": "Reports type violations in properties assignments.",
"markdown": "Reports type violations in properties assignments."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpFieldAssignmentTypeMismatchInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingParentConstructorInspection",
"shortDescription": {
"text": "Missing parent call for constructor"
},
"fullDescription": {
"text": "Reports the constructors that do not call their parent constructor.",
"markdown": "Reports the constructors that do not call their parent constructor."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpMissingParentConstructorInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitAssertEqualsCanBeReplacedWithAssertTrueOrFalseInspection",
"shortDescription": {
"text": "Assertion can be replaced with 'assertTrue/assertFalse'"
},
"fullDescription": {
"text": "Reports the 'assertEquals()' calls with the 'true'/'false' arguments in PHPUnit tests. Such usages can be replaced with 'assertTrue()'/'assertFalse()' calls.",
"markdown": "Reports the `assertEquals()` calls with the `true`/`false` arguments in PHPUnit tests. Such usages can be replaced with `assertTrue()`/`assertFalse()` calls."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitAssertEqualsCanBeReplacedWithAssertTrueOrFalseInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDynamicAsStaticMethodCallInspection",
"shortDescription": {
"text": "Dynamic method called as static"
},
"fullDescription": {
"text": "Reports static calls to dynamic class methods. For classes having the magic method '__callStatic', a separate inspection severity and highlighting level can be set.",
"markdown": "Reports static calls to dynamic class methods.\n\nFor classes having the magic method `__callStatic`, a separate inspection severity and highlighting level can be set."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDynamicAsStaticMethodCallInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpReadonlyPropertyWrittenOutsideDeclarationScopeInspection",
"shortDescription": {
"text": "Write access to 'readonly' property outside of declaration scope"
},
"fullDescription": {
"text": "Reports the write accesses to 'readonly' properties that are made outside the declaration scope. A declaration scope effectively means non-static methods of the class in which a property is declared. See Readonly properties (php.net) for details.",
"markdown": "Reports the write accesses to `readonly` properties that are made outside the declaration scope. A declaration scope effectively means non-static methods of the class in which a property is declared.\n\n\nSee [Readonly properties (php.net)](https://wiki.php.net/rfc/readonly_properties_v2) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpReadonlyPropertyWrittenOutsideDeclarationScopeInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpFormatCallWithSingleArgumentInspection",
"shortDescription": {
"text": "Format function call with single argument"
},
"fullDescription": {
"text": "Reports the 'sprintf()' and 'vsprintf()' calls with a single argument. Such calls produce no effect and can be safely unwrapped, that is, replaced with the argument itself.",
"markdown": "Reports the `sprintf()` and `vsprintf()` calls with a single argument. Such calls produce no effect and can be safely unwrapped, that is, replaced with the argument itself."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpFormatCallWithSingleArgumentInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayIsAlwaysEmptyInspection",
"shortDescription": {
"text": "Array is always empty at the point of access"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayIsAlwaysEmptyInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIllegalArrayKeyTypeInspection",
"shortDescription": {
"text": "Illegal array key type"
},
"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."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpIllegalArrayKeyTypeInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLoopNeverIteratesInspection",
"shortDescription": {
"text": "Loop does not iterate"
},
"fullDescription": {
"text": "Reports the loop statements whose bodies will execute at most once. The inspection does not report 'foreach' loops with a key or value used inside the loop body. Commonly, such loops are intended to perform an action only on their first iteration (for example, get the first element of an array).",
"markdown": "Reports the loop statements whose bodies will execute at most once.\n\n\nThe inspection does not report `foreach` loops with a key or value used inside the loop body. Commonly, such loops are intended to perform an action only on their first iteration (for example, get the first element of an array)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpLoopNeverIteratesInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRegExpUnsupportedModifierInspection",
"shortDescription": {
"text": "Unsupported modifier"
},
"fullDescription": {
"text": "Reports the usages of the 'e' modifier in regular expression patterns. In PHP 7.0 and later, such usages are deprecated and will emit an 'E_WARNING'.",
"markdown": "Reports the usages of the `e` modifier in regular expression patterns. In PHP 7.0 and later, such usages are deprecated and will emit an `E_WARNING`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpRegExpUnsupportedModifierInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Regular expressions",
"index": 87,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpVariableNamingConventionInspection",
"shortDescription": {
"text": "Variable name is not following coding convention"
},
"fullDescription": {
"text": "Reports the variables' 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 variables. Use the inspection options to specify minimum/maximum length and the regular expression expected for variables' 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 variables' 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 variables.\n\n\nUse the inspection options to specify minimum/maximum length and the regular expression expected for variables' 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": "PhpVariableNamingConventionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Naming conventions",
"index": 6,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPassByRefInspection",
"shortDescription": {
"text": "Pass parameter by reference"
},
"fullDescription": {
"text": "Reports the arguments in a function/method call that cannot be passed by reference. Only variables and references returned from functions can be passed by reference. See Passing by Reference (php.net) for details.",
"markdown": "Reports the arguments in a function/method call that cannot be passed by reference.\n\n\nOnly variables and references returned from functions can be passed by reference. See [Passing by Reference (php.net)](https://www.php.net/manual/en/language.references.pass.php#language.references.pass) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpPassByRefInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpWrongStringConcatenationInspection",
"shortDescription": {
"text": "Wrong string concatenation"
},
"fullDescription": {
"text": "Reports the attempts to concatenate strings by using the '+' operator instead of the dot ('.') concatenation operator. Such attempts are most likely a programming mistake.",
"markdown": "Reports the attempts to concatenate strings by using the `+` operator instead of the dot (`.`) concatenation operator. Such attempts are most likely a programming mistake."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpWrongStringConcatenationInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNonCanonicalElementsOrderInspection",
"shortDescription": {
"text": "Non-canonical order of elements"
},
"fullDescription": {
"text": "Reports the PHPDoc tags that have elements listed in non-canonical order. For example, for such tags as '@property', '@param', or '@var', the inspection will report the usages of '[name] [\"Type\"]' instead of '[\"Type\"] [name]'.",
"markdown": "Reports the PHPDoc tags that have elements listed in non-canonical order.\n\nFor example, for such tags as `@property`, `@param`, or `@var`, the inspection will report the usages of `[name] [\"Type\"]` instead of `[\"Type\"] [name]`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpNonCanonicalElementsOrderInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc/Code style",
"index": 16,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryLocalVariableInspection",
"shortDescription": {
"text": "Unnecessary local variable"
},
"fullDescription": {
"text": "Reports the local variables that are used in exit statements, such as 'throw', 'return', or 'yield', immediately after assignment.",
"markdown": "Reports the local variables that are used in exit statements, such as `throw`, `return`, or `yield`, immediately after assignment."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryLocalVariableInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAbstractStaticMethodInspection",
"shortDescription": {
"text": "Static function should not be abstract"
},
"fullDescription": {
"text": "Reports the static methods that are declared as abstract.",
"markdown": "Reports the static methods that are declared as abstract."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpAbstractStaticMethodInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHP strict standards",
"index": 86,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTooLongMemberReferenceChainInspection",
"shortDescription": {
"text": "Member reference chain is too long to analyze"
},
"fullDescription": {
"text": "Reports method reference chains that are too long for IDE to analyze.",
"markdown": "Reports method reference chains that are too long for IDE to analyze."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpTooLongMemberReferenceChainInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpInArrayCanBeReplacedWithComparisonInspection",
"shortDescription": {
"text": "'in_array' can be replaced with comparison"
},
"fullDescription": {
"text": "Reports the 'in_array()' calls that are provided with a single-element array as the '$haystack' argument. Such calls can be replaced with direct comparisons. See in_array (php.net) for details.",
"markdown": "Reports the `in_array()` calls that are provided with a single-element array as the `$haystack` argument. Such calls can be replaced with direct comparisons.\n\n\nSee [in_array (php.net)](https://www.php.net/manual/en/function.in-array.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpInArrayCanBeReplacedWithComparisonInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantTypeInUnionTypeInspection",
"shortDescription": {
"text": "Type declaration is redundant and could be simplified"
},
"fullDescription": {
"text": "Reports union type declarations that contain redundant types, for example, a union type that contains both the class alias and the original class. See Union Types RFC: Duplicate and redundant types (php.net) for details.",
"markdown": "Reports union type declarations that contain redundant types, for example, a union type that contains both the class alias and the original class.\n\n\nSee [Union Types RFC: Duplicate and redundant types (php.net)](https://wiki.php.net/rfc/union_types_v2#duplicate_and_redundant_types) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantTypeInUnionTypeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIllegalStringOffsetInspection",
"shortDescription": {
"text": "Illegal string offset"
},
"fullDescription": {
"text": "Reports the usages of non-'integer' offsets in string access expressions such as '$str[42]'. Starting from PHP 5.4, string offsets have to be either integers or integer-like strings. Since it's considered bad practice to use strings as a string offset, the inspection reports them, as well. See String access and modification by character (php.net) for details.",
"markdown": "Reports the usages of non-`integer` offsets in string access expressions such as `$str[42]`.\n\n\nStarting from PHP 5.4, string offsets have to be either integers or integer-like strings.\nSince it's considered bad practice to use strings as a string offset, the inspection reports them, as well.\n\nSee [String access and modification by character (php.net)](https://www.php.net/manual/en/language.types.string.php#language.types.string.substr) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpIllegalStringOffsetInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpModuloByOneInspection",
"shortDescription": {
"text": "Modulo operation with '1' as operand"
},
"fullDescription": {
"text": "Reports the modulo expressions '%' that always evaluate to '0' or '1'.",
"markdown": "Reports the modulo expressions `%` that always evaluate to `0` or `1`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpModuloByOneInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantAssignmentToPromotedFieldInspection",
"shortDescription": {
"text": "Redundant assignment to promoted property"
},
"fullDescription": {
"text": "Reports redundant assignments to class properties that duplicate automatic assignments performed through promoted constructor parameters. See Constructor Property Promotion (php.net) for details.",
"markdown": "Reports redundant assignments to class properties that duplicate automatic assignments performed through promoted constructor parameters.\n\n\nSee [Constructor Property Promotion (php.net)](https://wiki.php.net/rfc/constructor_promotion) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantAssignmentToPromotedFieldInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayPushWithOneElementInspection",
"shortDescription": {
"text": "'array_push()' with single element"
},
"fullDescription": {
"text": "Reports the 'array_push()' calls that are used to add a single element to an array. In such cases, it is recommended to use '$array[] =' instead, which adds no overhead of calling a function. See array_push (php.net) for details.",
"markdown": "Reports the `array_push()` calls that are used to add a single element to an array. In such cases, it is recommended to use `$array[] =` instead, which adds no overhead of calling a function.\n\n\nSee [array_push (php.net)](https://www.php.net/manual/en/function.array-push.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayPushWithOneElementInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMatchExpressionWithOnlyDefaultArmInspection",
"shortDescription": {
"text": "'match' expression has only default arm and should be simplified"
},
"fullDescription": {
"text": "Reports the 'match' expressions only containing a 'default' arm. Such expressions are redundant and should be simplified. See Match expression (php.net) for details.",
"markdown": "Reports the `match` expressions only containing a `default` arm. Such expressions are redundant and should be simplified.\n\n\nSee [Match expression (php.net)](https://wiki.php.net/rfc/match_expression_v2) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMatchExpressionWithOnlyDefaultArmInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNModifierCanBeReplacedWithNonCapturingGroupInspection",
"shortDescription": {
"text": "'n' modifier can be replaced with non-capturing groups"
},
"fullDescription": {
"text": "Reports 'n' PCRE modifier, that can be replaced with usage of non-capturing groups instead of capturing in regexp pattern.",
"markdown": "Reports `n` PCRE modifier, that can be replaced with usage of non-capturing groups instead of capturing in regexp pattern."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpNModifierCanBeReplacedWithNonCapturingGroupInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantOptionalArgumentInspection",
"shortDescription": {
"text": "Redundant optional argument"
},
"fullDescription": {
"text": "Reports redundant arguments that match the corresponding default values for optional parameters.",
"markdown": "Reports redundant arguments that match the corresponding default values for optional parameters."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantOptionalArgumentInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantReadonlyModifierInspection",
"shortDescription": {
"text": "'readonly' modifier is redundant"
},
"fullDescription": {
"text": "Reports 'readonly' modifiers applied to properties in read-only classes. Those modifiers are redundant since all properties in read-only classes are implicitly read-only. See Readonly classes RFC (php.net) for details.",
"markdown": "Reports `readonly` modifiers applied to properties in read-only classes. Those modifiers are redundant since all properties in read-only classes are implicitly read-only.\n\n\nSee [Readonly classes RFC (php.net)](https://wiki.php.net/rfc/readonly_classes#proposal) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantReadonlyModifierInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessarySpreadOperatorForFunctionCallArgumentInspection",
"shortDescription": {
"text": "Unnecessary spread operator for function call argument"
},
"fullDescription": {
"text": "Reports the usages of the spread operator ('...') on array literals in function call arguments that may be safely unwrapped.",
"markdown": "Reports the usages of the spread operator (`...`) on array literals in function call arguments that may be safely unwrapped."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessarySpreadOperatorForFunctionCallArgumentInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpStrictComparisonWithOperandsOfDifferentTypesInspection",
"shortDescription": {
"text": "Strict comparison of operands with incompatible types"
},
"fullDescription": {
"text": "Reports the '===' or '!==' strict comparisons used on operands with incompatible types. See PHP type comparison tables (php.net) for details.",
"markdown": "Reports the `===` or `!==` strict comparisons used on operands with incompatible types.\n\n\nSee [PHP type comparison tables (php.net)](https://www.php.net/manual/en/types.comparisons.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpStrictComparisonWithOperandsOfDifferentTypesInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpExpectedValuesShouldBeUsedInspection",
"shortDescription": {
"text": "Expected values should be used"
},
"fullDescription": {
"text": "Reports the values in assignment and comparison expressions that should be replaced with one of the expected values (that is, the values specified via the '#[ExpectedValues]' attribute). See Attributes (php.net) for details.",
"markdown": "Reports the values in assignment and comparison expressions that should be replaced with one of the expected values (that is, the values specified via the `#[ExpectedValues]` attribute).\n\n\nSee [Attributes (php.net)](https://wiki.php.net/rfc/attributes_v2) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpExpectedValuesShouldBeUsedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNonCompoundUseInspection",
"shortDescription": {
"text": "Unnecessary statement use"
},
"fullDescription": {
"text": "Reports the 'use' statements that contain non-fully qualified class names and thus have no effect. The inspection only reports classes imports; functions and constants imports are not considered. See Using namespaces: Aliasing/Importing (php.net) for details.",
"markdown": "Reports the `use` statements that contain non-fully qualified class names and thus have no effect. The inspection only reports classes imports; functions and constants imports are not considered.\n\n\nSee [Using namespaces: Aliasing/Importing (php.net)](http://www.php.net/manual/en/language.namespaces.importing.php#language.namespaces.importing) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpNonCompoundUseInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpInvalidInstanceofInspection",
"shortDescription": {
"text": "Argument of 'instanceof' should be only objects or strings"
},
"fullDescription": {
"text": "Reports arguments of 'instanceof' that are not objects or strings",
"markdown": "Reports arguments of 'instanceof' that are not objects or strings"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpInvalidInstanceofInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MessDetectorValidationInspection",
"shortDescription": {
"text": "PHP Mess Detector validation"
},
"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%20Detector).\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": false,
"level": "note",
"parameters": {
"suppressToolId": "MessDetectorValidationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Quality tools",
"index": 89,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDeprecationInspection",
"shortDescription": {
"text": "Deprecated"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDeprecationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDeprecatedCastInspection",
"shortDescription": {
"text": "Deprecated cast"
},
"fullDescription": {
"text": "Reports deprecated cast expressions: '(unset)' cast expressions, which are deprecated in PHP 7.2 and later. '(real)' cast expressions, which are deprecated in PHP 7.4 and later. See Deprecated features in PHP 7.2.x (php.net) and Deprecations for PHP 7.4 (php.net) for details.",
"markdown": "Reports deprecated cast expressions:\n\n* `(unset)` cast expressions, which are deprecated in PHP 7.2 and later.\n* `(real)` cast expressions, which are deprecated in PHP 7.4 and later.\n\n\nSee [Deprecated features in PHP 7.2.x (php.net)](https://www.php.net/manual/en/migration72.deprecated.php#migration72.deprecated.unset-cast) and [Deprecations for PHP 7.4 (php.net)](https://wiki.php.net/rfc/deprecations_php_7_4#the_real_type) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpDeprecatedCastInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitAssertEqualsInspection",
"shortDescription": {
"text": "Deprecated 'assertEquals/assertNotEquals' usage"
},
"fullDescription": {
"text": "Reports deprecated usages of the 'assertEquals' and 'assertNotEquals' functions with '$delta', '$maxDepth', '$canonicalize', and '$ignoreCase' parameters. The optional '$delta', '$maxDepth', '$canonicalize', and '$ignoreCase' parameters of the 'assertEquals' and 'assertNotEquals' functions are deprecated and will be removed in PHPUnit 9. See Usage of the assertEquals function (phpunit.readthedocs.io) for details.",
"markdown": "Reports deprecated usages of the `assertEquals` and `assertNotEquals` functions with `$delta`, `$maxDepth`, `$canonicalize`, and `$ignoreCase` parameters.\n\nThe optional `$delta`, `$maxDepth`, `$canonicalize`, and `$ignoreCase` parameters\nof the `assertEquals` and `assertNotEquals` functions are deprecated and will be removed in PHPUnit 9.\n\n\nSee [Usage of the assertEquals function (phpunit.readthedocs.io)](https://phpunit.readthedocs.io/en/stable/assertions.html#assertequals) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitAssertEqualsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNestedDirNameCallsCanBeReplacedWithLevelParameterInspection",
"shortDescription": {
"text": "Nested 'dirname()' call can be replaced with 'levels' parameter usage"
},
"fullDescription": {
"text": "Reports the nested 'dirname()' calls that can be omitted by using the 'levels' parameter instead.",
"markdown": "Reports the nested `dirname()` calls that can be omitted by using the `levels` parameter instead."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpNestedDirNameCallsCanBeReplacedWithLevelParameterInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpFieldImmediatelyRewrittenInspection",
"shortDescription": {
"text": "Property is immediately rewritten "
},
"fullDescription": {
"text": "Reports the write expressions on properties which are immediately overwritten before being accessed.",
"markdown": "Reports the write expressions on properties which are immediately overwritten before being accessed."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpFieldImmediatelyRewrittenInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpExpressionWithoutClarifyingParenthesesInspection",
"shortDescription": {
"text": "Expression without clarifying parentheses"
},
"fullDescription": {
"text": "Reports potentially ambiguous expressions and proposes enclosing them in clarifying parentheses.",
"markdown": "Reports potentially ambiguous expressions and proposes enclosing them in clarifying parentheses."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpExpressionWithoutClarifyingParenthesesInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantAttributeParenthesisInspection",
"shortDescription": {
"text": "Redundant parentheses in attribute"
},
"fullDescription": {
"text": "Reports empty arguments lists in attributes. See Attributes (php.net) for details.",
"markdown": "Reports empty arguments lists in attributes.\n\n\nSee [Attributes (php.net)](https://wiki.php.net/rfc/attributes_v2) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantAttributeParenthesisInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpParameterNameChangedDuringInheritanceInspection",
"shortDescription": {
"text": "Parameter's name changed during inheritance"
},
"fullDescription": {
"text": "Reports the methods' parameters whose names differ from the same parameters defined in parent methods. Starting with PHP 8.0, such code can cause runtime errors.",
"markdown": "Reports the methods' parameters whose names differ from the same parameters defined in parent methods. Starting with PHP 8.0, such code can cause runtime errors."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpParameterNameChangedDuringInheritanceInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTraitsUseListInspection",
"shortDescription": {
"text": "One-per-line trait uses"
},
"fullDescription": {
"text": "Reports the cases of several traits being imported via a single 'use' statement. According to PSR-12, each individual trait imported into a class MUST be included one-per-line, and each inclusion MUST have its own 'use' import statement. See PSR-12: Extended Coding Style (php-fig.org) for details.",
"markdown": "Reports the cases of several traits being imported via a single `use` statement.\n\n\nAccording to PSR-12, each individual trait imported into a class MUST be included one-per-line, and each inclusion MUST have its own `use` import statement.\n\n\nSee [PSR-12: Extended Coding Style (php-fig.org)](https://www.php-fig.org/psr/psr-12/#42-using-traits) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpTraitsUseListInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style/PSR-12",
"index": 81,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDisabledQualityToolComposerInspection",
"shortDescription": {
"text": "Quality tool inspection is disabled"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDisabledQualityToolComposerInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Composer",
"index": 47,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpConcatenationWithEmptyStringCanBeInlinedInspection",
"shortDescription": {
"text": "Concatenation to empty string can be merged with assignment"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpConcatenationWithEmptyStringCanBeInlinedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNamedArgumentUsageInspection",
"shortDescription": {
"text": "Argument with name identifier"
},
"fullDescription": {
"text": "Reports arguments with name identifiers.",
"markdown": "Reports arguments with name identifiers."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpNamedArgumentUsageInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayIndexResetIsUnnecessaryInspection",
"shortDescription": {
"text": "Array internal pointer reset is unnecessary"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayIndexResetIsUnnecessaryInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnusedFieldDefaultValueInspection",
"shortDescription": {
"text": "Redundant property initializer"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnusedFieldDefaultValueInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Unused symbols",
"index": 45,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpApplyingEmptyIndexOperatorOnStringInspection",
"shortDescription": {
"text": "Empty index operator not supported for strings"
},
"fullDescription": {
"text": "Reports the usages of empty index operator ('[]') on strings. Starting from PHP 7.1, applying the empty index operator on a string throws a fatal error. See Creating/modifying with square bracket syntax (php.net) for details.",
"markdown": "Reports the usages of empty index operator (`[]`) on strings.\n\n\nStarting from PHP 7.1, applying the empty index operator on a string throws a fatal error.\n\nSee [Creating/modifying with square bracket syntax (php.net)](https://www.php.net/manual/en/language.types.array.php#language.types.array.syntax.modifying) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpApplyingEmptyIndexOperatorOnStringInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTraitUseRuleInsideDifferentClassUseListInspection",
"shortDescription": {
"text": "Trait use rule resolved to method with different containing class "
},
"fullDescription": {
"text": "Reports the trait method 'use' rules that are resolved to methods from a different containing class rather than the one specified in the 'use' declaration.",
"markdown": "Reports the trait method `use` rules that are resolved to methods from a different containing class rather than the one specified in the `use` declaration."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpTraitUseRuleInsideDifferentClassUseListInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitAssertArrayHasKeyInspection",
"shortDescription": {
"text": "Method 'assertArrayHasKey/assertArrayNotHasKey' can be used instead"
},
"fullDescription": {
"text": "Reports the 'assertTrue()' and 'assertNotTrue()' methods calls that are provided with an 'array_key_exists()' call as an argument. Such calls can be replaced with calls to the dedicated 'assertArrayHasKey()' method. See assertArrayHasKey (phpunit.readthedocs.io) for details.",
"markdown": "Reports the `assertTrue()` and `assertNotTrue()` methods calls that are provided with an `array_key_exists()` call as an argument. Such calls can be replaced with calls to the dedicated `assertArrayHasKey()` method.\n\n\nSee [assertArrayHasKey (phpunit.readthedocs.io)](https://phpunit.readthedocs.io/en/stable/assertions.html#assertarrayhaskey) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitAssertArrayHasKeyInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpObjectFieldsAreOnlyWrittenInspection",
"shortDescription": {
"text": "Local object is used only for writing properties"
},
"fullDescription": {
"text": "Reports the variable assignments to new objects that are used only for writing the object's properties without observable side effects.",
"markdown": "Reports the variable assignments to new objects that are used only for writing the object's properties without observable side effects."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpObjectFieldsAreOnlyWrittenInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryStaticReferenceInspection",
"shortDescription": {
"text": "Redundant 'static' in final class"
},
"fullDescription": {
"text": "Reports 'static' usages inside final class",
"markdown": "Reports `static` usages inside final class"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryStaticReferenceInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDynamicFieldDeclarationInspection",
"shortDescription": {
"text": "Dynamic property declaration"
},
"fullDescription": {
"text": "Reports the references to dynamic class properties declarations. Such declaration are deprecated starting from PHP 8.2 The inspection skips the objects of the 'stdClass' or derived types.",
"markdown": "Reports the references to dynamic class properties declarations. Such declaration are deprecated starting from PHP 8.2\n\n\nThe inspection skips the objects of the `stdClass` or derived types."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDynamicFieldDeclarationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDocSignatureInspection",
"shortDescription": {
"text": "PHPDoc comment matches function/method signature"
},
"fullDescription": {
"text": "Reports the parameters' names and types in a PHPDoc comment that do not match the ones in the function/method declaration.",
"markdown": "Reports the parameters' names and types in a PHPDoc comment that do not match the ones in the function/method declaration."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDocSignatureInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMultipleClassesDeclarationsInOneFile",
"shortDescription": {
"text": "Multiple classes declarations in one file"
},
"fullDescription": {
"text": "Reports multiple class declarations in a single file, which violates the PSR-0/PSR-4 standards. See PSR-0/PSR-4 standards (php-fig.org) for details.",
"markdown": "Reports multiple class declarations in a single file, which violates the PSR-0/PSR-4 standards.\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": "note",
"parameters": {
"suppressToolId": "PhpMultipleClassesDeclarationsInOneFile",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayWriteIsNotUsedInspection",
"shortDescription": {
"text": "Array write access is not used"
},
"fullDescription": {
"text": "Reports the array write access expressions that are not used in code afterwards. The most common source of such problems is modifying an array passed via a parameter: if an array is passed by value, the change will not be visible outside the function.",
"markdown": "Reports the array write access expressions that are not used in code afterwards. The most common source of such problems is modifying an array passed via a parameter: if an array is passed by value, the change will not be visible outside the function."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayWriteIsNotUsedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpClassCantBeUsedAsAttributeInspection",
"shortDescription": {
"text": "Class cannot be used as attribute"
},
"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."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpClassCantBeUsedAsAttributeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpReturnValueOfMethodIsNeverUsedInspection",
"shortDescription": {
"text": "Method's return value is never used"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpReturnValueOfMethodIsNeverUsedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitAssertFileEqualsInspection",
"shortDescription": {
"text": "Deprecated 'assertFileEquals/assertStringEqualsFile' usage"
},
"fullDescription": {
"text": "Reports the deprecated usages of the 'assertFileEquals', 'assertFileNotEquals', 'assertStringEqualsFile', and 'assertStringNotEqualsFile' functions with the '$canonicalize' and '$ignoreCase' parameters. The optional '$canonicalize' and '$ignoreCase' parameters of the 'assertFileEquals' and 'assertFileNotEquals' functions are deprecated and will be removed in PHPUnit 9. See Usage of the assertFileEquals function (phpunit.readthedocs.io) or Usage of the assertFileEquals function (phpunit.readthedocs.io) for details.",
"markdown": "Reports the deprecated usages of the `assertFileEquals`, `assertFileNotEquals`, `assertStringEqualsFile`, and `assertStringNotEqualsFile` functions with the `$canonicalize` and `$ignoreCase` parameters.\n\nThe optional `$canonicalize` and `$ignoreCase` parameters\nof the `assertFileEquals` and `assertFileNotEquals` functions are deprecated and will be removed in PHPUnit 9.\n\n\nSee [Usage of the assertFileEquals function (phpunit.readthedocs.io)](https://phpunit.readthedocs.io/en/stable/assertions.html#assertfileequals) or [Usage of the assertFileEquals function (phpunit.readthedocs.io)](https://phpunit.readthedocs.io/en/stable/assertions.html#assertstringequalsfile) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitAssertFileEqualsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpVariableVariableInspection",
"shortDescription": {
"text": "Usage of a variable variable"
},
"fullDescription": {
"text": "Reports the usages of variable variables (dynamic variable names such as '$$a').",
"markdown": "Reports the usages of variable variables (dynamic variable names such as `$$a`)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpVariableVariableInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDeprecatedSerializableUsageInspection",
"shortDescription": {
"text": "Deprecated 'Serializable' interface usage"
},
"fullDescription": {
"text": "Reports the usages of deprecated 'Serializable' interface. Starting from PHP 8.1, classes that are non-abstract, implement 'Serializable', and do not implement '__serialize()' and '__unserialize()' will throw a deprecation warning. See Phasing out Serializable (php.net) for details.",
"markdown": "Reports the usages of deprecated `Serializable` interface.\n\n\nStarting from PHP 8.1, classes that are non-abstract, implement `Serializable`, and do not implement `__serialize()`\nand `__unserialize()` will throw a deprecation warning.\n\n\nSee [Phasing out Serializable (php.net)](https://wiki.php.net/rfc/custom_object_serialization) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDeprecatedSerializableUsageInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedCallbackInspection",
"shortDescription": {
"text": "Undefined callback"
},
"fullDescription": {
"text": "Reports the functions, methods, properties, or classes that are referenced from a callback but are not found. Use the options below to customize the inspection: Ignore callback from *_exists and is_callable functions: if selected, the inspection will skip callback references from the 'method_exists', 'function_exists', 'property_exists', 'class_exists' and 'is_callable' functions. Don't report in case of ambiguity: if selected, the inspection will skip the parameters with multiple possible types, for example marked as 'callable|string'.",
"markdown": "Reports the functions, methods, properties, or classes that are referenced from a callback but are not found.\n\nUse the options below to customize the inspection:\n\n* **Ignore callback from \\*_exists and is_callable functions** : if selected, the inspection will skip callback references from the `method_exists`, `function_exists`, `property_exists`, `class_exists` and `is_callable` functions.\n* **Don't report in case of ambiguity** : if selected, the inspection will skip the parameters with multiple possible types, for example marked as `callable|string`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUndefinedCallbackInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLoopCanBeConvertedToArrayMapInspection",
"shortDescription": {
"text": "Loop can be converted to 'array_map()' call"
},
"fullDescription": {
"text": "Reports the 'foreach' loops that can be replaced with 'array_map()' calls.",
"markdown": "Reports the `foreach` loops that can be replaced with `array_map()` calls."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpLoopCanBeConvertedToArrayMapInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpOptionalBeforeRequiredParametersInspection",
"shortDescription": {
"text": "Optional before required parameter"
},
"fullDescription": {
"text": "Reports the optional parameters that appear before the required parameters in a function/method declaration. See Default argument values (php.net) for details.",
"markdown": "Reports the optional parameters that appear before the required parameters in a function/method declaration.\n\n\nSee [Default argument values (php.net)](http://www.php.net/manual/en/functions.arguments.php#functions.arguments.default) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpOptionalBeforeRequiredParametersInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpStrFunctionsInspection",
"shortDescription": {
"text": "'str*()' calls can be replaced with PHP 8 'str_*()' calls"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpStrFunctionsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDocRedundantThrowsInspection",
"shortDescription": {
"text": "Redundant @throws tag(s)"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDocRedundantThrowsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessarySemicolonInspection",
"shortDescription": {
"text": "Unnecessary semicolon"
},
"fullDescription": {
"text": "Reports unnecessary semicolons.",
"markdown": "Reports unnecessary semicolons."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessarySemicolonInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayMapCanBeConvertedToLoopInspection",
"shortDescription": {
"text": "'array_map()' call can be converted to loop"
},
"fullDescription": {
"text": "Reports the 'array_map()' calls that can be replaced with 'foreach' loops.",
"markdown": "Reports the `array_map()` calls that can be replaced with `foreach` loops."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayMapCanBeConvertedToLoopInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCSValidationInspection",
"shortDescription": {
"text": "PHP_CodeSniffer validation"
},
"fullDescription": {
"text": "Reports coding style problems detected by PHP_CodeSniffer. The inspection requires PHP_CodeSniffer to be properly installed and set up in the IDE under Settings | PHP | Quality Tools | PHP_CodeSniffer. To learn more about installing PHP_CodeSniffer, see PHP_CodeSniffer installation (GitHub).",
"markdown": "Reports coding style problems detected by PHP_CodeSniffer.\n\n\nThe inspection requires PHP_CodeSniffer to be properly installed and set up in the IDE under\n[Settings \\| PHP \\| Quality Tools \\| PHP_CodeSniffer](settings://settings.php.quality.tools?PHP_CodeSniffer).\n\n\nTo learn more about installing PHP_CodeSniffer, see [PHP_CodeSniffer installation (GitHub)](https://github.com/squizlabs/PHP_CodeSniffer#installation)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpCSValidationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Quality tools",
"index": 89,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryStringCastInspection",
"shortDescription": {
"text": "Redundant cast to string"
},
"fullDescription": {
"text": "Reports the '(string)' casts and 'strval()' calls that are redundant since casting to string is performed implicitly.",
"markdown": "Reports the `(string)` casts and `strval()` calls that are redundant since casting to string is performed implicitly."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryStringCastInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNullIsNotCompatibleWithParameterInspection",
"shortDescription": {
"text": "'null' is not compatible with parameter's declared type"
},
"fullDescription": {
"text": "Reports the variables that are initialised via passing them by reference to a parameter incompatible with 'null'.",
"markdown": "Reports the variables that are initialised via passing them by reference to a parameter incompatible with `null`."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpNullIsNotCompatibleWithParameterInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPregReplaceWithEmptyReplacementInspection",
"shortDescription": {
"text": "'preg_replace()' can be replaced with '(l|r)trim' call"
},
"fullDescription": {
"text": "Reports the 'preg_replace()' calls with empty 'replacement'. Such calls can be replaced with '(l|r)trim' calls.",
"markdown": "Reports the `preg_replace()` calls with empty `replacement`. Such calls can be replaced with `(l|r)trim` calls."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPregReplaceWithEmptyReplacementInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantClosingTagInspection",
"shortDescription": {
"text": "Redundant closing tag"
},
"fullDescription": {
"text": "Reports PHP closing tag '?>' usages, which are redundant in files containing only PHP code.",
"markdown": "Reports PHP closing tag `?>` usages, which are redundant in files containing only PHP code."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantClosingTagInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryStopStatementInspection",
"shortDescription": {
"text": "Unnecessary 'return/continue' statement"
},
"fullDescription": {
"text": "Reports unnecessary 'return' and 'continue' statements that can be safely removed.",
"markdown": "Reports unnecessary `return` and `continue` statements that can be safely removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryStopStatementInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDeprecatedAutoloadDeclarationInspection",
"shortDescription": {
"text": "Deprecated '__autoload()' function declaration"
},
"fullDescription": {
"text": "Reports the '__autoload()' function declarations. Starting from PHP 7.4, declaring '__autoload()' functions is deprecated. Starting from PHP 8.0, declaring '__autoload()' functions is forbidden. See __autoload (php.net) for details.",
"markdown": "Reports the `__autoload()` function declarations.\n\n* Starting from PHP 7.4, declaring `__autoload()` functions is deprecated.\n* Starting from PHP 8.0, declaring `__autoload()` functions is forbidden.\n\n\nSee [__autoload (php.net)](https://www.php.net/manual/en/function.autoload.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDeprecatedAutoloadDeclarationInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpExpressionWithSameOperandsInspection",
"shortDescription": {
"text": "Logical expression has same operands"
},
"fullDescription": {
"text": "Reports the expressions that use the same operands, but should rather use different operands (for example, '$var == $var'). These include comparison, logical, null-coalescing, subtraction, and division expressions.",
"markdown": "Reports the expressions that use the same operands, but should rather use different operands (for example, `$var == $var`). These include comparison, logical, null-coalescing, subtraction, and division expressions."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpExpressionWithSameOperandsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArithmeticTypeCheckInspection",
"shortDescription": {
"text": "Arithmetic operation with unsupported operands"
},
"fullDescription": {
"text": "Reports arithmetic and bitwise expressions with unsupported operands. Starting with PHP 8.0, using the arithmetic and bitwise operators '+', '-', '*', '/', '**', '%', '<<', '>>', '&', '|', '^', '~', '++', '--' when one of the operands is an array, resource, or non-overloaded object will result in a 'TypeError'. The only exception is the 'array + array' merge operation, which remains supported. See PHP's internal test source for the complete list of operations.",
"markdown": "Reports arithmetic and bitwise expressions with unsupported operands.\n\n\nStarting with PHP 8.0, using the arithmetic and bitwise operators `+`, `-`, `*`, `/`, `**`, `%`, `<<`, `>>`, `&`, `|`, `^`, `~`, `++`, `--`\nwhen one of the operands is an array, resource, or non-overloaded object will result in a `TypeError`. The only exception is the\n`array + array` merge operation, which remains supported.\n\n\nSee [PHP's internal test source](https://github.com/php/php-src/blob/master/Zend/tests/operator_unsupported_types.phpt) for the complete list of operations."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpArithmeticTypeCheckInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpConditionAlreadyCheckedInspection",
"shortDescription": {
"text": "Condition always evaluates to 'true/false'"
},
"fullDescription": {
"text": "Reports the conditions that are already covered by earlier conditions and thus have no effect as well as the variables that are always true (or always false) when reached.",
"markdown": "Reports the conditions that are already covered by earlier conditions and thus have no effect as well as the variables that are always true (or always false) when reached."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpConditionAlreadyCheckedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantVariableDocTypeInspection",
"shortDescription": {
"text": "Redundant @var tag"
},
"fullDescription": {
"text": "Reports the '@var' tags for variables whose type is already inferred from source code.",
"markdown": "Reports the `@var` tags for variables whose type is already inferred from source code."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantVariableDocTypeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMethodNamingConventionInspection",
"shortDescription": {
"text": "Method name is not following coding convention"
},
"fullDescription": {
"text": "Reports the methods' 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 methods. Use the inspection options to specify minimum/maximum length and the regular expression expected for methods' 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 methods' 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 methods.\n\n\nUse the inspection options to specify minimum/maximum length and the regular expression expected for methods' 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": "PhpMethodNamingConventionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Naming conventions",
"index": 6,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpFuncGetArgCanBeReplacedWithParamInspection",
"shortDescription": {
"text": "'func_get_arg()' call can be replaced with parameter access"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpFuncGetArgCanBeReplacedWithParamInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpBooleanCanBeSimplifiedInspection",
"shortDescription": {
"text": "Boolean expression can be simplified"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpBooleanCanBeSimplifiedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitCoversByAccessModifierIsDeprecatedInspection",
"shortDescription": {
"text": "Deprecated @covers/@uses by access modifier annotation"
},
"fullDescription": {
"text": "Reports the '@covers' and '@uses' PHPUnit doc tags that are using 'ClassName::<*>'. Such annotations won't be supported in PHPUnit 10 and later.",
"markdown": "Reports the `@covers` and `@uses` PHPUnit doc tags that are using `ClassName::<*>`. Such annotations won't be supported in PHPUnit 10 and later."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitCoversByAccessModifierIsDeprecatedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnusedPrivateMethodInspection",
"shortDescription": {
"text": "Unused private method"
},
"fullDescription": {
"text": "Reports the private methods that are never used.",
"markdown": "Reports the private methods that are never used."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnusedPrivateMethodInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Unused symbols",
"index": 45,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRandArgumentsInReverseOrderInspection",
"shortDescription": {
"text": "Misordered 'rand' function arguments"
},
"fullDescription": {
"text": "Reports the 'rand($min, $max)' family function calls in which the 'max' argument is less than 'min'. For such functions as 'mt_rand' and 'random_int', this will result in a fatal error.",
"markdown": "Reports the `rand($min, $max)` family function calls in which the `max` argument is less than `min`. For such functions as `mt_rand` and `random_int`, this will result in a fatal error."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpRandArgumentsInReverseOrderInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAssignmentReplaceableWithPrefixExpressionInspection",
"shortDescription": {
"text": "Assignment can be replaced with increment or decrement"
},
"fullDescription": {
"text": "Reports the assignments that can be replaced with incrementing ('++') or decrementing ('--') operations.",
"markdown": "Reports the assignments that can be replaced with incrementing (`++`) or decrementing (`--`) operations."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpAssignmentReplaceableWithPrefixExpressionInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Replaceable assignments",
"index": 109,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAttributeIsNotRepeatableInspection",
"shortDescription": {
"text": "Non-repeatable attribute"
},
"fullDescription": {
"text": "Reports repeated attributes without the 'Attribute::IS_REPEATABLE' flag in their arguments declaration. See Attributes (php.net) for details.",
"markdown": "Reports repeated attributes without the `Attribute::IS_REPEATABLE` flag in their arguments declaration.\n\n\nSee [Attributes (php.net)](https://wiki.php.net/rfc/attributes_v2) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpAttributeIsNotRepeatableInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpObjectShapeCanBeAddedInspection",
"shortDescription": {
"text": "ObjectShape can be added"
},
"fullDescription": {
"text": "Reports public properties of an object with specified types. Suggests specifying the shape of the returned object via the '#[ObjectShape]' attribute or an object shape in the PHPDoc comment. Example: '$a = new stdClass();\n $a->name = \"name\";\n $a->age = 2;' After the quick-fix is applied: '/** @var $a object{name: string, age: int} */\n $a = new stdClass();\n $a->name = \"name\";\n $a->age = 2;'",
"markdown": "Reports public properties of an object with specified types. Suggests specifying the shape of the returned object via the `#[ObjectShape]` attribute or an object shape in the PHPDoc comment.\n\n**Example:**\n\n\n $a = new stdClass();\n $a->name = \"name\";\n $a->age = 2;\n\nAfter the quick-fix is applied:\n\n\n /** @var $a object{name: string, age: int} */\n $a = new stdClass();\n $a->name = \"name\";\n $a->age = 2;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpObjectShapeCanBeAddedInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpInvalidMagicMethodModifiersInspection",
"shortDescription": {
"text": "Invalid magic method modifiers"
},
"fullDescription": {
"text": "Reports the magic methods that are not declared as public or are declared as static.",
"markdown": "Reports the magic methods that are not declared as public or are declared as static."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpInvalidMagicMethodModifiersInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpWrongCatchClausesOrderInspection",
"shortDescription": {
"text": "Wrong catch clauses order"
},
"fullDescription": {
"text": "Reports the exceptions that are already caught by a preceding exception and the exceptions that are caught twice. The 'catch' clauses must be ordered from more specific to more generic ones. Otherwise, some exceptions may not be caught by the most specific handler. See Exceptions (php.net) for details.",
"markdown": "Reports the exceptions that are already caught by a preceding exception and the exceptions that are caught twice.\n\n\nThe `catch` clauses must be ordered from more specific to more generic ones. Otherwise, some exceptions may not be caught by the most specific handler.\n\n\nSee [Exceptions (php.net)](http://www.php.net/manual/en/language.exceptions.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpWrongCatchClausesOrderInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Error handling",
"index": 94,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpVarUsageInspection",
"shortDescription": {
"text": "Usage of var"
},
"fullDescription": {
"text": "Reports the usages of the 'var' keyword for declaring class properties. According to PSR-12, the 'var' keyword MUST NOT be used to declare a property. See PSR-12: Extended Coding Style (php-fig.org) for details.",
"markdown": "Reports the usages of the `var` keyword for declaring class properties.\n\nAccording to PSR-12, the `var` keyword MUST NOT be used to declare a property.\n\n\nSee [PSR-12: Extended Coding Style (php-fig.org)](https://www.php-fig.org/psr/psr-12/#43-properties-and-constants) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpVarUsageInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style/PSR-12",
"index": 81,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPregSplitWithoutRegExpInspection",
"shortDescription": {
"text": "'preg_split' can be replaced with 'explode'"
},
"fullDescription": {
"text": "Reports 'preg_split()' calls that can be replaced with 'explode()'.",
"markdown": "Reports `preg_split()` calls that can be replaced with `explode()`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPregSplitWithoutRegExpInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnpackingArraysWithStringKeysInspection",
"shortDescription": {
"text": "Unpacking arrays with string keys is forbidden for PHP < 8.1"
},
"fullDescription": {
"text": "Reports array unpacking with string keys in PHP < 8.1 See Array unpacking with string keys for details.",
"markdown": "Reports array unpacking with string keys in PHP \\< 8.1\n\n\nSee [Array unpacking with string keys](https://wiki.php.net/rfc/array_unpacking_string_keys) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpUnpackingArraysWithStringKeysInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSillyAssignmentInspection",
"shortDescription": {
"text": "Redundant assignment"
},
"fullDescription": {
"text": "Reports the assignment statements, in which both sides are equal. Such assignments have no effect and can be removed.",
"markdown": "Reports the assignment statements, in which both sides are equal. Such assignments have no effect and can be removed."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpSillyAssignmentInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpFullyQualifiedNameUsageInspection",
"shortDescription": {
"text": "Fully qualified name usage"
},
"fullDescription": {
"text": "Reports the fully qualified class names that can be shortened by adding the 'use' statement.",
"markdown": "Reports the fully qualified class names that can be shortened by adding the `use` statement."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpFullyQualifiedNameUsageInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSuspiciousNameCombinationInspection",
"shortDescription": {
"text": "Suspicious names combination"
},
"fullDescription": {
"text": "Reports the assignments and function calls where the name of the variable or parameter probably doesn't match the name of the assigned or passed value. The following sets of names are supported: 'needle', 'haystack' 'x', 'y' 'top', 'bottom', 'left', 'right' 'year', 'month', 'week', 'day', 'hour', 'minute', 'second'",
"markdown": "Reports the assignments and function calls where the name of the variable or parameter probably doesn't match the name of the assigned or passed value.\n\n\nThe following sets of names are supported:\n\n* `needle`, `haystack`\n* `x`, `y`\n* `top`, `bottom`, `left`, `right`\n* `year`, `month`, `week`, `day`, `hour`, `minute`, `second`"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpSuspiciousNameCombinationInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRangesInClassCanBeMergedInspection",
"shortDescription": {
"text": "Ranges in class can be merged"
},
"fullDescription": {
"text": "Reports the alphabetic ranges or characters in regular expression character classes that only adjust the already existing ranges. Such elements can be merged with the adjusted ranges.",
"markdown": "Reports the alphabetic ranges or characters in regular expression character classes that only adjust the already existing ranges. Such elements can be merged with the adjusted ranges."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRangesInClassCanBeMergedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Regular expressions",
"index": 87,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPossiblePolymorphicInvocationInspection",
"shortDescription": {
"text": "Possible polymorphic call"
},
"fullDescription": {
"text": "Reports polymorphic code usages. Such usages are ambiguous and can be potentially inoperable depending on the class instance passed as the argument.",
"markdown": "Reports polymorphic code usages. Such usages are ambiguous and can be potentially inoperable depending on the class instance passed as the argument."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPossiblePolymorphicInvocationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDuplicateMatchConditionInspection",
"shortDescription": {
"text": "Duplicate condition"
},
"fullDescription": {
"text": "Reports duplicate conditions in 'match' expressions. See Match expression (php.net) for details.",
"markdown": "Reports duplicate conditions in `match` expressions.\n\n\nSee [Match expression (php.net)](https://wiki.php.net/rfc/match_expression_v2) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDuplicateMatchConditionInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDuplicateSwitchCaseBodyInspection",
"shortDescription": {
"text": "Duplicate branch in switch statement"
},
"fullDescription": {
"text": "Reports the 'switch' statements containing the same code in different branches.",
"markdown": "Reports the `switch` statements containing the same code in different branches."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpDuplicateSwitchCaseBodyInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpStatementWithoutBracesInspection",
"shortDescription": {
"text": "Control statement body without braces"
},
"fullDescription": {
"text": "Reports the control structures (such as loops or conditionals) whose bodies are not enclosed in braces. See Control structures (php.net) for details.",
"markdown": "Reports the control structures (such as loops or conditionals) whose bodies are not enclosed in braces.\n\n\nSee [Control structures (php.net)](https://www.php.net/manual/en/language.control-structures.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpStatementWithoutBracesInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPregMatchRedundantClosureInspection",
"shortDescription": {
"text": "Redundant closure '.*'"
},
"fullDescription": {
"text": "Reports redundant leading and trailing '.*' in pattern for `preg_match` function.",
"markdown": "Reports redundant leading and trailing '.\\*' in pattern for \\`preg_match\\` function."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPregMatchRedundantClosureInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpShortOpenEchoTagInspection",
"shortDescription": {
"text": "Short open 'echo' tag usage"
},
"fullDescription": {
"text": "Reports short PHP 'echo' tag '<?=' usages.",
"markdown": "Reports short PHP `echo` tag `<?=` usages."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpShortOpenEchoTagInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNewClassMissingParameterListInspection",
"shortDescription": {
"text": "Missing parameter list"
},
"fullDescription": {
"text": "Reports missing parameter lists in a classes' instantiations. According to the PSR-12 specification, when instantiating a new class, parentheses MUST always be present even when there are no arguments passed to the constructor. See PSR-12: Extended Coding Style (php-fig.org) for details.",
"markdown": "Reports missing parameter lists in a classes' instantiations.\n\nAccording to the PSR-12 specification, when instantiating a new class, parentheses MUST always be present even when there are no arguments passed to the constructor.\n\n\nSee [PSR-12: Extended Coding Style (php-fig.org)](https://www.php-fig.org/psr/psr-12/#4-classes-properties-and-methods) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpNewClassMissingParameterListInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style/PSR-12",
"index": 81,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCombineMultipleIssetCallsIntoOneInspection",
"shortDescription": {
"text": "Multiple 'isset' calls can be replaced with one"
},
"fullDescription": {
"text": "Reports multiple 'isset()' checks that can be replaced with a single one.",
"markdown": "Reports multiple `isset()` checks that can be replaced with a single one."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpCombineMultipleIssetCallsIntoOneInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSuperClassIncompatibleWithInterfaceInspection",
"shortDescription": {
"text": "Method declaration in parent class is incompatible with implemented interface"
},
"fullDescription": {
"text": "Reports the methods declarations in parent classes that are incompatible with implemented interfaces.",
"markdown": "Reports the methods declarations in parent classes that are incompatible with implemented interfaces."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpSuperClassIncompatibleWithInterfaceInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAccessingStaticMembersOnTraitInspection",
"shortDescription": {
"text": "Accessing static trait members"
},
"fullDescription": {
"text": "Reports the static member access expressions used on traits. Such direct access is deprecated starting from PHP 8.1. Instead, static members should be accessed on the class that uses the trait. See Deprecations for PHP 8.1: Accessing static members on traits (php.net) for details.",
"markdown": "Reports the static member access expressions used on traits. Such direct access is deprecated starting from PHP 8.1. Instead, static members should be accessed on the class that uses the trait.\n\n\nSee [Deprecations for PHP 8.1: Accessing static members on traits (php.net)](https://wiki.php.net/rfc/deprecations_php_8_1#accessing_static_members_on_traits) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpAccessingStaticMembersOnTraitInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingReturnTypeInspection",
"shortDescription": {
"text": "Missing return type declaration"
},
"fullDescription": {
"text": "Reports the functions that have no return type declaration specified.",
"markdown": "Reports the functions that have no return type declaration specified."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMissingReturnTypeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitMisorderedAssertEqualsArgumentsInspection",
"shortDescription": {
"text": "Misordered PHPUnit equality assertion method arguments"
},
"fullDescription": {
"text": "Reports the calls to PHPUnit equality assertion methods (such as 'assertEquals()', 'assertNotEquals()', 'assertSame()', and so on) that have a non-literal as the expected result argument and a literal as the actual result argument. Such calls will behave fine for assertions that pass, but may produce confusing error reports if their expected and actual arguments differ. See assertEquals for details.",
"markdown": "Reports the calls to PHPUnit equality assertion methods (such as `assertEquals()`, `assertNotEquals()`, `assertSame()`, and so on) that have a non-literal as the expected result argument and a literal as the actual result argument. Such calls will behave fine for assertions that pass, but may produce confusing error reports if their expected and actual arguments differ.\n\n\nSee [assertEquals](https://phpunit.readthedocs.io/en/stable/assertions.html#assertequals) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitMisorderedAssertEqualsArgumentsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnused",
"shortDescription": {
"text": "Unused declaration"
},
"fullDescription": {
"text": "Reports the classes, methods, functions, constants, or properties that are not used or not reachable from entry points. It also reports all method implementations/overriders. Some unused members might not be reported in the code editor on the fly. Due to performance reasons, a non-private member is checked only when its name rarely occurs in the project. To see all results, run the inspection in batch mode by using Code | Inspect Code... or Code | Run Inspection by Name....",
"markdown": "Reports the classes, methods, functions, constants, or properties that are not used or not reachable from entry points. It also reports all method implementations/overriders.\n\nSome unused members might not be reported in the code editor on the fly. Due to performance reasons, a non-private member is checked only\nwhen its name rarely occurs in the project.\n\nTo see all results, run the inspection in batch mode by using **Code \\| Inspect Code...** or **Code \\| Run Inspection by\nName...**."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnused",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Unused symbols",
"index": 45,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCastIsEvaluableInspection",
"shortDescription": {
"text": "Type cast on a scalar value"
},
"fullDescription": {
"text": "Reports the type casts that can be evaluated in place and suggests replacing them with actual computed values. See Type juggling (php.net) for details.",
"markdown": "Reports the type casts that can be evaluated in place and suggests replacing them with actual computed values.\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": "PhpCastIsEvaluableInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArraySearchInBooleanContextInspection",
"shortDescription": {
"text": "'array_search()' can be replaced with 'in_array()' call"
},
"fullDescription": {
"text": "Reports the 'array_search()' calls that are only used for checking whether an element exists in array, that is, the expressions like 'if (array_search($a, $b) === false) {}'. Such calls can be safely replaced with 'in_array()' calls.",
"markdown": "Reports the `array_search()` calls that are only used for checking whether an element exists in array, that is, the expressions like `if (array_search($a, $b) === false) {}`. Such calls can be safely replaced with `in_array()` calls."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArraySearchInBooleanContextInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingVisibilityInspection",
"shortDescription": {
"text": "Missing visibility"
},
"fullDescription": {
"text": "Reports the properties, constants, and methods that are declared without visibility definition. According to PSR-12, visibility MUST be defined on: All properties, All constants if your project's PHP minimum version supports constant visibilities (PHP 7.1 or later), All methods. See PSR-12: Extended Coding Style (php-fig.org) for details.",
"markdown": "Reports the properties, constants, and methods that are declared without visibility definition.\n\nAccording to PSR-12, visibility MUST be defined on:\n\n* All properties,\n* All constants if your project's PHP minimum version supports constant visibilities (PHP 7.1 or later),\n* All methods.\n\n\nSee [PSR-12: Extended Coding Style (php-fig.org)](https://www.php-fig.org/psr/psr-12/#43-properties-and-constants) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMissingVisibilityInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style/PSR-12",
"index": 81,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitExpectedExceptionDocTagIsDeprecatedInspection",
"shortDescription": {
"text": "Deprecated exception handling via doc tags"
},
"fullDescription": {
"text": "Reports the usages of the following deprecated PHPUnit doc tags: '@expectedException' '@expectedExceptionMessage' '@expectedExceptionCode' '@expectedExceptionMessageRegExp'",
"markdown": "Reports the usages of the following deprecated PHPUnit doc tags:\n\n* `@expectedException`\n* `@expectedExceptionMessage`\n* `@expectedExceptionCode`\n* `@expectedExceptionMessageRegExp`"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitExpectedExceptionDocTagIsDeprecatedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNotInstalledPackagesInspection",
"shortDescription": {
"text": "Non-installed Composer packages"
},
"fullDescription": {
"text": "Reports the Composer packages that are required in composer.json but are not installed.",
"markdown": "Reports the Composer packages that are required in *composer.json* but are not installed."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpNotInstalledPackagesInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Composer",
"index": 47,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNeverTypedFunctionReturnViolationInspection",
"shortDescription": {
"text": "'never'-typed function returns a value"
},
"fullDescription": {
"text": "Reports the functions with the 'never' return type hint that may return some value. Functions with such a return type are not expected to return any value and must prevent the rest of the script execution by either calling 'die()', 'exit()', and so on, or throwing an exception. See noreturn type (php.net) for details.",
"markdown": "Reports the functions with the `never` return type hint that may return some value. Functions with such a return type are not expected to return any value and must prevent the rest of the script execution by either calling `die()`, `exit()`, and so on, or throwing an exception.\n\n\nSee [noreturn type (php.net)](https://wiki.php.net/rfc/noreturn_type) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PhpNeverTypedFunctionReturnViolationInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDuplicateCaseInspection",
"shortDescription": {
"text": "Duplicate case in switch statement"
},
"fullDescription": {
"text": "Reports duplicate 'case' expressions in 'switch' statements. If a 'switch' statement contains multiple duplicate 'case' expressions, only the first one is executed.",
"markdown": "Reports duplicate `case` expressions in `switch` statements.\n\nIf a `switch` statement contains multiple duplicate `case` expressions, only the first one is executed."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDuplicateCaseInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpModifierOrderInspection",
"shortDescription": {
"text": "Order of modifiers"
},
"fullDescription": {
"text": "Reports visibility modifiers that are specified in the incorrect order. According to PSR-12, the correct order is as follows: When present, the 'abstract' and 'final' declarations MUST precede the visibility declaration. When present, the 'static' declaration MUST come after the visibility declaration. See PSR-12: Extended Coding Style (php-fig.org) for details.",
"markdown": "Reports visibility modifiers that are specified in the incorrect order.\n\nAccording to PSR-12, the correct order is as follows:\n\n* When present, the `abstract` and `final` declarations MUST precede the visibility declaration.\n* When present, the `static` declaration MUST come after the visibility declaration.\n\n\nSee [PSR-12: Extended Coding Style (php-fig.org)](https://www.php-fig.org/psr/psr-12/#46-abstract-final-and-static) for\ndetails."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpModifierOrderInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style/PSR-12",
"index": 81,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantIntersectionTypeInspection",
"shortDescription": {
"text": "Redundant intersection type"
},
"fullDescription": {
"text": "Reports the intersection type declarations that contain redundant types, for example, an intersection type that contains both the parent class and its subclass. See PHP RFC: Pure intersection types (php.net) for details.",
"markdown": "Reports the intersection type declarations that contain redundant types, for example, an intersection type that contains both the parent class and its subclass.\n\n\nSee [PHP RFC: Pure intersection types (php.net)](https://wiki.php.net/rfc/pure-intersection-types) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantIntersectionTypeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpInstanceofIsAlwaysTrueInspection",
"shortDescription": {
"text": "Result of 'instanceof' is always 'true'"
},
"fullDescription": {
"text": "Reports the 'instanceof' expressions whose argument is within the hierarchy of the checked variable. Such expressions will always evaluate to 'true'.",
"markdown": "Reports the `instanceof` expressions whose argument is within the hierarchy of the checked variable. Such expressions will always evaluate to `true`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpInstanceofIsAlwaysTrueInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpInappropriateInheritDocUsageInspection",
"shortDescription": {
"text": "Inappropriate @inheritDoc usage"
},
"fullDescription": {
"text": "Reports inappropriate '@inheritDoc' usages: On non-class members On class members without any super members having a doc comment.",
"markdown": "Reports inappropriate `@inheritDoc` usages:\n\n* On non-class members\n* On class members without any super members having a doc comment."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpInappropriateInheritDocUsageInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpClassConstantAccessedViaChildClassInspection",
"shortDescription": {
"text": "Class constant referenced via child class"
},
"fullDescription": {
"text": "Reports the class constant references that target the constant from the parent class of the referenced class.",
"markdown": "Reports the class constant references that target the constant from the parent class of the referenced class."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpClassConstantAccessedViaChildClassInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSwitchStatementWitSingleBranchInspection",
"shortDescription": {
"text": "'switch' with single 'case'"
},
"fullDescription": {
"text": "Reports the 'switch' statements that only contain a single 'case' statement. Such 'switch' statements can be converted into 'if' statements.",
"markdown": "Reports the `switch` statements that only contain a single `case` statement. Such `switch` statements can be converted into `if` statements."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpSwitchStatementWitSingleBranchInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpImplicitOctalLiteralUsageInspection",
"shortDescription": {
"text": "Implicit octal literal can be replaced with explicit one"
},
"fullDescription": {
"text": "Reports the implicit octal literals such as '071' that could be replaced with explicit ones such as 0o71. Explicit octal literals using the '0o/0O' prefix are supported in PHP 8.1 and later. See Explicit octal integer literal notation (php.net) for details.",
"markdown": "Reports the implicit octal literals such as `071` that could be replaced with explicit ones such as 0o71.\n\n\nExplicit octal literals using the `0o/0O` prefix are supported in PHP 8.1 and later.\n\n\nSee [Explicit octal integer literal notation (php.net)](https://wiki.php.net/rfc/explicit_octal_notation) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpImplicitOctalLiteralUsageInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayIndexImmediatelyRewrittenInspection",
"shortDescription": {
"text": "Array index is immediately rewritten "
},
"fullDescription": {
"text": "Reports the write expressions on array indexes which are immediately overwritten before being accessed.",
"markdown": "Reports the write expressions on array indexes which are immediately overwritten before being accessed."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpArrayIndexImmediatelyRewrittenInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpVarExportUsedWithoutReturnArgumentInspection",
"shortDescription": {
"text": "'var_export' or 'print_r' call is used without 'return' argument"
},
"fullDescription": {
"text": "Reports 'var_export()' and 'print_r()' calls without the 'return' argument when their results are explicitly used. Such calls most probably are a mistake, because 'var_export'/'print_r' always returns 'null'/'true' if no 'argument' is specified.",
"markdown": "Reports `var_export()` and `print_r()` calls without the `return` argument when their results are explicitly used. Such calls most probably are a mistake, because `var_export`/`print_r` always returns `null`/`true` if no `argument` is specified."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpVarExportUsedWithoutReturnArgumentInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitMissingTargetForTestInspection",
"shortDescription": {
"text": "Missing target element for PHPUnit test"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitMissingTargetForTestInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIncorrectMagicMethodSignatureInspection",
"shortDescription": {
"text": "Incorrect magic method signature"
},
"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."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpIncorrectMagicMethodSignatureInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpGetClassCanBeReplacedWithClassNameLiteralInspection",
"shortDescription": {
"text": "'get_class()' call can be replaced with '::class'"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpGetClassCanBeReplacedWithClassNameLiteralInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpContinueTargetingSwitchInspection",
"shortDescription": {
"text": "'continue' is targeting 'switch' statement"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpContinueTargetingSwitchInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDuplicateCatchBodyInspection",
"shortDescription": {
"text": "Duplicate branch in 'catch' statement"
},
"fullDescription": {
"text": "Reports 'catch' statements with duplicated bodies.",
"markdown": "Reports `catch` statements with duplicated bodies."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDuplicateCatchBodyInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCurlyBraceAccessSyntaxUsageInspection",
"shortDescription": {
"text": "Curly brace access syntax usage"
},
"fullDescription": {
"text": "Reports the usages of curly brace syntax for accessing array elements and string offsets.",
"markdown": "Reports the usages of curly brace syntax for accessing array elements and string offsets."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PhpCurlyBraceAccessSyntaxUsageInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRegExpInvalidDelimiterInspection",
"shortDescription": {
"text": "Invalid delimiter"
},
"fullDescription": {
"text": "Reports invalid delimiters in regular expressions in two cases: 1. If a delimiter is an alphanumeric or a backslash. 2. If a delimiter is used in a regular expression pattern.",
"markdown": "Reports invalid delimiters in regular expressions in two cases: 1. If a delimiter is an alphanumeric or a backslash. 2. If a delimiter is used in a regular expression pattern."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpRegExpInvalidDelimiterInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Regular expressions",
"index": 87,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPropertyCanBeReadonlyInspection",
"shortDescription": {
"text": "Property can be 'readonly'"
},
"fullDescription": {
"text": "Reports the private promoted properties that are never written to. In PHP 8.1 and later, such properties can be declared 'readonly'. See Readonly properties (php.net) for details.",
"markdown": "Reports the private promoted properties that are never written to. In PHP 8.1 and later, such properties can be declared `readonly`.\n\n\nSee [Readonly properties (php.net)](https://wiki.php.net/rfc/readonly_properties_v2) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpPropertyCanBeReadonlyInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedNamespaceInspection",
"shortDescription": {
"text": "Undefined namespace"
},
"fullDescription": {
"text": "Reports the references to a namespace that is not found.",
"markdown": "Reports the references to a namespace that is not found."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUndefinedNamespaceInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedMethodInspection",
"shortDescription": {
"text": "Undefined method"
},
"fullDescription": {
"text": "Reports the references to class methods that are not defined.",
"markdown": "Reports the references to class methods that are not defined."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUndefinedMethodInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPropertyNamingConventionInspection",
"shortDescription": {
"text": "Property name is not following coding convention"
},
"fullDescription": {
"text": "Reports the properties' 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 properties. Use the inspection options to specify minimum/maximum length and the regular expression expected for properties' 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 properties' 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 properties.\n\n\nUse the inspection options to specify minimum/maximum length and the regular expression expected for properties' 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": "PhpPropertyNamingConventionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Naming conventions",
"index": 6,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIncompatibleReturnTypeInspection",
"shortDescription": {
"text": "Incompatible return type"
},
"fullDescription": {
"text": "Reports the 'return' statements whose return value type is not compatible with the one declared for a function/method.",
"markdown": "Reports the `return` statements whose return value type is not compatible with the one declared for a function/method."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpIncompatibleReturnTypeInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingStrictTypesDeclarationInspection",
"shortDescription": {
"text": "Missing strict types declaration"
},
"fullDescription": {
"text": "Detects the missing 'declare(strict_types=1)' directive in the file. See Strict typing (php.net) to learn more about why you may need use this directive.",
"markdown": "Detects the missing `declare(strict_types=1)` directive in the file.\n\n\nSee [Strict typing (php.net)](https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict) to learn more about why you may need use this directive."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMissingStrictTypesDeclarationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNamedArgumentMightBeUnresolvedInspection",
"shortDescription": {
"text": "Named argument may be unresolved"
},
"fullDescription": {
"text": "Reports the named arguments in method calls that might be unresolved depending on a specific class instance within the hierarchy.",
"markdown": "Reports the named arguments in method calls that might be unresolved depending on a specific class instance within the hierarchy."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpNamedArgumentMightBeUnresolvedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayTraversableCanBeReplacedWithIterableInspection",
"shortDescription": {
"text": "Type hint 'array|Traversable' can be replaced with 'iterable'"
},
"fullDescription": {
"text": "Reports the 'array|Traversable' type hints that can be replaced with 'iterable'.",
"markdown": "Reports the `array|Traversable` type hints that can be replaced with `iterable`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayTraversableCanBeReplacedWithIterableInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpEchoOpenTagInspection",
"shortDescription": {
"text": "Open 'echo' tag usage"
},
"fullDescription": {
"text": "Reports the '<?php echo' usages that can be replaced with a short tag '<?='.",
"markdown": "Reports the `<?php echo` usages that can be replaced with a short tag `<?=`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpEchoOpenTagInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLanguageLevelInspection",
"shortDescription": {
"text": "Language level"
},
"fullDescription": {
"text": "Reports the language features used in source code that are not supported for the selected language level. For example, union types can be used only in PHP 8.0 and later.",
"markdown": "Reports the language features used in source code that are not supported for the selected language level.\n\nFor example, union types can be used only in PHP 8.0 and later."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PhpLanguageLevelInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitAssertContainsInspection",
"shortDescription": {
"text": "Deprecated 'assertContains/assertNotContains' usage"
},
"fullDescription": {
"text": "Reports the deprecated 'assertContains()' and 'assertNotContains()' calls with the string '$needle' and '$ignoreCase' arguments. The string '$needle' and optional boolean '$ignoreCase' parameters of the 'assertContains()' and 'assertNotContains()' functions are deprecated and removed in PHPUnit 9. For assertions that operate on strings, the specific 'assertStringContainsString()', 'assertStringContainsStringIgnoringCase()', 'assertStringNotContainsString()', and 'assertStringNotContainsStringIgnoringCase()' methods should be used. See Usage of the assertEquals function (phpunit.readthedocs.io) for details.",
"markdown": "Reports the deprecated `assertContains()` and `assertNotContains()` calls with the string `$needle` and `$ignoreCase` arguments.\n\n\nThe string `$needle` and optional boolean `$ignoreCase` parameters\nof the `assertContains()` and `assertNotContains()` functions are deprecated and removed in PHPUnit 9. For assertions that operate on strings, the specific\n`assertStringContainsString()`, `assertStringContainsStringIgnoringCase()`, `assertStringNotContainsString()`, and\n`assertStringNotContainsStringIgnoringCase()` methods should be used.\n\n\nSee [Usage of the assertEquals function (phpunit.readthedocs.io)](https://phpunit.readthedocs.io/en/stable/assertions.html) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitAssertContainsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAssignmentInConditionInspection",
"shortDescription": {
"text": "Assignment in condition"
},
"fullDescription": {
"text": "Reports the assignments that are used in conditional expressions.",
"markdown": "Reports the assignments that are used in conditional expressions."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpAssignmentInConditionInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryDoubleQuotesInspection",
"shortDescription": {
"text": "Unnecessary double quotes"
},
"fullDescription": {
"text": "Reports double-quoted string literals that do not contain string interpolation, escape sequences, or single quotes.",
"markdown": "Reports double-quoted string literals that do not contain string interpolation, escape sequences, or single quotes."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryDoubleQuotesInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDivisionByZeroInspection",
"shortDescription": {
"text": "Division by zero"
},
"fullDescription": {
"text": "Reports division by zero or modulo by zero.",
"markdown": "Reports division by zero or modulo by zero."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpDivisionByZeroInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNullSafeOperatorCanBeUsedInspection",
"shortDescription": {
"text": "Nullsafe operator '?->' can be used"
},
"fullDescription": {
"text": "Reports the null-checking conditional expressions that can be safely replaced with the '?->' nullsafe operator.",
"markdown": "Reports the null-checking conditional expressions that can be safely replaced with the `?->` nullsafe operator."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpNullSafeOperatorCanBeUsedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCommentCanBeReplacedWithNamedArgumentInspection",
"shortDescription": {
"text": "Comment can be replaced with named argument"
},
"fullDescription": {
"text": "Reports the inline comments before arguments in function calls that only contain the name of the parameter and thus serve as hints. In PHP 8.0 and later, named arguments can be used instead. See Named arguments (php.net) for details.",
"markdown": "Reports the inline comments before arguments in function calls that only contain the name of the parameter and thus serve as hints. In PHP 8.0 and later, named arguments can be used instead.\n\n\nSee [Named arguments (php.net)](https://wiki.php.net/rfc/match_expression_v2) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpCommentCanBeReplacedWithNamedArgumentInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLineCommentWillBeParsedAsAttributeInspection",
"shortDescription": {
"text": "Comment is parsed as attribute in PHP 8.0"
},
"fullDescription": {
"text": "Reports line comments starting with '#['. In PHP 8.0 and later, such comments are parsed as attributes. See Attributes (php.net) for details.",
"markdown": "Reports line comments starting with `#[`. In PHP 8.0 and later, such comments are parsed as attributes.\n\n\nSee [Attributes (php.net)](https://wiki.php.net/rfc/attributes_v2) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpLineCommentWillBeParsedAsAttributeInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayShapeCanBeAddedInspection",
"shortDescription": {
"text": "'#[ArrayShape]' attribute can be added"
},
"fullDescription": {
"text": "Reports the methods and functions that are returning arrays with known non-trivial keys. Suggests specifying the shape of the returned array via the '#[ArrayShape]' attribute or an array shape in the PHPDoc comment.",
"markdown": "Reports the methods and functions that are returning arrays with known non-trivial keys. Suggests specifying the shape of the returned array via the `#[ArrayShape]` attribute or an array shape in the PHPDoc comment."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayShapeCanBeAddedInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantCatchClauseInspection",
"shortDescription": {
"text": "Redundant catch clause"
},
"fullDescription": {
"text": "Reports the 'catch' clauses with exceptions that are never thrown from the corresponding 'try' block.",
"markdown": "Reports the `catch` clauses with exceptions that are never thrown from the corresponding `try` block."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantCatchClauseInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Error handling",
"index": 94,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnpackedArgumentTypeMismatchInspection",
"shortDescription": {
"text": "Invalid type of unpacked argument"
},
"fullDescription": {
"text": "Reports unpacked function arguments and array elements whose type is neither 'array' nor 'Traversable'. Starting with PHP 8.0, such usages will result in 'Fatal error'.",
"markdown": "Reports unpacked function arguments and array elements whose type is neither `array` nor `Traversable`.\n\n\nStarting with PHP 8.0, such usages will result in `Fatal error`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUnpackedArgumentTypeMismatchInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryLeadingBackslashInUseStatementInspection",
"shortDescription": {
"text": "Unnecessary leading '\\' in 'use' statement"
},
"fullDescription": {
"text": "Reports the 'use' statements with an unnecessary leading '\\'. For namespaced names (fully qualified namespace names containing a namespace separator, such as 'Foo\\Bar' as opposed to global names that do not, such as 'FooBar'), the leading backslash is unnecessary and not recommended, as import names must be fully qualified and are not processed relative to the current namespace. See Using namespaces: Aliasing/Importing (php.net) for details.",
"markdown": "Reports the `use` statements with an unnecessary leading `\\`.\n\n\nFor namespaced names (fully qualified namespace names containing a namespace separator, such as `Foo\\Bar` as opposed to global names that do not, such as `FooBar`), the leading backslash is unnecessary and not recommended, as import names must be fully qualified and are not processed relative to the current namespace.\n\n\nSee [Using namespaces: Aliasing/Importing (php.net)](https://www.php.net/manual/en/language.namespaces.importing.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryLeadingBackslashInUseStatementInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitAssertTrueWithIncompatibleTypeArgumentInspection",
"shortDescription": {
"text": "'assertTrue()' with incompatible argument type"
},
"fullDescription": {
"text": "Reports the PHPUnit 'assertTrue()' calls whose arguments are of incompatible types. Since the 'assertTrue()' method relies on strict types comparison with 'true', such assertions will always fail.",
"markdown": "Reports the PHPUnit `assertTrue()` calls whose arguments are of incompatible types. Since the `assertTrue()` method relies on strict types comparison with `true`, such assertions will always fail."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUnitAssertTrueWithIncompatibleTypeArgumentInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDuplicateOperandInComparisonInspection",
"shortDescription": {
"text": "Duplicate operand in comparison"
},
"fullDescription": {
"text": "Reports duplicate operands in binary expressions ('+', '-', '*', '/', '&&', '||', and '.') that are in turn used inside comparison expressions. Such operands do not affect the comparison result and can be safely removed.",
"markdown": "Reports duplicate operands in binary expressions (`+`, `-`, `*`, `/`, `&&`, `||`, and `.`) that are in turn used inside comparison expressions. Such operands do not affect the comparison result and can be safely removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDuplicateOperandInComparisonInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedClassInspection",
"shortDescription": {
"text": "Undefined class"
},
"fullDescription": {
"text": "Reports the references to classes whose declarations are not found in the project files, configured include paths, or among the PHP predefined classes. Use the options below to customize the inspection: Ignore PHPDoc: if selected, the inspection will not report the undefined classes referenced in PHPDoc blocks.",
"markdown": "Reports the references to classes whose declarations are not found in the project files, configured include paths, or among the PHP predefined classes.\n\nUse the options below to customize the inspection:\n\n* **Ignore PHPDoc**: if selected, the inspection will not report the undefined classes referenced in PHPDoc blocks."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUndefinedClassInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNestedMinMaxCallInspection",
"shortDescription": {
"text": "Nested 'min/max' call"
},
"fullDescription": {
"text": "Reports nested 'min'/'max' calls. Since the 'min'/'max' functions accept any number of arguments, such nested calls are redundant.",
"markdown": "Reports nested `min`/`max` calls. Since the `min`/`max` functions accept any number of arguments, such nested calls are redundant."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpNestedMinMaxCallInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPluralMixedCanBeReplacedWithArrayInspection",
"shortDescription": {
"text": "'mixed' type can be replaced with 'array'"
},
"fullDescription": {
"text": "Reports the 'mixed[]' usages in PHPDoc blocks that can be safely replaced with 'array'.",
"markdown": "Reports the `mixed[]` usages in PHPDoc blocks that can be safely replaced with `array`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPluralMixedCanBeReplacedWithArrayInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCompoundNamespaceDepthInspection",
"shortDescription": {
"text": "Compound namespace depth is more than 2"
},
"fullDescription": {
"text": "Reports the usages of compound namespaces whose depth exceeds two levels. According to PSR-12, compound namespaces with a depth of more than two MUST NOT be used. See PSR-12: Extended Coding Style (php-fig.org) for details.",
"markdown": "Reports the usages of compound namespaces whose depth exceeds two levels.\n\nAccording to PSR-12, compound namespaces with a depth of more than two MUST NOT be used.\n\n\nSee [PSR-12: Extended Coding Style (php-fig.org)](https://www.php-fig.org/psr/psr-12/#3-declare-statements-namespace-and-import-statements) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpCompoundNamespaceDepthInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style/PSR-12",
"index": 81,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArgumentWithoutNamedIdentifierInspection",
"shortDescription": {
"text": "Argument without name identifier"
},
"fullDescription": {
"text": "Reports arguments without name identifiers.",
"markdown": "Reports arguments without name identifiers."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArgumentWithoutNamedIdentifierInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDuplicatedCharacterInStrFunctionCallInspection",
"shortDescription": {
"text": "Duplicate character in function call"
},
"fullDescription": {
"text": "Reports duplicate characters provided in the 'characters' argument of functions like 'ltrim' or 'str_words_counts'. Such duplicates are most probably a mistake and can be safely removed.",
"markdown": "Reports duplicate characters provided in the `characters` argument of functions like `ltrim` or `str_words_counts`. Such duplicates are most probably a mistake and can be safely removed."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpDuplicatedCharacterInStrFunctionCallInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUndefinedConstantInspection",
"shortDescription": {
"text": "Undefined constant"
},
"fullDescription": {
"text": "Reports the references to constants that are not found in the project files, configured include paths, or among the PHP predefined constants.",
"markdown": "Reports the references to constants that are not found in the project files, configured include paths, or among the PHP predefined constants."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpUndefinedConstantInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUncoveredEnumCasesInspection",
"shortDescription": {
"text": "Some enum cases are uncovered"
},
"fullDescription": {
"text": "Reports the 'match' expressions that don't cover all 'enum' cases in 'match' arm conditions.",
"markdown": "Reports the `match` expressions that don't cover all `enum` cases in `match` arm conditions."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpUncoveredEnumCasesInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMethodOrClassCallIsNotCaseSensitiveInspection",
"shortDescription": {
"text": "Case mismatch in method call or class usage"
},
"fullDescription": {
"text": "Reports the usages of functions, methods, classes, and namespaces that do not match the case used in their declarations.",
"markdown": "Reports the usages of functions, methods, classes, and namespaces that do not match the case used in their declarations."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMethodOrClassCallIsNotCaseSensitiveInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAccessStaticViaInstanceInspection",
"shortDescription": {
"text": "Class static member accessed via instance"
},
"fullDescription": {
"text": "Reports references to static methods and fields via a class instance rather than the class itself. Even though referring to static members via instance variables is allowed by PHP, this makes the code confusing, as the reader may think that the result of the method depends on the instance. The quick-fix replaces the instance variable with the class name. Example: 'class StaticClass {\n public static function someStaticFunction(): int\n {\n return 3;\n }\n\n }\n\n $var = new StaticClass\n $var::someStaticFunction();' After the quick-fix is applied: 'StaticClass::someStaticFunction()'",
"markdown": "Reports references to static methods and fields via a class instance rather than the class itself.\n\nEven though referring to static members via instance variables is allowed by PHP,\nthis makes the code confusing, as the reader may think that the result of the method depends on the instance.\n\nThe quick-fix replaces the instance variable with the class name.\n\nExample:\n\n\n class StaticClass {\n public static function someStaticFunction(): int\n {\n return 3;\n }\n\n }\n\n $var = new StaticClass\n $var::someStaticFunction();\n\nAfter the quick-fix is applied:\n\n\n StaticClass::someStaticFunction()\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpAccessStaticViaInstanceInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAttributeCanBeAddedToOverriddenMemberInspection",
"shortDescription": {
"text": "Attribute can be added to overriding member "
},
"fullDescription": {
"text": "Reports the methods' and parameters' attributes that can be propagated to overriding methods/parameters. See Attributes (php.net) for details.",
"markdown": "Reports the methods' and parameters' attributes that can be propagated to overriding methods/parameters.\n\n\nSee [Attributes (php.net)](https://wiki.php.net/rfc/attributes_v2) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpAttributeCanBeAddedToOverriddenMemberInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRegExpRedundantModifierInspection",
"shortDescription": {
"text": "Redundant modifier"
},
"fullDescription": {
"text": "Reports the 'i' (case insensitivity) modifiers that are used in regular expression patterns containing no letters. Such modifiers are redundant and can be safely removed.",
"markdown": "Reports the `i` (case insensitivity) modifiers that are used in regular expression patterns containing no letters. Such modifiers are redundant and can be safely removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRegExpRedundantModifierInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Regular expressions",
"index": 87,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedundantDocCommentInspection",
"shortDescription": {
"text": "Redundant PHPDoc comment"
},
"fullDescription": {
"text": "Reports PHPDoc comments or their parts that contain the information already provided in declarations.",
"markdown": "Reports PHPDoc comments or their parts that contain the information already provided in declarations."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpRedundantDocCommentInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnusedPrivateFieldInspection",
"shortDescription": {
"text": "Unused private property"
},
"fullDescription": {
"text": "Reports the private properties that are never used.",
"markdown": "Reports the private properties that are never used."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnusedPrivateFieldInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Unused symbols",
"index": 45,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSingleStatementWithBracesInspection",
"shortDescription": {
"text": "Single-statement body with braces"
},
"fullDescription": {
"text": "Reports the control structures (such as loops or conditionals) whose bodies are enclosed in braces but only contain a single child statement. Using braces in such cases is not necessary. See Control structures (php.net) for details.",
"markdown": "Reports the control structures (such as loops or conditionals) whose bodies are enclosed in braces but only contain a single child statement. Using braces in such cases is not necessary.\n\n\nSee [Control structures (php.net)](https://www.php.net/manual/en/language.control-structures.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpSingleStatementWithBracesInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryBoolCastInspection",
"shortDescription": {
"text": "Redundant cast to boolean"
},
"fullDescription": {
"text": "Reports the '(bool)'/'(boolean)' casts and 'boolval()' calls that are redundant since casting to 'bool' is performed implicitly.",
"markdown": "Reports the `(bool)`/`(boolean)` casts and `boolval()` calls that are redundant since casting to `bool` is performed implicitly."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryBoolCastInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnnecessaryElseBranchInspection",
"shortDescription": {
"text": "Unnecessary 'else' branch"
},
"fullDescription": {
"text": "Reports the 'else' branches in 'if' statements whose bodies always execute a terminating statement such as 'return' or 'throw'. Such branches are redundant and can be safely omitted.",
"markdown": "Reports the `else` branches in `if` statements whose bodies always execute a terminating statement such as `return` or `throw`. Such branches are redundant and can be safely omitted."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnnecessaryElseBranchInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnusedMatchConditionInspection",
"shortDescription": {
"text": "Unused 'match' condition"
},
"fullDescription": {
"text": "Reports the conditions in 'match' expressions that will never be matched. Similarly to PHP Engine behavior, the inspection uses strict comparison ('===') to check the types in 'match' conditions against the 'match' argument type, regardless of the 'strict_types' directive. Since no type coercion occurs, some conditions may be non-matched due to non-matching types. See Match expression (php.net) for details.",
"markdown": "Reports the conditions in `match` expressions that will never be matched.\n\n\nSimilarly to PHP Engine behavior, the inspection uses strict comparison (`===`) to check the types in `match` conditions against the `match` argument type, regardless of the `strict_types` directive. Since no type coercion occurs, some conditions may be non-matched due to non-matching types.\n\n\nSee [Match expression (php.net)](https://wiki.php.net/rfc/match_expression_v2) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnusedMatchConditionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpComposerDuplicatedRequirementInspection",
"shortDescription": {
"text": "Duplicate package entries in composer.json"
},
"fullDescription": {
"text": "Reports duplicate package entries in the 'require' and 'require-dev' sections of composer.json.",
"markdown": "Reports duplicate package entries in the `require` and `require-dev` sections of *composer.json*."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpComposerDuplicatedRequirementInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Composer",
"index": 47,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpExpressionResultUnusedInspection",
"shortDescription": {
"text": "Expression result unused"
},
"fullDescription": {
"text": "Reports the expressions that are calculated, but the calculation result is not used anywhere. Such errors can be caused, for example, by misspelling the '=' operator as '=='.",
"markdown": "Reports the expressions that are calculated, but the calculation result is not used anywhere.\n\nSuch errors can be caused, for example, by misspelling the `=` operator as `==`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpExpressionResultUnusedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpInternalEntityUsedInspection",
"shortDescription": {
"text": "Usage of internal entity"
},
"fullDescription": {
"text": "Reports the usages of the entities that are marked as '@internal' and are located in different source roots. The usages located in the same source root are not reported. In most cases, the reported usages should be removed or replaced with other constructs.",
"markdown": "Reports the usages of the entities that are marked as `@internal` and are located in different source roots. The usages located in the same source root are not reported.\n\n\nIn most cases, the reported usages should be removed or replaced with other constructs."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpInternalEntityUsedInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPointlessBooleanExpressionInConditionInspection",
"shortDescription": {
"text": "Pointless boolean expression inside 'if' condition"
},
"fullDescription": {
"text": "Reports the boolean expressions inside 'if' conditions that contain '$expr == true' or '$expr == false'. Such expressions can be simplified to 'if($expr)' and 'if(!expr)'.",
"markdown": "Reports the boolean expressions inside `if` conditions that contain `$expr == true` or `$expr == false`. Such expressions can be simplified to `if($expr)` and `if(!expr)`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPointlessBooleanExpressionInConditionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpNamedArgumentsWithChangedOrderInspection",
"shortDescription": {
"text": "Named arguments order does not match parameters order"
},
"fullDescription": {
"text": "Reports named argument with order that does not match parameter order",
"markdown": "Reports named argument with order that does not match parameter order"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpNamedArgumentsWithChangedOrderInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCaseWithValueNotFoundInEnumInspection",
"shortDescription": {
"text": "Case with specified value not found in enum"
},
"fullDescription": {
"text": "Reports the arguments of enum's 'from' method calls that are not found in target enum classes. See Enumerations (php.net) for details.",
"markdown": "Reports the arguments of enum's `from` method calls that are not found in target enum classes.\n\n\nSee [Enumerations (php.net)](https://wiki.php.net/rfc/enumerations) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpCaseWithValueNotFoundInEnumInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIdempotentOperationInspection",
"shortDescription": {
"text": "Idempotent operation in binary expression"
},
"fullDescription": {
"text": "Reports the binary expression operands that do not change the expression result (such as '+ 0' or '. \"\"') and are therefore redundant.",
"markdown": "Reports the binary expression operands that do not change the expression result (such as `+ 0` or `. \"\"`) and are therefore redundant."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpIdempotentOperationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLoopCanBeReplacedWithImplodeInspection",
"shortDescription": {
"text": "Loop can be replaced with 'implode()'"
},
"fullDescription": {
"text": "Reports the 'foreach' loops that can be safely replaced with 'implode()' calls. See implode (php.net) for details.",
"markdown": "Reports the `foreach` loops that can be safely replaced with `implode()` calls.\n\n\nSee [implode (php.net)](https://www.php.net/manual/en/function.implode.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpLoopCanBeReplacedWithImplodeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpConcatenationWithArithmeticInspection",
"shortDescription": {
"text": "Concatenation with arithmetic usage"
},
"fullDescription": {
"text": "Reports the string concatenation expressions that are used together with '+', '-', '<<', and '>>' operators. Starting with PHP 8, the concatenation operation has lower precedence and such expressions can thus produce unexpected results. See Concatenation precedence (php.net) for details.",
"markdown": "Reports the string concatenation expressions that are used together with `+`, `-`, `<<`, and `>>` operators. Starting with PHP 8, the concatenation operation has lower precedence and such expressions can thus produce unexpected results.\n\n\nSee [Concatenation precedence (php.net)](https://wiki.php.net/rfc/concatenation_precedence) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpConcatenationWithArithmeticInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpToStringImplementationInspection",
"shortDescription": {
"text": "Method '__toString' implementation"
},
"fullDescription": {
"text": "Reports the attempts to convert the objects having no '__toString' method implementation to '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. If the Check __toString exists for each expression type option is enabled, the inspection will check all possible types of the expression and report if at least one of them doesn't contain the '__toString' method implementation. See __toString (php.net) for details.",
"markdown": "Reports the attempts to convert the objects having no `__toString` method implementation to `string`.\n\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\nIf the **Check __toString exists for each expression type** option is enabled, the inspection will check all possible types of the expression and\nreport if at least one of them doesn't contain the `__toString` method implementation.\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": "warning",
"parameters": {
"suppressToolId": "PhpToStringImplementationInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayAccessCanBeReplacedWithForeachValueInspection",
"shortDescription": {
"text": "Array access can be replaced with 'foreach' value"
},
"fullDescription": {
"text": "Reports the array access expressions inside 'foreach' loops that can be replaced with a 'foreach' value.",
"markdown": "Reports the array access expressions inside `foreach` loops that can be replaced with a `foreach` value."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayAccessCanBeReplacedWithForeachValueInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitAssertCanBeReplacedWithFailInspection",
"shortDescription": {
"text": "Assertion can be replaced with 'fail'"
},
"fullDescription": {
"text": "Reports the 'assertTrue()'/'assertFalse()' calls with the 'false'/'true' arguments in PHPUnit tests. Such usages can be replaced with 'fail()' calls to indicate that a test is expected to fail.",
"markdown": "Reports the `assertTrue()`/`assertFalse()` calls with the `false`/`true` arguments in PHPUnit tests. Such usages can be replaced with `fail()` calls to indicate that a test is expected to fail."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitAssertCanBeReplacedWithFailInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLoopCanBeConvertedToArrayFilterInspection",
"shortDescription": {
"text": "Loop can be converted to 'array_filter()' call"
},
"fullDescription": {
"text": "Reports the 'foreach' loops that can be replaced with 'array_filter()' calls.",
"markdown": "Reports the `foreach` loops that can be replaced with `array_filter()` calls."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpLoopCanBeConvertedToArrayFilterInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitInvalidMockingEntityInspection",
"shortDescription": {
"text": "Invalid PHPUnit mocking target"
},
"fullDescription": {
"text": "Reports the methods and classes that are incorrectly mocked in PHPUnit tests. The following entities are reported: Enums and 'final' classes 'private', 'static', or 'final' methods Duplicate methods provided in the mocked methods lists via 'addMethods()', 'onlyMethods()', 'setMethods()', and so on.",
"markdown": "Reports the methods and classes that are incorrectly mocked in PHPUnit tests.\n\n\nThe following entities are reported:\n\n* Enums and `final` classes\n* `private`, `static`, or `final` methods\n* Duplicate methods provided in the mocked methods lists via `addMethods()`, `onlyMethods()`, `setMethods()`, and so on."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PhpUnitInvalidMockingEntityInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitAssertCanBeReplacedWithEmptyInspection",
"shortDescription": {
"text": "Assertion can be replaced with 'assertEmpty/assertNotEmpty'"
},
"fullDescription": {
"text": "Reports the 'assertTrue'/'assertFalse' usages that can be replaced with 'assertEmpty'/'assertNotEmpty' in PHPUnit tests. See assertEmpty (phpunit.readthedocs.io) for details.",
"markdown": "Reports the `assertTrue`/`assertFalse` usages that can be replaced with `assertEmpty`/`assertNotEmpty` in PHPUnit tests.\n\n\nSee [assertEmpty (phpunit.readthedocs.io)](https://phpunit.readthedocs.io/en/stable/assertions.html#assertempty) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitAssertCanBeReplacedWithEmptyInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnusedLocalVariableInspection",
"shortDescription": {
"text": "Unused local variable"
},
"fullDescription": {
"text": "Reports the variables that are considered unused in the following cases: The value of the variable is not used anywhere or is overwritten immediately. The reference stored in the variable is not used anywhere or is overwritten immediately.",
"markdown": "Reports the variables that are considered unused in the following cases:\n\n* The value of the variable is not used anywhere or is overwritten immediately.\n* The reference stored in the variable is not used anywhere or is overwritten immediately."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnusedLocalVariableInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Unused symbols",
"index": 45,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAssignmentReplaceableWithOperatorAssignmentInspection",
"shortDescription": {
"text": "Assignment can be replaced with operator assignment"
},
"fullDescription": {
"text": "Reports the assignments that can be replaced with combined operator assignments (for example, '+=').",
"markdown": "Reports the assignments that can be replaced with combined operator assignments (for example, `+=`)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpAssignmentReplaceableWithOperatorAssignmentInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Replaceable assignments",
"index": 109,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpIgnoredClassAliasDeclaration",
"shortDescription": {
"text": "Ignored class alias declaration"
},
"fullDescription": {
"text": "Reports the class alias declarations that are ignored by the IDE because the actual class declaration with the same FQN exists. The inspection is intended to clarify the IDEs behavior in the cases when both the class and the class alias declarations are present. When several declarations with the same FQN exist, the IDE usually fails to choose a single one between them. This leads to incorrect code completion, erroneous type inference, and so on. Since the class declaration prevails over the class alias declaration, the latter becomes redundant and therefore ignored by the IDE. Note that ignoring class alias declarations does not affect the behavior of the PHP interpreter.",
"markdown": "Reports the class alias declarations that are ignored by the IDE because the actual class declaration with the same FQN exists.\n\n\nThe inspection is intended to clarify the IDE's behavior in the cases when both the class and the class alias declarations are present.\nWhen several declarations with the same FQN exist, the IDE usually fails to choose a single one between them.\nThis leads to incorrect code completion, erroneous type inference, and so on. Since the class declaration prevails\nover the class alias declaration, the latter becomes redundant and therefore ignored by the IDE.\n\n\nNote that ignoring class alias declarations does not affect the behavior of the PHP interpreter."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpIgnoredClassAliasDeclaration",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpStatementHasEmptyBodyInspection",
"shortDescription": {
"text": "Statement has empty body"
},
"fullDescription": {
"text": "Reports the statements that have empty bodies. While occasionally useful, such statements are often the result of typos and may cause confusion.",
"markdown": "Reports the statements that have empty bodies.\n\nWhile occasionally useful, such statements are often the result of typos and may cause confusion."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpStatementHasEmptyBodyInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPureFunctionMayProduceSideEffectsInspection",
"shortDescription": {
"text": "Pure function may produce side effects"
},
"fullDescription": {
"text": "Reports the '#[Pure]' annotations used on functions that may produce side effects.",
"markdown": "Reports the `#[Pure]` annotations used on functions that may produce side effects."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpPureFunctionMayProduceSideEffectsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Attributes",
"index": 56,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRedeclarationStdlibFunctionInspection",
"shortDescription": {
"text": "Redeclaration of standard library function"
},
"fullDescription": {
"text": "Reports the redeclaration of standard library functions. Functions from the standard library cannot be redeclared in user code.",
"markdown": "Reports the redeclaration of standard library functions. Functions from the standard library cannot be redeclared in user code."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpRedeclarationStdlibFunctionInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpForeachNestedOuterKeyValueVariablesConflictInspection",
"shortDescription": {
"text": "Nested vs outer 'foreach' variables conflict"
},
"fullDescription": {
"text": "Reports the variables that are used as a key or value both by the inner and outer 'foreach' loops. In most cases, this is an error or may result in an error in the future.",
"markdown": "Reports the variables that are used as a key or value both by the inner and outer `foreach` loops. In most cases, this is an error or may result in an error in the future."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpForeachNestedOuterKeyValueVariablesConflictInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSwitchWithCommonPartsInspection",
"shortDescription": {
"text": "'switch' with common parts"
},
"fullDescription": {
"text": "Reports the 'switch' statements with duplicated common parts.",
"markdown": "Reports the 'switch' statements with duplicated common parts."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpSwitchWithCommonPartsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Control flow",
"index": 15,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMethodParametersCountMismatchInspection",
"shortDescription": {
"text": "Parameters number mismatch declaration"
},
"fullDescription": {
"text": "Reports the function/method calls that take more parameters than specified in their declaration.",
"markdown": "Reports the function/method calls that take more parameters than specified in their declaration."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMethodParametersCountMismatchInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpSwitchCaseWithoutDefaultBranchInspection",
"shortDescription": {
"text": "Switch statement without default branch"
},
"fullDescription": {
"text": "Reports the 'switch' statements without a default branch.",
"markdown": "Reports the `switch` statements without a default branch."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpSwitchCaseWithoutDefaultBranchInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpParameterByRefIsNotUsedAsReferenceInspection",
"shortDescription": {
"text": "Unnecessary pass-by-ref"
},
"fullDescription": {
"text": "Reports the variables that are passed by reference to a function/method but are not modified in the function/method body. In such cases, the '&' in parameter's declaration can be safely removed. See Passing by Reference (php.net) for details.",
"markdown": "Reports the variables that are passed by reference to a function/method but are not modified in the function/method body. In such cases, the `&` in parameter's declaration can be safely removed.\n\n\nSee [Passing by Reference (php.net)](https://www.php.net/manual/en/language.references.pass.php) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpParameterByRefIsNotUsedAsReferenceInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpExceptionImmediatelyRethrownInspection",
"shortDescription": {
"text": "Exception is immediately rethrown"
},
"fullDescription": {
"text": "Reports the 'catch' statements that only rethrow a caught exception, which is located in a class hierarchy different from the subsequent exception types.",
"markdown": "Reports the `catch` statements that only rethrow a caught exception, which is located in a class hierarchy different from the subsequent exception types."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpExceptionImmediatelyRethrownInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpHierarchyChecksInspection",
"shortDescription": {
"text": "Class hierarchy checks"
},
"fullDescription": {
"text": "Checks the classes' hierarchy: abstract methods implementation, the compatibility of implementing/overriding methods with their declarations in parent classes, and properties' types redeclarations. All reported violations result in PHP fatal errors. It is not recommended disabling or suppressing this inspection.",
"markdown": "Checks the classes' hierarchy: abstract methods implementation, the compatibility of implementing/overriding methods with their declarations in parent classes, and properties' types redeclarations.\n\nAll reported violations result in PHP fatal errors. It is not recommended disabling or suppressing this inspection."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpHierarchyChecksInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "LaravelPintValidationInspection",
"shortDescription": {
"text": "Laravel Pint validation"
},
"fullDescription": {
"text": "Reports coding style problems detected by Laravel Pint. The inspection requires Laravel Pint to be properly installed and set up in the IDE under Settings | PHP | Quality Tools | Laravel Pint. To learn more about Laravel Pint installation, see Laravel Pint.",
"markdown": "Reports coding style problems detected by Laravel Pint.\n\n\nThe inspection requires Laravel Pint to be properly installed and set up in the IDE under\n[Settings \\| PHP \\| Quality Tools \\| Laravel Pint](settings://settings.php.quality.tools?Laravel%20Pint).\n\n\nTo learn more about Laravel Pint installation, see [Laravel Pint](https://laravel.com/docs/10.x/pint#installation)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "LaravelPintValidationInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Quality tools",
"index": 89,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPropertyOnlyWrittenInspection",
"shortDescription": {
"text": "Property usages have same access"
},
"fullDescription": {
"text": "Reports the private properties that are: written but never read read but never written",
"markdown": "Reports the private properties that are:\n\n* written but never read\n* read but never written"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpPropertyOnlyWrittenInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMultipleClassDeclarationsInspection",
"shortDescription": {
"text": "Multiple class declarations"
},
"fullDescription": {
"text": "Reports the references to classes that have multiple declarations in project files. Use the options below to customize the inspection: Ignore PHPDoc: if selected, the inspection will not report multiple declarations of classes referenced in PHPDoc blocks.",
"markdown": "Reports the references to classes that have multiple declarations in project files.\n\nUse the options below to customize the inspection:\n\n* **Ignore PHPDoc**: if selected, the inspection will not report multiple declarations of classes referenced in PHPDoc blocks."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMultipleClassDeclarationsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Undefined symbols",
"index": 31,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMissingFieldTypeInspection",
"shortDescription": {
"text": "Missing property's type declaration"
},
"fullDescription": {
"text": "Reports the properties that have no type declaration.",
"markdown": "Reports the properties that have no type declaration."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMissingFieldTypeInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpInvalidStringOffsetUsageInspection",
"shortDescription": {
"text": "Invalid string offset usage"
},
"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"
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpInvalidStringOffsetUsageInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpWrongForeachArgumentTypeInspection",
"shortDescription": {
"text": "Invalid argument supplied for 'foreach()'"
},
"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."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpWrongForeachArgumentTypeInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Type compatibility",
"index": 29,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTooManyParametersInspection",
"shortDescription": {
"text": "Too many parameters in function declaration"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpTooManyParametersInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code smell",
"index": 3,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpArrayFilterCanBeConvertedToLoopInspection",
"shortDescription": {
"text": "'array_filter()' call can be converted to loop"
},
"fullDescription": {
"text": "Reports the 'array_filter()' calls that can be replaced with 'foreach' loops.",
"markdown": "Reports the `array_filter()` calls that can be replaced with `foreach` loops."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpArrayFilterCanBeConvertedToLoopInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Code style",
"index": 5,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpClassImplementsSolelyTraversableInspection",
"shortDescription": {
"text": "Class can't implement Traversable directly"
},
"fullDescription": {
"text": "Reports the classes that are implementing the 'Traversable' interface alone, not as part of 'Iterator' or 'IteratorAggregate' interfaces. The 'Traversable' interface is an internal engine interface; it cannot be implemented in PHP scripts. See The Traversable interface (php.net) for details.",
"markdown": "Reports the classes that are implementing the `Traversable` interface alone, not as part of `Iterator` or `IteratorAggregate` interfaces.\n\n\nThe `Traversable` interface is an internal engine interface; it cannot be implemented in PHP scripts. See [The Traversable interface (php.net)](https://www.php.net/manual/en/class.traversable.php) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "PhpClassImplementsSolelyTraversableInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnusedSwitchBranchInspection",
"shortDescription": {
"text": "Unused 'switch' branch"
},
"fullDescription": {
"text": "Reports the branches in 'switch' statements that do not belong to the set of enum cases and as a result are never executed. See Enumerations (php.net) for details.",
"markdown": "Reports the branches in `switch` statements that do not belong to the set of enum cases and as a result are never executed.\n\n\nSee [Enumerations (php.net)](https://wiki.php.net/rfc/enumerations) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnusedSwitchBranchInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Probable bugs",
"index": 11,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpPromotedFieldUsageInspection",
"shortDescription": {
"text": "Promoted property usage"
},
"fullDescription": {
"text": "Reports properties declared through promoted constructor parameters. Using promoted properties is only possible since PHP 8.0. In earlier PHP versions, it leads to a parse error. See Constructor Property Promotion (php.net) for details.",
"markdown": "Reports properties declared through promoted constructor parameters.\n\n\nUsing promoted properties is only possible since PHP 8.0. In earlier PHP versions, it leads to a parse error.\n\n\nSee [Constructor Property Promotion (php.net)](https://wiki.php.net/rfc/constructor_promotion) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpPromotedFieldUsageInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/General",
"index": 8,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpDocFieldTypeMismatchInspection",
"shortDescription": {
"text": "Type doesn't match property's declared type"
},
"fullDescription": {
"text": "Reports the properties' types in PHPDoc '@var' tags that do not match the declared type of a property.",
"markdown": "Reports the properties' types in PHPDoc `@var` tags that do not match the declared type of a property."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpDocFieldTypeMismatchInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPDoc",
"index": 4,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpUnitDeprecatedDataProviderSignatureInspection",
"shortDescription": {
"text": "Deprecated usage of data provider since PHPUnit 10"
},
"fullDescription": {
"text": "Reports the references to functions/methods in the '@dataProvider' PHPDoc tag that are resolved to non-static or non-public methods. Usage of these methods as PHPUnit data providers is deprecated starting from PHPUnit 10.",
"markdown": "Reports the references to functions/methods in the `@dataProvider` PHPDoc tag that are resolved to non-static or non-public methods. Usage of these methods as PHPUnit data providers is deprecated starting from PHPUnit 10."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpUnitDeprecatedDataProviderSignatureInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PHPUnit",
"index": 25,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.jetbrains.sh",
"version": "232.10072.32",
"rules": [
{
"id": "ShellCheck",
"shortDescription": {
"text": "ShellCheck"
},
"fullDescription": {
"text": "Reports shell script bugs detected by the integrated ShellCheck static analysis tool.",
"markdown": "Reports shell script bugs detected by the integrated [ShellCheck](https://github.com/koalaman/shellcheck) static analysis tool."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "ShellCheck",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Shell script",
"index": 7,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "Karma",
"version": "232.10072.32",
"rules": [
{
"id": "KarmaConfigFile",
"shortDescription": {
"text": "Invalid Karma configuration file"
},
"fullDescription": {
"text": "Reports a potential error in a file path ('basePath', 'files') for a Karma configuration file, for example, 'karma.conf.js'.",
"markdown": "Reports a potential error in a file path ('basePath', 'files') for a Karma configuration file, for example, `karma.conf.js`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "KarmaConfigFile",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Unit testing",
"index": 10,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.intellij.database",
"version": "232.10072.32",
"rules": [
{
"id": "MysqlLoadDataPathInspection",
"shortDescription": {
"text": "LOAD statement path"
},
"fullDescription": {
"text": "Reports paths that start with the tilde character in LOAD statements. Example (MySQL): 'CREATE TABLE table_name (id int);\nLOAD DATA LOCAL INFILE '~/Documents/some_file.txt'\nINTO TABLE table_name FIELDS TERMINATED BY ',' LINES TERMINATED BY '\\n'\nIGNORE 1 LINES;' Instead of the tilde character, use a full path to the file.",
"markdown": "Reports paths that start with the tilde character in LOAD statements.\n\nExample (MySQL):\n\n CREATE TABLE table_name (id int);\n LOAD DATA LOCAL INFILE '~/Documents/some_file.txt'\n INTO TABLE table_name FIELDS TERMINATED BY ',' LINES TERMINATED BY '\\n'\n IGNORE 1 LINES;\n\nInstead of the tilde character, use a full path to the file."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MysqlLoadDataPath",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "MySQL",
"index": 12,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MysqlSpaceAfterFunctionNameInspection",
"shortDescription": {
"text": "Whitespace between the function name and the open parenthesis"
},
"fullDescription": {
"text": "Reports any whitespace in a function call between the function name and the open parenthesis, which is not supported by default. Example (MySQL): 'SELECT MAX (qty) FROM orders;'",
"markdown": "Reports any whitespace in a function call between the function name and the open parenthesis, which is not supported by default.\n\nExample (MySQL):\n\n SELECT MAX (qty) FROM orders;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "MysqlSpaceAfterFunctionName",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "MySQL",
"index": 12,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlMissingReturnInspection",
"shortDescription": {
"text": "Missing return statement"
},
"fullDescription": {
"text": "Reports functions that have no RETURN statements. Example (Oracle): 'CREATE FUNCTION foo RETURN int AS\nBEGIN\nEND;' The 'foo' function must return the integer value but the function body returns nothing. To fix the error, add a RETURN statement (for example, 'return 1;'). 'CREATE FUNCTION foo RETURN int AS\nBEGIN\n RETURN 1;\nEND;'",
"markdown": "Reports functions that have no RETURN statements.\n\nExample (Oracle):\n\n CREATE FUNCTION foo RETURN int AS\n BEGIN\n END;\n\nThe `foo` function must return the integer value but the function body returns nothing. To fix the error,\nadd a RETURN statement (for example, `return 1;`).\n\n CREATE FUNCTION foo RETURN int AS\n BEGIN\n RETURN 1;\n END;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "SqlMissingReturn",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlCaseVsIfInspection",
"shortDescription": {
"text": "Using CASE instead of conditional function and vice versa"
},
"fullDescription": {
"text": "Reports situations when CASE and IF are interchangeable. Example (MySQL): 'SELECT CASE\nWHEN C1 IS NULL THEN 1\nELSE 0\nEND\nFROM dual;' To keep your code short, you can replace the CASE structure with IF. You can do that by applying the Replace with 'IF' call intention action. The example code will look as follows: 'SELECT IF(C1 IS NULL, 1, 0)\nFROM dual;' To revert IF to CASE, click IF and apply the Replace with CASE expression intention action.",
"markdown": "Reports situations when CASE and IF are interchangeable.\n\nExample (MySQL):\n\n SELECT CASE\n WHEN C1 IS NULL THEN 1\n ELSE 0\n END\n FROM dual;\n\nTo keep your code short, you can replace the CASE structure with IF. You can do that by applying the **Replace with 'IF' call**\nintention action. The example code will look as follows:\n\n SELECT IF(C1 IS NULL, 1, 0)\n FROM dual;\n\nTo revert IF to CASE, click IF and apply the **Replace with CASE expression** intention action."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlCaseVsIf",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlShouldBeInGroupByInspection",
"shortDescription": {
"text": "Column should be in group by clause"
},
"fullDescription": {
"text": "Reports columns that are not in the GROUP BY clause or inside an aggregate function call. Example (Microsoft SQL Server): 'CREATE TABLE t1 (a INT, b INT);\nSELECT a, b FROM t1 GROUP BY a;' If you run the SELECT query, you will receive an error because Microsoft SQL Server expects the 'b' column in GROUP BY or used inside an aggregate function. The following two examples will fix the error. 'SELECT a, b FROM t1 GROUP BY a, b;\nSELECT a, max(b) max_b FROM t1 GROUP BY a;'",
"markdown": "Reports columns that are not in the GROUP BY clause or inside an aggregate function call.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE t1 (a INT, b INT);\n SELECT a, b FROM t1 GROUP BY a;\n\nIf you run the SELECT query, you will receive an error because Microsoft SQL Server expects the `b` column in GROUP BY or used\ninside an aggregate function. The following two examples will fix the error.\n\n SELECT a, b FROM t1 GROUP BY a, b;\n SELECT a, max(b) max_b FROM t1 GROUP BY a;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlShouldBeInGroupBy",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlAutoIncrementDuplicateInspection",
"shortDescription": {
"text": "Auto-increment duplicate"
},
"fullDescription": {
"text": "Reports tables that contain two columns with an automatic increment. In MySQL, Microsoft SQL Server, and Db2 dialects, a table can have only one field with a auto-increment option, and this field must be a key. Example (MySQL): 'CREATE TABLE my_table\n(\n id INT AUTO_INCREMENT,\n c2 INT AUTO_INCREMENT,\n);' The AUTO_INCREMENT constraint for 'c2' will be highlighted as 'c1' already has this constraint. To fix the warning, you can make 'id' a primary key and delete AUTO_INCREMENT for 'c2'. 'CREATE TABLE my_table\n(\n id INT AUTO_INCREMENT PRIMARY KEY,\n c2 INT,\n);'",
"markdown": "Reports tables that contain two columns with an automatic increment. In MySQL, Microsoft SQL Server, and Db2 dialects, a table can have only one field with a auto-increment option, and this field must be a key.\n\nExample (MySQL):\n\n CREATE TABLE my_table\n (\n id INT AUTO_INCREMENT,\n c2 INT AUTO_INCREMENT,\n );\n\nThe AUTO_INCREMENT constraint for `c2` will be highlighted as `c1` already has this constraint. To fix the warning,\nyou can make `id` a primary key and delete AUTO_INCREMENT for `c2`.\n\n CREATE TABLE my_table\n (\n id INT AUTO_INCREMENT PRIMARY KEY,\n c2 INT,\n );\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlAutoIncrementDuplicate",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlStringLengthExceededInspection",
"shortDescription": {
"text": "Implicit string truncation"
},
"fullDescription": {
"text": "Reports variables that exceed the defined length in characters. Example (Microsoft SQL Server): 'CREATE PROCEDURE test() AS\nBEGIN\nDECLARE myVarOk VARCHAR(5) = 'abcde';\nDECLARE myVarExceeded VARCHAR(5) = 'abcde12345';\n\nSET myVarOk = 'xyz';\nSET myVarExceeded = '123456789';\nEND;' The 'myVarExceeded' variable is defined as 'VARCHAR(5)' but both assigned values (''abcde12345'' and ''123456789'') exceed this limitation. You can truncate assigned values or increase the defined length. To increase the length, use the Increase type length quick-fix. After the quick-fix is applied: 'CREATE PROCEDURE test() AS\nBEGIN\nDECLARE myVarOk VARCHAR(5) = 'abcde';\nDECLARE myVarExceeded VARCHAR(10) = 'abcde12345';\n\nSET myVarOk = 'xyz';\nSET myVarExceeded = '123456789';\nEND;'",
"markdown": "Reports variables that exceed the defined length in characters.\n\nExample (Microsoft SQL Server):\n\n CREATE PROCEDURE test() AS\n BEGIN\n DECLARE myVarOk VARCHAR(5) = 'abcde';\n DECLARE myVarExceeded VARCHAR(5) = 'abcde12345';\n\n SET myVarOk = 'xyz';\n SET myVarExceeded = '123456789';\n END;\n\nThe `myVarExceeded` variable is defined as `VARCHAR(5)` but both assigned values (`'abcde12345'` and\n`'123456789'`) exceed this limitation. You can truncate assigned values or increase the defined length.\nTo increase the length, use the **Increase type length** quick-fix.\n\nAfter the quick-fix is applied:\n\n CREATE PROCEDURE test() AS\n BEGIN\n DECLARE myVarOk VARCHAR(5) = 'abcde';\n DECLARE myVarExceeded VARCHAR(10) = 'abcde12345';\n\n SET myVarOk = 'xyz';\n SET myVarExceeded = '123456789';\n END;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlStringLengthExceeded",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlDtInspection",
"shortDescription": {
"text": "Ill-formed date/time literals"
},
"fullDescription": {
"text": "Reports errors in date and time literals. This inspection is available in MySQL, Oracle, Db2, and H2. Example (MySQL): 'SELECT TIME '10 -12:13:14' FROM dual;\nSELECT TIME ' 12 : 13 : 14 ' FROM dual;\nSELECT TIME '12 13 14' FROM dual;\nSELECT TIME '12-13-14' FROM dual;\nSELECT TIME '12.13.14' FROM dual;\nSELECT TIME '12:13:' FROM dual;\nSELECT TIME '12:13' FROM dual;\nSELECT TIME '12:' FROM dual;' In this example, dates ignore the MySQL standard for date and time literals. Therefore, they will be highlighted. For more information about date and time literals in MySQL, see Date and Time Literals at dev.mysql.com. The following date and type literals are valid for MySQL. 'SELECT TIME '12:13:14' FROM dual;\nSELECT TIME '12:13:14.555' FROM dual;\nSELECT TIME '12:13:14.' FROM dual;\nSELECT TIME '-12:13:14' FROM dual;\nSELECT TIME '10 12:13:14' FROM dual;\nSELECT TIME '-10 12:13:14' FROM dual;'",
"markdown": "Reports errors in date and time literals. This inspection is available in MySQL, Oracle, Db2, and H2.\n\nExample (MySQL):\n\n SELECT TIME '10 -12:13:14' FROM dual;\n SELECT TIME ' 12 : 13 : 14 ' FROM dual;\n SELECT TIME '12 13 14' FROM dual;\n SELECT TIME '12-13-14' FROM dual;\n SELECT TIME '12.13.14' FROM dual;\n SELECT TIME '12:13:' FROM dual;\n SELECT TIME '12:13' FROM dual;\n SELECT TIME '12:' FROM dual;\n\nIn this example, dates ignore the MySQL standard for date and time literals. Therefore, they will be highlighted.\nFor more information about date and time literals in MySQL, see [Date and Time Literals at dev.mysql.com](https://dev.mysql.com/doc/refman/8.0/en/date-and-time-literals.html).\n\nThe following date and type literals are valid for MySQL.\n\n SELECT TIME '12:13:14' FROM dual;\n SELECT TIME '12:13:14.555' FROM dual;\n SELECT TIME '12:13:14.' FROM dual;\n SELECT TIME '-12:13:14' FROM dual;\n SELECT TIME '10 12:13:14' FROM dual;\n SELECT TIME '-10 12:13:14' FROM dual;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlDateTime",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlInsertValuesInspection",
"shortDescription": {
"text": "VALUES clause cardinality"
},
"fullDescription": {
"text": "Reports situations when a number of parameters in VALUES does not match a number of columns in a target table. Example (MySQL): 'CREATE TABLE foo(a INT, b INT, c INT);\n\nINSERT INTO foo VALUES (1,2,3,4)' The 'foo' table has three columns but in the INSERT INTO statement we pass four.",
"markdown": "Reports situations when a number of parameters in VALUES does not match a number of columns in a target table.\n\nExample (MySQL):\n\n CREATE TABLE foo(a INT, b INT, c INT);\n\n INSERT INTO foo VALUES (1,2,3,4)\n\nThe `foo` table has three columns but in the INSERT INTO statement we pass four."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlInsertValues",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlRedundantElseNullInspection",
"shortDescription": {
"text": "Redundant ELSE NULL clause"
},
"fullDescription": {
"text": "Reports redundant ELSE NULL clauses. Example (MySQL): 'SELECT CASE WHEN 2 > 1 THEN 'OK' ELSE NULL END AS alias FROM foo;' The 'ELSE NULL' part will never be executed and may be omitted.",
"markdown": "Reports redundant ELSE NULL clauses.\n\nExample (MySQL):\n\n SELECT CASE WHEN 2 > 1 THEN 'OK' ELSE NULL END AS alias FROM foo;\n\nThe `ELSE NULL` part will never be executed and may be omitted."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlRedundantElseNull",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlCallNotationInspection",
"shortDescription": {
"text": "Using of named and positional arguments"
},
"fullDescription": {
"text": "Reports calls in which positional arguments go after the named ones. Works in PostgreSQL, Oracle, and Db2. Example (In PostgreSQL): 'CREATE FUNCTION foo(a int, b int, c int) RETURNS int\n LANGUAGE plpgsql AS\n$$\nBEGIN\n RETURN a + b + c;\nEND\n$$;\nSELECT foo(a => 1, b => 2, c => 3);\n -- `3` goes after the named argument\nSELECT foo(1, b => 2, 3);\n -- `1` and `3` go after the named argument\nSELECT foo(b => 2, 1, 3);'",
"markdown": "Reports calls in which positional arguments go after the named ones. Works in PostgreSQL, Oracle, and Db2.\n\nExample (In PostgreSQL):\n\n CREATE FUNCTION foo(a int, b int, c int) RETURNS int\n LANGUAGE plpgsql AS\n $$\n BEGIN\n RETURN a + b + c;\n END\n $$;\n SELECT foo(a => 1, b => 2, c => 3);\n -- `3` goes after the named argument\n SELECT foo(1, b => 2, 3);\n -- `1` and `3` go after the named argument\n SELECT foo(b => 2, 1, 3);\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "SqlCallNotation",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MysqlParsingInspection",
"shortDescription": {
"text": "Unsupported syntax in pre-8.0 versions"
},
"fullDescription": {
"text": "Reports invalid usages of UNION in queries. The inspection works in MySQL versions that are earlier than 8.0. Example (MySQL): 'SELECT * FROM (SELECT 1 UNION (SELECT 1 UNION SELECT 2)) a;'",
"markdown": "Reports invalid usages of UNION in queries.\n\nThe inspection works in MySQL versions that are earlier than 8.0.\n\nExample (MySQL):\n\n\n SELECT * FROM (SELECT 1 UNION (SELECT 1 UNION SELECT 2)) a;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MysqlParsing",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "MySQL",
"index": 12,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlShadowingAliasInspection",
"shortDescription": {
"text": "Column is shadowed by alias"
},
"fullDescription": {
"text": "Reports SELECT aliases with names that match column names in the FROM clause. Example (MySQL): 'CREATE TABLE foo (a INT, b INT, c INT);\nSELECT a b, c FROM foo;' The 'a' column uses the 'b' alias but the 'b' name is also used by the column from the 'foo' table.",
"markdown": "Reports SELECT aliases with names that match column names in the FROM clause.\n\nExample (MySQL):\n\n CREATE TABLE foo (a INT, b INT, c INT);\n SELECT a b, c FROM foo;\n\nThe `a` column uses the `b` alias but the `b` name is also used by the column from the `foo`\ntable."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlShadowingAlias",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlUnreachableCodeInspection",
"shortDescription": {
"text": "Unreachable code"
},
"fullDescription": {
"text": "Reports unreachable statements inside SQL routines. Example (Microsoft SQL Server): 'CREATE FUNCTION foo() RETURNS INT AS\nBEGIN\n THROW;\n RETURN 1;\nEND;' In Microsoft SQL Server, the 'THROW' statement raises an exception and transfers execution to the CATCH block of the TRY...CATCH construct. Therefore, the 'RETURN 1;' part will never be executed.",
"markdown": "Reports unreachable statements inside SQL routines.\n\nExample (Microsoft SQL Server):\n\n CREATE FUNCTION foo() RETURNS INT AS\n BEGIN\n THROW;\n RETURN 1;\n END;\n\nIn Microsoft SQL Server, the `THROW` statement raises an exception and transfers execution to the CATCH block of the TRY...CATCH\nconstruct. Therefore, the `RETURN 1;` part will never be executed."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlUnreachable",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlNoDataSourceInspection",
"shortDescription": {
"text": "No data sources configured"
},
"fullDescription": {
"text": "Reports the absence of data sources in the Database tool window (View | Tool Windows | Database).",
"markdown": "Reports the absence of data sources in the **Database** tool window (**View \\| Tool Windows \\| Database**)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlNoDataSourceInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlResolveInspection",
"shortDescription": {
"text": "Unresolved reference"
},
"fullDescription": {
"text": "Reports unresolved SQL references. Example (MySQL): 'CREATE TABLE users(id INT, name VARCHAR(40));\nCREATE TABLE admins(id INT, col1 INT);\n\nSELECT users.id, admins.id FROM admins WHERE admins.id > 1;' The 'users.id' column is unresolved because the 'users' table is missing in the FROM clause.",
"markdown": "Reports unresolved SQL references.\n\nExample (MySQL):\n\n CREATE TABLE users(id INT, name VARCHAR(40));\n CREATE TABLE admins(id INT, col1 INT);\n\n SELECT users.id, admins.id FROM admins WHERE admins.id > 1;\n\nThe `users.id` column is unresolved because the `users` table is missing in the FROM clause."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "SqlResolve",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlCurrentSchemaInspection",
"shortDescription": {
"text": "Current console schema introspected"
},
"fullDescription": {
"text": "Reports schemas and databases in the current session that are not introspected. For example, this warning might occur when you try to create a table in the schema that is not introspected. Introspection is a method of inspecting a data source. When you perform introspection, structural information in the data source is inspected to detect tables, columns, functions, and other elements with their attributes.",
"markdown": "Reports schemas and databases in the current session that are not introspected.\n\nFor example, this warning might occur when you try to create a table in the schema that is not introspected.\n\nIntrospection is a method of inspecting a data source. When you perform introspection, structural information in the data source is\ninspected to detect tables, columns, functions, and other elements with their attributes."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlCurrentSchemaInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlMisleadingReferenceInspection",
"shortDescription": {
"text": "Misleading references"
},
"fullDescription": {
"text": "Reports ambiguous references in SQL code. For example, when a name refer to both a table column and a routine parameter. The execution of such code might lead to errors or unexpected results due to counter-intuitive resolution logic. Usually, names with a more local scope have higher priority. Example (PostgreSQL): 'CREATE TABLE foo\n(\n id INT,\n name VARCHAR(5)\n);\nCREATE FUNCTION func(name VARCHAR(5)) RETURNS INT AS\n$$\nDECLARE\n b INT;\nBEGIN\n -- `name` is ambiguous as it is used as a column name and a parameter\n SELECT COUNT(*) INTO b FROM foo t WHERE t.name = name;\n RETURN b;\nEND;\n$$ LANGUAGE plpgsql;' In PostgreSQL, you can use the '#variable_conflict' directives to explicitly specify a correct reference. For example, use '#variable_conflict use_column' to refer to a column name, or '#variable_conflict use_variable' to refer to a parameter. 'CREATE TABLE foo\n(\n id INT,\n name VARCHAR(5)\n);\nCREATE FUNCTION func(name VARCHAR(5)) RETURNS INT AS\n$$\n #variable_conflict use_column\nDECLARE\n b INT;\nBEGIN\n SELECT COUNT(*) INTO b FROM foo t WHERE t.name = name;\n RETURN b;\nEND;\n$$ LANGUAGE plpgsql;'",
"markdown": "Reports ambiguous references in SQL code.\n\nFor example, when a name refer to both a table column and a routine parameter. The execution of such code might lead to errors or unexpected\nresults due to counter-intuitive resolution logic. Usually, names with a more local scope have higher priority.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo\n (\n id INT,\n name VARCHAR(5)\n );\n CREATE FUNCTION func(name VARCHAR(5)) RETURNS INT AS\n $$\n DECLARE\n b INT;\n BEGIN\n -- `name` is ambiguous as it is used as a column name and a parameter\n SELECT COUNT(*) INTO b FROM foo t WHERE t.name = name;\n RETURN b;\n END;\n $$ LANGUAGE plpgsql;\n\nIn PostgreSQL, you can use the `#variable_conflict` directives to explicitly specify a correct reference. For example,\nuse `#variable_conflict use_column` to refer to a column name, or `#variable_conflict use_variable` to refer to a\nparameter.\n\n CREATE TABLE foo\n (\n id INT,\n name VARCHAR(5)\n );\n CREATE FUNCTION func(name VARCHAR(5)) RETURNS INT AS\n $$\n #variable_conflict use_column\n DECLARE\n b INT;\n BEGIN\n SELECT COUNT(*) INTO b FROM foo t WHERE t.name = name;\n RETURN b;\n END;\n $$ LANGUAGE plpgsql;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlMisleadingReference",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlRedundantLimitInspection",
"shortDescription": {
"text": "Redundant row limiting in queries"
},
"fullDescription": {
"text": "Reports redundant row limiting clauses like FETCH and LIMIT in queries. Example (PostgreSQL): 'CREATE TABLE foo(a INT);\n\nSELECT * FROM foo WHERE EXISTS(SELECT * FROM foo LIMIT 2);\nSELECT * FROM foo WHERE EXISTS(SELECT * FROM foo FETCH FIRST 2 ROWS ONLY);' To fix the warning, you can add OFFSET to limiting clauses. If OFFSET is missing, then LIMIT is redundant because the usage of LIMIT does not influence the operation result of EXISTS. In case with OFFSET, we skip first 'N' rows and this will influence the output. 'SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo OFFSET 1 ROW LIMIT 2);\nSELECT * FROM foo WHERE EXISTS(SELECT * FROM foo OFFSET 1 ROW FETCH FIRST 2 ROWS ONLY);'",
"markdown": "Reports redundant row limiting clauses like FETCH and LIMIT in queries.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo(a INT);\n\n SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo LIMIT 2);\n SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo FETCH FIRST 2 ROWS ONLY);\n\nTo fix the warning, you can add OFFSET to limiting clauses. If OFFSET is missing, then LIMIT is redundant because\nthe usage of LIMIT does not influence the operation result of EXISTS. In case with OFFSET, we skip first `N` rows and this will\ninfluence the output.\n\n SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo OFFSET 1 ROW LIMIT 2);\n SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo OFFSET 1 ROW FETCH FIRST 2 ROWS ONLY);\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlRedundantLimit",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlInsertNullIntoNotNullInspection",
"shortDescription": {
"text": "Insert NULL into NOT NULL column"
},
"fullDescription": {
"text": "Reports cases when you insert NULL values into columns that accept only NOT NULL values. Example (Microsoft SQL Server): 'CREATE TABLE br2 (\nid INT NOT NULL,\ncol1 NVARCHAR (20) NOT NULL,\ncol2 NVARCHAR (20) NOT NULL,\n);\n--\nINSERT INTO br2 (id, col1, col2)\nVALUES (1, NULL, NULL);' You cannot insert NULL values in 'col1' and 'col2' because they are defined as NOT NULL. If you run the script as is, you will receive an error. To fix this code, replace NULL in the VALUES part with some values (for example, '42' and ''bird''). INSERT INTO br2 (id, col1, col2)\nVALUES (1, 42, 'bird');",
"markdown": "Reports cases when you insert NULL values into columns that accept only NOT NULL values.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE br2 (\n id INT NOT NULL,\n col1 NVARCHAR (20) NOT NULL,\n col2 NVARCHAR (20) NOT NULL,\n );\n --\n INSERT INTO br2 (id, col1, col2)\n VALUES (1, NULL, NULL);\n\nYou cannot insert NULL values in `col1` and `col2` because they are defined as NOT NULL. If you run the script as\nis,\nyou will receive an error. To fix this code, replace NULL in the VALUES part with some values (for example, `42` and\n`'bird'`).\n\n```\nINSERT INTO br2 (id, col1, col2)\nVALUES (1, 42, 'bird');\n```"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlInsertNullIntoNotNull",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlDerivedTableAliasInspection",
"shortDescription": {
"text": "Each derived table should have alias"
},
"fullDescription": {
"text": "Reports derived tables without aliases. Example (MySQL): 'CREATE TABLE table1 (id INT, name VARCHAR(20), cats FLOAT);\nCREATE TABLE table2 (id INT, age INTEGER);\n\nSELECT id AS ID, name, cats, age\nFROM (SELECT table1.id, name, cats, age\nFROM table1\nJOIN table2 ON table1.id = table2.id);' According to Derived Tables at dev.mysql.com, an alias is mandatory. You can add the alias by using the Introduce alias quick-fix. After the quick-fix is applied: 'SELECT id AS ID, name, cats, age\nFROM (SELECT table1.id, name, cats, age\nFROM table1\nJOIN table2 ON table1.id = table2.id);'",
"markdown": "Reports derived tables without aliases.\n\nExample (MySQL):\n\n CREATE TABLE table1 (id INT, name VARCHAR(20), cats FLOAT);\n CREATE TABLE table2 (id INT, age INTEGER);\n\n SELECT id AS ID, name, cats, age\n FROM (SELECT table1.id, name, cats, age\n FROM table1\n JOIN table2 ON table1.id = table2.id);\n\nAccording to [Derived Tables at dev.mysql.com](https://dev.mysql.com/doc/refman/8.0/en/derived-tables.html), an alias is\nmandatory. You can add the alias by using the **Introduce alias** quick-fix.\n\nAfter the quick-fix is applied:\n\n SELECT id AS ID, name, cats, age\n FROM (SELECT table1.id, name, cats, age\n FROM table1\n JOIN table2 ON table1.id = table2.id);\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlDerivedTableAlias",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlTriggerTransitionInspection",
"shortDescription": {
"text": "Suspicious code in triggers"
},
"fullDescription": {
"text": "Reports incorrect usages of transition table variables in triggers. Example (HSQLDB): 'CREATE TABLE foo(a INT);\n\nCREATE TRIGGER trg\n AFTER DELETE ON foo\nBEGIN\n SELECT * FROM NEW;\nEND;\n\nCREATE TRIGGER trig AFTER INSERT ON foo\n REFERENCING OLD ROW AS newrow\n FOR EACH ROW WHEN (a > 1)\n INSERT INTO foo VALUES (1)' In HSQLDB, DELETE triggers may be used only with the OLD state while INSERT triggers may have only the NEW state. So, in the previous example, NEW in 'SELECT * FROM NEW;' will be highlighted as well as OLD in 'REFERENCING OLD ROW AS newrow'.",
"markdown": "Reports incorrect usages of transition table variables in triggers.\n\nExample (HSQLDB):\n\n CREATE TABLE foo(a INT);\n\n CREATE TRIGGER trg\n AFTER DELETE ON foo\n BEGIN\n SELECT * FROM NEW;\n END;\n\n CREATE TRIGGER trig AFTER INSERT ON foo\n REFERENCING OLD ROW AS newrow\n FOR EACH ROW WHEN (a > 1)\n INSERT INTO foo VALUES (1)\n\nIn HSQLDB, DELETE triggers may be used only with the OLD state while INSERT triggers may have only the NEW state. So, in the previous\nexample, NEW in `SELECT * FROM NEW;` will be highlighted as well as OLD in `REFERENCING OLD ROW AS newrow`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlTriggerTransition",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlNamedArgumentsInspection",
"shortDescription": {
"text": "Named arguments should be used"
},
"fullDescription": {
"text": "Reports arguments that are used without names in routine calls. By default, this inspection is disabled. For more information about the difference between named and unnamed parameters, see Binding Parameters by Name (Named Parameters) at docs.microsoft.com . Example (Microsoft SQL Server): 'CREATE FUNCTION foo(n INT, m INT) RETURNS INT AS\nBEGIN\n RETURN n + m;\nEND;\n\nCREATE PROCEDURE test AS\nBEGIN\n foo n = 1, m = 2;\n\n--- The following call misses parameter names and will be highlighted\n foo 1, 2;\nEND;' Parameters '1, 2' in the 'foo 1, 2;' call are highlighted because they miss names.",
"markdown": "Reports arguments that are used without names in routine calls. By default, this inspection is disabled.\n\nFor more information about the difference between named and unnamed parameters, see [Binding Parameters by Name (Named Parameters) at docs.microsoft.com](https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/binding-parameters-by-name-named-parameters).\n\nExample (Microsoft SQL Server):\n\n CREATE FUNCTION foo(n INT, m INT) RETURNS INT AS\n BEGIN\n RETURN n + m;\n END;\n\n CREATE PROCEDURE test AS\n BEGIN\n foo n = 1, m = 2;\n\n --- The following call misses parameter names and will be highlighted\n foo 1, 2;\n END;\n\nParameters `1, 2` in the `foo 1, 2;` call are highlighted because they miss names."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlNamedArguments",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlCaseVsCoalesceInspection",
"shortDescription": {
"text": "Using CASE instead of COALESCE function and vice versa"
},
"fullDescription": {
"text": "Reports situations when CASE and COALESCE calls are interchangeable. This inspection has the following intention actions: Replace with 'COALESCE' call and the opposite one Replace with CASE expression. Example (MySQL): 'SELECT\n -- this CASE may be replaced by COALESCE\n\tCASE\n\t\tWHEN C1 IS NOT NULL THEN C1\n\t\tELSE 0\n\t\tEND\nFROM dual;' In the example, the CASE statement can be replaced with 'SELECT COALESCE(C1, 0)' that produces the same output. If you prefer using CASE expressions, select the Prefer CASE expressions over COALESCE function option on the inspection page.",
"markdown": "Reports situations when CASE and COALESCE calls are interchangeable. This inspection has the following intention actions: **Replace\nwith 'COALESCE' call** and the opposite one **Replace with CASE expression** .\n\nExample (MySQL):\n\n SELECT\n -- this CASE may be replaced by COALESCE\n \tCASE\n \t\tWHEN C1 IS NOT NULL THEN C1\n \t\tELSE 0\n \t\tEND\n FROM dual;\n\nIn the example, the CASE statement can be replaced with `SELECT COALESCE(C1, 0)` that produces the same output.\n\nIf you prefer using CASE expressions, select the **Prefer CASE expressions over COALESCE function** option on\nthe inspection page."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlCaseVsCoalesce",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlRedundantAliasInspection",
"shortDescription": {
"text": "Redundant alias expressions"
},
"fullDescription": {
"text": "Reports alias expressions that duplicate names of columns in tables and might be redundant. Example (PostgreSQL): 'CREATE TABLE foo(a INT, b INT);\n\nSELECT * FROM foo foo(a, b);\nSELECT * FROM foo foo(a);\nSELECT * FROM foo foo(x);\nSELECT * FROM foo foo(x, y);' The first two aliases use the same column names as in the 'foo' table. They are considered redundant because they column names are identical.",
"markdown": "Reports alias expressions that duplicate names of columns in tables and might be redundant.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo(a INT, b INT);\n\n SELECT * FROM foo foo(a, b);\n SELECT * FROM foo foo(a);\n SELECT * FROM foo foo(x);\n SELECT * FROM foo foo(x, y);\n\nThe first two aliases use the same column names as in the `foo` table. They are considered redundant because they\ncolumn names are identical."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlRedundantAlias",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlTransactionStatementInTriggerInspection",
"shortDescription": {
"text": "Use of transaction management statements in triggers"
},
"fullDescription": {
"text": "Reports usages of transaction management statements like COMMIT or ROLLBACK in trigger bodies. With COMMIT or ROLLBACK statements in a trigger body, the trigger will not compile. The fail happens because triggers start during transactions. When the trigger starts the current transaction is still not complete. As COMMIT terminates a transaction, both statements (COMMIT and ROLLBACK) would lead to an exception. Changes that are executed in a trigger should be committed (or rolled back) by the owning transaction that started the trigger. Example (Oracle): 'CREATE TABLE employee_audit\n(\n id INT NOT NULL,\n update_date DATE NOT NULL,\n old_name VARCHAR2(100),\n new_name VARCHAR2(100)\n);\n\nCREATE TABLE employees\n(\n id INT NOT NULL,\n name VARCHAR2(100) NOT NULL\n);\n\nCREATE OR REPLACE TRIGGER trig_commit\n AFTER UPDATE OF name\n ON employees\n FOR EACH ROW\nBEGIN\n INSERT INTO employee_audit VALUES (:old.id, SYSDATE, :old.name, :new.name);\n COMMIT;\nEND;\n\nCREATE OR REPLACE TRIGGER trig_rollback\n AFTER UPDATE OF name\n ON employees\n FOR EACH ROW\nBEGIN\n INSERT INTO employee_audit VALUES (:old.id, SYSDATE, :old.name, :new.name);\n ROLLBACK;\nEND;'",
"markdown": "Reports usages of transaction management statements like COMMIT or ROLLBACK in trigger bodies.\n\nWith COMMIT or ROLLBACK statements in a trigger body, the trigger will not compile.\nThe fail happens because triggers start during transactions. When the trigger starts the current transaction is still not complete. As\nCOMMIT\nterminates a transaction, both statements (COMMIT and ROLLBACK) would lead to an exception.\nChanges that are executed in a trigger should be committed (or rolled back) by the owning transaction that started the trigger.\n\nExample (Oracle):\n\n CREATE TABLE employee_audit\n (\n id INT NOT NULL,\n update_date DATE NOT NULL,\n old_name VARCHAR2(100),\n new_name VARCHAR2(100)\n );\n\n CREATE TABLE employees\n (\n id INT NOT NULL,\n name VARCHAR2(100) NOT NULL\n );\n\n CREATE OR REPLACE TRIGGER trig_commit\n AFTER UPDATE OF name\n ON employees\n FOR EACH ROW\n BEGIN\n INSERT INTO employee_audit VALUES (:old.id, SYSDATE, :old.name, :new.name);\n COMMIT;\n END;\n\n CREATE OR REPLACE TRIGGER trig_rollback\n AFTER UPDATE OF name\n ON employees\n FOR EACH ROW\n BEGIN\n INSERT INTO employee_audit VALUES (:old.id, SYSDATE, :old.name, :new.name);\n ROLLBACK;\n END;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlTransactionStatementInTrigger",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlRedundantCodeInCoalesceInspection",
"shortDescription": {
"text": "Redundant code in COALESCE call"
},
"fullDescription": {
"text": "Reports all the arguments except for the first expression that does not evaluate to NULL in COALESCE functions. Example (MySQL): 'SELECT COALESCE(NULL, NULL, NULL, 42, NULL, 'string') as a;' The first NOT NULL argument is '42', all other arguments will be grayed out.",
"markdown": "Reports all the arguments except for the first expression that does not evaluate to NULL in COALESCE functions.\n\nExample (MySQL):\n\n SELECT COALESCE(NULL, NULL, NULL, 42, NULL, 'string') as a;\n\nThe first NOT NULL argument is `42`, all other arguments will be grayed out."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlRedundantCodeInCoalesce",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlAggregatesInspection",
"shortDescription": {
"text": "Aggregate-related problems"
},
"fullDescription": {
"text": "Reports invalid usages of SQL aggregate functions. The following situations are considered: Columns that are used in HAVING and ORDER BY clauses but are missed in GROUP BY clauses. 'CREATE TABLE foo(id INT PRIMARY KEY, a INT, b INT);\nSELECT a, MAX(b) FROM foo GROUP BY a HAVING b > 0;\nSELECT * FROM foo GROUP BY a ORDER BY b;' This rule does not apply when grouping is made by the primary key. 'SELECT * FROM foo GROUP BY id ORDER BY b;' Aggregate functions in a wrong context. Usually, you can use aggregate functions in the following contexts: a list of expressions in SELECT; in HAVING and ORDER BY sections; and other dialect-specific cases. The following queries will display an error. 'SELECT a FROM foo WHERE MAX(b) > 0;\nSELECT a FROM foo GROUP BY MAX(a);' Nested calls of aggregate functions. 'SELECT MAX(SUM(a)) FROM foo GROUP BY a;' This rule does not apply to analytic functions. The following query is valid and correct. 'SELECT MAX(SUM(a) OVER ()) FROM foo;' Usages of HAVING without aggregate functions. In this case, consider rewriting your code using the WHERE section. 'SELECT a, MAX(b) FROM foo GROUP BY a HAVING a > 0;'",
"markdown": "Reports invalid usages of SQL aggregate functions.\n\nThe following situations are considered:\n\n* Columns that are used in HAVING and ORDER BY clauses but are missed in GROUP BY clauses.\n\n CREATE TABLE foo(id INT PRIMARY KEY, a INT, b INT);\n SELECT a, MAX(b) FROM foo GROUP BY a HAVING b > 0;\n SELECT * FROM foo GROUP BY a ORDER BY b;\n\n This rule does not apply when grouping is made by the primary key.\n\n SELECT * FROM foo GROUP BY id ORDER BY b;\n\n* Aggregate functions in a wrong context. Usually, you can use aggregate functions in the following contexts: a list of expressions in\n SELECT; in HAVING and ORDER BY sections; and other dialect-specific cases. The following queries will display an error.\n\n SELECT a FROM foo WHERE MAX(b) > 0;\n SELECT a FROM foo GROUP BY MAX(a);\n\n* Nested calls of aggregate functions.\n\n SELECT MAX(SUM(a)) FROM foo GROUP BY a;\n\n This rule does not apply to analytic functions. The following query is valid and correct.\n\n SELECT MAX(SUM(a) OVER ()) FROM foo;\n\n* Usages of HAVING without aggregate functions. In this case, consider rewriting your code using the WHERE section.\n\n SELECT a, MAX(b) FROM foo GROUP BY a HAVING a > 0;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlAggregates",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlConstantExpressionInspection",
"shortDescription": {
"text": "Constant expression"
},
"fullDescription": {
"text": "Reports conditions and expressions that are always true, false or null. Example (MySQL): 'CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\nSELECT a FROM t1 WHERE 'Cat' = 'Cat';\nSELECT a FROM t1 WHERE 'Cat' = null;' The ''Cat' = 'Cat'' is always true and will be reported. The ''Cat' = null' is always null and will be reported.",
"markdown": "Reports conditions and expressions that are always true, false or null.\n\nExample (MySQL):\n\n CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\n SELECT a FROM t1 WHERE 'Cat' = 'Cat';\n SELECT a FROM t1 WHERE 'Cat' = null;\n\nThe `'Cat' = 'Cat'` is always true and will be reported.\n\nThe `'Cat' = null` is always null and will be reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlConstantExpression",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlMissingColumnAliasesInspection",
"shortDescription": {
"text": "Missing column aliases"
},
"fullDescription": {
"text": "Reports queries without explicit aliases in output expressions (for example, in the SELECT statement). Example (PostgreSQL): 'CREATE TABLE foo(a INT, b INT);\n\nSELECT 1, a + 1 AS A2, MAX(b) AS M\nFROM foo;'",
"markdown": "Reports queries without explicit aliases in output expressions (for example, in the SELECT statement).\n\nExample (PostgreSQL):\n\n CREATE TABLE foo(a INT, b INT);\n\n SELECT 1, a + 1 AS A2, MAX(b) AS M\n FROM foo;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlMissingColumnAliases",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlAddNotNullColumnInspection",
"shortDescription": {
"text": "Adding not null column without default value"
},
"fullDescription": {
"text": "Reports attempts to create NOT NULL columns without DEFAULT values. Example (Microsoft SQL Server): 'CREATE TABLE foo (a INT, b INT)\n\nALTER TABLE foo ADD c INT NOT NULL;' By default, a column holds NULL values. In the example, we use the NOT NULL constraint that enforces a column not to accept NULL values. If we prohibit to use NULL values, we must set the DEFAULT value that SQL can use when we create a new record. 'ALTER TABLE foo ADD c INT NOT NULL DEFAULT 42;' You can quickly add the DEFAULT value by using the Add DEFAULT value quick-fix.",
"markdown": "Reports attempts to create NOT NULL columns without DEFAULT values.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE foo (a INT, b INT)\n\n ALTER TABLE foo ADD c INT NOT NULL;\n\nBy default, a column holds NULL values. In the example, we use the NOT NULL constraint that enforces a column not to accept NULL values.\nIf we prohibit to use NULL values, we must set the DEFAULT value that SQL can use when we create a new record.\n\n ALTER TABLE foo ADD c INT NOT NULL DEFAULT 42;\n\nYou can quickly add the DEFAULT value by using the **Add DEFAULT value** quick-fix."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlAddNotNullColumn",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "OraMissingBodyInspection",
"shortDescription": {
"text": "Missing body for package/object type specification"
},
"fullDescription": {
"text": "Reports package and object type specifications that are missing body declarations. Package specifications and object types that declare routines as well as package specifications with cursors must have body declarations where those routines and cursors are implemented. Absence of a body leads to a runtime error when routines or cursors are invoked in program code. Example (Oracle): 'CREATE OR REPLACE PACKAGE ppp IS\n FUNCTION foo(a INT) RETURN INT;\nEND;'",
"markdown": "Reports package and object type specifications that are missing body declarations.\n\nPackage specifications and object types that declare routines as well as package specifications with cursors must have body\ndeclarations where those routines and cursors are implemented. Absence of a body leads to a runtime error when routines or cursors are\ninvoked in program code.\n\nExample (Oracle):\n\n CREATE OR REPLACE PACKAGE ppp IS\n FUNCTION foo(a INT) RETURN INT;\n END;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlMissingBody",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Oracle",
"index": 99,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "OraUnmatchedForwardDeclarationInspection",
"shortDescription": {
"text": "Forward declaration without definition"
},
"fullDescription": {
"text": "Reports declarations of procedures and functions that are missing their implementation in code. In Oracle, you can declare a procedure or a function without its body, and write the implementation later. The inspection will report names of such procedures or functions that are left without implementation. Example (Oracle): 'DECLARE PROCEDURE foo(a int, b varchar2);\nBEGIN\n NULL;\nEND;' The 'foo' procedure is declared but is missing implementation. We can add the implementation to get rid of the error. 'DECLARE PROCEDURE foo(a int, b varchar2);\n PROCEDURE foo(a int, b varchar2) IS\nBEGIN\n NULL;\nEND;\nBEGIN\n NULL;\nEND;'",
"markdown": "Reports declarations of procedures and functions that are missing their implementation in code.\n\nIn Oracle, you can declare a procedure or a function without its body, and write the implementation later. The inspection will report names\nof such procedures or functions that are left without implementation.\n\nExample (Oracle):\n\n DECLARE PROCEDURE foo(a int, b varchar2);\n BEGIN\n NULL;\n END;\n\nThe `foo` procedure is declared but is missing implementation. We can add the implementation to get rid of the error.\n\n DECLARE PROCEDURE foo(a int, b varchar2);\n PROCEDURE foo(a int, b varchar2) IS\n BEGIN\n NULL;\n END;\n BEGIN\n NULL;\n END;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "SqlUnmatchedForwardDeclaration",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Oracle",
"index": 99,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MongoJSExtResolveInspection",
"shortDescription": {
"text": "Resolution problems"
},
"fullDescription": {
"text": "Reports unresolved references in MongoDB and JavaScript code.",
"markdown": "Reports unresolved references in MongoDB and JavaScript code."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MongoJSResolve",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "MongoJS",
"index": 101,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlWithoutWhereInspection",
"shortDescription": {
"text": "Delete or update statement without where clauses"
},
"fullDescription": {
"text": "Reports usages of DELETE or UPDATE statements without WHERE clauses. Without WHERE clauses, DELETE drops all the data from the table, and UPDATE overwrites values for all the table rows. Example (MySQL): 'CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\nupdate t1 set a = 'Smith';\ndelete from t1;'",
"markdown": "Reports usages of DELETE or UPDATE statements without WHERE clauses.\n\nWithout WHERE clauses, DELETE drops all the data from the table, and UPDATE overwrites values for all the table rows.\n\nExample (MySQL):\n\n CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\n update t1 set a = 'Smith';\n delete from t1;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlWithoutWhere",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlUnusedCteInspection",
"shortDescription": {
"text": "Unused common table expression"
},
"fullDescription": {
"text": "Reports unused common table expressions (CTE) inside the query. Example (PostgreSQL): 'CREATE TABLE foo(a INT);\n\nWITH a AS (SELECT 1 AS x FROM foo)\nSELECT 1 + 2 FROM foo;' By using WITH, we create a temporary named result set with the name 'a', also known as a common table expression (CTE). But we do not use this CTE later in the code. The unused CTE is greyed out.",
"markdown": "Reports unused common table expressions (CTE) inside the query.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo(a INT);\n\n WITH a AS (SELECT 1 AS x FROM foo)\n SELECT 1 + 2 FROM foo;\n\nBy using WITH, we create a temporary named result set with the name `a`, also known as a common table expression (CTE). But\nwe do not use this CTE later in the code. The unused CTE is greyed out."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlUnusedCte",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MongoJSResolveInspection",
"shortDescription": {
"text": "Resolution problems"
},
"fullDescription": {
"text": "Reports unresolved references in MongoDB and JavaScript code. Example: 'db\nuse foo\n -- a reference to a non-existing collection\ndb.non_existing_collection\ndb['non_existing_collection']\ndb['non_existing_collection'].find().hasNext()' The 'non_existing_collection' collection does not exist in the database and will be reported.",
"markdown": "Reports unresolved references in MongoDB and JavaScript code.\n\nExample:\n\n db\n use foo\n -- a reference to a non-existing collection\n db.non_existing_collection\n db['non_existing_collection']\n db['non_existing_collection'].find().hasNext()\n\nThe `non_existing_collection` collection does not exist in the database and will be reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MongoJSResolve",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "MongoJS",
"index": 101,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MongoJSSideEffectsInspection",
"shortDescription": {
"text": "Statement with side effects"
},
"fullDescription": {
"text": "Reports statements that can cause side effects while the data source is in read-only mode. For more information about enabling read-only mode, see Enable read-only mode for a connection in the IDE documentation. The Disable read-only mode quick-fix turns off the read-only mode for the respective data source. Example: 'db.my_collection.insertOne()'",
"markdown": "Reports statements that can cause side effects while the data source is in read-only mode.\n\nFor more information about enabling read-only mode, see\n[Enable\nread-only mode for a connection in the IDE documentation](https://www.jetbrains.com/help/datagrip/configuring-database-connections.html#enable-read-only-mode-for-a-connection).\n\nThe **Disable read-only mode** quick-fix turns off the read-only mode for the respective data source.\n\nExample:\n\n\n db.my_collection.insertOne()\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MongoJSSideEffects",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "MongoJS",
"index": 101,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MongoJSExtSideEffectsInspection",
"shortDescription": {
"text": "Statement with side effects"
},
"fullDescription": {
"text": "Reports statements that may cause side effects while the data source is in read-only mode. The quick-fix turns off the read-only mode for the respective data source. Example: 'db.my_collection.insertOne()'",
"markdown": "Reports statements that may cause side effects while the data source is in read-only mode.\n\nThe quick-fix turns off the read-only mode for the respective data source.\n\nExample:\n\n\n db.my_collection.insertOne()\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MongoJSSideEffects",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "MongoJS",
"index": 101,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlUnusedSubqueryItemInspection",
"shortDescription": {
"text": "Unused subquery item"
},
"fullDescription": {
"text": "Reports columns, aliases, and other subquery items that are not referenced in the outer query expression. Example (PostgreSQL): 'CREATE TABLE for_subquery(id INT);\nSELECT a, q FROM (SELECT 1 AS a, 10 AS b, 2 + 3 AS q, id\n FROM for_subquery) x;' We reference 'a' and 'q' aliases from a subquery. But the 'b' alias and the 'id' column are not referenced in the outer SELECT statement. Therefore, 'b' and 'id' are grayed out.",
"markdown": "Reports columns, aliases, and other subquery items that are not referenced in the outer query expression.\n\nExample (PostgreSQL):\n\n CREATE TABLE for_subquery(id INT);\n SELECT a, q FROM (SELECT 1 AS a, 10 AS b, 2 + 3 AS q, id\n FROM for_subquery) x;\n\nWe reference `a` and `q` aliases from a subquery. But the `b` alias and the `id` column are\nnot referenced in the outer SELECT statement. Therefore, `b` and `id` are grayed out."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlUnused",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlSideEffectsInspection",
"shortDescription": {
"text": "Statement with side effects"
},
"fullDescription": {
"text": "Reports statements that might lead to modification of a database during a read-only connection. To enable read-only mode for a connection, right-click a data source in the Database tool window (View | Tool Windows | Database) and select Properties. In the Data Sources and Drivers dialog, click the Options tab and select the Read-only checkbox. Example (MySQL): 'CREATE TABLE foo(a INT);\nINSERT INTO foo VALUES (1);' As 'CREATE TABLE' and 'INSERT INTO' statements lead to a database modification, these statements will be highlighted in read-only connection mode.",
"markdown": "Reports statements that might lead to modification of a database during a read-only connection.\n\nTo enable read-only mode for a\nconnection,\nright-click a data source in the **Database** tool window (**View \\| Tool Windows \\| Database** ) and select **Properties** .\nIn the **Data Sources and Drivers** dialog, click the **Options** tab and select the **Read-only** checkbox.\n\nExample (MySQL):\n\n CREATE TABLE foo(a INT);\n INSERT INTO foo VALUES (1);\n\nAs `CREATE TABLE` and `INSERT INTO` statements lead to a database modification, these statements will be highlighted\nin read-only connection mode."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlSideEffects",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlIllegalCursorStateInspection",
"shortDescription": {
"text": "Illegal cursor state"
},
"fullDescription": {
"text": "Reports illegal cursor states inside SQL routines. A routine has CLOSE or FETCH statements but a cursor might be closed. A routine has the OPEN statement but a cursor might be opened. Example (Microsoft SQL Server): 'CREATE TABLE t(col INT);\n\nCREATE PROCEDURE foo() AS\nBEGIN\nDECLARE my_cursor CURSOR FOR SELECT * FROM t;\nDECLARE a INT;\nFETCH my_cursor INTO a;\nCLOSE my_cursor;\nEND;' According to CLOSE (Transact-SQL) at docs.microsoft.com, CLOSE must be issued on an open cursor, and CLOSE is not allowed on cursors that have only been declared or are already closed. So, we need to open the cursor to fix the warning. 'CREATE PROCEDURE foo() AS\nBEGIN\nDECLARE my_cursor CURSOR FOR SELECT * FROM t;\nDECLARE a INT;\nOPEN my_cursor;\nFETCH my_cursor INTO a;\nCLOSE my_cursor;\nEND;'",
"markdown": "Reports illegal cursor states inside SQL routines.\n\n* A routine has CLOSE or FETCH statements but a cursor might be closed.\n* A routine has the OPEN statement but a cursor might be opened.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE t(col INT);\n\n CREATE PROCEDURE foo() AS\n BEGIN\n DECLARE my_cursor CURSOR FOR SELECT * FROM t;\n DECLARE a INT;\n FETCH my_cursor INTO a;\n CLOSE my_cursor;\n END;\n\nAccording to [CLOSE (Transact-SQL) at\ndocs.microsoft.com](https://docs.microsoft.com/en-us/sql/t-sql/language-elements/close-transact-sql), CLOSE must be issued on an open cursor, and CLOSE is not allowed on cursors that have only been declared or are\nalready closed. So, we need to open the cursor to fix the warning.\n\n CREATE PROCEDURE foo() AS\n BEGIN\n DECLARE my_cursor CURSOR FOR SELECT * FROM t;\n DECLARE a INT;\n OPEN my_cursor;\n FETCH my_cursor INTO a;\n CLOSE my_cursor;\n END;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlIllegalCursorState",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlJoinWithoutOnInspection",
"shortDescription": {
"text": "Unsafe 'join' clause in 'delete' statement"
},
"fullDescription": {
"text": "Reports missing conditional checks for statements that might modify the whole database. For example, usages of JOIN clauses inside DELETE statements without ON or WHERE. Without conditional checks on JOIN, DELETE drops contents of the entire table. Example (MySQL): 'CREATE TABLE foo (a INT,b INT,c INT);\nCREATE TABLE bar (a INT,b INT,c INT);\n\nDELETE table1 FROM foo table1 INNER JOIN bar table2;'",
"markdown": "Reports missing conditional checks for statements that might modify the whole database.\n\nFor example, usages of JOIN clauses inside DELETE statements without ON or WHERE. Without conditional checks on JOIN, DELETE drops\ncontents of the entire table.\n\nExample (MySQL):\n\n CREATE TABLE foo (a INT,b INT,c INT);\n CREATE TABLE bar (a INT,b INT,c INT);\n\n DELETE table1 FROM foo table1 INNER JOIN bar table2;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlJoinWithoutOn",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlDropIndexedColumnInspection",
"shortDescription": {
"text": "Index is dependent on column"
},
"fullDescription": {
"text": "Reports cases when you try to drop columns from indexed tables. This inspection is available in Microsoft SQL Server and Sybase ASE. Example (Microsoft SQL Server): 'CREATE TABLE test_index\n(\ncol INT NOT NULL,\ncol2 INT NOT NULL,\ncol3 INT NOT NULL UNIQUE,\ncol4 VARCHAR(200)\n);\n\nCREATE UNIQUE INDEX aaaa ON test_index (col, col2);\n\nALTER TABLE test_index\nDROP COLUMN col;' You cannot delete the 'col' column because it is in the indexed table. To delete the column, you need to delete the 'aaaa' index first (for example, DROP INDEX aaaa).",
"markdown": "Reports cases when you try to drop columns from indexed tables. This inspection is available in Microsoft SQL Server and Sybase ASE.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE test_index\n (\n col INT NOT NULL,\n col2 INT NOT NULL,\n col3 INT NOT NULL UNIQUE,\n col4 VARCHAR(200)\n );\n\n CREATE UNIQUE INDEX aaaa ON test_index (col, col2);\n\n ALTER TABLE test_index\n DROP COLUMN col;\n\nYou cannot delete the `col` column because it is in the indexed table. To delete the column, you need to delete the\n`aaaa` index first (for example, DROP INDEX aaaa)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlDropIndexedColumn",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlCheckUsingColumnsInspection",
"shortDescription": {
"text": "Check using clause columns"
},
"fullDescription": {
"text": "Reports columns in the USING clause that does not exist in both tables. Example (MySQL): 'CREATE TABLE t1 (i INT, j INT);\nCREATE TABLE t2 (k INT, l INT);\nSELECT * FROM t1 JOIN t2 USING (j);' In USING clauses, a column name must be present in both tables, and the SELECT query will automatically join those tables by using the given column name. As we do not have the 'j' column in 't2', we can rewrite the query using ON. The ON clause can join tables where the column names do not match in both tables. 'SELECT * FROM t1 JOIN t2 ON t1.j = t2.l;'",
"markdown": "Reports columns in the USING clause that does not exist in both tables.\n\nExample (MySQL):\n\n CREATE TABLE t1 (i INT, j INT);\n CREATE TABLE t2 (k INT, l INT);\n SELECT * FROM t1 JOIN t2 USING (j);\n\nIn USING clauses, a column name must be present in both tables, and the SELECT query will automatically join\nthose tables by using the given column name. As we do not have the `j` column in `t2`, we can\nrewrite the query using ON. The ON clause can join tables where the column names do not match in both tables.\n\n SELECT * FROM t1 JOIN t2 ON t1.j = t2.l;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlCheckUsingColumns",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlConstantConditionInspection",
"shortDescription": {
"text": "Constant condition"
},
"fullDescription": {
"text": "Reports conditions in WHERE or JOIN clauses that are always TRUE or always FALSE. Example (MySQL): 'CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\nSELECT a FROM t1 WHERE 'Cat' = 'Cat';' The ''Cat' = 'Cat'' is always true and will be reported.",
"markdown": "Reports conditions in WHERE or JOIN clauses that are always TRUE or always FALSE.\n\nExample (MySQL):\n\n CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\n SELECT a FROM t1 WHERE 'Cat' = 'Cat';\n\nThe `'Cat' = 'Cat'` is always true and will be reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlConstantCondition",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlDialectInspection",
"shortDescription": {
"text": "SQL dialect detection"
},
"fullDescription": {
"text": "Reports situations when a dialect is not assigned to an SQL file. For example, when you open a new SQL file without assigning a dialect to it, you see a notification where the best matching dialect is advised. Click the Use <dialect> link to use the advised dialect. Alternatively, click the Change dialect to link to select the other dialect.",
"markdown": "Reports situations when a dialect is not assigned to an SQL file.\n\nFor example, when you open a new SQL file without assigning a dialect\nto it, you see a notification where the best matching dialect is advised. Click the **Use \\<dialect\\>** link to use the advised\ndialect. Alternatively, click the **Change dialect to** link to select the other dialect."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlDialectInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MongoJSExtDeprecationInspection",
"shortDescription": {
"text": "Deprecated element"
},
"fullDescription": {
"text": "Reports usages of deprecated methods in MongoDB and JavaScript code. The quick-fix replaces deprecated methods with recommended alternatives. Example: 'db.my_collection.insert()' After the quick-fix is applied: 'db.my_collection.insertOne()'",
"markdown": "Reports usages of deprecated methods in MongoDB and JavaScript code.\n\nThe quick-fix replaces deprecated methods with recommended alternatives.\n\nExample:\n\n\n db.my_collection.insert()\n\nAfter the quick-fix is applied:\n\n\n db.my_collection.insertOne()\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MongoJSDeprecation",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "MongoJS",
"index": 101,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlDuplicateColumnInspection",
"shortDescription": {
"text": "Duplicating column name in SELECT"
},
"fullDescription": {
"text": "Reports duplicated names of column aliases in SELECT lists. Example (Sybase ASE): 'CREATE TABLE t1 (a TEXT, b INT, c INT);\n\nSELECT a AS x, b AS x FROM t1;' The 'x' alias name is used for 'a' and 'b' columns. These assignments are highlighted as errors because you cannot use identical alias names for columns in Sybase ASE.",
"markdown": "Reports duplicated names of column aliases in SELECT lists.\n\nExample (Sybase ASE):\n\n CREATE TABLE t1 (a TEXT, b INT, c INT);\n\n SELECT a AS x, b AS x FROM t1;\n\nThe `x` alias name is used for `a` and `b` columns. These assignments are highlighted as errors because\nyou cannot use identical alias names for columns in Sybase ASE."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlDuplicateColumn",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MongoJSDeprecationInspection",
"shortDescription": {
"text": "Deprecated element"
},
"fullDescription": {
"text": "Reports usages of deprecated methods in MongoDB and JavaScript code. The quick-fix replaces deprecated methods with recommended alternatives. Example: 'db.my_collection.insert()' After the quick-fix is applied: 'db.my_collection.insertOne()'",
"markdown": "Reports usages of deprecated methods in MongoDB and JavaScript code.\n\nThe quick-fix replaces deprecated methods with recommended alternatives.\n\nExample:\n\n db.my_collection.insert()\n\nAfter the quick-fix is applied:\n\n db.my_collection.insertOne()\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MongoJSDeprecation",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "MongoJS",
"index": 101,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlTypeInspection",
"shortDescription": {
"text": "Types compatibility"
},
"fullDescription": {
"text": "Reports type-related errors.",
"markdown": "Reports type-related errors."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlType",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlUnicodeStringLiteralInspection",
"shortDescription": {
"text": "Unicode usage in SQL"
},
"fullDescription": {
"text": "Reports string literals that use national characters without the 'N' prefix. Without the N prefix, the string is converted to the default code page of the database. This default code page may not recognize certain characters. For more information, see nchar and nvarchar (Transact-SQL) at docs.microsoft.com. Example (Microsoft SQL Server): 'SELECT 'abcde' AS a;\nSELECT N'abcde' AS b;\nSELECT 'абвгд' AS c;\nSELECT N'абвгд' AS d;' The 'SELECT 'абвгд' AS c;' does not have the 'N' prefix, the ''абвгд'' part will be highlighted.",
"markdown": "Reports string literals that use national characters without the `N` prefix.\n\nWithout the N prefix, the string is converted to the default\ncode page of the database. This default code page may not recognize certain characters. For more information, see\n[nchar and nvarchar\n(Transact-SQL)\nat docs.microsoft.com](https://docs.microsoft.com/en-us/sql/t-sql/data-types/nchar-and-nvarchar-transact-sql).\n\nExample (Microsoft SQL Server):\n\n SELECT 'abcde' AS a;\n SELECT N'abcde' AS b;\n SELECT 'абвгд' AS c;\n SELECT N'абвгд' AS d;\n\nThe `SELECT 'абвгд' AS c;` does not have the `N` prefix, the `'абвгд'` part will be highlighted."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlUnicodeStringLiteral",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlUnusedVariableInspection",
"shortDescription": {
"text": "Unused variable"
},
"fullDescription": {
"text": "Reports unused arguments, variables, or parameters. Example (PostgreSQL): 'CREATE FUNCTION foo(PARAMUSED INT, PARAMUNUSED INT) RETURNS INT AS\n$$\nBEGIN\n RETURN PARAMUSED;\nEND\n$$ LANGUAGE plpgsql;' The 'PARAMUNUSED' parameter is not used in the function and might be deleted.",
"markdown": "Reports unused arguments, variables, or parameters.\n\nExample (PostgreSQL):\n\n CREATE FUNCTION foo(PARAMUSED INT, PARAMUNUSED INT) RETURNS INT AS\n $$\n BEGIN\n RETURN PARAMUSED;\n END\n $$ LANGUAGE plpgsql;\n\nThe `PARAMUNUSED` parameter is not used in the function and might be deleted."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlUnused",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PgSelectFromProcedureInspection",
"shortDescription": {
"text": "Postgres: Select from procedure call"
},
"fullDescription": {
"text": "Reports situations when you make SELECT from a function or a DBLINK without an alias with a type (for example, 'AS t1(s VARCHAR)'). This requirement does not apply to scalar functions. Example (PostgreSQL): 'CREATE FUNCTION produce_a_table() RETURNS RECORD AS $$\nSELECT 1;\n$$ LANGUAGE sql;\nSELECT * FROM produce_a_table() AS s (c1 INT);\nSELECT * FROM produce_a_table() AS s (c1);\nSELECT * FROM DBLINK('dbname=mydb', 'SELECT proname, prosrc FROM pg_proc') AS t1;' The 'AS s (c1 INT)' has a typed alias, while 'AS s (c1)' and 'AS t1' do not. In this case, the second call of 'produce_a_table()' and 'DBLINK()' will be highlighted.",
"markdown": "Reports situations when you make SELECT from a function or a DBLINK without an alias with a type (for example, `AS t1(s VARCHAR)`).\n\nThis requirement does not apply to scalar functions.\n\nExample (PostgreSQL):\n\n CREATE FUNCTION produce_a_table() RETURNS RECORD AS $$\n SELECT 1;\n $$ LANGUAGE sql;\n SELECT * FROM produce_a_table() AS s (c1 INT);\n SELECT * FROM produce_a_table() AS s (c1);\n SELECT * FROM DBLINK('dbname=mydb', 'SELECT proname, prosrc FROM pg_proc') AS t1;\n\nThe `AS s (c1 INT)` has a typed alias, while `AS s (c1)` and `AS t1` do not.\nIn this case, the second call of `produce_a_table()` and `DBLINK()` will be highlighted."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PgSelectFromProcedure",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PostgreSQL",
"index": 113,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlInsertIntoGeneratedColumnInspection",
"shortDescription": {
"text": "Insertion into generated columns"
},
"fullDescription": {
"text": "Reports INSERT statements that assign values to generated columns. Generated columns can be read, but their values can not be directly written. Example (PostgreSQL): 'CREATE TABLE foo\n(\n col1 INT,\n col2 INT GENERATED ALWAYS AS (col1 + 1) STORED\n);\nINSERT INTO foo(col1, col2) VALUES (1, 2);'\n You cannot insert '2' into the 'col2' column because this column is generated. For this script to work, you can change '2' to DEFAULT. 'INSERT INTO foo(col1, col2) VALUES (1, DEFAULT);'",
"markdown": "Reports INSERT statements that assign values to generated columns. Generated columns can be read, but their values can not be directly written.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo\n (\n col1 INT,\n col2 INT GENERATED ALWAYS AS (col1 + 1) STORED\n );\n INSERT INTO foo(col1, col2) VALUES (1, 2);\n\nYou cannot insert `2` into the `col2` column because this column is generated.\nFor this script to work, you can change `2` to DEFAULT.\n`INSERT INTO foo(col1, col2) VALUES (1, DEFAULT);`"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlInsertIntoGeneratedColumn",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MsBuiltinInspection",
"shortDescription": {
"text": "Builtin functions"
},
"fullDescription": {
"text": "Reports truncations of string arguments in ISNULL functions. The ISNULL syntax is 'ISNULL(check_expression, replacement_value)'. According to ISNULL at docs.microsoft.com, 'replacement_value' will be truncated if 'replacement_value' is longer than 'check_expression'. Example (Microsoft SQL Server): 'DECLARE @name1 VARCHAR(2) = NULL;\nDECLARE @name2 VARCHAR(10) = 'Example';\nDECLARE @name3 VARCHAR(2) = 'Hi';\n\n -- `@name2` is VARCHAR(10) and will be truncated\nSELECT ISNULL(@name1, @name2);\n\n -- `@name3` is VARCHAR(2) as `@name1` and will not be truncated\nSELECT ISNULL(@name1, @name3);'",
"markdown": "Reports truncations of string arguments in ISNULL functions.\n\nThe ISNULL syntax is `ISNULL(check_expression, replacement_value)`.\n\nAccording to [ISNULL at\ndocs.microsoft.com](https://docs.microsoft.com/en-us/sql/t-sql/functions/isnull-transact-sql), `replacement_value` will be truncated if `replacement_value` is longer than\n`check_expression`.\n\nExample (Microsoft SQL Server):\n\n DECLARE @name1 VARCHAR(2) = NULL;\n DECLARE @name2 VARCHAR(10) = 'Example';\n DECLARE @name3 VARCHAR(2) = 'Hi';\n\n -- `@name2` is VARCHAR(10) and will be truncated\n SELECT ISNULL(@name1, @name2);\n\n -- `@name3` is VARCHAR(2) as `@name1` and will not be truncated\n SELECT ISNULL(@name1, @name3);\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MssqlBuiltin",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL server",
"index": 117,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlMultipleLimitClausesInspection",
"shortDescription": {
"text": "Multiple row limiting/offset clauses in queries"
},
"fullDescription": {
"text": "Reports usages of multiple row limiting clauses in a single query. Example (Microsoft SQL Server): 'create table foo(a int);\nselect top 1 * from foo order by a offset 10 rows fetch next 20 rows only;' The SELECT TOP clause is used to specify that only 1 record must be returned. The FETCH clause specifies the number of rows to return after the OFFSET clause has been processed. But as we already have the SELECT TOP limiting clause, the FETCH clause might be redundant.",
"markdown": "Reports usages of multiple row limiting clauses in a single query.\n\nExample (Microsoft SQL Server):\n\n create table foo(a int);\n select top 1 * from foo order by a offset 10 rows fetch next 20 rows only;\n\nThe SELECT TOP clause is used to specify that only 1 record must be\nreturned. The FETCH clause specifies the number of rows to return after the OFFSET\nclause has been processed. But as we already have the SELECT TOP limiting clause, the FETCH clause might be redundant."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlMultipleLimitClauses",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlIdentifierInspection",
"shortDescription": {
"text": "Identifier should be quoted"
},
"fullDescription": {
"text": "Reports situations when you use SQL reserved keywords as identifier names in your query. Example (Microsoft SQL Server): 'CREATE TABLE select (identity INT IDENTITY NOT NULL, order INT NOT NULL);' We use 'select', 'identity', and 'order' as table and column names. But they are also reserved keywords in Microsoft SQL Server. Therefore, in order to use them as object names in the query, you must quote these identifiers. To quote them, you can use the Quote identifier quick-fix. After the quick-fix is applied: 'CREATE TABLE [select] ([identity] INT IDENTITY NOT NULL, [order] INT NOT NULL);'",
"markdown": "Reports situations when you use SQL reserved keywords as identifier names in your query.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE select (identity INT IDENTITY NOT NULL, order INT NOT NULL);\n\nWe use `select`, `identity`, and `order` as table and column names.\nBut they are also reserved keywords in Microsoft SQL Server.\nTherefore, in order to use them as object names in the query, you must quote these identifiers. To quote them, you can use the\n**Quote identifier** quick-fix.\n\nAfter the quick-fix is applied:\n\n CREATE TABLE [select] ([identity] INT IDENTITY NOT NULL, [order] INT NOT NULL);\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlIdentifier",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlStorageInspection",
"shortDescription": {
"text": "SQL source modification detection"
},
"fullDescription": {
"text": "Reports situations when source code of a database object has been changed. The inspection is triggered when you perform database or object introspection. The introspection is run when you open source code of an object, run statements, and perform code refactoring. Also, you can run introspection by right-clicking an object and selecting Refresh. The inspection covers the following situations: Object source code was changed in the database but code in the editor was not updated. Works in PostgreSQL, Microsoft SQL Server, Oracle, and Sybase ASE. You changed the object source code, introspected the database, but source code has been already changed by someone else. The database introspector was updated in the IDE and you need to download new object properties that were missing in the previous introspector version.",
"markdown": "Reports situations when source code of a database object has been changed.\n\nThe inspection is triggered when you perform database or object introspection. The introspection is run when you open source code of an\nobject, run statements, and perform code refactoring.\nAlso, you can run introspection by right-clicking an object and selecting **Refresh**.\n\nThe inspection covers the following situations:\n\n* Object source code was changed in the database but code in the editor was not updated. Works in PostgreSQL, Microsoft SQL Server, Oracle, and Sybase ASE.\n* You changed the object source code, introspected the database, but source code has been already changed by someone else.\n* The database introspector was updated in the IDE and you need to download new object properties that were missing in the previous introspector version."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlStorageInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MsOrderByInspection",
"shortDescription": {
"text": "ORDER BY in queries"
},
"fullDescription": {
"text": "Reports usages when the 'ORDER BY' clause is used without 'TOP', 'OFFSET', or 'FOR XML' in views, inline functions, derived tables, subqueries, and common table expressions. For more information about usages of 'ORDER BY', see SELECT - ORDER BY Clause (Transact-SQL) at docs.microsoft.com. Example (Microsoft SQL server): 'CREATE TABLE foo (a INT NOT NULL, b INT NOT NULL);\n\nSELECT *\nFROM (SELECT a, b\nFROM foo A\nWHERE a < 89\nORDER BY b) ALIAS;' In a subquery, ORDER BY will be highlighted as an error. You can add TOP, OFFSET, or FOR XML to a subquery. Alternatively, use the Delete element quick-fix to delete the ORDER BY section. After the quick-fix is applied: 'SELECT *\nFROM (SELECT a, b\nFROM foo A\nWHERE a < 89) ALIAS;'",
"markdown": "Reports usages when the `ORDER BY` clause is used without `TOP`, `OFFSET`, or `FOR XML` in views, inline functions, derived tables, subqueries, and common table expressions.\n\nFor more information about usages of `ORDER BY`, see [SELECT - ORDER BY Clause (Transact-SQL) at\ndocs.microsoft.com](https://docs.microsoft.com/en-us/sql/t-sql/queries/select-order-by-clause-transact-sql).\n\nExample (Microsoft SQL server):\n\n CREATE TABLE foo (a INT NOT NULL, b INT NOT NULL);\n\n SELECT *\n FROM (SELECT a, b\n FROM foo A\n WHERE a < 89\n ORDER BY b) ALIAS;\n\nIn a subquery, ORDER BY will be highlighted as an error. You can add TOP, OFFSET, or FOR XML to a subquery.\nAlternatively, use the **Delete element** quick-fix to delete the ORDER BY section.\n\nAfter the quick-fix is applied:\n\n SELECT *\n FROM (SELECT a, b\n FROM foo A\n WHERE a < 89) ALIAS;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "MsOrderBy",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "SQL server",
"index": 117,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlSignatureInspection",
"shortDescription": {
"text": "Function signature"
},
"fullDescription": {
"text": "Reports signature issues for built-in functions. The inspection will report a wrong number of arguments, invalid keywords, wrong data types, and other issues. Example (MySQL): 'CREATE TABLE foo (a INT, b INT, c INT)\n\nSELECT IFNULL() FROM foo; -- error\nSELECT IFNULL(a) FROM foo; -- error\nSELECT IFNULL(a, b) FROM foo; -- OK\nSELECT IFNULL(a, b, c) FROM foo; -- error' In MySQL, the 'IFNULL()' function accepts strictly two arguments. So, only the 'SELECT IFNULL(a, b) FROM foo;' query is correct.",
"markdown": "Reports signature issues for built-in functions.\n\nThe inspection will report a wrong number of arguments, invalid keywords, wrong data types, and other issues.\n\nExample (MySQL):\n\n CREATE TABLE foo (a INT, b INT, c INT)\n\n SELECT IFNULL() FROM foo; -- error\n SELECT IFNULL(a) FROM foo; -- error\n SELECT IFNULL(a, b) FROM foo; -- OK\n SELECT IFNULL(a, b, c) FROM foo; -- error\n\nIn MySQL, the `IFNULL()` function accepts strictly two arguments. So, only the `SELECT IFNULL(a, b) FROM foo;`\nquery is correct."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlSignature",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlRedundantOrderingDirectionInspection",
"shortDescription": {
"text": "Redundant ordering direction"
},
"fullDescription": {
"text": "Reports redundant ordering directions like ASC and DESC in ORDER BY clauses. Example (MySQL): 'CREATE TABLE foo(a INT, b INT, c INT);\nSELECT * FROM foo ORDER BY a ASC, b DESC, c ASC;' The ORDER BY keyword sorts the records in the ascending order by default. So, the 'ASC' keyword for 'a' and 'c' columns is redundant.",
"markdown": "Reports redundant ordering directions like ASC and DESC in ORDER BY clauses.\n\nExample (MySQL):\n\n CREATE TABLE foo(a INT, b INT, c INT);\n SELECT * FROM foo ORDER BY a ASC, b DESC, c ASC;\n\nThe ORDER BY keyword sorts the records in the ascending order by default. So, the `ASC` keyword for `a` and\n`c` columns is redundant."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlRedundantOrderingDirection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlDeprecateTypeInspection",
"shortDescription": {
"text": "Deprecated type"
},
"fullDescription": {
"text": "Reports usages of types that are deprecated and might disappear in future versions of DBMS. Reported types: LONG in Oracle (see Deprecated and Desupported Features at docs.oracle.com). TEXT, NTEXT, and IMAGE in Microsoft SQL Server (see Deprecated Database Engine Features in SQL Server 2016 at docs.microsoft.com). Example (Oracle): 'CREATE TABLE ot.foo(\na NUMBER GENERATED BY DEFAULT AS IDENTITY,\nb LONG NOT NULL\n);'",
"markdown": "Reports usages of types that are deprecated and might disappear in future versions of DBMS.\n\nReported types:\n\n* LONG in Oracle (see [Deprecated\n and Desupported Features at docs.oracle.com](https://docs.oracle.com/cd/A91202_01/901_doc/server.901/a90120/ch4_dep.htm#6690)).\n* TEXT, NTEXT, and IMAGE in Microsoft SQL Server (see [Deprecated Database Engine Features in SQL Server 2016 at docs.microsoft.com](https://docs.microsoft.com/en-us/sql/database-engine/deprecated-database-engine-features-in-sql-server-2016?view=sql-server-ver15)).\n\nExample (Oracle):\n\n CREATE TABLE ot.foo(\n a NUMBER GENERATED BY DEFAULT AS IDENTITY,\n b LONG NOT NULL\n );\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlDeprecateType",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "OraOverloadInspection",
"shortDescription": {
"text": "Overloading errors"
},
"fullDescription": {
"text": "Reports invalid cases of subprogram overloading in Oracle. Example (Oracle): 'DECLARE\n SUBTYPE fff IS BINARY_INTEGER;\n SUBTYPE ggg IS NATURAL;\n PROCEDURE foo (a IN ggg) IS BEGIN NULL; END;\n PROCEDURE foo (a IN fff) IS BEGIN NULL; END;\nBEGIN\n NULL;\nEND;' You cannot overload subprograms which parameters differ only in subtypes. For example, you cannot overload procedures where one accepts a BINARY INTEGER parameter and the other accepts a NATURAL parameter. For more information about restrictions on procedure overloading, see Restrictions on Overloading at docs.oracle.com.",
"markdown": "Reports invalid cases of subprogram overloading in Oracle.\n\nExample (Oracle):\n\n DECLARE\n SUBTYPE fff IS BINARY_INTEGER;\n SUBTYPE ggg IS NATURAL;\n PROCEDURE foo (a IN ggg) IS BEGIN NULL; END;\n PROCEDURE foo (a IN fff) IS BEGIN NULL; END;\n BEGIN\n NULL;\n END;\n\nYou cannot overload subprograms which parameters differ only in subtypes. For example, you cannot overload procedures where one accepts a\nBINARY INTEGER parameter and the other accepts a NATURAL parameter. For more information about restrictions on procedure overloading,\nsee [Restrictions on Overloading at docs.oracle.com](https://docs.oracle.com/cd/B19306_01/appdev.102/b14261/subprograms.htm)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlOverload",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Oracle",
"index": 99,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlGotoInspection",
"shortDescription": {
"text": "Usages of GOTO statements"
},
"fullDescription": {
"text": "Reports usages of backward GOTO statements and GOTO statements used to exit a loop. The extensive use of GOTO statements is generally not recommended. For details, see GOTO statement in SQL procedures at ibm.com. Instead of jumping back to a previous statement using GOTO, consider using a loop. Instead of exiting the WHILE loop with GOTO, consider using other control-of-flow statements (for example, RETURN or BREAK). Example (Oracle): 'CREATE PROCEDURE test(n INT) AS\nDECLARE\n x INT;\nBEGIN\n x := 0;\n GOTO a;\n <<a>> x := 1;\n IF (n = 0) THEN\n GOTO a;\n END IF;\n WHILE TRUE\n LOOP\n GOTO b;\n END LOOP;\n <<b>> x := 3;\nEND;'",
"markdown": "Reports usages of backward GOTO statements and GOTO statements used to exit a loop.\n\nThe extensive use of GOTO statements is generally\nnot recommended. For details, see [GOTO statement in\nSQL\nprocedures at ibm.com](https://www.ibm.com/docs/no/db2/11.5?topic=procedures-goto-statement-in-sql).\n\nInstead of jumping back to a previous statement using GOTO, consider using a loop.\n\nInstead of exiting the WHILE loop with GOTO, consider using other control-of-flow statements (for example, RETURN or BREAK).\n\nExample (Oracle):\n\n CREATE PROCEDURE test(n INT) AS\n DECLARE\n x INT;\n BEGIN\n x := 0;\n GOTO a;\n <<a>> x := 1;\n IF (n = 0) THEN\n GOTO a;\n END IF;\n WHILE TRUE\n LOOP\n GOTO b;\n END LOOP;\n <<b>> x := 3;\n END;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlGoto",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlAmbiguousColumnInspection",
"shortDescription": {
"text": "Ambiguous reference"
},
"fullDescription": {
"text": "Reports columns that have identical names but belong to different tables. Example (MySQL): 'CREATE TABLE foo(id INT PRIMARY KEY);\nCREATE TABLE bar(id INT PRIMARY KEY);\n\nSELECT foo.id, bar.id FROM foo, bar WHERE id > 0;' The 'id' column appears in 'foo' and 'bar' tables. You need to qualify the column name to make the query correct. 'SELECT foo.id, bar.id FROM foo, bar WHERE foo.id > 0;'",
"markdown": "Reports columns that have identical names but belong to different tables.\n\nExample (MySQL):\n\n CREATE TABLE foo(id INT PRIMARY KEY);\n CREATE TABLE bar(id INT PRIMARY KEY);\n\n SELECT foo.id, bar.id FROM foo, bar WHERE id > 0;\n\nThe `id` column appears in `foo` and `bar` tables. You need to qualify the column name to\nmake the query correct.\n\n SELECT foo.id, bar.id FROM foo, bar WHERE foo.id > 0;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlAmbiguousColumn",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SqlNullComparisonInspection",
"shortDescription": {
"text": "Null comparison"
},
"fullDescription": {
"text": "Reports comparisons with NULL that can be replaced with IS NULL or IS NOT NULL operators. Example (Microsoft SQL Server): 'CREATE TABLE foo ( id int );\n\nSELECT * FROM foo WHERE NULL = NULL;\nSELECT * FROM foo WHERE NULL != NULL;' The 'NULL = NULL' can be replaced with 'IS NULL', the 'NULL != NULL' comparison with 'IS NOT NULL'. To do this replacement, you can use Use IS NULL operator or Use IS NOT NULL operator quick-fixes. 'SELECT * FROM foo WHERE NULL IS NULL;\nSELECT * FROM foo WHERE NULL IS NOT NULL;'",
"markdown": "Reports comparisons with NULL that can be replaced with IS NULL or IS NOT NULL operators.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE foo ( id int );\n\n SELECT * FROM foo WHERE NULL = NULL;\n SELECT * FROM foo WHERE NULL != NULL;\n\nThe `NULL = NULL` can be replaced with `IS NULL`, the `NULL != NULL` comparison\nwith `IS NOT NULL`. To do this replacement, you can use **Use IS NULL operator** or **Use IS NOT NULL operator**\nquick-fixes.\n\n SELECT * FROM foo WHERE NULL IS NULL;\n SELECT * FROM foo WHERE NULL IS NOT NULL;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SqlNullComparison",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "SQL",
"index": 41,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "fr.adrienbrault.idea.symfony2plugin",
"version": "2022.1.259",
"rules": [
{
"id": "TwigExtensionDeprecatedInspection",
"shortDescription": {
"text": "Deprecated Twig Extension"
},
"fullDescription": {
"text": "Detect Twig token tags which are marked as deprecated via PhpClass Deprecation inspection for Twig token tags",
"markdown": "Detect Twig token tags which are marked as deprecated via PhpClass\n\nDeprecation inspection for Twig token tags"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigExtensionDeprecatedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Twig",
"index": 14,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RequestStackInAction",
"shortDescription": {
"text": "Symfony: Report deprecated class injection"
},
"fullDescription": {
"text": "To access the Request in your controller, add it as an argument and type-hint it with the \\Symfony\\Component\\HttpFoundation\\Request class. See https://symfony.com/doc/current/controller.html#the-request-object-as-a-controller-argument for more information.",
"markdown": "To access the Request in your controller, add it as an argument and type-hint it with the \\\\Symfony\\\\Component\\\\HttpFoundation\\\\Request class.\n\nSee https://symfony.com/doc/current/controller.html#the-request-object-as-a-controller-argument for more information."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RequestStackInAction",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstructorNoToken",
"shortDescription": {
"text": "Symfony: constructor no Token access"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConstructorNoToken",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ProjectDirParameter",
"shortDescription": {
"text": "Symfony: 'kernel.project_dir' can be used"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ProjectDirParameter",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigAssetMissingInspection",
"shortDescription": {
"text": "Twig: Missing Asset"
},
"fullDescription": {
"text": "Asset not found. See Symfony documentation for more information",
"markdown": "Asset not found. See [Symfony documentation](http://symfony.com/doc/current/assetic/asset_management.html?phpstorm) for more information"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigAssetMissingInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Asset",
"index": 53,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigRouteInspection",
"shortDescription": {
"text": "Twig: Missing Route"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigRouteInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Route",
"index": 59,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AutowireWrongClass",
"shortDescription": {
"text": "Symfony: autowire wrong class"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AutowireWrongClass",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstructorTwigExtensionHeavyConstructor",
"shortDescription": {
"text": "Symfony: Avoid heavy construction in Twig extension"
},
"fullDescription": {
"text": "Avoid heavy Twig extensions should be avoided for initialize purpose: If extensions don't define dependencies (i.e. if you don't inject services in them) performance is not affected. However, if extensions define lots of complex dependencies (e.g. those making database connections), the performance loss can be significant.",
"markdown": "Avoid heavy Twig extensions should be avoided for initialize purpose: [](https://symfony.com/doc/current/templating/twig_extension.html#creating-lazy-loaded-twig-extensions) If extensions don't define dependencies (i.e. if you don't inject services in them) performance is not affected. However, if extensions define lots of complex dependencies (e.g. those making database connections), the performance loss can be significant."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConstructorTwigExtensionHeavyConstructor",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ServiceNamedArgumentExistsInspection",
"shortDescription": {
"text": "Symfony: Argument does not exists"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ServiceNamedArgumentExistsInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UseControllerShortcuts",
"shortDescription": {
"text": "Symfony: A controller shortcut method is available"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "UseControllerShortcuts",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Symfony2YamlDuplicateServiceKeyInspection",
"shortDescription": {
"text": "Duplicate Key"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Symfony2YamlDuplicateServiceKeyInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ContainerConstant",
"shortDescription": {
"text": "Constant not found"
},
"fullDescription": {
"text": "Constant not found",
"markdown": "Constant not found"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ContainerConstant",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTranslationKeyInspection",
"shortDescription": {
"text": "PHP: Missing translation key"
},
"fullDescription": {
"text": "Show missing translation related strings of PHP Files",
"markdown": "Show missing translation related strings of PHP Files"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpTranslationKeyInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Translation",
"index": 80,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RouteControllerDeprecatedInspection",
"shortDescription": {
"text": "Deprecated Action"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RouteControllerDeprecatedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Route",
"index": 59,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigTranslationDomain",
"shortDescription": {
"text": "Twig: Missing translation domain"
},
"fullDescription": {
"text": "Translation domain was found. See Symfony documentation",
"markdown": "Translation domain was found. [See Symfony documentation](https://symfony.com/doc/current/components/translation/usage.html)"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigTranslationDomain",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Translation",
"index": 80,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigVariablePathInspection",
"shortDescription": {
"text": "Field or method not found"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigVariablePathInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Twig",
"index": 14,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Symfony2YamlDuplicateParameterKeyInspection",
"shortDescription": {
"text": "Duplicate Key"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Symfony2YamlDuplicateParameterKeyInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TaggedExtendsInterfaceClass",
"shortDescription": {
"text": "Missing Tag extends/interface statement"
},
"fullDescription": {
"text": "Tagged service is missing extends or interface statement See more on Symfony2 doc: The Dependency Injection Tags",
"markdown": "Tagged service is missing extends or interface statement See more on Symfony2 doc: [The Dependency Injection Tags](http://symfony.com/doc/current/reference/dic_tags.html)"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TaggedExtendsInterfaceClass",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FormViewTemplate",
"shortDescription": {
"text": "Symfony: Create a form view for passing to template"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FormViewTemplate",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YamlControllerMethod",
"shortDescription": {
"text": "Missing Controller Action"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YamlControllerMethod",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Route",
"index": 59,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TemplateExistsAnnotationPhpAttributeLocalInspection",
"shortDescription": {
"text": "Twig: Missing Template"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TemplateExistsAnnotationPhpAttributeLocalInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Asset",
"index": 53,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Symfony2XmlDuplicateServiceKeyInspection",
"shortDescription": {
"text": "Duplicate Key"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Symfony2XmlDuplicateServiceKeyInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ControllerActionMissingExit",
"shortDescription": {
"text": "Symfony: Probably missing 'throw' for exception"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ControllerActionMissingExit",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTranslationDomainInspection",
"shortDescription": {
"text": "PHP: Missing translation domain"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpTranslationDomainInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Translation",
"index": 80,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstructorNoUser",
"shortDescription": {
"text": "Symfony: constructor no User access"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConstructorNoUser",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EventMethodCall",
"shortDescription": {
"text": "Create Method"
},
"fullDescription": {
"text": "Method not found in class",
"markdown": "Method not found in class"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EventMethodCall",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FormTypeBuilderInstance",
"shortDescription": {
"text": "Symfony: Class does not implement 'Symfony\\Component\\Form\\FormTypeInterface'"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FormTypeBuilderInstance",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DuplicateLocalRouteInspection",
"shortDescription": {
"text": "Duplicate Route"
},
"fullDescription": {
"text": "Duplicate routes are defined in same scope where only one overwrites the other",
"markdown": "Duplicate routes are defined in same scope where only one overwrites the other"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DuplicateLocalRouteInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Route",
"index": 59,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstructorNoSession",
"shortDescription": {
"text": "Symfony: constructor no Session access"
},
"fullDescription": {
"text": "Write your description here. Start the description with a verb in 3rd person singular, like reports, detects, highlights. In the first sentence, briefly explain what exactly the inspection helps you detect. Make sure the sentence is not very long and complicated. The first sentence must be in a dedicated paragraph separated from the rest of the text. This will make the description easier to read. Make sure the description doesnt just repeat the inspection title. See https://jetbrains.design/intellij/text/inspections/#descriptions for more information. Text after this comment will only be shown in the settings of the inspection.",
"markdown": "Write your description here. Start the description with a verb in 3rd person singular, like reports, detects, highlights. In the first sentence, briefly explain what exactly the inspection helps you detect. Make sure the sentence is not very long and complicated. The first sentence must be in a dedicated paragraph separated from the rest of the text. This will make the description easier to read. Make sure the description doesn't just repeat the inspection title. See https://jetbrains.design/intellij/text/inspections/#descriptions for more information.\n\nText after this comment will only be shown in the settings of the inspection."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConstructorNoSession",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpTemplateMissingInspection",
"shortDescription": {
"text": "Twig: Template Missing"
},
"fullDescription": {
"text": "Twig template is not found in configured template paths",
"markdown": "Twig template is not found in configured template paths"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpTemplateMissingInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Twig",
"index": 14,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlServiceInstanceInspection",
"shortDescription": {
"text": "XML: Wrong Service Instance"
},
"fullDescription": {
"text": "Provided instance of service id does not match argument",
"markdown": "Provided instance of service id does not match argument"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "XmlServiceInstanceInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstructorDeprecatedInjection",
"shortDescription": {
"text": "Symfony: Report deprecated class injection"
},
"fullDescription": {
"text": "Report deprecated class injection",
"markdown": "Report deprecated class injection"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConstructorDeprecatedInjection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Symfony2XmlDuplicateParameterKeyInspection",
"shortDescription": {
"text": "Duplicate Key"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Symfony2XmlDuplicateParameterKeyInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpRouteMissingInspection",
"shortDescription": {
"text": "Route Missing"
},
"fullDescription": {
"text": "No route definition found. See Symfony documention for more information",
"markdown": "No route definition found. See [Symfony documention](https://symfony.com/doc/current/routing.html?phpstorm) for more information"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpRouteMissingInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Route",
"index": 59,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigWithExtendsWithRootHtml",
"shortDescription": {
"text": "Symfony: A template that extends another one cannot include content outside Twig blocks"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigWithExtendsWithRootHtml",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigTranslationKeyInspection",
"shortDescription": {
"text": "Twig: Missing translation key"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigTranslationKeyInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Translation",
"index": 80,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlServiceArgumentInspection",
"shortDescription": {
"text": "Symfony: XML Arguments"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "XmlServiceArgumentInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MissingService",
"shortDescription": {
"text": "Missing Service"
},
"fullDescription": {
"text": "No Symfony service with given id was found. See Symfony documentation for more help",
"markdown": "No Symfony service with given id was found. See [Symfony documentation](https://symfony.com/doc/current/service_container.html?phpstorm) for more help"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MissingService",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigForConditionDeprecated",
"shortDescription": {
"text": "Symfony: Twig conditional 'for' syntax is deprecated as of Twig 2.10"
},
"fullDescription": {
"text": "Twig conditional 'for' syntax is deprecated as of Twig 2.10 As of Twig 2.10, use the filter instead, or an if condition inside the for body (if your condition depends on a variable updated inside the loop and you are not using the loop variable).",
"markdown": "Twig conditional 'for' syntax is deprecated as of Twig 2.10 As of Twig 2.10, use the filter instead, or an if condition inside the for body (if your condition depends on a variable updated inside the loop and you are not using the loop variable)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigForConditionDeprecated",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigTemplateMissingInspection",
"shortDescription": {
"text": "Twig: Missing Template"
},
"fullDescription": {
"text": "Twig template is not found in configured template paths",
"markdown": "Twig template is not found in configured template paths"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigTemplateMissingInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Template",
"index": 110,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YamlServiceArgumentInspection",
"shortDescription": {
"text": "Symfony: Yaml Arguments"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YamlServiceArgumentInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YamlXmlServiceInstanceInspection",
"shortDescription": {
"text": "Yaml: Wrong Service Instance"
},
"fullDescription": {
"text": "Provided instance of service id does not match argument",
"markdown": "Provided instance of service id does not match argument"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YamlXmlServiceInstanceInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigAssetsTagMissingInspection",
"shortDescription": {
"text": "Twig: Missing Asset"
},
"fullDescription": {
"text": "Asset not found. See Symfony documentation for more information",
"markdown": "Asset not found. See [Symfony documentation](http://symfony.com/doc/current/templating.html?phpstorm#linking-to-assets) for more information"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigAssetsTagMissingInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Asset",
"index": 53,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstructorNoRequestStack",
"shortDescription": {
"text": "Symfony: constructor no RequestStack"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConstructorNoRequestStack",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YamlParameterInspection",
"shortDescription": {
"text": "Symfony: Missing Parameter"
},
"fullDescription": {
"text": "No parameter definition not found. See Symfony documentation for how to add one",
"markdown": "No parameter definition not found. [See Symfony documentation](https://symfony.com/doc/current/service_container/parameters.html?phpstorm) for how to add one"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YamlParameterInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YamlUnquotedColon",
"shortDescription": {
"text": "Colon in the unquoted mapping"
},
"fullDescription": {
"text": "A colon cannot be used in an unquoted mapping value.",
"markdown": "A colon cannot be used in an unquoted mapping value."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YamlUnquotedColon",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Yaml",
"index": 111,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigVariableDeprecatedInspection",
"shortDescription": {
"text": "Deprecated Twig variable"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigVariableDeprecatedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Twig",
"index": 14,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AutowireControllerAsService",
"shortDescription": {
"text": "Symfony: controller should not be autowire"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AutowireControllerAsService",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DoctrineQueryBuilderAdder",
"shortDescription": {
"text": "Symfony: Previous QueryBuilder method call should be removed, because is overwritten here"
},
"fullDescription": {
"text": "",
"markdown": ""
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DoctrineQueryBuilderAdder",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TwigPathReplacement",
"shortDescription": {
"text": "Symfony: Twig route path exits"
},
"fullDescription": {
"text": "A Symfony routes exists for linking page and path should be used",
"markdown": "A Symfony routes exists for linking page and [path](https://symfony.com/doc/current/templates.html#templates-link-to-pages) should be used"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TwigPathReplacement",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FormTypeAsClassConstant",
"shortDescription": {
"text": "Fully-qualified class name (FQCN) in form types"
},
"fullDescription": {
"text": "Type names were deprecated use fully-qualified class name (FQCN) instead",
"markdown": "Type names were deprecated use fully-qualified class name (FQCN) instead"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FormTypeAsClassConstant",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Form",
"index": 114,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ContainerSettingDeprecatedInspection",
"shortDescription": {
"text": "Symfony: Container settings deprecated"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ContainerSettingDeprecatedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpAssetMissingInspection",
"shortDescription": {
"text": "Symfony: Missing Asset"
},
"fullDescription": {
"text": "Asset not found. See Symfony documentation for more information",
"markdown": "Asset not found. See [Symfony documentation](http://symfony.com/doc/current/assetic/asset_management.html?phpstorm) for more information"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PhpAssetMissingInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Asset",
"index": 53,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YamlClassInspection",
"shortDescription": {
"text": "Yaml: Missing Class"
},
"fullDescription": {
"text": "PHP class for this service definition was not found",
"markdown": "PHP class for this service definition was not found"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YamlClassInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YamlQuotedEscapedInspection",
"shortDescription": {
"text": "Quoted issues"
},
"fullDescription": {
"text": "Deprecated quoted issues",
"markdown": "Deprecated quoted issues"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YamlQuotedEscapedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Yaml",
"index": 111,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RouteSettingDeprecatedInspection",
"shortDescription": {
"text": "Symfony: Route settings deprecated"
},
"fullDescription": {},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RouteSettingDeprecatedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Route",
"index": 59,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YamlDeprecatedClasses",
"shortDescription": {
"text": "Deprecated Class"
},
"fullDescription": {
"text": "Class is deprecated, you should replace this class",
"markdown": "Class is deprecated, you should replace this class"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YamlDeprecatedClasses",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony/Service",
"index": 66,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstructorCommandHeavyConstructor",
"shortDescription": {
"text": "Symfony: Avoid heavy construction in Command"
},
"fullDescription": {
"text": "Avoid heavy Commands for initialize purpose (similar like Twig extension): If extensions don't define dependencies (i.e. if you don't inject services in them) performance is not affected. However, if extensions define lots of complex dependencies (e.g. those making database connections), the performance loss can be significant. A common pitfall: composer install / update requires a Database connection.",
"markdown": "Avoid heavy Commands for initialize purpose (similar like Twig extension): [](https://symfony.com/doc/current/templating/twig_extension.html#creating-lazy-loaded-twig-extensions) If extensions don't define dependencies (i.e. if you don't inject services in them) performance is not affected. However, if extensions define lots of complex dependencies (e.g. those making database connections), the performance loss can be significant. A common pitfall: composer install / update requires a Database connection."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConstructorCommandHeavyConstructor",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Symfony",
"index": 13,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.funivan.idea.phpClean",
"version": "2023.04.01",
"rules": [
{
"id": "MissingReturnTypeInspection",
"shortDescription": {
"text": "Missing return type declaration"
},
"fullDescription": {
"text": "Always specify result type of the function. function phrase() { // <-- Missing return type\n return 'hi';\n}",
"markdown": "Always specify result type of the function.\n\n```\nfunction phrase() { // <-- Missing return type\n return 'hi';\n}\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "MissingReturnTypeInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MethodShouldBeFinalInspection",
"shortDescription": {
"text": "Method should be final"
},
"fullDescription": {
"text": "Methods should be closed (make method or class final) class User {\n public function name(): string { // <-- Method should be final\n return '';\n }\n}",
"markdown": "Methods should be closed (make method or class final)\n\n```\nclass User {\n public function name(): string { // <-- Method should be final\n return '';\n }\n}\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "MethodShouldBeFinalInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PropertyAnnotationInspection",
"shortDescription": {
"text": "Property annotation"
},
"fullDescription": {
"text": "Properties that are not initialized in the constructor should be annotated as nullable. class User {\n /** @var string */ // <-- Property is not annotated correctly. Add null type\n private $name;\n public function getName() { }\n public function setName(string $name) { }\n}",
"markdown": "Properties that are not initialized in the constructor should be annotated as nullable.\n\n```\nclass User {\n /** @var string */ // <-- Property is not annotated correctly. Add null type\n private $name;\n public function getName() { }\n public function setName(string $name) { }\n}\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PropertyAnnotationInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "GlobalVariableUsageInspection",
"shortDescription": {
"text": "Global variable usage"
},
"fullDescription": {
"text": "This inspection detects usages of global variables. echo $_GET['name']; // <-- Global variable usage",
"markdown": "This inspection detects usages of global variables.\n\n```\necho $_GET['name']; // <-- Global variable usage\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "GlobalVariableUsageInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AssignMisusedInspection",
"shortDescription": {
"text": "Assign misused"
},
"fullDescription": {
"text": "Detects assignment and comparison operators in one statement. while (false !== $current = ldap_next_entry($con, $current)) {\n // ^^^ Hard to read this statements\n yield $this->getSingleEntry($con, $current);\n}",
"markdown": "Detects assignment and comparison operators in one statement.\n\n```\nwhile (false !== $current = ldap_next_entry($con, $current)) {\n // ^^^ Hard to read this statements\n yield $this->getSingleEntry($con, $current);\n}\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "AssignMisusedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MethodVisibilityInspection",
"shortDescription": {
"text": "Method visibility"
},
"fullDescription": {
"text": "Protected methods make our classes more open. Write private or public methods only. The better way is to use object composition technique if you want to make you object more flexible.",
"markdown": "Protected methods make our classes more open. Write private or public methods only. The better way is to use [object composition](https://en.wikipedia.org/wiki/Object_composition) technique if you want to make you object more flexible."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "MethodVisibilityInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RedundantDocCommentTagInspection",
"shortDescription": {
"text": "Redundant doc comment tag"
},
"fullDescription": {
"text": "Types that are specified in the php can be omitted in the PhpDoc blocks /**\n * @return void // <-- Redundant PhpDoc tag\n */\n function show(string $message): void {}",
"markdown": "Types that are specified in the php can be omitted in the PhpDoc blocks \n\n```\n/**\n * @return void // <-- Redundant PhpDoc tag\n */\n function show(string $message): void {}\n```"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RedundantDocCommentTagInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DeprecatedDocTagInspection",
"shortDescription": {
"text": "Deprecated doc tag"
},
"fullDescription": {
"text": "You can deprecate some PhpDoc tags in your project.",
"markdown": "You can deprecate some PhpDoc tags in your project."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "DeprecatedDocTagInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ProhibitedClassExtendInspection",
"shortDescription": {
"text": "Prohibited class extend"
},
"fullDescription": {
"text": "Classes marked with `@final` doc tag should not be extended /**\n * @final\n */\n class User {};\n\n class Admin extends User {}; // <- Prohibited extentions of @final class User.",
"markdown": "Classes marked with \\`@final\\` doc tag should not be extended\n\n```\n/**\n * @final\n */\n class User {};\n\n class Admin extends User {}; // <- Prohibited extentions of @final class User.\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ProhibitedClassExtendInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "VirtualTypeCheckInspection",
"shortDescription": {
"text": "Virtual type check"
},
"fullDescription": {
"text": "Use assert to check variable type instead of doc comment. /** @var User $user */ // <-- Use assert to check variable type\nassert($user instanceof User);",
"markdown": "Use assert to check variable type instead of doc comment.\n\n```\n/** @var User $user */ // <-- Use assert to check variable type\nassert($user instanceof User);\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "VirtualTypeCheckInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MethodCanBePrivateInspection",
"shortDescription": {
"text": "Method can be private"
},
"fullDescription": {
"text": "Protected methods can be converted to private. final class User {\n protected function name() {} // <-- Method can be private\n}",
"markdown": "Protected methods can be converted to private.\n\n```\nfinal class User {\n protected function name() {} // <-- Method can be private\n}\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "MethodCanBePrivateInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PropertyCanBePrivateInspection",
"shortDescription": {
"text": "Property can be private"
},
"fullDescription": {
"text": "Protected properties can be converted to private. class User {\n protected $user; // <-- Property can be private\n}",
"markdown": "Protected properties can be converted to private.\n\n```\nclass User {\n protected $user; // <-- Property can be private\n}\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PropertyCanBePrivateInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ParentPropertyDeprecatedInspection",
"shortDescription": {
"text": "Parent property is deprecated"
},
"fullDescription": {
"text": "Check if parent property is deprecated. class A {\n /** @deprecated */\n protected $name;\n }\n class B extends A {\n protected $name; // <-- Warn about deprecation\n }\n The recommended way of resolving this error is to provide deprecated tag for deprecated properties. Another case it to remove parent deprecated property.",
"markdown": "Check if parent property is deprecated.\n\n```\n class A {\n /** @deprecated */\n protected $name;\n }\n class B extends A {\n protected $name; // <-- Warn about deprecation\n }\n```\n\nThe recommended way of resolving this error is to provide deprecated tag for deprecated properties. Another case it to remove parent deprecated property."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ParentPropertyDeprecatedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ClassNameCollisionInspection",
"shortDescription": {
"text": "Class name collision"
},
"fullDescription": {
"text": "Classes with same name in different namespaces can be confused. (Disabled by default) namespace App {\n class User {}; // <- Class name collision with \\Cli\\User\n}\nnamespace Cli {\n class User {}; // <- Class name collision with \\App\\User\n}",
"markdown": "Classes with same name in different namespaces can be confused. (Disabled by default)\n\n```\nnamespace App {\n class User {}; // <- Class name collision with \\Cli\\User\n}\nnamespace Cli {\n class User {}; // <- Class name collision with \\App\\User\n}\n```"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ClassNameCollisionInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ToStringCallInspection",
"shortDescription": {
"text": "Deprecated __toString call"
},
"fullDescription": {
"text": "Detect automatic type casting class Hello {\n public function randomize(): self { /* ... */return $this; }\n public function __toString() { return 'Hi'; }\n}\necho (new Hello())->randomize(); // <-- Deprecated __toString call",
"markdown": "Detect automatic type casting\n\n```\nclass Hello {\n public function randomize(): self { /* ... */return $this; }\n public function __toString() { return 'Hi'; }\n}\necho (new Hello())->randomize(); // <-- Deprecated __toString call\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ToStringCallInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MissingParameterTypeDeclarationInspection",
"shortDescription": {
"text": "Missing parameter type declaration"
},
"fullDescription": {
"text": "Always specify parameter type. This is a good practice. class User {\n public function withName($name) {} // <-- Missing parameter type\n}",
"markdown": "Always specify parameter type. This is a good practice.\n\n```\nclass User {\n public function withName($name) {} // <-- Missing parameter type\n}\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "MissingParameterTypeDeclarationInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/PhpClean",
"index": 17,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "org.jetbrains.plugins.sass",
"version": "232.10072.32",
"rules": [
{
"id": "SassScssResolvedByNameOnly",
"shortDescription": {
"text": "Missing import"
},
"fullDescription": {
"text": "Reports a reference to a variable, mixin, or function that is declared in another file but this file isn't explicitly imported in the current file. Example: '* {\n margin: $var-in-other-file;\n}'",
"markdown": "Reports a reference to a variable, mixin, or function that is declared in another file but this file isn't explicitly [imported](https://sass-lang.com/documentation/at-rules/import) in the current file.\n\n**Example:**\n\n\n * {\n margin: $var-in-other-file;\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "SassScssResolvedByNameOnly",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Sass/SCSS",
"index": 18,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SassScssUnresolvedVariable",
"shortDescription": {
"text": "Unresolved variable"
},
"fullDescription": {
"text": "Reports an unresolved Sass/SCSS variable reference. Example: '* {\n margin: $unknown-var;\n}'",
"markdown": "Reports an unresolved [Sass/SCSS variable](https://sass-lang.com/documentation/variables) reference.\n\n**Example:**\n\n\n * {\n margin: $unknown-var;\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SassScssUnresolvedVariable",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Sass/SCSS",
"index": 18,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SassScssUnresolvedMixin",
"shortDescription": {
"text": "Unresolved mixin"
},
"fullDescription": {
"text": "Reports an unresolved Sass/SCSS mixin reference. Example: '* {\n @include unknown-mixin;\n}'",
"markdown": "Reports an unresolved [Sass/SCSS mixin](https://sass-lang.com/documentation/at-rules/mixin) reference.\n\n**Example:**\n\n\n * {\n @include unknown-mixin;\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SassScssUnresolvedMixin",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Sass/SCSS",
"index": 18,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SassScssUnresolvedPlaceholderSelector",
"shortDescription": {
"text": "Unresolved placeholder selector"
},
"fullDescription": {
"text": "Reports an unresolved Sass/SCSS placeholder selector reference. Example: '* {\n @extend %unknown-placeholder-selector;\n}'",
"markdown": "Reports an unresolved [Sass/SCSS placeholder selector](https://sass-lang.com/documentation/variables) reference.\n\n**Example:**\n\n\n * {\n @extend %unknown-placeholder-selector;\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SassScssUnresolvedPlaceholderSelector",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Sass/SCSS",
"index": 18,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.intellij",
"version": "232.10072.32",
"rules": [
{
"id": "HtmlUnknownBooleanAttribute",
"shortDescription": {
"text": "Incorrect boolean attribute"
},
"fullDescription": {
"text": "Reports an HTML non-boolean attribute without a value. Suggests configuring attributes that should not be reported.",
"markdown": "Reports an HTML non-boolean attribute without a value. Suggests configuring attributes that should not be reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlUnknownBooleanAttribute",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DuplicatedCode",
"shortDescription": {
"text": "Duplicated code fragment"
},
"fullDescription": {
"text": "Reports duplicated blocks of code from the selected scope: the same file or the entire project. The inspection features quick-fixes that help you to set the size of detected duplicates, navigate to repetitive code fragments, and compare them in a tool window. The inspection options allow you to select the scope of the reported duplicated fragments and set the initial size for the duplicated language constructs. You can also configure the constructs that you want to anonymize in Settings | Editor | Duplicates.",
"markdown": "Reports duplicated blocks of code from the selected scope: the same file or the entire project.\n\nThe inspection features quick-fixes that help you to set the size of detected duplicates, navigate to repetitive code fragments, and compare them in a tool window.\n\nThe inspection options allow you to select the scope of the reported duplicated fragments and set the initial size for the duplicated language constructs.\n\nYou can also configure the constructs that you want to anonymize in [Settings \\| Editor \\| Duplicates](settings://duplicates.index)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "DuplicatedCode",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "InconsistentLineSeparators",
"shortDescription": {
"text": "Inconsistent line separators"
},
"fullDescription": {
"text": "Reports files with line separators different from the ones that are specified in the project's settings. For example, the inspection will be triggered if you set the line separator to '\\n' in Settings | Editor | Code Style | Line separator, while the file you are editing uses '\\r\\n' as a line separator. The inspection also warns you about mixed line separators within a file.",
"markdown": "Reports files with line separators different from the ones that are specified in the project's settings.\n\nFor example, the inspection will be triggered if you set the line separator to `\\n` in\n[Settings \\| Editor \\| Code Style \\| Line separator](settings://preferences.sourceCode?Line%20separator),\nwhile the file you are editing uses `\\r\\n` as a line separator.\n\nThe inspection also warns you about mixed line separators within a file."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "InconsistentLineSeparators",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RedundantSuppression",
"shortDescription": {
"text": "Redundant suppression"
},
"fullDescription": {
"text": "Reports usages of the following elements that can be safely removed because the inspection they affect is no longer applicable in this context: '@SuppressWarning' annotation, or '// noinspection' line comment, or '/** noinspection */' JavaDoc comment Example: 'public class C {\n // symbol is already private,\n // but annotation is still around\n @SuppressWarnings({\"WeakerAccess\"})\n private boolean CONST = true;\n void f() {\n CONST = false;\n }\n}'",
"markdown": "Reports usages of the following elements that can be safely removed because the inspection they affect is no longer applicable in this context:\n\n* `@SuppressWarning` annotation, or\n* `// noinspection` line comment, or\n* `/** noinspection */` JavaDoc comment\n\nExample:\n\n\n public class C {\n // symbol is already private,\n // but annotation is still around\n @SuppressWarnings({\"WeakerAccess\"})\n private boolean CONST = true;\n void f() {\n CONST = false;\n }\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RedundantSuppression",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ProblematicWhitespace",
"shortDescription": {
"text": "Problematic whitespace"
},
"fullDescription": {
"text": "Reports the following problems: Tabs used for indentation when the code style is configured to use only spaces. Spaces used for indentation when the code style is configured to use only tabs. Spaces used for indentation and tabs used for alignment when the code style is configured to use smart tabs.",
"markdown": "Reports the following problems:\n\n* Tabs used for indentation when the code style is configured to use only spaces.\n* Spaces used for indentation when the code style is configured to use only tabs.\n* Spaces used for indentation and tabs used for alignment when the code style is configured to use smart tabs."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ProblematicWhitespace",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlUnknownTarget",
"shortDescription": {
"text": "Unresolved file in a link"
},
"fullDescription": {
"text": "Reports an unresolved file in a link.",
"markdown": "Reports an unresolved file in a link."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlUnknownTarget",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "LongLine",
"shortDescription": {
"text": "Line is longer than allowed by code style"
},
"fullDescription": {
"text": "Reports lines that are longer than the Hard wrap at parameter specified in Settings | Editor | Code Style | General.",
"markdown": "Reports lines that are longer than the **Hard wrap at** parameter specified in [Settings \\| Editor \\| Code Style \\| General](settings://preferences.sourceCode?Hard%20wrap%20at)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "LongLine",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlWrongRootElement",
"shortDescription": {
"text": "Wrong root element"
},
"fullDescription": {
"text": "Reports a root tag name different from the name specified in the '<doctype>' tag.",
"markdown": "Reports a root tag name different from the name specified in the `<doctype>` tag."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "XmlWrongRootElement",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlUnknownAttribute",
"shortDescription": {
"text": "Unknown attribute"
},
"fullDescription": {
"text": "Reports an unknown HTML attribute. Suggests configuring attributes that should not be reported.",
"markdown": "Reports an unknown HTML attribute. Suggests configuring attributes that should not be reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlUnknownAttribute",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpRedundantEscape",
"shortDescription": {
"text": "Redundant character escape"
},
"fullDescription": {
"text": "Reports redundant character escape sequences that can be replaced with unescaped characters preserving the meaning. Many escape sequences that are necessary outside of a character class are redundant inside square brackets '[]' of a character class. Although unescaped opening curly braces '{' outside of character classes are allowed in some dialects (JavaScript, Python, and so on), it can cause confusion and make the pattern less portable, because there are dialects that require escaping curly braces as characters. For this reason the inspection does not report escaped opening curly braces. Example: '\\-\\;[\\.]' After the quick-fix is applied: '-;[.]' The Ignore escaped closing brackets '}' and ']' option specifies whether to report '\\}' and '\\]' outside of a character class when they are allowed to be unescaped by the RegExp dialect. New in 2017.3",
"markdown": "Reports redundant character escape sequences that can be replaced with unescaped characters preserving the meaning. Many escape sequences that are necessary outside of a character class are redundant inside square brackets `[]` of a character class.\n\n\nAlthough unescaped opening curly braces `{` outside of character classes are allowed in some dialects (JavaScript, Python, and so on),\nit can cause confusion and make the pattern less portable, because there are dialects that require escaping curly braces as characters.\nFor this reason the inspection does not report escaped opening curly braces.\n\n**Example:**\n\n\n \\-\\;[\\.]\n\nAfter the quick-fix is applied:\n\n\n -;[.]\n\n\nThe **Ignore escaped closing brackets '}' and '\\]'** option specifies whether to report `\\}` and `\\]` outside of a character class\nwhen they are allowed to be unescaped by the RegExp dialect.\n\nNew in 2017.3"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpRedundantEscape",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CustomRegExpInspection",
"shortDescription": {
"text": "Custom RegExp inspection"
},
"fullDescription": {
"text": "Custom Regex Inspection",
"markdown": "Custom Regex Inspection"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "CustomRegExpInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IncorrectFormatting",
"shortDescription": {
"text": "Incorrect formatting"
},
"fullDescription": {
"text": "Reports formatting issues that appear if your code doesn't follow your project's code style settings. This inspection is not compatible with languages that require third-party formatters for code formatting, for example, Go or C with CLangFormat enabled.",
"markdown": "Reports formatting issues that appear if your code doesn't\nfollow your project's code style settings.\n\n\nThis inspection is not compatible with languages that require\nthird-party formatters for code formatting, for example, Go or\nC with CLangFormat enabled."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "IncorrectFormatting",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlExtraClosingTag",
"shortDescription": {
"text": "Redundant closing tag"
},
"fullDescription": {
"text": "Reports redundant closing tags on empty elements, for example, 'img' or 'br'. Example: '<html>\n <body>\n <br></br>\n </body>\n </html>' After the quick-fix is applied: '<html>\n <body>\n <br>\n </body>\n </html>'",
"markdown": "Reports redundant closing tags on empty elements, for example, `img` or `br`.\n\n**Example:**\n\n\n <html>\n <body>\n <br></br>\n </body>\n </html>\n\nAfter the quick-fix is applied:\n\n\n <html>\n <body>\n <br>\n </body>\n </html>\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlExtraClosingTag",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpUnexpectedAnchor",
"shortDescription": {
"text": "Begin or end anchor in unexpected position"
},
"fullDescription": {
"text": "Reports '^' or '\\A' anchors not at the beginning of the pattern and '$', '\\Z' or '\\z' anchors not at the end of the pattern. In the wrong position these RegExp anchors prevent the pattern from matching anything. In case of the '^' and '$' anchors, most likely the literal character was meant and the escape forgotten. Example: '(Price $10)' New in 2018.1",
"markdown": "Reports `^` or `\\A` anchors not at the beginning of the pattern and `$`, `\\Z` or `\\z` anchors not at the end of the pattern. In the wrong position these RegExp anchors prevent the pattern from matching anything. In case of the `^` and `$` anchors, most likely the literal character was meant and the escape forgotten.\n\n**Example:**\n\n\n (Price $10)\n\n\nNew in 2018.1"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpUnexpectedAnchor",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SpellCheckingInspection",
"shortDescription": {
"text": "Typo"
},
"fullDescription": {
"text": "Reports typos and misspellings in your code, comments, and literals and fixes them with one click.",
"markdown": "Reports typos and misspellings in your code, comments, and literals and fixes them with one click."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "SpellCheckingInspection",
"ideaSeverity": "TYPO",
"qodanaSeverity": "Low"
}
},
"relationships": [
{
"target": {
"id": "Proofreading",
"index": 75,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CheckXmlFileWithXercesValidator",
"shortDescription": {
"text": "Failed external validation"
},
"fullDescription": {
"text": "Reports a discrepancy in an XML file with the specified DTD or schema detected by the Xerces validator.",
"markdown": "Reports a discrepancy in an XML file with the specified DTD or schema detected by the Xerces validator."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CheckXmlFileWithXercesValidator",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlUnknownTag",
"shortDescription": {
"text": "Unknown tag"
},
"fullDescription": {
"text": "Reports an unknown HTML tag. Suggests configuring tags that should not be reported.",
"markdown": "Reports an unknown HTML tag. Suggests configuring tags that should not be reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlUnknownTag",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpEscapedMetaCharacter",
"shortDescription": {
"text": "Escaped meta character"
},
"fullDescription": {
"text": "Reports escaped meta characters. Some RegExp coding styles specify that meta characters should be placed inside a character class, to make the regular expression easier to understand. This inspection does not warn about the meta character '[', ']' and '^', because those would need additional escaping inside a character class. Example: '\\d+\\.\\d+' After the quick-fix is applied: '\\d+[.]\\d+' New in 2017.1",
"markdown": "Reports escaped meta characters. Some RegExp coding styles specify that meta characters should be placed inside a character class, to make the regular expression easier to understand. This inspection does not warn about the meta character `[`, `]` and `^`, because those would need additional escaping inside a character class.\n\n**Example:**\n\n\n \\d+\\.\\d+\n\nAfter the quick-fix is applied:\n\n\n \\d+[.]\\d+\n\nNew in 2017.1"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "RegExpEscapedMetaCharacter",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlHighlighting",
"shortDescription": {
"text": "XML highlighting"
},
"fullDescription": {
"text": "Reports XML validation problems in the results of a batch code inspection.",
"markdown": "Reports XML validation problems in the results of a batch code inspection."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "XmlHighlighting",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlDuplicatedId",
"shortDescription": {
"text": "Duplicate 'id' attribute"
},
"fullDescription": {
"text": "Reports a duplicate 'id' attribute in XML.",
"markdown": "Reports a duplicate `id` attribute in XML."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "XmlDuplicatedId",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpDuplicateCharacterInClass",
"shortDescription": {
"text": "Duplicate character in character class"
},
"fullDescription": {
"text": "Reports duplicate characters inside a RegExp character class. Duplicate characters are unnecessary and can be removed without changing the semantics of the regex. Example: '[aabc]' After the quick-fix is applied: '[abc]'",
"markdown": "Reports duplicate characters inside a RegExp character class. Duplicate characters are unnecessary and can be removed without changing the semantics of the regex.\n\n**Example:**\n\n\n [aabc]\n\nAfter the quick-fix is applied:\n\n\n [abc]\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpDuplicateCharacterInClass",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlUnboundNsPrefix",
"shortDescription": {
"text": "Unbound namespace prefix"
},
"fullDescription": {
"text": "Reports an unbound namespace prefix in XML.",
"markdown": "Reports an unbound namespace prefix in XML."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "XmlUnboundNsPrefix",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RequiredAttributes",
"shortDescription": {
"text": "Missing required attribute"
},
"fullDescription": {
"text": "Reports a missing mandatory attribute in an XML/HTML tag. Suggests configuring attributes that should not be reported.",
"markdown": "Reports a missing mandatory attribute in an XML/HTML tag. Suggests configuring attributes that should not be reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RequiredAttributes",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlUnusedNamespaceDeclaration",
"shortDescription": {
"text": "Unused schema declaration"
},
"fullDescription": {
"text": "Reports an unused namespace declaration or location hint in XML.",
"markdown": "Reports an unused namespace declaration or location hint in XML."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "XmlUnusedNamespaceDeclaration",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpRedundantClassElement",
"shortDescription": {
"text": "Redundant '\\d', '[:digit:]', or '\\D' class elements"
},
"fullDescription": {
"text": "Reports redundant '\\d' or '[:digit:]' that are used in one class with '\\w' or '[:word:]' ('\\D' with '\\W') and can be removed. Example: '[\\w\\d]' After the quick-fix is applied: '[\\w]' New in 2022.2",
"markdown": "Reports redundant `\\d` or `[:digit:]` that are used in one class with `\\w` or `[:word:]` (`\\D` with `\\W`) and can be removed.\n\n**Example:**\n\n\n [\\w\\d]\n\nAfter the quick-fix is applied:\n\n\n [\\w]\n\nNew in 2022.2"
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "RegExpRedundantClassElement",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpSimplifiable",
"shortDescription": {
"text": "Regular expression can be simplified"
},
"fullDescription": {
"text": "Reports regular expressions that can be simplified. Example: '[a] xx* [ah-hz]' After the quick-fix is applied: 'a x+ [ahz]' New in 2022.1",
"markdown": "Reports regular expressions that can be simplified.\n\n**Example:**\n\n\n [a] xx* [ah-hz]\n\nAfter the quick-fix is applied:\n\n\n a x+ [ahz]\n\nNew in 2022.1"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "RegExpSimplifiable",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpEmptyAlternationBranch",
"shortDescription": {
"text": "Empty branch in alternation"
},
"fullDescription": {
"text": "Reports empty branches in a RegExp alternation. An empty branch will only match the empty string, and in most cases that is not what is desired. This inspection will not report a single empty branch at the start or the end of an alternation. Example: '(alpha||bravo)' After the quick-fix is applied: '(alpha|bravo)' New in 2017.2",
"markdown": "Reports empty branches in a RegExp alternation. An empty branch will only match the empty string, and in most cases that is not what is desired. This inspection will not report a single empty branch at the start or the end of an alternation.\n\n**Example:**\n\n\n (alpha||bravo)\n\nAfter the quick-fix is applied:\n\n\n (alpha|bravo)\n\nNew in 2017.2"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpEmptyAlternationBranch",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlPathReference",
"shortDescription": {
"text": "Unresolved file reference"
},
"fullDescription": {
"text": "Reports an unresolved file reference in XML.",
"markdown": "Reports an unresolved file reference in XML."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "XmlPathReference",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpUnnecessaryNonCapturingGroup",
"shortDescription": {
"text": "Unnecessary non-capturing group"
},
"fullDescription": {
"text": "Reports unnecessary non-capturing groups, which have no influence on the match result. Example: 'Everybody be cool, (?:this) is a robbery!' After the quick-fix is applied: 'Everybody be cool, this is a robbery!' New in 2021.1",
"markdown": "Reports unnecessary non-capturing groups, which have no influence on the match result.\n\n**Example:**\n\n\n Everybody be cool, (?:this) is a robbery!\n\nAfter the quick-fix is applied:\n\n\n Everybody be cool, this is a robbery!\n\nNew in 2021.1"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpUnnecessaryNonCapturingGroup",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TodoComment",
"shortDescription": {
"text": "TODO comment"
},
"fullDescription": {
"text": "Reports TODO comments in your code. You can configure the format for TODO comments in Settings | Editor | TODO. Enable the Only warn on TODO comments without any details option to only warn on empty TODO comments, that don't provide any description on the task that should be done. Disable to report all TODO comments.",
"markdown": "Reports **TODO** comments in your code.\n\nYou can configure the format for **TODO** comments in [Settings \\| Editor \\| TODO](settings://preferences.toDoOptions).\n\nEnable the **Only warn on TODO comments without any details** option to only warn on empty TODO comments, that\ndon't provide any description on the task that should be done. Disable to report all TODO comments."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TodoComment",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Json5StandardCompliance",
"shortDescription": {
"text": "Compliance with JSON5 standard"
},
"fullDescription": {
"text": "Reports inconsistency with the language specification in a JSON5 file.",
"markdown": "Reports inconsistency with [the language specification](http://json5.org) in a JSON5 file."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "Json5StandardCompliance",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JSON and JSON5",
"index": 92,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlWrongAttributeValue",
"shortDescription": {
"text": "Wrong attribute value"
},
"fullDescription": {
"text": "Reports an incorrect HTML attribute value.",
"markdown": "Reports an incorrect HTML attribute value."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlWrongAttributeValue",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlDefaultAttributeValue",
"shortDescription": {
"text": "Redundant attribute with default value"
},
"fullDescription": {
"text": "Reports a redundant assignment of the default value to an XML attribute.",
"markdown": "Reports a redundant assignment of the default value to an XML attribute."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "XmlDefaultAttributeValue",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JsonSchemaCompliance",
"shortDescription": {
"text": "Compliance with JSON schema"
},
"fullDescription": {
"text": "Reports inconsistence between a JSON file and the JSON schema that is assigned to it.",
"markdown": "Reports inconsistence between a JSON file and the [JSON schema](https://json-schema.org) that is assigned to it. "
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JsonSchemaCompliance",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JSON and JSON5",
"index": 92,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EmptyDirectory",
"shortDescription": {
"text": "Empty directory"
},
"fullDescription": {
"text": "Reports empty directories. Available only from Code | Inspect Code or Code | Analyze Code | Run Inspection by Name and isn't reported in the editor. Use the Only report empty directories located under a source folder option to have only directories under source roots reported.",
"markdown": "Reports empty directories.\n\nAvailable only from **Code \\| Inspect Code** or\n**Code \\| Analyze Code \\| Run Inspection by Name** and isn't reported in the editor.\n\nUse the **Only report empty directories located under a source folder** option to have only directories under source\nroots reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EmptyDirectory",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CheckDtdRefs",
"shortDescription": {
"text": "Unresolved DTD reference"
},
"fullDescription": {
"text": "Reports inconsistency in a DTD-specific reference, for example, in a reference to an XML entity or to a DTD element declaration. Works in DTD an XML files.",
"markdown": "Reports inconsistency in a DTD-specific reference, for example, in a reference to an XML entity or to a DTD element declaration. Works in DTD an XML files."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CheckDtdRefs",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NonAsciiCharacters",
"shortDescription": {
"text": "Non-ASCII characters"
},
"fullDescription": {
"text": "Reports code elements that use non-ASCII symbols in an unusual context. Example: Non-ASCII characters used in identifiers, strings, or comments. Identifiers written in different languages, such as 'myСollection' with the letter 'C' written in Cyrillic. Comments or strings containing Unicode symbols, such as long dashes and arrows.",
"markdown": "Reports code elements that use non-ASCII symbols in an unusual context.\n\nExample:\n\n* Non-ASCII characters used in identifiers, strings, or comments.\n* Identifiers written in different languages, such as `my`**С**`ollection` with the letter **C** written in Cyrillic.\n* Comments or strings containing Unicode symbols, such as long dashes and arrows."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "NonAsciiCharacters",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Internationalization",
"index": 100,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "LossyEncoding",
"shortDescription": {
"text": "Lossy encoding"
},
"fullDescription": {
"text": "Reports characters that cannot be displayed because of the current document encoding. Examples: If you type international characters in a document with the US-ASCII charset, some characters will be lost on save. If you load a UTF-8-encoded file using the ISO-8859-1 one-byte charset, some characters will be displayed incorrectly. You can fix this by changing the file encoding either by specifying the encoding directly in the file, e.g. by editing 'encoding=' attribute in the XML prolog of XML file, or by changing the corresponding options in Settings | Editor | File Encodings.",
"markdown": "Reports characters that cannot be displayed because of the current document encoding.\n\nExamples:\n\n* If you type international characters in a document with the **US-ASCII** charset, some characters will be lost on save.\n* If you load a **UTF-8** -encoded file using the **ISO-8859-1** one-byte charset, some characters will be displayed incorrectly.\n\nYou can fix this by changing the file encoding\neither by specifying the encoding directly in the file, e.g. by editing `encoding=` attribute in the XML prolog of XML file,\nor by changing the corresponding options in **Settings \\| Editor \\| File Encodings**."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "LossyEncoding",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Internationalization",
"index": 100,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IgnoreFileDuplicateEntry",
"shortDescription": {
"text": "Ignore file duplicates"
},
"fullDescription": {
"text": "Reports duplicate entries (patterns) in the ignore file (e.g. .gitignore, .hgignore). Duplicate entries in these files are redundant and can be removed. Example: '# Output directories\n /out/\n /target/\n /out/'",
"markdown": "Reports duplicate entries (patterns) in the ignore file (e.g. .gitignore, .hgignore). Duplicate entries in these files are redundant and can be removed.\n\nExample:\n\n\n # Output directories\n /out/\n /target/\n /out/\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "IgnoreFileDuplicateEntry",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Version control",
"index": 103,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JsonStandardCompliance",
"shortDescription": {
"text": "Compliance with JSON standard"
},
"fullDescription": {
"text": "Reports the following discrepancies of a JSON file with the language specification: A line or block comment (configurable). Multiple top-level values (expect for JSON Lines files, configurable for others). A trailing comma in an object or array (configurable). A single quoted string. A property key is a not a double quoted strings. A NaN or Infinity/-Infinity numeric value as a floating point literal (configurable).",
"markdown": "Reports the following discrepancies of a JSON file with [the language specification](https://tools.ietf.org/html/rfc7159):\n\n* A line or block comment (configurable).\n* Multiple top-level values (expect for JSON Lines files, configurable for others).\n* A trailing comma in an object or array (configurable).\n* A single quoted string.\n* A property key is a not a double quoted strings.\n* A NaN or Infinity/-Infinity numeric value as a floating point literal (configurable)."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "JsonStandardCompliance",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JSON and JSON5",
"index": 92,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JsonSchemaDeprecation",
"shortDescription": {
"text": "Deprecated JSON property"
},
"fullDescription": {
"text": "Reports a deprecated property in a JSON file. Note that deprecation mechanism is not defined in the JSON Schema specification yet, and this inspection uses a non-standard extension 'deprecationMessage'.",
"markdown": "Reports a deprecated property in a JSON file. \nNote that deprecation mechanism is not defined in the JSON Schema specification yet, and this inspection uses a non-standard extension 'deprecationMessage'."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JsonSchemaDeprecation",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JSON and JSON5",
"index": 92,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JsonSchemaRefReference",
"shortDescription": {
"text": "Unresolved '$ref' and '$schema' references"
},
"fullDescription": {
"text": "Reports an unresolved '$ref' or '$schema' path in a JSON schema.",
"markdown": "Reports an unresolved `$ref` or `$schema` path in a JSON schema. "
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JsonSchemaRefReference",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JSON and JSON5",
"index": 92,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SSBasedInspection",
"shortDescription": {
"text": "Structural search inspection"
},
"fullDescription": {
"text": "Allows configuring Structural Search/Structural Replace templates that you can apply to the file you are editing. All matches will be highlighted and marked with the template name that you have configured. If you configure the Structural Replace pattern as well, the corresponding replace option will be available as a quick-fix.",
"markdown": "Allows configuring **Structural Search/Structural Replace** templates that you can apply to the file you are editing.\n\nAll matches will be highlighted and marked with the template name that you have configured.\nIf you configure the **Structural Replace** pattern as well, the corresponding replace option will be available as a quick-fix."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SSBasedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Structural search",
"index": 105,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CheckValidXmlInScriptTagBody",
"shortDescription": {
"text": "Malformed content of 'script' tag"
},
"fullDescription": {
"text": "Reports contents of 'script' tags that are invalid XML. Example: '<script type=\"text/javascript\">\n console.log('<');\n </script>' After the quick-fix is applied: '<script type=\"text/javascript\">\n console.log('&lt;');\n </script>'",
"markdown": "Reports contents of `script` tags that are invalid XML. \n\n**Example:**\n\n\n <script type=\"text/javascript\">\n console.log('<');\n </script>\n\nAfter the quick-fix is applied:\n\n\n <script type=\"text/javascript\">\n console.log('&lt;');\n </script>\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CheckValidXmlInScriptTagBody",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpSuspiciousBackref",
"shortDescription": {
"text": "Suspicious back reference"
},
"fullDescription": {
"text": "Reports back references that will not be resolvable at runtime. This means that the back reference can never match anything. A back reference will not be resolvable when the group is defined after the back reference, or if the group is defined in a different branch of an alternation. Example of a group defined after its back reference: '\\1(abc)' Example of a group and a back reference in different branches: 'a(b)c|(xy)\\1z' New in 2022.1",
"markdown": "Reports back references that will not be resolvable at runtime. This means that the back reference can never match anything. A back reference will not be resolvable when the group is defined after the back reference, or if the group is defined in a different branch of an alternation.\n\n**Example of a group defined after its back reference:**\n\n\n \\1(abc)\n\n**Example of a group and a back reference in different branches:**\n\n\n a(b)c|(xy)\\1z\n\nNew in 2022.1"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpSuspiciousBackref",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpSingleCharAlternation",
"shortDescription": {
"text": "Single character alternation"
},
"fullDescription": {
"text": "Reports single char alternation in a RegExp. It is simpler to use a character class instead. This may also provide better matching performance. Example: 'a|b|c|d' After the quick-fix is applied: '[abcd]' New in 2017.1",
"markdown": "Reports single char alternation in a RegExp. It is simpler to use a character class instead. This may also provide better matching performance.\n\n**Example:**\n\n\n a|b|c|d\n\nAfter the quick-fix is applied:\n\n\n [abcd]\n\n\nNew in 2017.1"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpSingleCharAlternation",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CheckTagEmptyBody",
"shortDescription": {
"text": "Empty element content"
},
"fullDescription": {
"text": "Reports XML elements without contents. Example: '<user>\n <name></name>\n </user>' After the quick-fix is applied: '<user>\n <name/>\n </user>'",
"markdown": "Reports XML elements without contents.\n\n**Example:**\n\n\n <user>\n <name></name>\n </user>\n\nAfter the quick-fix is applied:\n\n\n <user>\n <name/>\n </user>\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CheckTagEmptyBody",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnresolvedReference",
"shortDescription": {
"text": "Unresolved reference"
},
"fullDescription": {
"text": "Reports an unresolved reference to a named pattern ('define') in RELAX-NG files that use XML syntax. Suggests creating the referenced 'define' element.",
"markdown": "Reports an unresolved reference to a named pattern (`define`) in RELAX-NG files that use XML syntax. Suggests creating the referenced `define` element."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "UnresolvedReference",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "RELAX NG",
"index": 108,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlMissingClosingTag",
"shortDescription": {
"text": "Missing closing tag"
},
"fullDescription": {
"text": "Reports an HTML element without a closing tag. Some coding styles require that HTML elements have closing tags even where this is optional. Example: '<html>\n <body>\n <p>Behold!\n </body>\n </html>' After the quick-fix is applied: '<html>\n <body>\n <p>Behold!</p>\n </body>\n </html>'",
"markdown": "Reports an HTML element without a closing tag. Some coding styles require that HTML elements have closing tags even where this is optional.\n\n**Example:**\n\n\n <html>\n <body>\n <p>Behold!\n </body>\n </html>\n\nAfter the quick-fix is applied:\n\n\n <html>\n <body>\n <p>Behold!</p>\n </body>\n </html>\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "HtmlMissingClosingTag",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlUnknownAnchorTarget",
"shortDescription": {
"text": "Unresolved fragment in a link"
},
"fullDescription": {
"text": "Reports an unresolved last part of an URL after the '#' sign.",
"markdown": "Reports an unresolved last part of an URL after the `#` sign."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlUnknownAnchorTarget",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlInvalidId",
"shortDescription": {
"text": "Unresolved 'id' reference"
},
"fullDescription": {
"text": "Reports an unresolved 'id' reference in XML.",
"markdown": "Reports an unresolved `id` reference in XML."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "XmlInvalidId",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ReassignedToPlainText",
"shortDescription": {
"text": "Reassigned to plain text"
},
"fullDescription": {
"text": "Reports files that were explicitly re-assigned to Plain Text File Type. This association is unnecessary because the platform auto-detects text files by content automatically. You can dismiss this warning by removing the file type association in Settings | Editor | File Types | Text.",
"markdown": "Reports files that were explicitly re-assigned to Plain Text File Type. This association is unnecessary because the platform auto-detects text files by content automatically.\n\nYou can dismiss this warning by removing the file type association\nin **Settings \\| Editor \\| File Types \\| Text**."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ReassignedToPlainText",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Annotator",
"shortDescription": {
"text": "Annotator"
},
"fullDescription": {
"text": "Reports issues essential to this file (e.g., syntax errors) in the result of a batch code inspection run. These issues are usually always highlighted in the editor and can't be configured, unlike inspections. These options control the scope of checks performed by this inspection: Option \"Report syntax errors\": report parser-related issues. Option \"Report issues from language-specific annotators\": report issues found by annotators configured for the relevant language. See Custom Language Support: Annotators for details. Option \"Report other highlighting problems\": report issues specific to the language of the current file (e.g., type mismatches or unreported exceptions). See Custom Language Support: Highlighting for details.",
"markdown": "Reports issues essential to this file (e.g., syntax errors) in the result of a batch code inspection run. These issues are usually always highlighted in the editor and can't be configured, unlike inspections. These options control the scope of checks performed by this inspection:\n\n* Option \"**Report syntax errors**\": report parser-related issues.\n* Option \"**Report issues from language-specific annotators** \": report issues found by annotators configured for the relevant language. See [Custom Language Support: Annotators](https://plugins.jetbrains.com/docs/intellij/annotator.html) for details.\n* Option \"**Report other highlighting problems** \": report issues specific to the language of the current file (e.g., type mismatches or unreported exceptions). See [Custom Language Support: Highlighting](https://plugins.jetbrains.com/docs/intellij/syntax-highlighting-and-error-highlighting.html#semantic-highlighting) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "Annotator",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JsonDuplicatePropertyKeys",
"shortDescription": {
"text": "Duplicate keys in object literals"
},
"fullDescription": {
"text": "Reports a duplicate key in an object literal.",
"markdown": "Reports a duplicate key in an object literal."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JsonDuplicatePropertyKeys",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JSON and JSON5",
"index": 92,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpRedundantNestedCharacterClass",
"shortDescription": {
"text": "Redundant nested character class"
},
"fullDescription": {
"text": "Reports unnecessary nested character classes. Example: '[a-c[x-z]]' After the quick-fix is applied: '[a-cx-z]' New in 2020.2",
"markdown": "Reports unnecessary nested character classes.\n\n**Example:**\n\n\n [a-c[x-z]]\n\nAfter the quick-fix is applied:\n\n\n [a-cx-z]\n\nNew in 2020.2"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpRedundantNestedCharacterClass",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XmlDeprecatedElement",
"shortDescription": {
"text": "Deprecated symbol"
},
"fullDescription": {
"text": "Reports a deprecated XML element or attribute. Symbols can be marked by XML comment or documentation tag with text 'deprecated'.",
"markdown": "Reports a deprecated XML element or attribute.\n\nSymbols can be marked by XML comment or documentation tag with text 'deprecated'."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "XmlDeprecatedElement",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XML",
"index": 48,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpOctalEscape",
"shortDescription": {
"text": "Octal escape"
},
"fullDescription": {
"text": "Reports octal escapes, which are easily confused with back references. Use hexadecimal escapes to avoid confusion. Example: '\\07' After the quick-fix is applied: '\\x07' New in 2017.1",
"markdown": "Reports octal escapes, which are easily confused with back references. Use hexadecimal escapes to avoid confusion.\n\n**Example:**\n\n\n \\07\n\nAfter the quick-fix is applied:\n\n\n \\x07\n\nNew in 2017.1"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "RegExpOctalEscape",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnusedDefine",
"shortDescription": {
"text": "Unused define"
},
"fullDescription": {
"text": "Reports an unused named pattern ('define') in a RELAX-NG file (XML or Compact Syntax). 'define' elements that are used through an include in another file are ignored.",
"markdown": "Reports an unused named pattern (`define`) in a RELAX-NG file (XML or Compact Syntax). `define` elements that are used through an include in another file are ignored."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "UnusedDefine",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RELAX NG",
"index": 108,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpAnonymousGroup",
"shortDescription": {
"text": "Anonymous capturing group or numeric back reference"
},
"fullDescription": {
"text": "Reports anonymous capturing groups and numeric back references in a RegExp. These are only reported when the RegExp dialect supports named group and named group references. Named groups and named back references improve code readability and are recommended to use instead. When a capture is not needed, matching can be more performant and use less memory by using a non-capturing group, i.e. '(?:xxx)' instead of '(xxx)'. Example: '(\\d\\d\\d\\d)\\1' A better regex pattern could look like this: '(?<quad>\\d\\d\\d\\d)\\k<quad>' New in 2017.2",
"markdown": "Reports anonymous capturing groups and numeric back references in a RegExp. These are only reported when the RegExp dialect supports named group and named group references. Named groups and named back references improve code readability and are recommended to use instead. When a capture is not needed, matching can be more performant and use less memory by using a non-capturing group, i.e. `(?:xxx)` instead of `(xxx)`.\n\n**Example:**\n\n\n (\\d\\d\\d\\d)\\1\n\nA better regex pattern could look like this:\n\n\n (?<quad>\\d\\d\\d\\d)\\k<quad>\n\nNew in 2017.2"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpAnonymousGroup",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpRepeatedSpace",
"shortDescription": {
"text": "Consecutive spaces"
},
"fullDescription": {
"text": "Reports multiple consecutive spaces in a RegExp. Because spaces are not visible by default, it can be hard to see how many spaces are required. The RegExp can be made more clear by replacing the consecutive spaces with a single space and a counted quantifier. Example: '( )' After the quick-fix is applied: '( {5})' New in 2017.1",
"markdown": "Reports multiple consecutive spaces in a RegExp. Because spaces are not visible by default, it can be hard to see how many spaces are required. The RegExp can be made more clear by replacing the consecutive spaces with a single space and a counted quantifier.\n\n**Example:**\n\n\n ( )\n\nAfter the quick-fix is applied:\n\n\n ( {5})\n\n\nNew in 2017.1"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpRepeatedSpace",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RegExpDuplicateAlternationBranch",
"shortDescription": {
"text": "Duplicate branch in alternation"
},
"fullDescription": {
"text": "Reports duplicate branches in a RegExp alternation. Duplicate branches slow down matching and obscure the intent of the expression. Example: '(alpha|bravo|charlie|alpha)' After the quick-fix is applied: '(alpha|bravo|charlie)' New in 2017.1",
"markdown": "Reports duplicate branches in a RegExp alternation. Duplicate branches slow down matching and obscure the intent of the expression.\n\n**Example:**\n\n\n (alpha|bravo|charlie|alpha)\n\nAfter the quick-fix is applied:\n\n\n (alpha|bravo|charlie)\n\nNew in 2017.1"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RegExpDuplicateAlternationBranch",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "RegExp",
"index": 61,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CheckEmptyScriptTag",
"shortDescription": {
"text": "Empty tag"
},
"fullDescription": {
"text": "Reports empty tags that do not work in some browsers. Example: '<html>\n <script/>\n </html>' After the quick-fix is applied: '<html>\n <script></script>\n </html>'",
"markdown": "Reports empty tags that do not work in some browsers.\n\n**Example:**\n\n\n <html>\n <script/>\n </html>\n\nAfter the quick-fix is applied:\n\n\n <html>\n <script></script>\n </html>\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CheckEmptyScriptTag",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "gherkin",
"version": "232.10072.32",
"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": 20,
"toolComponent": {
"name": "PS"
}
},
"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": 20,
"toolComponent": {
"name": "PS"
}
},
"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": 20,
"toolComponent": {
"name": "PS"
}
},
"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": 20,
"toolComponent": {
"name": "PS"
}
},
"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": 20,
"toolComponent": {
"name": "PS"
}
},
"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": 20,
"toolComponent": {
"name": "PS"
}
},
"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": 20,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "JavaScript",
"version": "232.10072.32",
"rules": [
{
"id": "JSUnusedAssignment",
"shortDescription": {
"text": "Unused assignment"
},
"fullDescription": {
"text": "Reports a variable whose value is never used after assignment. Suggests removing the unused variable to shorten the code and to avoid redundant allocations. The following cases are reported: A variable is never read after assignment. The value of a variable is always overwritten with another assignment before the variable is read next time. The initializer of a variable is redundant (for one of the above-mentioned reasons).",
"markdown": "Reports a variable whose value is never used after assignment. \nSuggests removing the unused variable to shorten the code and to avoid redundant allocations.\n\nThe following cases are reported:\n\n* A variable is never read after assignment.\n* The value of a variable is always overwritten with another assignment before the variable is read next time.\n* The initializer of a variable is redundant (for one of the above-mentioned reasons)."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSUnusedAssignment",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Unused symbols",
"index": 21,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FlowJSError",
"shortDescription": {
"text": "Flow type checker"
},
"fullDescription": {
"text": "Reports errors from Flow.",
"markdown": "Reports errors from [Flow](https://flowtype.org/)."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "FlowJSError",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Flow type checker",
"index": 22,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ReuseOfLocalVariableJS",
"shortDescription": {
"text": "Reuse of local variable"
},
"fullDescription": {
"text": "Reports reusing a local variable and overwriting its value with a new value that is not related to the original variable usage. Reusing a local variable in this way may be confusing because the intended semantics of the local variable may vary with each usage. It may also cause bugs, if code changes result in values that were expected to be overwritten while they are actually live. It is good practices to keep variable lifetimes as short as possible, and not reuse local variables for the sake of brevity.",
"markdown": "Reports reusing a local variable and overwriting its value with a new value that is not related to the original variable usage. Reusing a local variable in this way may be confusing because the intended semantics of the local variable may vary with each usage. It may also cause bugs, if code changes result in values that were expected to be overwritten while they are actually live. It is good practices to keep variable lifetimes as short as possible, and not reuse local variables for the sake of brevity."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ReuseOfLocalVariableJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Data flow",
"index": 23,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ShiftOutOfRangeJS",
"shortDescription": {
"text": "Shift operation by possibly wrong constant"
},
"fullDescription": {
"text": "Reports a shift operation where the second operand is a constant outside the reasonable range, for example, an integer shift operation outside the range '0..31', shifting by negative or overly large values.",
"markdown": "Reports a shift operation where the second operand is a constant outside the reasonable range, for example, an integer shift operation outside the range `0..31`, shifting by negative or overly large values."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ShiftOutOfRangeJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Bitwise operation issues",
"index": 28,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSClosureCompilerSyntax",
"shortDescription": {
"text": "Incorrect usage of JSDoc tags"
},
"fullDescription": {
"text": "Reports warnings implied by Google Closure Compiler annotations including correct use of '@abstract', '@interface', and '@implements' tags.",
"markdown": "Reports warnings implied by *Google Closure Compiler* annotations including correct use of `@abstract`, `@interface`, and `@implements` tags."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSClosureCompilerSyntax",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6ConvertLetToConst",
"shortDescription": {
"text": "'let' is used instead of 'const'"
},
"fullDescription": {
"text": "Reports a 'let' declaration that can be made 'const'.",
"markdown": "Reports a `let` declaration that can be made `const`. "
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "ES6ConvertLetToConst",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/ES2015 migration aids",
"index": 32,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSXDomNesting",
"shortDescription": {
"text": "Invalid DOM element nesting"
},
"fullDescription": {
"text": "Detects HTML elements in JSX files which are not nested properly according to the DOM specification. React reports runtime warnings on incorrectly nested elements.",
"markdown": "Detects HTML elements in JSX files which are not nested properly according to the DOM specification. React reports runtime warnings on incorrectly nested elements."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSXDomNesting",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/React",
"index": 36,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "BadExpressionStatementJS",
"shortDescription": {
"text": "Expression statement which is not assignment or call"
},
"fullDescription": {
"text": "Reports an expression statement that is neither an assignment nor a call. Such statements usually indicate an error.",
"markdown": "Reports an expression statement that is neither an assignment nor a call. Such statements usually indicate an error."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "BadExpressionStatementJS",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Validity issues",
"index": 37,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConfusingFloatingPointLiteralJS",
"shortDescription": {
"text": "Confusing floating point literal"
},
"fullDescription": {
"text": "Reports any floating point number that does not have a decimal point, or any numbers before the decimal point, or and numbers after the decimal point. Such literals may be confusing, and violate several coding standards.",
"markdown": "Reports any floating point number that does not have a decimal point, or any numbers before the decimal point, or and numbers after the decimal point. Such literals may be confusing, and violate several coding standards."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConfusingFloatingPointLiteralJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ContinueOrBreakFromFinallyBlockJS",
"shortDescription": {
"text": "'continue' or 'break' inside 'finally' block"
},
"fullDescription": {
"text": "Reports a 'break' or 'continue' statement inside a 'finally' block. Such statements are very confusing, may hide exceptions, and complicate debugging.",
"markdown": "Reports a `break` or `continue` statement inside a `finally` block. Such statements are very confusing, may hide exceptions, and complicate debugging."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ContinueOrBreakFromFinallyBlockJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Try statement issues",
"index": 42,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnnecessaryLocalVariableJS",
"shortDescription": {
"text": "Redundant local variable"
},
"fullDescription": {
"text": "Reports an unnecessary local variable that does not make a function more comprehensible: a local variable that is immediately returned a local variable that is immediately assigned to another variable and is not used anymore a local variable that always has the same value as another local variable or parameter. Use the checkbox below to have this inspection ignore variables that are immediately returned or thrown. Some coding styles suggest using such variables for clarity and ease of debugging.",
"markdown": "Reports an unnecessary local variable that does not make a function more comprehensible:\n\n* a local variable that is immediately returned\n* a local variable that is immediately assigned to another variable and is not used anymore\n* a local variable that always has the same value as another local variable or parameter.\n\n\nUse the checkbox below to have this inspection ignore variables that are immediately\nreturned or thrown. Some coding styles suggest using such variables for clarity and\nease of debugging."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "UnnecessaryLocalVariableJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Data flow",
"index": 23,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSMethodCanBeStatic",
"shortDescription": {
"text": "Method can be made 'static'"
},
"fullDescription": {
"text": "Reports a class method that can be safely made 'static'. A method can be 'static' if it does not reference any of its class' non-static methods and non-static fields and is not overridden in a subclass. Use the first checkbox below to inspect only 'private' methods.",
"markdown": "Reports a class method that can be safely made `static`. A method can be `static` if it does not reference any of its class' non-static methods and non-static fields and is not overridden in a subclass.\n\n\nUse the first checkbox below to inspect only `private` methods."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSMethodCanBeStatic",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSXUnresolvedComponent",
"shortDescription": {
"text": "Unresolved JSX component"
},
"fullDescription": {
"text": "Reports an unresolved reference to a JSX component. Suggests adding a missing import statement if the referenced component is defined in the project or its dependencies or creating a new component with this name. The template for a new component can be modified in Editor | File and Code Templates.",
"markdown": "Reports an unresolved reference to a JSX component. Suggests adding a missing import statement if the referenced component is defined in the project or its dependencies or creating a new component with this name.\n\nThe template for a new component can be modified in Editor \\| File and Code Templates."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "JSXUnresolvedComponent",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnnecessaryLabelOnBreakStatementJS",
"shortDescription": {
"text": "Unnecessary label on 'break' statement"
},
"fullDescription": {
"text": "Reports a labeled 'break' statement whose labels may be removed without changing the flow of control.",
"markdown": "Reports a labeled `break` statement whose labels may be removed without changing the flow of control."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "UnnecessaryLabelOnBreakStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ContinueStatementJS",
"shortDescription": {
"text": "'continue' statement"
},
"fullDescription": {
"text": "Reports a 'continue' statement.",
"markdown": "Reports a `continue` statement."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ContinueStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUndeclaredVariable",
"shortDescription": {
"text": "Implicitly declared global JavaScript variable"
},
"fullDescription": {
"text": "Reports an implicit declaration of a global variable. Example: 'var aaa = 1; // good\n bbb = 2; // bad, if bbb is not declared with 'var' somewhere'",
"markdown": "Reports an implicit declaration of a global variable.\n\nExample:\n\n\n var aaa = 1; // good\n bbb = 2; // bad, if bbb is not declared with 'var' somewhere\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "JSUndeclaredVariable",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DivideByZeroJS",
"shortDescription": {
"text": "Division by zero"
},
"fullDescription": {
"text": "Reports division by zero or a remainder by zero.",
"markdown": "Reports division by zero or a remainder by zero."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DivideByZeroJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSReferencingMutableVariableFromClosure",
"shortDescription": {
"text": "Referencing mutable variable from closure"
},
"fullDescription": {
"text": "Reports access to outer mutable variables from functions. Example: 'for (var i = 1; i <= 3; i++) {\n setTimeout(function() {\n console.log(i); // bad\n }, 0);\n }'",
"markdown": "Reports access to outer mutable variables from functions.\n\nExample:\n\n\n for (var i = 1; i <= 3; i++) {\n setTimeout(function() {\n console.log(i); // bad\n }, 0);\n }\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSReferencingMutableVariableFromClosure",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ChainedEqualityJS",
"shortDescription": {
"text": "Chained equality"
},
"fullDescription": {
"text": "Reports a chained equality comparison (i.e. 'a==b==c'). Such comparisons are confusing.",
"markdown": "Reports a chained equality comparison (i.e. `a==b==c`). Such comparisons are confusing."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ChainedEqualityComparisonsJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SillyAssignmentJS",
"shortDescription": {
"text": "Variable is assigned to itself"
},
"fullDescription": {
"text": "Reports an assignment in the form 'x = x'.",
"markdown": "Reports an assignment in the form `x = x`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "SillyAssignmentJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Assignment issues",
"index": 64,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6ConvertRequireIntoImport",
"shortDescription": {
"text": "'require()' is used instead of 'import'"
},
"fullDescription": {
"text": "Reports a 'require()' statement. Suggests converting it to a 'require()' call with an 'import' statement. Enable 'Convert require() inside inner scopes with Fix all action' to convert all 'require()' calls inside the nested functions and statements when using the 'Fix all' action. Please note that converting 'require()' statements inside inner scopes to 'import' statements may cause changes in the semantics of the code. Import statements are static module dependencies and are hoisted, which means that they are moved to the top of the current module. 'require()' calls load modules dynamically. They can be executed conditionally, and their scope is defined by the expression in which they are used. Clear the 'Convert require() inside inner scopes with Fix all action' checkbox to prevent any changes in these complex cases when using the 'Fix all' action.",
"markdown": "Reports a `require()` statement. Suggests converting it to a `require()` call with an `import` statement. \n\nEnable 'Convert require() inside inner scopes with Fix all action' to convert all `require()` calls inside the nested functions and statements when using the 'Fix all' action. \n\nPlease note that converting `require()` statements inside inner scopes to `import` statements may cause changes in the semantics of the code. Import statements are static module dependencies and are hoisted, which means that they are moved to the top of the current module. `require()` calls load modules dynamically. They can be executed conditionally, and their scope is defined by the expression in which they are used. \nClear the 'Convert require() inside inner scopes with Fix all action' checkbox to prevent any changes in these complex cases when using the 'Fix all' action."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "ES6ConvertRequireIntoImport",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/ES2015 migration aids",
"index": 32,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptCheckImport",
"shortDescription": {
"text": "Unresolved imported name"
},
"fullDescription": {
"text": "Reports an unresolved name or binding in an 'import' declaration in TypeScript code.",
"markdown": "Reports an unresolved name or binding in an `import` declaration in TypeScript code."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "TypeScriptCheckImport",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSXSyntaxUsed",
"shortDescription": {
"text": "JSX syntax used"
},
"fullDescription": {
"text": "Reports a usage of a JSX tag in JavaScript code.",
"markdown": "Reports a usage of a JSX tag in JavaScript code."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "JSXSyntaxUsed",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSJoinVariableDeclarationAndAssignment",
"shortDescription": {
"text": "Variable declaration can be merged with the first assignment to the variable"
},
"fullDescription": {
"text": "Reports a variable that is declared without an initializer and is used much further in the code or in a single nested scope. Suggests moving the variable closer to its usages and joining it with the initializer expression.",
"markdown": "Reports a variable that is declared without an initializer and is used much further in the code or in a single nested scope. Suggests moving the variable closer to its usages and joining it with the initializer expression."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSJoinVariableDeclarationAndAssignment",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSRedundantSwitchStatement",
"shortDescription": {
"text": "'switch' statement is redundant and can be replaced"
},
"fullDescription": {
"text": "Reports a 'switch' statement with an empty body, or with only one 'case' branch, or with a 'default' branch only.",
"markdown": "Reports a `switch` statement with an empty body, or with only one `case` branch, or with a `default` branch only."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSRedundantSwitchStatement",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUnusedGlobalSymbols",
"shortDescription": {
"text": "Unused global symbol"
},
"fullDescription": {
"text": "Reports an unused globally accessible public function, variable, class, or property.",
"markdown": "Reports an unused globally accessible public function, variable, class, or property."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JSUnusedGlobalSymbols",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Unused symbols",
"index": 21,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6ConvertModuleExportToExport",
"shortDescription": {
"text": "'module.exports' is used instead of 'export'"
},
"fullDescription": {
"text": "Reports a 'module.export' statement. Suggests replacing it with an 'export' or 'export default' statement. Please note that the quick-fix for converting 'module.export' into 'export' is not available for 'module.export' inside functions or statements because 'export' statements can only be at the top level of a module.",
"markdown": "Reports a `module.export` statement. Suggests replacing it with an `export` or `export default` statement. \n\nPlease note that the quick-fix for converting `module.export` into `export` is not available for `module.export` inside functions or statements because `export` statements can only be at the top level of a module."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "ES6ConvertModuleExportToExport",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/ES2015 migration aids",
"index": 32,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DocumentWriteJS",
"shortDescription": {
"text": "Call to 'document.write()'"
},
"fullDescription": {
"text": "Reports a method call to 'document.write()' or 'document.writeln()'. Most usages of such calls are performed better with explicit DOM calls, such as 'getElementByID()' and 'createElement()'. Additionally, the 'write()' and 'writeln()' calls will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can result in difficulty to point out bugs.",
"markdown": "Reports a method call to `document.write()` or `document.writeln()`. Most usages of such calls are performed better with explicit DOM calls, such as `getElementByID()` and `createElement()`. Additionally, the `write()` and `writeln()` calls will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can result in difficulty to point out bugs."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DocumentWriteJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/DOM issues",
"index": 72,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "BlockStatementJS",
"shortDescription": {
"text": "Unnecessary block statement"
},
"fullDescription": {
"text": "Reports a block statement that is not used as the body of 'if', 'for', 'while', 'do', 'with', or 'try' statements, or as the body of a function declaration. Starting from ECMAScript 6, JavaScript blocks introduce new scopes for 'let' and 'const' variables, but still free-standing block statements may be confusing and result in subtle bugs when used with 'var' variables.",
"markdown": "Reports a block statement that is not used as the body of `if`, `for`, `while`, `do`, `with`, or `try` statements, or as the body of a function declaration. Starting from ECMAScript 6, JavaScript blocks introduce new scopes for `let` and `const` variables, but still free-standing block statements may be confusing and result in subtle bugs when used with `var` variables."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "BlockStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "InfiniteRecursionJS",
"shortDescription": {
"text": "Infinite recursion"
},
"fullDescription": {
"text": "Reports a function which must either recurse infinitely or throw an exception. Such functions may not return normally.",
"markdown": "Reports a function which must either recurse infinitely or throw an exception. Such functions may not return normally."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "InfiniteRecursionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NestedConditionalExpressionJS",
"shortDescription": {
"text": "Nested conditional expression"
},
"fullDescription": {
"text": "Reports a ternary conditional expression within another ternary condition. Such nested conditionals may be extremely confusing, and best replaced by more explicit conditional logic.",
"markdown": "Reports a ternary conditional expression within another ternary condition. Such nested conditionals may be extremely confusing, and best replaced by more explicit conditional logic."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "NestedConditionalExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IncompatibleMaskJS",
"shortDescription": {
"text": "Incompatible bitwise mask operation"
},
"fullDescription": {
"text": "Reports a bitwise mask expression which for sure evaluates to 'true' or 'false'. Expressions are of the form '(var & constant1) == constant2' or '(var | constant1) == constant2', where 'constant1' and 'constant2' are incompatible bitmask constants. Example: '// Incompatible mask: as the last byte in mask is zero,\n// something like 0x1200 would be possible, but not 0x1234\nif ((mask & 0xFF00) == 0x1234) {...}'",
"markdown": "Reports a bitwise mask expression which for sure evaluates to `true` or `false`. Expressions are of the form `(var & constant1) == constant2` or `(var | constant1) == constant2`, where `constant1` and `constant2` are incompatible bitmask constants.\n\nExample:\n\n\n // Incompatible mask: as the last byte in mask is zero,\n // something like 0x1200 would be possible, but not 0x1234\n if ((mask & 0xFF00) == 0x1234) {...}\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "IncompatibleBitwiseMaskOperation",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Bitwise operation issues",
"index": 28,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TextLabelInSwitchStatementJS",
"shortDescription": {
"text": "Text label in 'switch' statement"
},
"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"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TextLabelInSwitchStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6PossiblyAsyncFunction",
"shortDescription": {
"text": "'await' in non-async function"
},
"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`."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "ES6PossiblyAsyncFunction",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Async code and promises",
"index": 73,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FlowJSFlagCommentPlacement",
"shortDescription": {
"text": "Misplaced @flow flag"
},
"fullDescription": {
"text": "Reports a '@flow' flag comment that is not located at the top of a file.",
"markdown": "Reports a `@flow` flag comment that is not located at the top of a file."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FlowJSFlagCommentPlacement",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Flow type checker",
"index": 22,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSDuplicatedDeclaration",
"shortDescription": {
"text": "Duplicate declaration"
},
"fullDescription": {
"text": "Reports multiple declarations in a scope.",
"markdown": "Reports multiple declarations in a scope."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSDuplicatedDeclaration",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSOctalInteger",
"shortDescription": {
"text": "Octal integer"
},
"fullDescription": {
"text": "Reports a deprecated octal integer literal prefixed with '0' instead of '0o'. Such literals are not allowed in modern ECMAScript code, and using them in the strict mode is an error. To force this inspection for ES5 and ES3 language levels, select the 'Warn about obsolete octal literals in ES5- code' checkbox below.",
"markdown": "Reports a deprecated octal integer literal prefixed with `0` instead of `0o`. \nSuch literals are not allowed in modern ECMAScript code, and using them in the strict mode is an error. \nTo force this inspection for ES5 and ES3 language levels, select the 'Warn about obsolete octal literals in ES5- code' checkbox below."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "JSOctalInteger",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Validity issues",
"index": 37,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptValidateGenericTypes",
"shortDescription": {
"text": "Incorrect generic type argument"
},
"fullDescription": {
"text": "Reports an invalid type argument in a function, interface, or class declaration.",
"markdown": "Reports an invalid type argument in a function, interface, or class declaration."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "TypeScriptValidateGenericTypes",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSMismatchedCollectionQueryUpdate",
"shortDescription": {
"text": "Mismatched query and update of collection"
},
"fullDescription": {
"text": "Reports a collection of fields or variables whose contents are either queried and not updated or updated and not queried. Such mismatched queries and updates are pointless and may indicate either dead code or a typographical error. Query methods are automatically detected, based on whether they return something, or a callback is passed to them. Use the table below to specify which methods are update methods.",
"markdown": "Reports a collection of fields or variables whose contents are either queried and not updated or updated and not queried. Such mismatched queries and updates are pointless and may indicate either dead code or a typographical error.\n\n\nQuery methods are automatically detected, based on whether they return something, or a callback is passed to them.\nUse the table below to specify which methods are update methods."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSMismatchedCollectionQueryUpdate",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSMissingSwitchDefault",
"shortDescription": {
"text": "'switch' statement has no 'default' branch"
},
"fullDescription": {
"text": "Reports a 'switch' statement without a 'default' clause when some possible values are not enumerated.",
"markdown": "Reports a `switch` statement without a `default` clause when some possible values are not enumerated."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSMissingSwitchDefault",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSXNamespaceValidation",
"shortDescription": {
"text": "Missing JSX namespace"
},
"fullDescription": {
"text": "Reports a usage of a JSX construction without importing namespace. Having the namespace in the file scope ensures proper code compilation.",
"markdown": "Reports a usage of a JSX construction without importing namespace. Having the namespace in the file scope ensures proper code compilation."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSXNamespaceValidation",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Imports and dependencies",
"index": 77,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6PreferShortImport",
"shortDescription": {
"text": "Import can be shortened"
},
"fullDescription": {
"text": "Reports an ES6 import whose 'from' part can be shortened. Suggests importing the parent directory.",
"markdown": "Reports an ES6 import whose `from` part can be shortened. Suggests importing the parent directory."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ES6PreferShortImport",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PointlessBitwiseExpressionJS",
"shortDescription": {
"text": "Bitwise expression can be simplified"
},
"fullDescription": {
"text": "Reports an expression that includes 'and' with zero, 'or' by zero, or shifting by zero. Such expressions may result from not fully completed automated refactorings.",
"markdown": "Reports an expression that includes `and` with zero, `or` by zero, or shifting by zero. Such expressions may result from not fully completed automated refactorings."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PointlessBitwiseExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Bitwise operation issues",
"index": 28,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSStringConcatenationToES6Template",
"shortDescription": {
"text": "String concatenation is used instead of template literal"
},
"fullDescription": {
"text": "Reports a string concatenation. Suggests replacing it with a template literal Example '\"result: \" + a + \".\"' After applying the quick-fix the code looks as follows: '`result: ${a}.`'",
"markdown": "Reports a string concatenation. Suggests replacing it with a [template literal](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals)\n\nExample\n\n \"result: \" + a + \".\" \n\nAfter applying the quick-fix the code looks as follows:\n\n `result: ${a}.` \n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSStringConcatenationToES6Template",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/ES2015 migration aids",
"index": 32,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ReplaceAssignmentWithOperatorAssignmentJS",
"shortDescription": {
"text": "Assignment could be replaced with operator assignment"
},
"fullDescription": {
"text": "Reports an assignment operation that can be replaced by an operator assignment to make your code shorter and probably clearer. Example: 'x = x + 3;'\n 'x = x / 3;'\n After the quick fix is applied the result looks like: 'x += 3;'\n 'x /= 3;'",
"markdown": "Reports an assignment operation that can be replaced by an operator assignment to make your code shorter and probably clearer.\n\n\nExample:\n\n x = x + 3;\n x = x / 3;\n\nAfter the quick fix is applied the result looks like:\n\n x += 3;\n x /= 3;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AssignmentReplaceableWithOperatorAssignmentJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Assignment issues",
"index": 64,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSFileReferences",
"shortDescription": {
"text": "Unresolved file reference"
},
"fullDescription": {
"text": "Reports an unresolved file reference in a JavaScript file, including CommonJS and AMD modules references.",
"markdown": "Reports an unresolved file reference in a JavaScript file, including CommonJS and AMD modules references."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSFileReferences",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FunctionWithInconsistentReturnsJS",
"shortDescription": {
"text": "Function with inconsistent returns"
},
"fullDescription": {
"text": "Reports a function that returns a value in some cases while in other cases no value is returned. This usually indicates an error. Example: 'function foo() {\n if (true)\n return 3;\n return;\n}'",
"markdown": "Reports a function that returns a value in some cases while in other cases no value is returned. This usually indicates an error.\n\nExample:\n\n\n function foo() {\n if (true)\n return 3;\n return;\n }\n\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FunctionWithInconsistentReturnsJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Validity issues",
"index": 37,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EmptyTryBlockJS",
"shortDescription": {
"text": "Empty 'try' block"
},
"fullDescription": {
"text": "Reports an empty 'try' block, which usually indicates an error.",
"markdown": "Reports an empty `try` block, which usually indicates an error."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EmptyTryBlockJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Try statement issues",
"index": 42,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6ClassMemberInitializationOrder",
"shortDescription": {
"text": "Use of possibly unassigned property in a static initializer"
},
"fullDescription": {
"text": "Reports a class member initializer which references another non-hoisted class member while the latter may be not initialized yet. Initialization of class members happens consequently for fields, so a field cannot reference another field that is declared later.",
"markdown": "Reports a class member initializer which references another non-hoisted class member while the latter may be not initialized yet. \n\nInitialization of class members happens consequently for fields, so a field cannot reference another field that is declared later."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ES6ClassMemberInitializationOrder",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ReservedWordUsedAsNameJS",
"shortDescription": {
"text": "Reserved word used as name"
},
"fullDescription": {
"text": "Reports a JavaScript reserved word used as a name. The JavaScript specification reserves a number of words which are currently not used as keywords. Using those words as identifiers may result in broken code if later versions of JavaScript start using them as keywords.",
"markdown": "Reports a JavaScript reserved word used as a name. The JavaScript specification reserves a number of words which are currently not used as keywords. Using those words as identifiers may result in broken code if later versions of JavaScript start using them as keywords."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ReservedWordAsName",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Validity issues",
"index": 37,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NestedFunctionJS",
"shortDescription": {
"text": "Nested function"
},
"fullDescription": {
"text": "Reports a function nested inside another function. Although JavaScript allows functions to be nested, such constructs may be confusing. Use the checkbox below to ignore anonymous nested functions.",
"markdown": "Reports a function nested inside another function. Although JavaScript allows functions to be nested, such constructs may be confusing.\n\n\nUse the checkbox below to ignore anonymous nested functions."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "NestedFunctionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IncrementDecrementResultUsedJS",
"shortDescription": {
"text": "Result of increment or decrement used"
},
"fullDescription": {
"text": "Reports an increment ('++') or decrement ('--') expression where the result of the assignment is used in a containing expression. Such assignments can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways. Example: 'var a = b++'",
"markdown": "Reports an increment (`++`) or decrement (`--`) expression where the result of the assignment is used in a containing expression. Such assignments can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways. Example: `var a = b++`"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "IncrementDecrementResultUsedJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SuspiciousTypeOfGuard",
"shortDescription": {
"text": "Unsound type guard check"
},
"fullDescription": {
"text": "Reports a 'typeof' or 'instanceof' unsound type guard check. The 'typeof x' type guard can be unsound in one of the following two cases: 'typeof x' never corresponds to the specified value (for example, 'typeof x === 'number'' when 'x' is of the type 'string | boolean') 'typeof x' always corresponds to the specified value (for example, 'typeof x === 'string'' when 'x' is of the type 'string') The 'x instanceof A' type guard can be unsound in one of the following two cases: The type of 'x' is not related to 'A' The type of 'x' is 'A' or a subtype of 'A'",
"markdown": "Reports a `typeof` or `instanceof` unsound type guard check. The `typeof x` type guard can be unsound in one of the following two cases:\n\n* `typeof x` never corresponds to the specified value (for example, `typeof x === 'number'` when `x` is of the type 'string \\| boolean')\n* `typeof x` always corresponds to the specified value (for example, `typeof x === 'string'` when `x` is of the type 'string')\n\n<br />\n\nThe `x instanceof A` type guard can be unsound in one of the following two cases:\n\n* The type of `x` is not related to `A`\n* The type of `x` is `A` or a subtype of `A`"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "SuspiciousTypeOfGuard",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6DestructuringVariablesMerge",
"shortDescription": {
"text": "Destructuring properties with the same key"
},
"fullDescription": {
"text": "Reports multiple destructuring properties with identical keys. Suggests merging the properties.",
"markdown": "Reports multiple destructuring properties with identical keys. Suggests merging the properties."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "ES6DestructuringVariablesMerge",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "LoopStatementThatDoesntLoopJS",
"shortDescription": {
"text": "Loop statement that doesn't loop"
},
"fullDescription": {
"text": "Reports a 'for', 'while', or 'do' statement whose bodies are guaranteed to execute at most once. Normally, this indicates an error.",
"markdown": "Reports a `for`, `while`, or `do` statement whose bodies are guaranteed to execute at most once. Normally, this indicates an error."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "LoopStatementThatDoesntLoopJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSNonASCIINames",
"shortDescription": {
"text": "Identifiers with non-ASCII symbols"
},
"fullDescription": {
"text": "Reports a non-ASCII symbol in a name. If the 'Allow only ASCII names' option is selected, reports all names that contain non-ASCII symbols. Otherwise reports all names that contain both ASCII and non-ASCII symbols.",
"markdown": "Reports a non-ASCII symbol in a name. \n\nIf the 'Allow only ASCII names' option is selected, reports all names that contain non-ASCII symbols. \nOtherwise reports all names that contain both ASCII and non-ASCII symbols."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSNonASCIINames",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Naming conventions",
"index": 83,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptRedundantGenericType",
"shortDescription": {
"text": "Redundant type arguments"
},
"fullDescription": {
"text": "Reports a type argument that is equal to the default one and can be removed. Example: 'type Foo<T=number> = T;\nlet z: Foo<number>;'",
"markdown": "Reports a type argument that is equal to the default one and can be removed.\n\n\nExample:\n\n\n type Foo<T=number> = T;\n let z: Foo<number>;\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "TypeScriptRedundantGenericType",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptUMDGlobal",
"shortDescription": {
"text": "Referenced UMD global variable"
},
"fullDescription": {
"text": "Reports a usage of a Universal Module Definition (UMD) global variable if the current file is a module (ECMAScript or CommonJS). Referencing UMD variables without explicit imports can lead to a runtime error if the library isn't included implicitly.",
"markdown": "Reports a usage of a Universal Module Definition (UMD) global variable if the current file is a module (ECMAScript or CommonJS). Referencing UMD variables without explicit imports can lead to a runtime error if the library isn't included implicitly."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "TypeScriptUMDGlobal",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnnecessaryReturnJS",
"shortDescription": {
"text": "Unnecessary 'return' statement"
},
"fullDescription": {
"text": "Reports an unnecessary 'return' statement, that is, a 'return' statement that returns no value and occurs just before the function would have \"fallen through\" the bottom. These statements may be safely removed.",
"markdown": "Reports an unnecessary `return` statement, that is, a `return` statement that returns no value and occurs just before the function would have \"fallen through\" the bottom. These statements may be safely removed."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "UnnecessaryReturnStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSLastCommaInObjectLiteral",
"shortDescription": {
"text": "Unneeded last comma in object literal"
},
"fullDescription": {
"text": "Reports usages of a trailing comma in object literals. The warning is reported only when the JavaScript language version is set to ECMAScript 5.1. Trailing commas in object literals are allowed by the specification, however, some browsers might throw an error when a trailing comma is used. You can configure formatting options for trailing commas in Code Style | JavaScript or TypeScript | Punctuation.",
"markdown": "Reports usages of a trailing comma in object literals.\n\nThe warning is reported only when the JavaScript language version is set to ECMAScript 5.1.\n\nTrailing commas in object literals are allowed by the specification, however, some browsers might throw an error when a trailing comma is used.\n\nYou can configure formatting options for trailing commas in **Code Style** \\| **JavaScript** or **TypeScript** \\| **Punctuation**."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSLastCommaInObjectLiteral",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6MissingAwait",
"shortDescription": {
"text": "Missing await for an async function call"
},
"fullDescription": {
"text": "Reports an 'async' function call without an expected 'await' prefix inside an 'async' function. Such call returns a 'Promise' and control flow is continued immediately. Example: 'async function bar() { /* ... */ }\nasync function foo() {\n bar(); // bad\n}' After the quick-fix is applied, the 'await' prefix is added: 'async function bar() { /* ... */ }\nasync function foo() {\n await bar(); // good\n}' When the 'Report for promises in return statements' checkbox is selected, also suggests adding 'await' in return statements. While this is generally not necessary, it gives two main benefits. You won't forget to add 'await' when surrounding your code with 'try-catch'. An explicit 'await' helps V8 runtime to provide async stack traces.",
"markdown": "Reports an `async` function call without an expected `await` prefix inside an `async` function. Such call returns a `Promise` and control flow is continued immediately.\n\nExample:\n\n\n async function bar() { /* ... */ }\n async function foo() {\n bar(); // bad\n }\n\n\nAfter the quick-fix is applied, the `await` prefix is added:\n\n\n async function bar() { /* ... */ }\n async function foo() {\n await bar(); // good\n }\n\n<br />\n\nWhen the 'Report for promises in return statements' checkbox is selected, also suggests adding `await` in return statements. \nWhile this is generally not necessary, it gives two main benefits. \n\n* You won't forget to add `await` when surrounding your code with `try-catch`.\n* An explicit `await` helps V8 runtime to provide [async stack traces](https://bit.ly/v8-zero-cost-async-stack-traces)."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "ES6MissingAwait",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Async code and promises",
"index": 73,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TailRecursionJS",
"shortDescription": {
"text": "Tail recursion"
},
"fullDescription": {
"text": "Reports a tail recursion, that is, when a function calls itself as its last action before returning. A tail recursion can always be replaced by looping, which will be considerably faster. Some JavaScript engines perform this optimization, while others do not. Thus, tail recursive solutions may have considerably different performance characteristics in different environments.",
"markdown": "Reports a tail recursion, that is, when a function calls itself as its last action before returning. A tail recursion can always be replaced by looping, which will be considerably faster. Some JavaScript engines perform this optimization, while others do not. Thus, tail recursive solutions may have considerably different performance characteristics in different environments."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TailRecursionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FlowJSCoverage",
"shortDescription": {
"text": "Code is not covered by Flow"
},
"fullDescription": {
"text": "Reports JavaScript code fragments that are not covered by the Flow type checker. To use this inspection, configure the Flow executable in Settings | Languages & Frameworks | JavaScript.",
"markdown": "Reports JavaScript code fragments that are not covered by the Flow type checker. To use this inspection, configure the Flow executable in [Settings \\| Languages \\& Frameworks \\| JavaScript](settings://Settings.JavaScript)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "FlowJSCoverage",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Flow type checker",
"index": 22,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "StandardJS",
"shortDescription": {
"text": "Standard code style"
},
"fullDescription": {
"text": "Reports a discrepancy detected by the JavaScript Standard Style linter. The highlighting severity in the editor is based on the severity level the linter reports.",
"markdown": "Reports a discrepancy detected by the [JavaScript Standard Style](https://standardjs.com/) linter. \n\nThe highlighting severity in the editor is based on the severity level the linter reports."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "StandardJS",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code quality tools",
"index": 84,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NestedAssignmentJS",
"shortDescription": {
"text": "Nested assignment"
},
"fullDescription": {
"text": "Reports an assignment expression nested inside another expression, for example, 'a = b = 1'. Such expressions may be confusing and violate the general design principle that a given construct should do precisely one thing.",
"markdown": "Reports an assignment expression nested inside another expression, for example, `a = b = 1`. Such expressions may be confusing and violate the general design principle that a given construct should do precisely one thing."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "NestedAssignmentJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Assignment issues",
"index": 64,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DefaultNotLastCaseInSwitchJS",
"shortDescription": {
"text": "'default' not last case in 'switch'"
},
"fullDescription": {
"text": "Reports a 'switch' statement where the 'default' case comes before another case instead of being the very last case, which may cause confusion.",
"markdown": "Reports a `switch` statement where the `default` case comes before another case instead of being the very last case, which may cause confusion."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DefaultNotLastCaseInSwitchJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConfusingPlusesOrMinusesJS",
"shortDescription": {
"text": "Confusing sequence of '+' or '-'"
},
"fullDescription": {
"text": "Reports a suspicious combination of '+' or '-' characters in JavaScript code (for example, 'a+++b'. Such sequences are confusing, and their semantics may change through changes in the whitespace.",
"markdown": "Reports a suspicious combination of `+` or `-` characters in JavaScript code (for example, `a+++b`. Such sequences are confusing, and their semantics may change through changes in the whitespace."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConfusingPlusesOrMinusesJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EmptyFinallyBlockJS",
"shortDescription": {
"text": "Empty 'finally' block"
},
"fullDescription": {
"text": "Reports an empty 'finally' block, which usually indicates an error.",
"markdown": "Reports an empty `finally` block, which usually indicates an error."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EmptyFinallyBlockJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Try statement issues",
"index": 42,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSCommentMatchesSignature",
"shortDescription": {
"text": "Mismatched JSDoc and function signature"
},
"fullDescription": {
"text": "Reports mismatch between the names and the number of parameters within a JSDoc comment and the actual parameters of a function. Suggests updating parameters in JSDoc comment. Example: '/**\n * @param height Height in pixels\n */\nfunction sq(height, width) {} // width is not documented' After the quick-fix is applied: '/**\n * @param height Height in pixels\n * @param width\n */\nfunction sq(height, width) {}'",
"markdown": "Reports mismatch between the names and the number of parameters within a JSDoc comment and the actual parameters of a function. Suggests updating parameters in JSDoc comment.\n\n**Example:**\n\n\n /**\n * @param height Height in pixels\n */\n function sq(height, width) {} // width is not documented\n\nAfter the quick-fix is applied:\n\n\n /**\n * @param height Height in pixels\n * @param width\n */\n function sq(height, width) {}\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSCommentMatchesSignature",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptConfig",
"shortDescription": {
"text": "Inconsistent tsconfig.json properties"
},
"fullDescription": {
"text": "Reports inconsistency of a 'paths', 'checkJs', or 'extends' property in a tsconfig.json file. The 'checkJs' property requires 'allowJs'. The 'extends' property should be a valid file reference.",
"markdown": "Reports inconsistency of a `paths`, `checkJs`, or `extends` property in a tsconfig.json file. \nThe `checkJs` property requires `allowJs`. \nThe `extends` property should be a valid file reference."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "TypeScriptConfig",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ForLoopThatDoesntUseLoopVariableJS",
"shortDescription": {
"text": "'for' loop where update or condition does not use loop variable"
},
"fullDescription": {
"text": "Reports a 'for' loop where the condition or update does not use the 'for' loop variable.",
"markdown": "Reports a `for` loop where the condition or update does not use the `for` loop variable."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ForLoopThatDoesntUseLoopVariableJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptAbstractClassConstructorCanBeMadeProtected",
"shortDescription": {
"text": "Abstract class constructor can be made protected"
},
"fullDescription": {
"text": "Reports a public constructor of an abstract class and suggests making it protected (because it is useless to have it public).",
"markdown": "Reports a public constructor of an abstract class and suggests making it protected (because it is useless to have it public)."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "TypeScriptAbstractClassConstructorCanBeMadeProtected",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FunctionWithMultipleReturnPointsJS",
"shortDescription": {
"text": "Function with multiple return points"
},
"fullDescription": {
"text": "Reports a function with multiple return points. Such functions are hard to understand and maintain.",
"markdown": "Reports a function with multiple return points. Such functions are hard to understand and maintain."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FunctionWithMultipleReturnPointsJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Function metrics",
"index": 90,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSIgnoredPromiseFromCall",
"shortDescription": {
"text": "Result of method call returning a promise is ignored"
},
"fullDescription": {
"text": "Reports a function call that returns a 'Promise' that is not used later. Such calls are usually unintended and indicate an error.",
"markdown": "Reports a function call that returns a `Promise` that is not used later. Such calls are usually unintended and indicate an error."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "JSIgnoredPromiseFromCall",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Async code and promises",
"index": 73,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ThreeNegationsPerFunctionJS",
"shortDescription": {
"text": "Function with more than three negations"
},
"fullDescription": {
"text": "Reports a function with three or more negation operations ('!' or '!='). Such functions may be unnecessarily confusing.",
"markdown": "Reports a function with three or more negation operations (`!` or `!=`). Such functions may be unnecessarily confusing."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FunctionWithMoreThanThreeNegationsJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Function metrics",
"index": 90,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSRemoveUnnecessaryParentheses",
"shortDescription": {
"text": "Unnecessary parentheses"
},
"fullDescription": {
"text": "Reports redundant parentheses. In expressions: 'var x = ((1) + 2) + 3' In arrow function argument lists: 'var incrementer = (x) => x + 1' In TypeScript and Flow type declarations: 'type Card = (Suit & Rank) | (Suit & Number)'",
"markdown": "Reports redundant parentheses.\n\nIn expressions:\n\n var x = ((1) + 2) + 3\n\nIn arrow function argument lists:\n\n var incrementer = (x) => x + 1\n\nIn TypeScript and Flow type declarations:\n\n type Card = (Suit & Rank) | (Suit & Number)\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSRemoveUnnecessaryParentheses",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "OverlyComplexBooleanExpressionJS",
"shortDescription": {
"text": "Overly complex boolean expression"
},
"fullDescription": {
"text": "Reports a boolean expression with too many terms. Such expressions may be confusing and bug-prone. Use the field below to specify the maximum number of terms allowed in an arithmetic expression.",
"markdown": "Reports a boolean expression with too many terms. Such expressions may be confusing and bug-prone.\n\n\nUse the field below to specify the maximum number of terms allowed in an arithmetic expression."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "OverlyComplexBooleanExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "OverlyComplexArithmeticExpressionJS",
"shortDescription": {
"text": "Overly complex arithmetic expression"
},
"fullDescription": {
"text": "Reports an arithmetic expression with too many terms. Such expressions may be confusing and bug-prone. Use the field below to specify the maximum number of terms allowed in an arithmetic expression.",
"markdown": "Reports an arithmetic expression with too many terms. Such expressions may be confusing and bug-prone.\n\n\nUse the field below to specify the maximum number of terms allowed in an arithmetic expression."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "OverlyComplexArithmeticExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "StringLiteralBreaksHTMLJS",
"shortDescription": {
"text": "String literal which breaks HTML parsing"
},
"fullDescription": {
"text": "Reports a string literal that contains a '</' sequence. Such strings may result in incorrect parsing of any HTML in which the JavaScript code is embedded.",
"markdown": "Reports a string literal that contains a `</` sequence. Such strings may result in incorrect parsing of any HTML in which the JavaScript code is embedded."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "StringLiteralBreaksHTMLJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Validity issues",
"index": 37,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DuplicateConditionJS",
"shortDescription": {
"text": "Duplicate condition in 'if' statement"
},
"fullDescription": {
"text": "Reports duplicate conditions in different branches of an 'if' statement. Duplicate conditions usually represent programmer oversight. Example: 'if (a) {\n ...\n } else if (a) {\n ...\n }'",
"markdown": "Reports duplicate conditions in different branches of an `if` statement. Duplicate conditions usually represent programmer oversight.\n\nExample:\n\n\n if (a) {\n ...\n } else if (a) {\n ...\n }\n\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DuplicateConditionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TrivialIfJS",
"shortDescription": {
"text": "Redundant 'if' statement"
},
"fullDescription": {
"text": "Reports an 'if' statement that can be simplified to a single assignment or a 'return' statement. Example: 'if(foo())\n {\n return true;\n }\n else\n {\n return false;\n }' After applying the quick-fix the code looks as follows: 'return foo();'",
"markdown": "Reports an `if` statement that can be simplified to a single assignment or a `return` statement.\n\nExample:\n\n\n if(foo())\n {\n return true;\n }\n else\n {\n return false;\n }\n\nAfter applying the quick-fix the code looks as follows:\n\n return foo();\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RedundantIfStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CommaExpressionJS",
"shortDescription": {
"text": "Comma expression"
},
"fullDescription": {
"text": "Reports a comma expression. Such expressions are often a sign of overly clever code, and may lead to subtle bugs. Comma expressions in the initializer or in the update section of 'for' loops are ignored.",
"markdown": "Reports a comma expression. Such expressions are often a sign of overly clever code, and may lead to subtle bugs. Comma expressions in the initializer or in the update section of `for` loops are ignored."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "CommaExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6BindWithArrowFunction",
"shortDescription": {
"text": "Suspicious usage of 'bind' with arrow function"
},
"fullDescription": {
"text": "Reports 'bind' used together with an arrow function. Because arrow functions use lexical 'this', a 'bind' call will have no effect on them. See here for details.",
"markdown": "Reports `bind` used together with an arrow function. \nBecause arrow functions use lexical `this`, a `bind` call will have no effect on them. \nSee [here](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Functions/Arrow_functions#Lexical_this) for details."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ES6BindWithArrowFunction",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSComparisonWithNaN",
"shortDescription": {
"text": "Comparison with NaN"
},
"fullDescription": {
"text": "Reports a comparison with NaN. Comparisons like 'expr == NaN' or 'expr === NaN' are always evaluated to 'false'.",
"markdown": "Reports a comparison with NaN. Comparisons like `expr == NaN` or `expr === NaN` are always evaluated to `false`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSComparisonWithNaN",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSConstructorReturnsPrimitive",
"shortDescription": {
"text": "Constructor returns primitive value"
},
"fullDescription": {
"text": "Reports a constructor function that returns a primitive value. When called with 'new', this value will be lost and an object will be returned instead. To avoid warnings, use the '@return' tag to specify the return of the function.",
"markdown": "Reports a constructor function that returns a primitive value. When called with `new`, this value will be lost and an object will be returned instead. To avoid warnings, use the `@return` tag to specify the return of the function."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JSConstructorReturnsPrimitive",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnnecessaryLabelJS",
"shortDescription": {
"text": "Unnecessary label"
},
"fullDescription": {
"text": "Reports an unused label.",
"markdown": "Reports an unused label."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "UnnecessaryLabelJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSBitwiseOperatorUsage",
"shortDescription": {
"text": "Bitwise operator usage"
},
"fullDescription": {
"text": "Reports a suspicious usage of a bitwise AND (\"'&'\") or OR (\"'|'\") operator. Usually it is a typo and the result of applying boolean operations AND (\"'&&'\") and OR (\"'||'\") is expected.",
"markdown": "Reports a suspicious usage of a bitwise AND (\"`&`\") or OR (\"`|`\") operator. Usually it is a typo and the result of applying boolean operations AND (\"`&&`\") and OR (\"`||`\") is expected."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSBitwiseOperatorUsage",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Bitwise operation issues",
"index": 28,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUnresolvedReference",
"shortDescription": {
"text": "Unresolved reference"
},
"fullDescription": {
"text": "Reports an unresolved reference in JavaScript code. In TypeScript code, a problem is reported if the part of the reference before the dot is of the type 'any'.",
"markdown": "Reports an unresolved reference in JavaScript code. In TypeScript code, a problem is reported if the part of the reference before the dot is of the type `any`."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSUnresolvedReference",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnterminatedStatementJS",
"shortDescription": {
"text": "Unterminated statement"
},
"fullDescription": {
"text": "Reports a statement without a semicolon or a newline at the end. Select the 'Terminate statements with semicolons' option in Editor | Code Style | JavaScript or TypeScript - Punctuation to report any statement that doesn't end with a semicolon, even if a newline is used. According to some coding styles, semicolons are preferred to line-breaks for consistency with the other languages.",
"markdown": "Reports a statement without a semicolon or a newline at the end.\n\nSelect the 'Terminate statements with semicolons' option in *Editor \\| Code Style \\| JavaScript or TypeScript - Punctuation* to report any statement that doesn't end with a semicolon, even if a newline is used.\nAccording to some coding styles, semicolons are preferred to line-breaks for consistency with the other languages."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "UnterminatedStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IfStatementWithIdenticalBranchesJS",
"shortDescription": {
"text": "'if' statement with identical branches"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "IfStatementWithIdenticalBranchesJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PlatformDetectionJS",
"shortDescription": {
"text": "Inaccurate platform detection"
},
"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`"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PlatformDetectionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/DOM issues",
"index": 72,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSConsecutiveCommasInArrayLiteral",
"shortDescription": {
"text": "Consecutive commas in array literal"
},
"fullDescription": {
"text": "Reports a consecutive comma in an array literal. The skipped element accepts the 'undefined' value, but it could be done unintentionally, for example, when commas are at the end of one line and at the beginning of the next one.",
"markdown": "Reports a consecutive comma in an array literal. The skipped element accepts the `undefined` value, but it could be done unintentionally, for example, when commas are at the end of one line and at the beginning of the next one."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSConsecutiveCommasInArrayLiteral",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUnreachableSwitchBranches",
"shortDescription": {
"text": "Unreachable 'case' branch of a 'switch' statement"
},
"fullDescription": {
"text": "Reports an unreachable 'case' branch of a 'switch' statement. Example: '/**\n * @param {('foo' | 'bar')} p\n */\nfunction foo(p) {\n switch (p) {\n case 'foo': break;\n case 'bar': break;\n case 'baz': break; // unreachable\n }\n}'",
"markdown": "Reports an unreachable `case` branch of a `switch` statement.\n\nExample:\n\n\n /**\n * @param {('foo' | 'bar')} p\n */\n function foo(p) {\n switch (p) {\n case 'foo': break;\n case 'bar': break;\n case 'baz': break; // unreachable\n }\n }\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSUnreachableSwitchBranches",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptDuplicateUnionOrIntersectionType",
"shortDescription": {
"text": "Duplicate union or intersection type component"
},
"fullDescription": {
"text": "Reports a duplicate type inside a union or intersection.",
"markdown": "Reports a duplicate type inside a union or intersection."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "TypeScriptDuplicateUnionOrIntersectionType",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TrivialConditionalJS",
"shortDescription": {
"text": "Redundant conditional expression"
},
"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"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RedundantConditionalExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "InnerHTMLJS",
"shortDescription": {
"text": "Use of 'innerHTML' property"
},
"fullDescription": {
"text": "Reports a JavaScript access to DOM nodes as text using the 'innerHTML' property. Most usages of 'innerHTML' are performed better with explicit DOM calls, such as 'getElementByID()' and 'createElement()'. Additionally, 'innerHTML' will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs.",
"markdown": "Reports a JavaScript access to DOM nodes as text using the `innerHTML` property. Most usages of `innerHTML` are performed better with explicit DOM calls, such as `getElementByID()` and `createElement()`. Additionally, `innerHTML` will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "InnerHTMLJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/DOM issues",
"index": 72,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6UnusedImports",
"shortDescription": {
"text": "Unused import"
},
"fullDescription": {
"text": "Reports a redundant 'import' statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import 'import 'packageName'' instead of the regular one.",
"markdown": "Reports a redundant `import` statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import `import 'packageName'` instead of the regular one."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ES6UnusedImports",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Imports and dependencies",
"index": 77,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "VoidExpressionJS",
"shortDescription": {
"text": "'void' expression"
},
"fullDescription": {
"text": "Reports a 'void' expression.",
"markdown": "Reports a `void` expression."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "VoidExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSAssignmentUsedAsCondition",
"shortDescription": {
"text": "Assignment used as condition"
},
"fullDescription": {
"text": "Reports an assignment that is used as the condition of an 'if', 'while', 'for', or 'do' statement. Although occasionally intended, this usage is confusing, and often indicates a typo (for example, '=' instead of '==').",
"markdown": "Reports an assignment that is used as the condition of an `if`, `while`, `for`, or `do` statement. Although occasionally intended, this usage is confusing, and often indicates a typo (for example, `=` instead of `==`)."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSAssignmentUsedAsCondition",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Assignment issues",
"index": 64,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ForLoopReplaceableByWhileJS",
"shortDescription": {
"text": "'for' loop may be replaced by 'while' loop"
},
"fullDescription": {
"text": "Reports a 'for' loop that contains neither initialization nor an update component. Suggests replacing the loop with a simpler 'while' statement. Example: 'for(; exitCondition(); ) {\n process();\n }' After the quick-fix is applied the result looks like: 'while(exitCondition()) {\n process();\n }' Use the checkbox below if you wish this inspection to ignore for loops with trivial or non-existent conditions.",
"markdown": "Reports a `for` loop that contains neither initialization nor an update component. Suggests replacing the loop with a simpler `while` statement.\n\nExample:\n\n\n for(; exitCondition(); ) {\n process();\n }\n\nAfter the quick-fix is applied the result looks like:\n\n\n while(exitCondition()) {\n process();\n }\n\nUse the checkbox below if you wish this inspection to ignore **for** loops with trivial or non-existent conditions."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ForLoopReplaceableByWhile",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSVoidFunctionReturnValueUsed",
"shortDescription": {
"text": "Void function return value used"
},
"fullDescription": {
"text": "Reports a return value of a function that doesn't return anything. Calling of such functions always produces an 'undefined' value and such assignment may indicate an error. Example: 'let a = console.log('foo');' The following usages are ignored: Inside a return statement In some binary operations For overridden non-void functions",
"markdown": "Reports a return value of a function that doesn't return anything. Calling of such functions always produces an `undefined` value and such assignment may indicate an error.\n\nExample:\n\n\n let a = console.log('foo');\n\n<br />\n\nThe following usages are ignored:\n\n* Inside a return statement\n* In some binary operations\n* For overridden non-void functions"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSVoidFunctionReturnValueUsed",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ReturnFromFinallyBlockJS",
"shortDescription": {
"text": "'return' inside 'finally' block"
},
"fullDescription": {
"text": "Reports a 'return' statement inside a 'finally' block. Such 'return' statements may mask exceptions thrown, and complicate debugging.",
"markdown": "Reports a `return` statement inside a `finally` block. Such `return` statements may mask exceptions thrown, and complicate debugging."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ReturnInsideFinallyBlockJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Try statement issues",
"index": 42,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSValidateTypes",
"shortDescription": {
"text": "Type mismatch"
},
"fullDescription": {
"text": "Reports incorrect type of: a parameter in a function call a return value an assigned expression TypeScript code is ignored.",
"markdown": "Reports incorrect type of:\n\n* a parameter in a function call\n* a return value\n* an assigned expression\n\nTypeScript code is ignored."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "JSValidateTypes",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstantConditionalExpressionJS",
"shortDescription": {
"text": "Constant conditional expression"
},
"fullDescription": {
"text": "Reports a conditional expression in the format 'true? result1: result2' or 'false? result1: result2. Suggests simplifying the expression.'",
"markdown": "Reports a conditional expression in the format `true? result1: result2` or `false? result1: result2``.\nSuggests simplifying the expression.\n`"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ConstantConditionalExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSTestFailedLine",
"shortDescription": {
"text": "Highlight failure line in test code"
},
"fullDescription": {
"text": "Reports a failed method call or an assertion in a test.",
"markdown": "Reports a failed method call or an assertion in a test."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JSTestFailedLine",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Unit testing",
"index": 10,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSValidateJSDoc",
"shortDescription": {
"text": "Syntax errors and unresolved references in JSDoc"
},
"fullDescription": {
"text": "Reports a syntax discrepancy in a documentation comment.",
"markdown": "Reports a syntax discrepancy in a documentation comment."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSValidateJSDoc",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NonBlockStatementBodyJS",
"shortDescription": {
"text": "Statement body without braces"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "NonBlockStatementBodyJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IfStatementWithTooManyBranchesJS",
"shortDescription": {
"text": "'if' statement with too many branches"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "IfStatementWithTooManyBranchesJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "BreakStatementJS",
"shortDescription": {
"text": "'break' statement"
},
"fullDescription": {
"text": "Reports a 'break' statements. Ignores 'break' statements that end case blocks.",
"markdown": "Reports a `break` statements. Ignores `break` statements that end case blocks."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "BreakStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FlowJSConfig",
"shortDescription": {
"text": "Missing .flowconfig"
},
"fullDescription": {
"text": "Reports a JavaScript file with a '@flow' flag that doesn't have an associated '.flowconfig' file in the project.",
"markdown": "Reports a JavaScript file with a `@flow` flag that doesn't have an associated `.flowconfig` file in the project."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FlowJSConfig",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Flow type checker",
"index": 22,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSPotentiallyInvalidUsageOfClassThis",
"shortDescription": {
"text": "Potentially invalid reference to 'this' of a class from closure"
},
"fullDescription": {
"text": "Reports an attempt to reference a member of an ECMAScript class via the 'this.' qualifier in a nested function that is not a lambda. 'this' in a nested function that is not a lambda is the function's own 'this' and doesn't relate to the outer class.",
"markdown": "Reports an attempt to reference a member of an ECMAScript class via the `this.` qualifier in a nested function that is not a lambda. \n`this` in a nested function that is not a lambda is the function's own `this` and doesn't relate to the outer class."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSPotentiallyInvalidUsageOfClassThis",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DebuggerStatementJS",
"shortDescription": {
"text": "'debugger' statement"
},
"fullDescription": {
"text": "Reports a 'debugger' statement used for interaction with the Javascript debuggers. Such statements should not appear in production code.",
"markdown": "Reports a `debugger` statement used for interaction with the Javascript debuggers. Such statements should not appear in production code."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DebuggerStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnnecessaryContinueJS",
"shortDescription": {
"text": "Unnecessary 'continue' statement"
},
"fullDescription": {
"text": "Reports an unnecessary 'continue' statement at the end of a loop. Suggests removing such statements.",
"markdown": "Reports an unnecessary `continue` statement at the end of a loop. Suggests removing such statements."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "UnnecessaryContinueJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptValidateTypes",
"shortDescription": {
"text": "Type mismatch"
},
"fullDescription": {
"text": "Reports a parameter, return value, or assigned expression of incorrect type.",
"markdown": "Reports a parameter, return value, or assigned expression of incorrect type."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "TypeScriptValidateTypes",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "BreakStatementWithLabelJS",
"shortDescription": {
"text": "'break' statement with label"
},
"fullDescription": {
"text": "Reports a labeled 'break' statement.",
"markdown": "Reports a labeled `break` statement."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "BreakStatementWithLabelJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "StatementsPerFunctionJS",
"shortDescription": {
"text": "Overly long function"
},
"fullDescription": {
"text": "Reports an overly long function. Function length is calculated by counting up the number of non-empty statements in the function. Functions that are too long are error-prone and difficult to test. Use the field below to specify the maximum acceptable number of statements in a function.",
"markdown": "Reports an overly long function. Function length is calculated by counting up the number of non-empty statements in the function. Functions that are too long are error-prone and difficult to test.\n\n\nUse the field below to specify the maximum acceptable number of statements in a function."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FunctionTooLongJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Function metrics",
"index": 90,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSDeclarationsAtScopeStart",
"shortDescription": {
"text": "'var' declared not at the beginning of a function"
},
"fullDescription": {
"text": "Checks that declarations of local variables declared with var are at the top of a function scope. By default, variable declarations are always moved (\"hoisted\") invisibly to the top of their containing scope when the code is executed. Therefore, declaring them at the top of the scope helps represent this behavior in the code.",
"markdown": "Checks that declarations of local variables declared with **var** are at the top of a function scope. \n\nBy default, variable declarations are always moved (\"hoisted\") invisibly to the top of their containing scope when the code is executed. Therefore, declaring them at the top of the scope helps represent this behavior in the code."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSDeclarationsAtScopeStart",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ContinueStatementWithLabelJS",
"shortDescription": {
"text": "'continue' statement with label"
},
"fullDescription": {
"text": "Reports a labeled 'continue' statement.",
"markdown": "Reports a labeled `continue` statement."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ContinueStatementWithLabelJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptMissingConfigOption",
"shortDescription": {
"text": "Missing tsconfig.json option "
},
"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."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "TypeScriptMissingConfigOption",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSObjectNullOrUndefined",
"shortDescription": {
"text": "Object is 'null' or 'undefined'"
},
"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`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSObjectNullOrUndefined",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6ShorthandObjectProperty",
"shortDescription": {
"text": "Property can be replaced with shorthand"
},
"fullDescription": {
"text": "Reports an object property that can be converted to ES6 shorthand style and provides a quick-fix to do it. Example: 'var obj = {foo:foo}' After applying the quick-fix the code looks as follows: 'var obj = {foo}'",
"markdown": "Reports an object property that can be converted to ES6 shorthand style and provides a quick-fix to do it.\n\nExample:\n\n\n var obj = {foo:foo}\n\nAfter applying the quick-fix the code looks as follows:\n\n\n var obj = {foo}\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "ES6ShorthandObjectProperty",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AssignmentToForLoopParameterJS",
"shortDescription": {
"text": "Assignment to 'for' loop parameter"
},
"fullDescription": {
"text": "Reports an assignment to a variable declared as a 'for' loop parameter. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error.",
"markdown": "Reports an assignment to a variable declared as a `for` loop parameter. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AssignmentToForLoopParameterJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Assignment issues",
"index": 64,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSPotentiallyInvalidConstructorUsage",
"shortDescription": {
"text": "Potentially invalid constructor usage"
},
"fullDescription": {
"text": "Reports a usage of a potentially invalid constructor function, for example: a function that is not a constructor after 'new', using a constructor's prototype or calling a constructor without 'new'. A constructor function is assumed to have an upper case name (optional) or have an explicit JSDoc '@constructor' tag.",
"markdown": "Reports a usage of a potentially invalid constructor function, for example: a function that is not a constructor after `new`, using a constructor's prototype or calling a constructor without `new`. A constructor function is assumed to have an upper case name (optional) or have an explicit JSDoc `@constructor` tag."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSPotentiallyInvalidConstructorUsage",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PointlessArithmeticExpressionJS",
"shortDescription": {
"text": "Pointless arithmetic expression"
},
"fullDescription": {
"text": "Reports an arithmetic expression that include adding or subtracting zero, multiplying by zero or one, division by one, and shift by zero. Such expressions may result from not fully completed automated refactoring.",
"markdown": "Reports an arithmetic expression that include adding or subtracting zero, multiplying by zero or one, division by one, and shift by zero. Such expressions may result from not fully completed automated refactoring."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PointlessArithmeticExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NodeCoreCodingAssistance",
"shortDescription": {
"text": "Unresolved Node.js APIs"
},
"fullDescription": {
"text": "Suggests configuring coding assistance for Node.js, for example, 'require' and/or core modules ('path', 'http', 'fs', etc.). See https://nodejs.org/api/ for the complete list.",
"markdown": "Suggests configuring coding assistance for Node.js, for example, `require` and/or core modules ('path', 'http', 'fs', etc.).\n\n\nSee <https://nodejs.org/api/> for the complete list."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "NodeCoreCodingAssistance",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Node.js",
"index": 107,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSPrimitiveTypeWrapperUsage",
"shortDescription": {
"text": "Primitive type object wrapper used"
},
"fullDescription": {
"text": "Reports an improper usage of a wrapper for primitive types or a property of a primitive type being modified, as in the latter case the assigned value will be lost.",
"markdown": "Reports an improper usage of a wrapper for primitive types or a property of a primitive type being modified, as in the latter case the assigned value will be lost."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSPrimitiveTypeWrapperUsage",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptSmartCast",
"shortDescription": {
"text": "Narrowed type"
},
"fullDescription": {
"text": "Reports a usage of a variable where the variable type is narrowed by a type guard. Note that severity level doesn't affect this inspection.",
"markdown": "Reports a usage of a variable where the variable type is narrowed by a type guard. Note that severity level doesn't affect this inspection."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "TypeScriptSmartCast",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6ConvertIndexedForToForOf",
"shortDescription": {
"text": "Indexed 'for' is used instead of 'for..of'"
},
"fullDescription": {
"text": "Reports an indexed 'for' loop used on an array. Suggests replacing it with a 'for..of' loop. 'for..of' loops are introduced in ECMAScript 6 and iterate over 'iterable' objects.",
"markdown": "Reports an indexed [for](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for) loop used on an array. Suggests replacing it with a [for..of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of) loop. \n`for..of` loops are introduced in ECMAScript 6 and iterate over `iterable` objects."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "ES6ConvertIndexedForToForOf",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/ES2015 migration aids",
"index": 32,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSLastCommaInArrayLiteral",
"shortDescription": {
"text": "Unneeded last comma in array literal"
},
"fullDescription": {
"text": "Reports a usage of a trailing comma in an array literal. The warning is reported only when the JavaScript language version is set to ECMAScript 5.1. Although trailing commas in arrays are allowed by the specification, some browsers may throw an error when a trailing comma is used. You can configure formatting options for trailing commas in Code Style | JavaScript or TypeScript | Punctuation.",
"markdown": "Reports a usage of a trailing comma in an array literal.\n\nThe warning is reported only when the JavaScript language version is set to ECMAScript 5.1.\n\nAlthough trailing commas in arrays are allowed by the specification, some browsers may throw an error when a trailing comma is used.\n\nYou can configure formatting options for trailing commas in **Code Style** \\| **JavaScript** or **TypeScript** \\| **Punctuation**."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSLastCommaInArrayLiteral",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConditionalExpressionJS",
"shortDescription": {
"text": "Conditional expression"
},
"fullDescription": {
"text": "Reports a ternary conditional expression. Some coding standards prohibit such expressions in favor of explicit 'if' statements.",
"markdown": "Reports a ternary conditional expression. Some coding standards prohibit such expressions in favor of explicit `if` statements."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConditionalExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6ConvertVarToLetConst",
"shortDescription": {
"text": "'var' is used instead of 'let' or 'const'"
},
"fullDescription": {
"text": "Reports a 'var' declaration that is used instead of 'let' or 'const'. Both 'let' and 'const' are block-scoped and behave more strictly. Suggests replacing all 'var' declarations with 'let' or 'const' declarations, depending on the semantics of a particular value. The declarations may be moved to the top of the function or placed before the first usage of the variable to avoid Reference errors. Select the 'Conservatively convert var with Fix all action' option to prevent any changes in these complex cases when using the 'Fix all' action.",
"markdown": "Reports a `var` declaration that is used instead of `let` or `const`. \nBoth `let` and `const` are block-scoped and behave more strictly. \n\nSuggests replacing all `var` declarations with `let` or `const` declarations, depending on the semantics of a particular value. The declarations may be moved to the top of the function or placed before the first usage of the variable to avoid Reference errors. \nSelect the 'Conservatively convert var with Fix all action' option to prevent any changes in these complex cases when using the 'Fix all' action."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "ES6ConvertVarToLetConst",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/ES2015 migration aids",
"index": 32,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PointlessBooleanExpressionJS",
"shortDescription": {
"text": "Pointless statement or boolean expression"
},
"fullDescription": {
"text": "Reports a pointless or pointlessly complicated boolean expression or statement. Example: 'let a = !(false && x);\n let b = false || x;' After the quick fix is applied the result looks like: 'let a = true;\n let b = x;'",
"markdown": "Reports a pointless or pointlessly complicated boolean expression or statement.\n\nExample:\n\n\n let a = !(false && x);\n let b = false || x;\n\nAfter the quick fix is applied the result looks like:\n\n\n let a = true;\n let b = x;\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PointlessBooleanExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DynamicallyGeneratedCodeJS",
"shortDescription": {
"text": "Execution of dynamically generated code"
},
"fullDescription": {
"text": "Reports a call of the 'eval()', 'setTimeout()', or 'setInterval()' function or an allocation of a 'Function' object. These functions are used to execute arbitrary strings of JavaScript text, which often dynamically generated. This can be very confusing, and may be a security risk. Ignores the cases when a callback function is provided to these methods statically, without code generation.",
"markdown": "Reports a call of the `eval()`, `setTimeout()`, or `setInterval()` function or an allocation of a `Function` object. These functions are used to execute arbitrary strings of JavaScript text, which often dynamically generated. This can be very confusing, and may be a security risk. \n\nIgnores the cases when a callback function is provided to these methods statically, without code generation."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DynamicallyGeneratedCodeJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NegatedConditionalExpressionJS",
"shortDescription": {
"text": "Negated conditional expression"
},
"fullDescription": {
"text": "Reports a conditional expression whose condition is negated. Suggests flipping the order of branches in the conditional expression to increase the clarity of the statement. Example: '!condition ? 2 : 1'",
"markdown": "Reports a conditional expression whose condition is negated. Suggests flipping the order of branches in the conditional expression to increase the clarity of the statement. Example: `!condition ? 2 : 1`"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "NegatedConditionalExpressionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUrlImportUsage",
"shortDescription": {
"text": "URL import is used"
},
"fullDescription": {
"text": "Checks used URL imports in the JavaScript language. Suggests downloading the module for the specified remote URL. Such association enables the IDE to provide proper code completion and navigation. URLs in import specifiers are supported only for ECMAScript modules in the JavaScript language.",
"markdown": "Checks used URL imports in the JavaScript language. Suggests downloading the module for the specified remote URL. Such association enables the IDE to provide proper code completion and navigation. \n\nURLs in import specifiers are supported only for ECMAScript modules in the JavaScript language."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSUrlImportUsage",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Imports and dependencies",
"index": 77,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnnecessaryLabelOnContinueStatementJS",
"shortDescription": {
"text": "Unnecessary label on 'continue' statement"
},
"fullDescription": {
"text": "Reports a labeled 'continue' statement whose labels may be removed without changing the flow of control.",
"markdown": "Reports a labeled `continue` statement whose labels may be removed without changing the flow of control."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "UnnecessaryLabelOnContinueStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSPotentiallyInvalidTargetOfIndexedPropertyAccess",
"shortDescription": {
"text": "Possibly incorrect target of indexed property access"
},
"fullDescription": {
"text": "Reports a potentially invalid indexed property access, for example, 'Array[1]'.",
"markdown": "Reports a potentially invalid indexed property access, for example, `Array[1]`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSPotentiallyInvalidTargetOfIndexedPropertyAccess",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSAccessibilityCheck",
"shortDescription": {
"text": "Inaccessible @private and @protected members referenced"
},
"fullDescription": {
"text": "Reports a reference to a JavaScript member that is marked with a '@private' or '@protected' tag but does not comply with visibility rules that these tags imply.",
"markdown": "Reports a reference to a JavaScript member that is marked with a `@private` or `@protected` tag but does not comply with visibility rules that these tags imply."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSAccessibilityCheck",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FunctionWithMultipleLoopsJS",
"shortDescription": {
"text": "Function with multiple loops"
},
"fullDescription": {
"text": "Reports a function with multiple loop statements.",
"markdown": "Reports a function with multiple loop statements."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FunctionWithMultipleLoopsJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Function metrics",
"index": 90,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "LabeledStatementJS",
"shortDescription": {
"text": "Labeled statement"
},
"fullDescription": {
"text": "Reports a labeled statement.",
"markdown": "Reports a labeled statement."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "LabeledStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NpmUsedModulesInstalled",
"shortDescription": {
"text": "Missing module dependency"
},
"fullDescription": {
"text": "Reports a module from a 'require()' call or an 'import' statement that is not installed or is not listed in package.json dependencies. Suggests installing the module and/or including it into package.json. For 'require()' calls, works only in the files from the scope of Node.js Core JavaScript library.",
"markdown": "Reports a module from a `require()` call or an `import` statement that is not installed or is not listed in package.json dependencies.\n\nSuggests installing the module and/or including it into package.json.\n\nFor `require()` calls, works only in the files from the scope of *Node.js Core* JavaScript library."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "NpmUsedModulesInstalled",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Imports and dependencies",
"index": 77,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnusedCatchParameterJS",
"shortDescription": {
"text": "Unused 'catch' parameter"
},
"fullDescription": {
"text": "Reports a 'catch' parameter that is not used in the corresponding block. The 'catch' parameters named 'ignore' or 'ignored' are ignored. Use the checkbox below to disable this inspection for 'catch' blocks with comments.",
"markdown": "Reports a `catch` parameter that is not used in the corresponding block. The `catch` parameters named `ignore` or `ignored` are ignored.\n\n\nUse the checkbox below to disable this inspection for `catch`\nblocks with comments."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "UnusedCatchParameterJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Try statement issues",
"index": 42,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "WithStatementJS",
"shortDescription": {
"text": "'with' statement"
},
"fullDescription": {
"text": "Reports a 'with' statements. Such statements result in potentially confusing implicit bindings, and may behave strangely in setting new variables.",
"markdown": "Reports a `with` statements. Such statements result in potentially confusing implicit bindings, and may behave strangely in setting new variables."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "WithStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSConstantReassignment",
"shortDescription": {
"text": "Attempt to assign to const or readonly variable"
},
"fullDescription": {
"text": "Reports reassigning a value to a constant or a readonly variable.",
"markdown": "Reports reassigning a value to a constant or a readonly variable."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "JSConstantReassignment",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Validity issues",
"index": 37,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MagicNumberJS",
"shortDescription": {
"text": "Magic number"
},
"fullDescription": {
"text": "Reports a \"magic number\" that is a numeric literal used without being named by a constant declaration. Magic numbers can result in code whose intention is unclear, and may result in errors if a magic number is changed in one code location but remains unchanged in another. The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 1000, 0.0 and 1.0 are ignored.",
"markdown": "Reports a \"magic number\" that is a numeric literal used without being named by a constant declaration. Magic numbers can result in code whose intention is unclear, and may result in errors if a magic number is changed in one code location but remains unchanged in another. The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 1000, 0.0 and 1.0 are ignored."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MagicNumberJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FunctionNamingConventionJS",
"shortDescription": {
"text": "Function naming convention"
},
"fullDescription": {
"text": "Reports a function whose name is too short, too long, or does not follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length, and a regular expression for function names. Use the standard 'java.util.regex' format for regular expressions.",
"markdown": "Reports a function whose name is too short, too long, or does not follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length, and a regular expression\nfor function names. Use the standard `java.util.regex` format for regular expressions."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "FunctionNamingConventionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Naming conventions",
"index": 83,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptLibrary",
"shortDescription": {
"text": "Missing global library"
},
"fullDescription": {
"text": "Reports a TypeScript library file that is required for a symbol but is not listed under the 'lib' compiler option in 'tsconfig.json'.",
"markdown": "Reports a TypeScript library file that is required for a symbol but is not listed under the `lib` compiler option in `tsconfig.json`."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "TypeScriptLibrary",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptMissingAugmentationImport",
"shortDescription": {
"text": "Missing augmentation import"
},
"fullDescription": {
"text": "Reports a usage from augmentation module without an explicit import.",
"markdown": "Reports a usage from [augmentation module](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation) without an explicit import."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "TypeScriptMissingAugmentationImport",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AnonymousFunctionJS",
"shortDescription": {
"text": "Anonymous function"
},
"fullDescription": {
"text": "Reports an anonymous function. An explicit name of a function expression may be helpful for debugging. Ignores function expressions without names if they have a 'name' property specified in the ECMAScript 6 standard. For example, 'var bar = function() {};' is not reported.",
"markdown": "Reports an anonymous function. An explicit name of a function expression may be helpful for debugging. Ignores function expressions without names if they have a `name` property specified in the ECMAScript 6 standard. For example, `var bar = function() {};` is not reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AnonymousFunctionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially undesirable code constructs",
"index": 50,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ObjectAllocationIgnoredJS",
"shortDescription": {
"text": "Result of object allocation ignored"
},
"fullDescription": {
"text": "Reports object allocation where the result of the allocated object is ignored, for example, 'new Error();' as a statement, without any assignment. Such allocation expressions may indicate an odd object initialization strategy.",
"markdown": "Reports object allocation where the result of the allocated object is ignored, for example, `new Error();` as a statement, without any assignment. Such allocation expressions may indicate an odd object initialization strategy."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ObjectAllocationIgnored",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSTypeOfValues",
"shortDescription": {
"text": "'typeof' comparison with non-standard value"
},
"fullDescription": {
"text": "Reports a comparison of a 'typeof' expression with a literal string which is not one of the standard types: 'undefined', 'object', 'boolean', 'number', 'string', 'function', or 'symbol'. Such comparisons always return 'false'.",
"markdown": "Reports a comparison of a `typeof` expression with a literal string which is not one of the standard types: `undefined`, `object`, `boolean`, `number`, `string`, `function`, or `symbol`. Such comparisons always return `false`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSTypeOfValues",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EmptyCatchBlockJS",
"shortDescription": {
"text": "Empty 'catch' block"
},
"fullDescription": {
"text": "Reports an empty 'catch' block. This indicates that errors are simply ignored instead of handling them. Any comment in a 'catch' block mutes the inspection.",
"markdown": "Reports an empty `catch` block. This indicates that errors are simply ignored instead of handling them. \n\nAny comment in a `catch` block mutes the inspection."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EmptyCatchBlockJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Try statement issues",
"index": 42,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSHint",
"shortDescription": {
"text": "JSHint"
},
"fullDescription": {
"text": "Reports a problem detected by the JSHint linter.",
"markdown": "Reports a problem detected by the [JSHint](https://jshint.com/) linter."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "JSHint",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code quality tools",
"index": 84,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Eslint",
"shortDescription": {
"text": "ESLint"
},
"fullDescription": {
"text": "Reports a discrepancy detected by the ESLint linter. The highlighting is based on the rule severity specified in the ESLint configuration file for each individual rule. Clear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all ESLint rules.",
"markdown": "Reports a discrepancy detected by the [ESLint](https://eslint.org) linter. \n\nThe highlighting is based on the rule severity specified in the [ESLint configuration file](https://eslint.org/docs/user-guide/configuring) for each individual rule. \n\nClear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all ESLint rules."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "Eslint",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code quality tools",
"index": 84,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSEqualityComparisonWithCoercion.TS",
"shortDescription": {
"text": "Equality operator may cause type coercion"
},
"fullDescription": {
"text": "Reports a usage of equality operators may cause unexpected type coercions. Suggests replacing '==' or '!=' equality operators with type-safe '===' or '!==' operators. Depending on the option selected, one of the following cases will be reported: All usages of '==' and '!=' operators. All usages except comparison with null. Some code styles allow using 'x == null' as a replacement for 'x === null || x === undefined'. Only suspicious expressions, such as: '==' or '!=' comparisons with '0', '''', 'null', 'true', 'false', or 'undefined'.",
"markdown": "Reports a usage of equality operators may cause unexpected type coercions. Suggests replacing `==` or `!=` equality operators with type-safe `===` or `!==` operators.\n\nDepending on the option selected, one of the following cases will be reported:\n\n* All usages of `==` and `!=` operators.\n* All usages except comparison with null. Some code styles allow using `x == null` as a replacement for `x === null || x === undefined`.\n* Only suspicious expressions, such as: `==` or `!=` comparisons with `0`, `''`, `null`, `true`, `false`, or `undefined`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EqualityComparisonWithCoercionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ExceptionCaughtLocallyJS",
"shortDescription": {
"text": "Exception used for local control-flow"
},
"fullDescription": {
"text": "Reports a 'throw' statement whose exceptions are always caught by the containing 'try' statement. Using 'throw' statements as a 'goto' to change the local flow of control is confusing.",
"markdown": "Reports a `throw` statement whose exceptions are always caught by the containing `try` statement. Using `throw` statements as a `goto` to change the local flow of control is confusing."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ExceptionCaughtLocallyJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Try statement issues",
"index": 42,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ThrowFromFinallyBlockJS",
"shortDescription": {
"text": "'throw' inside 'finally' block"
},
"fullDescription": {
"text": "Reports s 'throw' statement inside a 'finally' block. Such 'throw' statements may mask exceptions thrown, and complicate debugging.",
"markdown": "Reports s `throw` statement inside a `finally` block. Such `throw` statements may mask exceptions thrown, and complicate debugging."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ThrowInsideFinallyBlockJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Try statement issues",
"index": 42,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CyclomaticComplexityJS",
"shortDescription": {
"text": "Overly complex function"
},
"fullDescription": {
"text": "Reports a function with too many branching points in a function (too high cyclomatic complexity). Such functions may be confusing and hard to test. Use the field provided below to specify the maximum acceptable cyclomatic complexity for a function.",
"markdown": "Reports a function with too many branching points in a function (too high cyclomatic complexity). Such functions may be confusing and hard to test.\n\n\nUse the field provided below to specify the maximum acceptable cyclomatic complexity for a function."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "OverlyComplexFunctionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Function metrics",
"index": 90,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PackageJsonMismatchedDependency",
"shortDescription": {
"text": "Mismatched dependencies in package.json"
},
"fullDescription": {
"text": "Reports a dependency from package.json that is not installed or doesn't match the specified version range.",
"markdown": "Reports a dependency from package.json that is not installed or doesn't match the specified [version range](https://docs.npmjs.com/about-semantic-versioning)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PackageJsonMismatchedDependency",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Imports and dependencies",
"index": 77,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSPotentiallyInvalidUsageOfThis",
"shortDescription": {
"text": "Potentially invalid reference to 'this' from closure"
},
"fullDescription": {
"text": "Reports a 'this' in closure that is used for referencing properties of outer context. Example: 'function Outer() {\n this.outerProp = 1;\n function inner() {\n // bad, because 'outerProp' of Outer\n // won't be updated here\n // on calling 'new Outer()' as may be expected\n this.outerProp = 2;\n }\n inner();\n}'",
"markdown": "Reports a `this` in closure that is used for referencing properties of outer context.\n\nExample:\n\n\n function Outer() {\n this.outerProp = 1;\n function inner() {\n // bad, because 'outerProp' of Outer\n // won't be updated here\n // on calling 'new Outer()' as may be expected\n this.outerProp = 2;\n }\n inner();\n }\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSPotentiallyInvalidUsageOfThis",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUnresolvedLibraryURL",
"shortDescription": {
"text": "Missed locally stored library for HTTP link"
},
"fullDescription": {
"text": "Reports a URL of an external JavaScript library that is not associated with any locally stored file. Suggests downloading the library. Such association enables the IDE to provide proper code completion and navigation.",
"markdown": "Reports a URL of an external JavaScript library that is not associated with any locally stored file. Suggests downloading the library. Such association enables the IDE to provide proper code completion and navigation."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JSUnresolvedLibraryURL",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "InfiniteLoopJS",
"shortDescription": {
"text": "Infinite loop statement"
},
"fullDescription": {
"text": "Reports a 'for', 'while', or 'do' statement which can only exit by throwing an exception. Such statements often indicate coding errors.",
"markdown": "Reports a `for`, `while`, or `do` statement which can only exit by throwing an exception. Such statements often indicate coding errors."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "InfiniteLoopJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSArrowFunctionBracesCanBeRemoved",
"shortDescription": {
"text": "Redundant braces around arrow function body"
},
"fullDescription": {
"text": "Reports an arrow function whose body only consists of braces and exactly one statement. Suggests converting to concise syntax without braces. 'let incrementer = (x) => {return x + 1};' After the quick-fix is applied, the code fragment looks as follows: 'let incrementer = (x) => x + 1;'",
"markdown": "Reports an arrow function whose body only consists of braces and exactly one statement. Suggests converting to concise syntax without braces.\n\n\n let incrementer = (x) => {return x + 1};\n\nAfter the quick-fix is applied, the code fragment looks as follows:\n\n\n let incrementer = (x) => x + 1;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSArrowFunctionBracesCanBeRemoved",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "Stylelint",
"shortDescription": {
"text": "Stylelint"
},
"fullDescription": {
"text": "Reports a discrepancy detected by the Stylelint linter. The highlighting is based on the rule severity specified in the Stylelint configuration file for each individual rule.",
"markdown": "Reports a discrepancy detected by the [Stylelint](http://stylelint.io) linter. \n\nThe highlighting is based on the rule severity specified in the [Stylelint configuration file](https://stylelint.io/user-guide/configure) for each individual rule."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "Stylelint",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Code quality tools",
"index": 112,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSClassNamingConvention",
"shortDescription": {
"text": "Class naming convention"
},
"fullDescription": {
"text": "Reports a class or a function that is annotated with a JSDoc '@constructor' or '@class' tag whose names are too short, too long, or do not follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length, and a regular expression expected for classes names. Use the standard 'java.util.regex' format for regular expressions.",
"markdown": "Reports a class or a function that is annotated with a JSDoc `@constructor` or `@class` tag whose names are too short, too long, or do not follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length, and a regular expression\nexpected for classes names. Use the standard `java.util.regex` format for regular expressions."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JSClassNamingConvention",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Naming conventions",
"index": 83,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptValidateJSTypes",
"shortDescription": {
"text": "Type mismatch in 'any' type"
},
"fullDescription": {
"text": "Reports a function call with a parameter, return value, or assigned expression or incorrect type, if the context symbol can be implicitly resolved to the 'any' type. declare var test: any;\ntest.hasOwnProperty(true); //reports 'true'",
"markdown": "Reports a function call with a parameter, return value, or assigned expression or incorrect type, if the context symbol can be implicitly resolved to the `any` type.\n\n```\ndeclare var test: any;\ntest.hasOwnProperty(true); //reports 'true'\n```"
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "TypeScriptValidateJSTypes",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XHTMLIncompatabilitiesJS",
"shortDescription": {
"text": "Incompatible XHTML usages"
},
"fullDescription": {
"text": "Reports common JavaScript DOM patterns which may present problems with XHTML documents. In particular, the patterns detected will behave completely differently depending on whether the document is loaded as XML or HTML. This can result in subtle bugs where script behaviour is dependent on the MIME-type of the document, rather than its content. Patterns detected include document.body, document.images, document.applets, document.links, document.forms, and document.anchors.",
"markdown": "Reports common JavaScript DOM patterns which may present problems with XHTML documents. In particular, the patterns detected will behave completely differently depending on whether the document is loaded as XML or HTML. This can result in subtle bugs where script behaviour is dependent on the MIME-type of the document, rather than its content. Patterns detected include **document.body** , **document.images** , **document.applets** , **document.links** , **document.forms** , and **document.anchors**."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "XHTMLIncompatabilitiesJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/DOM issues",
"index": 72,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptJSXUnresolvedComponent",
"shortDescription": {
"text": "Unresolved JSX component"
},
"fullDescription": {
"text": "Reports an unresolved reference to a JSX component. Suggests adding an import statement if the referenced component is defined in the project or its dependencies or creating a new component with the specified name. The template for a new component can be modified in Editor | File and Code Templates.",
"markdown": "Reports an unresolved reference to a JSX component. Suggests adding an import statement if the referenced component is defined in the project or its dependencies or creating a new component with the specified name.\n\nThe template for a new component can be modified in Editor \\| File and Code Templates."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "TypeScriptJSXUnresolvedComponent",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptFieldCanBeMadeReadonly",
"shortDescription": {
"text": "Field can be readonly"
},
"fullDescription": {
"text": "Reports a private field that can be made readonly (for example, if the field is assigned only in the constructor).",
"markdown": "Reports a private field that can be made readonly (for example, if the field is assigned only in the constructor)."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "TypeScriptFieldCanBeMadeReadonly",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NegatedIfStatementJS",
"shortDescription": {
"text": "Negated 'if' statement"
},
"fullDescription": {
"text": "Reports if statements which have an else branch and a negated condition. Flipping the order of the if and else branches will usually increase the clarity of such statements.",
"markdown": "Reports **if** statements which have an **else** branch and a negated condition. Flipping the order of the **if** and **else** branches will usually increase the clarity of such statements."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "NegatedIfStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConditionalExpressionWithIdenticalBranchesJS",
"shortDescription": {
"text": "Conditional expression with identical branches"
},
"fullDescription": {
"text": "Reports a ternary conditional expression with identical 'then' and 'else' branches.",
"markdown": "Reports a ternary conditional expression with identical `then` and `else` branches."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConditionalExpressionWithIdenticalBranchesJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSIncompatibleTypesComparison",
"shortDescription": {
"text": "Comparison of expressions having incompatible types"
},
"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."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "JSIncompatibleTypesComparison",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSAnnotator",
"shortDescription": {
"text": "ECMAScript specification is not followed"
},
"fullDescription": {
"text": "Reports basic syntax issues and inconsistencies with language specification, such as invalid usages of keywords, usages of incompatible numeric format, or multiple parameters to getters/setters. Generally, such errors must always be reported and shouldn't be disabled. But in some cases, such as issues due to the dynamic nature of JavaScript, the use of not yet supported language features, or bugs in IDE's checker, it may be handy to disable reporting these very basic errors.",
"markdown": "Reports basic syntax issues and inconsistencies with language specification, such as invalid usages of keywords, usages of incompatible numeric format, or multiple parameters to getters/setters. \nGenerally, such errors must always be reported and shouldn't be disabled. But in some cases, such as issues due to the dynamic nature of JavaScript, the use of not yet supported language features, or bugs in IDE's checker, it may be handy to disable reporting these very basic errors."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "JSAnnotator",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUnfilteredForInLoop",
"shortDescription": {
"text": "Unfiltered for..in loop"
},
"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"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JSUnfilteredForInLoop",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSFunctionExpressionToArrowFunction",
"shortDescription": {
"text": "Function expression is used instead of arrow function"
},
"fullDescription": {
"text": "Reports a function expression. Suggests converting it to an arrow function. Example: 'arr.map(function(el) {return el + 1})' After applying the quick-fix the code looks as follows: 'arr.map(el => el + 1)'",
"markdown": "Reports a [function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/function) expression. Suggests converting it to an [arrow function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions).\n\nExample:\n\n arr.map(function(el) {return el + 1})\n\nAfter applying the quick-fix the code looks as follows:\n\n arr.map(el => el + 1)\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSFunctionExpressionToArrowFunction",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/ES2015 migration aids",
"index": 32,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6TopLevelAwaitExpression",
"shortDescription": {
"text": "Top-level 'await' expression"
},
"fullDescription": {
"text": "Reports a usage of a top-level 'await' expression. While the new 'top-level async' proposal is on its way, using 'await' outside async functions is not allowed.",
"markdown": "Reports a usage of a top-level `await` expression. While the new 'top-level async' proposal is on its way, using `await` outside async functions is not allowed."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "ES6TopLevelAwaitExpression",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Async code and promises",
"index": 73,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6ConvertToForOf",
"shortDescription": {
"text": "'for..in' is used instead of 'for..of'"
},
"fullDescription": {
"text": "Reports a usage of a 'for..in' loop on an array. Suggests replacing it with a 'for..of' loop. 'for..of' loops, which are introduced in ECMAScript 6, iterate over 'iterable' objects. For arrays, this structure is preferable to 'for..in', because it works only with array values but not with array object's properties.",
"markdown": "Reports a usage of a [for..in](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in) loop on an array. Suggests replacing it with a [for..of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of) loop. \n`for..of` loops, which are introduced in ECMAScript 6, iterate over `iterable` objects. For arrays, this structure is preferable to `for..in`, because it works only with array values but not with array object's properties."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "ES6ConvertToForOf",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/ES2015 migration aids",
"index": 32,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ParameterNamingConventionJS",
"shortDescription": {
"text": "Function parameter naming convention"
},
"fullDescription": {
"text": "Reports a function parameter whose name is too short, too long, or doesn't follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length and regular expression expected for local variables names. Use the standard 'java.util.regex' format regular expressions.",
"markdown": "Reports a function parameter whose name is too short, too long, or doesn't follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length and regular expression\nexpected for local variables names. Use the standard `java.util.regex` format regular expressions."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ParameterNamingConventionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Naming conventions",
"index": 83,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUndefinedPropertyAssignment",
"shortDescription": {
"text": "Undefined property assignment"
},
"fullDescription": {
"text": "Reports an assignment to a property that is not defined in the type of a variable. Example: '/**\n * @type {{ property1: string, property2: number }}\n */\nlet myVariable = create();\n\nmyVariable.newProperty = 3; // bad'",
"markdown": "Reports an assignment to a property that is not defined in the type of a variable.\n\nExample:\n\n\n /**\n * @type {{ property1: string, property2: number }}\n */\n let myVariable = create();\n\n myVariable.newProperty = 3; // bad\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSUndefinedPropertyAssignment",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ParametersPerFunctionJS",
"shortDescription": {
"text": "Function with too many parameters"
},
"fullDescription": {
"text": "Reports a function with too many parameters. Such functions often indicate problems with design. Use the field below to specify the maximum acceptable number of parameters for a function.",
"markdown": "Reports a function with too many parameters. Such functions often indicate problems with design.\n\n\nUse the field below to specify the maximum acceptable number of parameters for a function."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "OverlyComplexFunctionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Function metrics",
"index": 90,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ThisExpressionReferencesGlobalObjectJS",
"shortDescription": {
"text": "'this' expression which references the global object"
},
"fullDescription": {
"text": "Reports a 'this' expression outside an object literal or a constructor body. Such 'this' expressions reference the top-level \"global\" JavaScript object, but are mostly useless.",
"markdown": "Reports a `this` expression outside an object literal or a constructor body. Such `this` expressions reference the top-level \"global\" JavaScript object, but are mostly useless."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "ThisExpressionReferencesGlobalObjectJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Validity issues",
"index": 37,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSDeprecatedSymbols",
"shortDescription": {
"text": "Deprecated symbol used"
},
"fullDescription": {
"text": "Reports a usage of a deprecated function variable.",
"markdown": "Reports a usage of a deprecated function variable."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "JSDeprecatedSymbols",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "LocalVariableNamingConventionJS",
"shortDescription": {
"text": "Local variable naming convention"
},
"fullDescription": {
"text": "Reports a local variable whose name is too short, too long, or doesn't follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length, and a regular expression expected for local variables names. Use the standard 'java.util.regex' format regular expressions.",
"markdown": "Reports a local variable whose name is too short, too long, or doesn't follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length, and a regular expression\nexpected for local variables names. Use the standard `java.util.regex` format regular expressions."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "LocalVariableNamingConventionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Naming conventions",
"index": 83,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UpdateDependencyToLatestVersion",
"shortDescription": {
"text": "Update package.json dependencies to latest versions"
},
"fullDescription": {
"text": "Suggests to upgrade your package.json dependencies to the latest versions, ignoring specified versions.",
"markdown": "Suggests to upgrade your package.json dependencies to the latest versions, ignoring specified versions."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "UpdateDependencyToLatestVersion",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Imports and dependencies",
"index": 77,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSSuspiciousNameCombination",
"shortDescription": {
"text": "Suspicious variable/parameter name combination"
},
"fullDescription": {
"text": "Reports an assignment or a function call where the name of the target variable or the function parameter does not match the name of the value assigned to it. Example: 'var x = 0;\n var y = x;' or 'var x = 0, y = 0;\n var rc = new Rectangle(y, x, 20, 20);' Here the inspection guesses that 'x' and 'y' are mixed up. Specify the names that should not be used together. An error is reported if a parameter name or an assignment target name contains words from one group while the name of the assigned or passed variable contains words from another group.",
"markdown": "Reports an assignment or a function call where the name of the target variable or the function parameter does not match the name of the value assigned to it.\n\nExample:\n\n\n var x = 0;\n var y = x;\n\nor\n\n\n var x = 0, y = 0;\n var rc = new Rectangle(y, x, 20, 20);\n\nHere the inspection guesses that `x` and `y` are mixed up.\n\nSpecify the names that should not be used together. An error is reported\nif a parameter name or an assignment target name contains words from one group while the name of the assigned or passed\nvariable contains words from another group."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSSuspiciousNameCombination",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUnresolvedExtXType",
"shortDescription": {
"text": "Unresolved Ext JS xtype"
},
"fullDescription": {
"text": "Reports an Ext JS 'xtype' reference that doesn't have a corresponding class.",
"markdown": "Reports an Ext JS `xtype` reference that doesn't have a corresponding class."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSUnresolvedExtXType",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6RedundantNestingInTemplateLiteral",
"shortDescription": {
"text": "Redundant nesting in template literal"
},
"fullDescription": {
"text": "Reports nested instances of a string or a template literal. Suggests inlining the nested instances into the containing template string. Example: 'let a = `Hello, ${`Brave ${\"New\"}`} ${\"World\"}!`' After applying the quick-fix the code looks as follows: 'let a = `Hello, Brave New World!`'",
"markdown": "Reports nested instances of a string or a template literal. Suggests inlining the nested instances into the containing template string.\n\nExample:\n\n\n let a = `Hello, ${`Brave ${\"New\"}`} ${\"World\"}!`\n\nAfter applying the quick-fix the code looks as follows:\n\n\n let a = `Hello, Brave New World!`\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "ES6RedundantNestingInTemplateLiteral",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NestingDepthJS",
"shortDescription": {
"text": "Overly nested function"
},
"fullDescription": {
"text": "Reports a function whose body contains statements that are too deeply nested within other statements. Such functions may be confusing and indicate that refactoring may be necessary. Use the field provided below to specify the maximum acceptable nesting depth allowed in a function.",
"markdown": "Reports a function whose body contains statements that are too deeply nested within other statements. Such functions may be confusing and indicate that refactoring may be necessary.\n\n\nUse the field provided below to specify the maximum acceptable nesting depth allowed in a function."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "OverlyNestedFunctionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Function metrics",
"index": 90,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptSuspiciousConstructorParameterAssignment",
"shortDescription": {
"text": "Assigned constructor field parameter"
},
"fullDescription": {
"text": "Reports a common mistake in TypeScript code, when a class field is declared as a constructor parameter, and then this parameter is assigned. In this case, the corresponding field won't be assigned, only the local parameter value is modified. 'class Foo {\n constructor(private p: number) {\n p = 1; //must be this.p = 1;\n }\n}'",
"markdown": "Reports a common mistake in TypeScript code, when a class field is declared as a constructor parameter, and then this parameter is assigned. \nIn this case, the corresponding field *won't* be assigned, only the local parameter value is modified.\n\n\n class Foo {\n constructor(private p: number) {\n p = 1; //must be this.p = 1;\n }\n }\n"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "TypeScriptSuspiciousConstructorParameterAssignment",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ChainedFunctionCallJS",
"shortDescription": {
"text": "Chained function call"
},
"fullDescription": {
"text": "Reports a function call whose target is another function call, for example, 'foo().bar()'",
"markdown": "Reports a function call whose target is another function call, for example, `foo().bar()`"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ChainedFunctionCallJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NestedFunctionCallJS",
"shortDescription": {
"text": "Nested function call"
},
"fullDescription": {
"text": "Reports a function call that is used as an argument in another function call, for example, 'foo(bar())'",
"markdown": "Reports a function call that is used as an argument in another function call, for example, `foo(bar())`"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "NestedFunctionCallJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSEqualityComparisonWithCoercion",
"shortDescription": {
"text": "Equality operator may cause type coercion"
},
"fullDescription": {
"text": "Reports a usage of an equality operator that may cause unexpected type coercions. Suggests replacing '==' and '!=' with type-safe equality operators '===' and '!=='. Depending on the option selected, one of the following cases will be reported: All usages of '==' and '!=' operators. All usages except comparison with null. Some code styles allow using 'x == null' as a replacement for 'x === null || x === undefined'. Only suspicious expressions, such as: '==' or '!=' comparisons with '0', '''', 'null', 'true', 'false', or 'undefined'.",
"markdown": "Reports a usage of an equality operator that may cause unexpected type coercions. Suggests replacing `==` and `!=` with type-safe equality operators `===` and `!==`.\n\nDepending on the option selected, one of the following cases will be reported:\n\n* All usages of `==` and `!=` operators.\n* All usages except comparison with null. Some code styles allow using `x == null` as a replacement for `x === null || x === undefined`.\n* Only suspicious expressions, such as: `==` or `!=` comparisons with `0`, `''`, `null`, `true`, `false`, or `undefined`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "EqualityComparisonWithCoercionJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstantOnLHSOfComparisonJS",
"shortDescription": {
"text": "Constant on left side of comparison"
},
"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."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConstantOnLefSideOfComparisonJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSCheckFunctionSignatures",
"shortDescription": {
"text": "Signature mismatch"
},
"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."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "JSCheckFunctionSignatures",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AssignmentResultUsedJS",
"shortDescription": {
"text": "Result of assignment used"
},
"fullDescription": {
"text": "Reports an assignment expression where the result of the assignment is used in the containing expression. Such assignments often indicate coding errors, for example, '=' instead of '=='. Moreover, they can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways. Expressions in parentheses are ignored.",
"markdown": "Reports an assignment expression where the result of the assignment is used in the containing expression. Such assignments often indicate coding errors, for example, `=` instead of `==`. Moreover, they can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways.\n\nExpressions in parentheses are ignored."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AssignmentResultUsedJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Assignment issues",
"index": 64,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ConstantOnRHSOfComparisonJS",
"shortDescription": {
"text": "Constant on right side of comparison"
},
"fullDescription": {
"text": "Reports a comparison operation with a constant in the right-hand side. According to coding conventions, constants should only be in the left-hand side of comparisons.",
"markdown": "Reports a comparison operation with a constant in the right-hand side. According to coding conventions, constants should only be in the left-hand side of comparisons."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ConstantOnRightSideOfComparisonJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code style issues",
"index": 63,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUnnecessarySemicolon",
"shortDescription": {
"text": "Unnecessary semicolon"
},
"fullDescription": {
"text": "Reports an unneeded semicolon.",
"markdown": "Reports an unneeded semicolon."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSUnnecessarySemicolon",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptUnresolvedReference",
"shortDescription": {
"text": "Unresolved TypeScript reference"
},
"fullDescription": {
"text": "Reports an unresolved reference in TypeScript code.",
"markdown": "Reports an unresolved reference in TypeScript code."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "TypeScriptUnresolvedReference",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSNonStrictModeUsed",
"shortDescription": {
"text": "Non-strict mode used"
},
"fullDescription": {
"text": "Reports a JavaScript file that is not in the 'strict' mode.",
"markdown": "Reports a JavaScript file that is not in the `strict` mode."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JSNonStrictModeUsed",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ES6RedundantAwait",
"shortDescription": {
"text": "Redundant 'await' expression"
},
"fullDescription": {
"text": "Reports a redundant usage of 'await', such as 'await await', or awaiting a non-promise result. When the 'Report for promises' option is selected, suggests removing 'await' before promises when applicable (in 'return' statements, and with 'Promise.resolve/reject'). Removing 'await' in such contexts causes two problems. Surrounding your code with 'try-catch' and forgetting to add 'await' will change code semantics while you may fail to notice that. Having an explicit 'await' may prevent the V8 runtime from providing async stack traces.",
"markdown": "Reports a redundant usage of `await`, such as `await await`, or awaiting a non-promise result.\n\n\nWhen the 'Report for promises' option is selected, suggests removing `await` before promises when applicable\n(in `return` statements, and with `Promise.resolve/reject`).\n\nRemoving `await` in such contexts causes two problems.\n\n* Surrounding your code with `try-catch` and forgetting to add `await` will change code semantics while you may fail to notice that.\n* Having an explicit `await` may prevent the V8 runtime from providing [async stack traces](http://bit.ly/v8-zero-cost-async-stack-traces)."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "ES6RedundantAwait",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Async code and promises",
"index": 73,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "NestedSwitchStatementJS",
"shortDescription": {
"text": "Nested 'switch' statement"
},
"fullDescription": {
"text": "Reports a 'switch' statement that is nested in another 'switch' statement. Nested 'switch' statements may be very confusing, particularly if indenting is inconsistent.",
"markdown": "Reports a `switch` statement that is nested in another `switch` statement. Nested `switch` statements may be very confusing, particularly if indenting is inconsistent."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "NestedSwitchStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AssignmentToFunctionParameterJS",
"shortDescription": {
"text": "Assignment to function parameter"
},
"fullDescription": {
"text": "Reports an assignment to a function parameter, including increment and decrement operations. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error.",
"markdown": "Reports an assignment to a function parameter, including increment and decrement operations. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AssignmentToFunctionParameterJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Assignment issues",
"index": 64,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "FallThroughInSwitchStatementJS",
"shortDescription": {
"text": "Fallthrough in 'switch' statement"
},
"fullDescription": {
"text": "Reports a 'switch' statement where control can proceed from a branch to the next one. Such \"fall-through\" often indicates an error, for example, a missing 'break' or 'return'.",
"markdown": "Reports a `switch` statement where control can proceed from a branch to the next one. Such \"fall-through\" often indicates an error, for example, a missing `break` or `return`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "FallThroughInSwitchStatementJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CallerJS",
"shortDescription": {
"text": "Use of 'caller' property"
},
"fullDescription": {
"text": "Reports a usage of the 'caller' property in a JavaScript function. Using this property to access the stack frame of the calling method can be extremely confusing and result in subtle bugs.",
"markdown": "Reports a usage of the `caller` property in a JavaScript function. Using this property to access the stack frame of the calling method can be extremely confusing and result in subtle bugs."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CallerJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "TypeScriptExplicitMemberType",
"shortDescription": {
"text": "Explicit types"
},
"fullDescription": {
"text": "Reports a type annotation that doesn't match the current code style for explicit types. Type declarations are not necessary when the type that is inferred from the context exactly matches the type annotation, for example: 'var pi: number = 3.14' In some cases it is preferable to always have explicit types - this prevents accidental type changes and makes code more explicit.",
"markdown": "Reports a type annotation that doesn't match the current code style for explicit types.\n\n\nType declarations are not necessary when the type that is inferred from the context exactly matches the type annotation, for example:\n\n\n var pi: number = 3.14\n\nIn some cases it is preferable to always have explicit types - this prevents accidental type changes and makes code more explicit."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "TypeScriptExplicitMemberType",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/TypeScript",
"index": 69,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSDuplicateCaseLabel",
"shortDescription": {
"text": "Duplicate 'case' label"
},
"fullDescription": {
"text": "Reports a duplicated 'case' label on a 'switch' statement, which normally indicates an error.",
"markdown": "Reports a duplicated `case` label on a `switch` statement, which normally indicates an error."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSDuplicateCaseLabel",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSMissingSwitchBranches",
"shortDescription": {
"text": "'switch' statement has missing branches"
},
"fullDescription": {
"text": "Reports a 'switch' statement on a variable of the type 'enum' or 'union' when the statement doesn't cover some value options from the type.",
"markdown": "Reports a `switch` statement on a variable of the type `enum` or `union` when the statement doesn't cover some value options from the type."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "JSMissingSwitchBranches",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSSwitchVariableDeclarationIssue",
"shortDescription": {
"text": "Variable is declared and being used in different 'case' clauses"
},
"fullDescription": {
"text": "Reports a variable that is declared in one 'case' clause of a 'switch' statement but is used in another 'case' clause of the same statement. For block-scoped variables, this results in throwing a 'ReferenceError'. For 'var' variables, it indicates a potential error. Disable the inspection for 'var' variables if this pattern is used intentionally.",
"markdown": "Reports a variable that is declared in one `case` clause of a `switch` statement but is used in another `case` clause of the same statement. For block-scoped variables, this results in throwing a `ReferenceError`. For `var` variables, it indicates a potential error.\n\nDisable the inspection for `var` variables if this pattern is used intentionally."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSSwitchVariableDeclarationIssue",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Switch statement issues",
"index": 71,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSJQueryEfficiency",
"shortDescription": {
"text": "JQuery selector can be optimized"
},
"fullDescription": {
"text": "Reports a duplicated jQuery selector that can be cached or a usage of an attribute or a pseudo-selector (optional).",
"markdown": "Reports a duplicated jQuery selector that can be cached or a usage of an attribute or a pseudo-selector (optional)."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSJQueryEfficiency",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "UnreachableCodeJS",
"shortDescription": {
"text": "Unreachable code"
},
"fullDescription": {
"text": "Reports code that can never be executed, which almost certainly indicates an error",
"markdown": "Reports code that can never be executed, which almost certainly indicates an error"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "UnreachableCodeJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Control flow issues",
"index": 49,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSSuspiciousEqPlus",
"shortDescription": {
"text": "Suspicious '=+' assignment"
},
"fullDescription": {
"text": "Reports an assignment in the form 'a =+ b'. Suggests replacing with 'a += b'.",
"markdown": "Reports an assignment in the form `a =+ b`. Suggests replacing with `a += b`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSSuspiciousEqPlus",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Probable bugs",
"index": 55,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EmptyStatementBodyJS",
"shortDescription": {
"text": "Statement with empty body"
},
"fullDescription": {
"text": "Reports an 'if', 'while', 'for', or 'with' statement with an empty body. Such statements often result from typos, and may cause confusion. Use the checkbox below to specify whether the statements with empty block statements as bodies should be reported.",
"markdown": "Reports an `if`, `while`, `for`, or `with` statement with an empty body. Such statements often result from typos, and may cause confusion.\n\n\nUse the checkbox below to specify whether the statements with empty block statements as bodies\nshould be reported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "StatementWithEmptyBodyJS",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Potentially confusing code constructs",
"index": 38,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JSUnusedLocalSymbols",
"shortDescription": {
"text": "Unused local symbol"
},
"fullDescription": {
"text": "Reports an unused locally accessible parameter, local variable, function, class, or private member declaration.",
"markdown": "Reports an unused locally accessible parameter, local variable, function, class, or private member declaration."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JSUnusedLocalSymbols",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Unused symbols",
"index": 21,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "org.editorconfig.editorconfigjetbrains",
"version": "232.10072.32",
"rules": [
{
"id": "EditorConfigRootDeclarationUniqueness",
"shortDescription": {
"text": "Extra top-level declaration"
},
"fullDescription": {
"text": "Reports multiple top-level declarations. There can be only one optional “root=true” top-level declaration in the EditorConfig file. Using multiple top-level declarations is not allowed.",
"markdown": "Reports multiple top-level declarations. There can be only one optional \"root=true\" top-level declaration in the EditorConfig file. Using multiple top-level declarations is not allowed."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigRootDeclarationUniqueness",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigNumerousWildcards",
"shortDescription": {
"text": "Too many wildcards"
},
"fullDescription": {
"text": "Reports sections that contain too many wildcards. Using a lot of wildcards may lead to performance issues.",
"markdown": "Reports sections that contain too many wildcards. Using a lot of wildcards may lead to performance issues."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "EditorConfigNumerousWildcards",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigKeyCorrectness",
"shortDescription": {
"text": "Unknown property"
},
"fullDescription": {
"text": "Reports properties that are not supported by the IDE. Note: some “ij” domain properties may require specific language plugins.",
"markdown": "Reports properties that are not supported by the IDE. Note: some \"ij\" domain properties may require specific language plugins."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigKeyCorrectness",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigEncoding",
"shortDescription": {
"text": "File encoding doesn't match EditorConfig charset"
},
"fullDescription": {
"text": "Checks that current file encoding matches the encoding defined in \"charset\" property of .editorconfig file.",
"markdown": "Checks that current file encoding matches the encoding defined in \"charset\" property of .editorconfig file."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigEncoding",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigRootDeclarationCorrectness",
"shortDescription": {
"text": "Unexpected top-level declaration"
},
"fullDescription": {
"text": "Reports unexpected top-level declarations. Top-level declarations other than “root=true” are not allowed in the EditorConfig file.",
"markdown": "Reports unexpected top-level declarations. Top-level declarations other than \"root=true\" are not allowed in the EditorConfig file."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigRootDeclarationCorrectness",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigPatternRedundancy",
"shortDescription": {
"text": "Duplicate or redundant pattern"
},
"fullDescription": {
"text": "Reports file patterns that are redundant as there already are other patterns that define the same scope of files or even a broader one. For example, in '[{*.java,*}]' the first '*.java' pattern defines a narrower scope compared to '*'. That is why it is redundant and can be removed.",
"markdown": "Reports file patterns that are redundant as there already are other patterns that define the same scope of files or even a broader one. For example, in `[{*.java,*}]` the first `*.java` pattern defines a narrower scope compared to `*`. That is why it is redundant and can be removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigPatternRedundancy",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigDeprecatedDescriptor",
"shortDescription": {
"text": "Deprecated property"
},
"fullDescription": {
"text": "Reports EditorConfig properties that are no longer supported.",
"markdown": "Reports EditorConfig properties that are no longer supported."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigDeprecatedDescriptor",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigShadowedOption",
"shortDescription": {
"text": "Overridden property"
},
"fullDescription": {
"text": "Reports properties that are already defined in other sections. For example: '[*.java]\nindent_size=4\n[{*.java,*.js}]\nindent_size=2' The second section includes all '*.java' files too but it also redefines indent_size. As a result the value 2 will be used for files matching '*.java'.",
"markdown": "Reports properties that are already defined in other sections.\n\nFor example:\n\n\n [*.java]\n indent_size=4\n [{*.java,*.js}]\n indent_size=2\n\nThe second section includes all `*.java` files too but it also redefines indent_size. As a result the value 2 will be used for files matching `*.java`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigShadowedOption",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigEmptyHeader",
"shortDescription": {
"text": "Empty header"
},
"fullDescription": {
"text": "Reports sections with an empty header. Section header must contain file path globs in the format similar to one supported by 'gitignore'.",
"markdown": "Reports sections with an empty header. Section header must contain file path globs in the format similar to one supported by `gitignore`."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigEmptyHeader",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigValueUniqueness",
"shortDescription": {
"text": "Non-unique list value"
},
"fullDescription": {
"text": "Reports duplicates in lists of values.",
"markdown": "Reports duplicates in lists of values."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigValueUniqueness",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigMissingRequiredDeclaration",
"shortDescription": {
"text": "Required declarations are missing"
},
"fullDescription": {
"text": "Reports properties that miss the required declarations. Refer to the documentation for more information.",
"markdown": "Reports properties that miss the required declarations. Refer to the documentation for more information."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigMissingRequiredDeclaration",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigSpaceInHeader",
"shortDescription": {
"text": "Space in file pattern"
},
"fullDescription": {
"text": "Reports space characters in wildcard patterns that affect pattern matching. If these characters are not intentional, they should be removed.",
"markdown": "Reports space characters in wildcard patterns that affect pattern matching. If these characters are not intentional, they should be removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "EditorConfigSpaceInHeader",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigOptionRedundancy",
"shortDescription": {
"text": "Redundant property"
},
"fullDescription": {
"text": "Reports properties that are redundant when another applicable section already contains the same property and value. For example: '[*]\nindent_size=4\n[*.java]\nindent_size=4' are both applicable to '*.java' files and define the same 'indent_size' value.",
"markdown": "Reports properties that are redundant when another applicable section already contains the same property and value.\n\n\nFor example:\n\n\n [*]\n indent_size=4\n [*.java]\n indent_size=4\n\nare both applicable to `*.java` files and define the same `indent_size` value."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigOptionRedundancy",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigUnexpectedComma",
"shortDescription": {
"text": "Unexpected comma"
},
"fullDescription": {
"text": "Reports commas that cannot be used in the current context. Commas are allowed only as separators for values in lists.",
"markdown": "Reports commas that cannot be used in the current context. Commas are allowed only as separators for values in lists."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigUnexpectedComma",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigCharClassRedundancy",
"shortDescription": {
"text": "Unnecessary character class"
},
"fullDescription": {
"text": "Reports character classes that consist of a single character. Such classes can be simplified to a character, for example '[a]'→'a'.",
"markdown": "Reports character classes that consist of a single character. Such classes can be simplified to a character, for example `[a]`→`a`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigCharClassRedundancy",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigPartialOverride",
"shortDescription": {
"text": "Overlapping sections"
},
"fullDescription": {
"text": "Reports subsets of files specified in the current section that overlap with other subsets in other sections. For example: '[{foo,bar}]' and '[{foo,bas}]' both contain “foo”.",
"markdown": "Reports subsets of files specified in the current section that overlap with other subsets in other sections. For example: `[{foo,bar}]` and `[{foo,bas}]` both contain \"foo\"."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "EditorConfigPartialOverride",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigEmptySection",
"shortDescription": {
"text": "Empty section"
},
"fullDescription": {
"text": "Reports sections that do not contain any EditorConfig properties.",
"markdown": "Reports sections that do not contain any EditorConfig properties."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigEmptySection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigShadowingOption",
"shortDescription": {
"text": "Overriding property"
},
"fullDescription": {
"text": "Reports properties that override the same properties defined earlier in the file. For example: '[*.java]\nindent_size=4\n[{*.java,*.js}]\nindent_size=2' The second section includes the same files as '[*.java]' but also sets indent_size to value 2. Thus the first declaration 'indent_size=4'will be ignored.",
"markdown": "Reports properties that override the same properties defined earlier in the file.\n\nFor example:\n\n\n [*.java]\n indent_size=4\n [{*.java,*.js}]\n indent_size=2\n\nThe second section includes the same files as `[*.java]` but also sets indent_size to value 2. Thus the first declaration `indent_size=4`will be ignored."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigShadowingOption",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigListAcceptability",
"shortDescription": {
"text": "Unexpected value list"
},
"fullDescription": {
"text": "Reports lists of values that are used in properties in which lists are not supported. In this case, only a single value can be specified.",
"markdown": "Reports lists of values that are used in properties in which lists are not supported. In this case, only a single value can be specified."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigListAcceptability",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigPatternEnumerationRedundancy",
"shortDescription": {
"text": "Unnecessary braces"
},
"fullDescription": {
"text": "Reports pattern lists that are either empty '{}' or contain just one pattern, for example '{foo}' in contrast to a list containing multiple patterns, for example '{foo,bar}'. In this case braces are handled as a part of the name. For example, the pattern '*.{a}' will match the file 'my.{a}' but not 'my.a'.",
"markdown": "Reports pattern lists that are either empty `{}` or contain just one pattern, for example `{foo}` in contrast to a list containing multiple patterns, for example `{foo,bar}`. In this case braces are handled as a part of the name. For example, the pattern `*.{a}` will match the file `my.{a}` but not `my.a`."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigPatternEnumerationRedundancy",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigReferenceCorrectness",
"shortDescription": {
"text": "Invalid reference"
},
"fullDescription": {
"text": "Reports identifiers that are either unknown or have a wrong type.",
"markdown": "Reports identifiers that are either unknown or have a wrong type."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigReferenceCorrectness",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigPairAcceptability",
"shortDescription": {
"text": "Unexpected key-value pair"
},
"fullDescription": {
"text": "Reports key-value pairs that are not allowed in the current context.",
"markdown": "Reports key-value pairs that are not allowed in the current context."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigPairAcceptability",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigNoMatchingFiles",
"shortDescription": {
"text": "No matching files"
},
"fullDescription": {
"text": "Reports sections with wildcard patterns that do not match any files under the directory in which the '.editorconfig' file is located.",
"markdown": "Reports sections with wildcard patterns that do not match any files under the directory in which the `.editorconfig` file is located."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigNoMatchingFiles",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigWildcardRedundancy",
"shortDescription": {
"text": "Redundant wildcard"
},
"fullDescription": {
"text": "Reports wildcards that become redundant when the “**” wildcard is used in the same section. The “**” wildcard defines a broader set of files than any other wildcard. That is why, any other wildcard used in the same section has no affect and can be removed.",
"markdown": "Reports wildcards that become redundant when the \"\\*\\*\" wildcard is used in the same section.\n\n\nThe \"\\*\\*\" wildcard defines a broader set of files than any other wildcard.\nThat is why, any other wildcard used in the same section has no affect and can be removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigWildcardRedundancy",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigHeaderUniqueness",
"shortDescription": {
"text": "EditorConfig section is not unique"
},
"fullDescription": {
"text": "Reports sections that define the same file pattern as other sections.",
"markdown": "Reports sections that define the same file pattern as other sections."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigHeaderUniqueness",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigValueCorrectness",
"shortDescription": {
"text": "Invalid property value"
},
"fullDescription": {
"text": "Reports property values that do not meet value restrictions. For example, some properties may be only “true” or “false”, others contain only integer numbers etc. If a value has a limited set of variants, use code completion to see all of them.",
"markdown": "Reports property values that do not meet value restrictions. For example, some properties may be only \"true\" or \"false\", others contain only integer numbers etc. If a value has a limited set of variants, use code completion to see all of them."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigValueCorrectness",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigVerifyByCore",
"shortDescription": {
"text": "Invalid .editorconfig file"
},
"fullDescription": {
"text": "Verifies the whole file using the backing EditorConfig core library and reports any failures. Any such failure would prevent EditorConfig properties from being correctly applied.",
"markdown": "Verifies the whole file using the backing EditorConfig core library and reports any failures. Any such failure would prevent EditorConfig properties from being correctly applied."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "EditorConfigVerifyByCore",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigCharClassLetterRedundancy",
"shortDescription": {
"text": "Duplicate character class letter"
},
"fullDescription": {
"text": "Reports wildcard patterns in the EditorConfig section that contain a duplicate character in the character class, for example '[aa]'.",
"markdown": "Reports wildcard patterns in the EditorConfig section that contain a duplicate character in the character class, for example `[aa]`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigCharClassLetterRedundancy",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "EditorConfigUnusedDeclaration",
"shortDescription": {
"text": "Unused declaration"
},
"fullDescription": {
"text": "Reports unused declarations. Such declarations can be removed.",
"markdown": "Reports unused declarations. Such declarations can be removed."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "EditorConfigUnusedDeclaration",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "EditorConfig",
"index": 24,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "net.seesharpsoft.intellij.plugins.csv",
"version": "3.2.3-232",
"rules": [
{
"id": "CsvValidation",
"shortDescription": {
"text": "Propose possible fixes"
},
"fullDescription": {
"text": "Suggests possible fixes for CSV validation errors.",
"markdown": "Suggests possible fixes for CSV validation errors."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CsvValidation",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSV",
"index": 26,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "org.intellij.plugins.postcss",
"version": "232.10072.32",
"rules": [
{
"id": "PostCssUnresolvedModuleValueReference",
"shortDescription": {
"text": "Unresolved CSS module value"
},
"fullDescription": {
"text": "Reports an unresolved reference to a CSS Module Value ('@value' declaration). Example: '@value foo from unknown;'",
"markdown": "Reports an unresolved reference to a [CSS Module Value](https://github.com/css-modules/postcss-modules-values) (`@value` declaration).\n\nExample:\n\n\n @value foo from unknown;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PostCssUnresolvedModuleValueReference",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PostCSS",
"index": 27,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PostCssNesting",
"shortDescription": {
"text": "Invalid nested rule"
},
"fullDescription": {
"text": "Reports a nested style rule whose syntax doesn't comply with the PostCSS Nested or the PostCSS Nesting specification. Example: '.phone {\n &_title {}\n}'",
"markdown": "Reports a nested style rule whose syntax doesn't comply with the [PostCSS Nested](https://github.com/postcss/postcss-nested) or the [PostCSS Nesting](https://github.com/csstools/postcss-nesting) specification.\n\nExample:\n\n\n .phone {\n &_title {}\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "PostCssNesting",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PostCSS",
"index": 27,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PostCssCustomMedia",
"shortDescription": {
"text": "Invalid custom media"
},
"fullDescription": {
"text": "Reports a syntax error in a PostCSS Custom Media query. Example: '@custom-media --small-viewport (max-width: 30em);'",
"markdown": "Reports a syntax error in a [PostCSS Custom Media](https://github.com/postcss/postcss-custom-media) query.\n\nExample:\n\n\n @custom-media --small-viewport (max-width: 30em);\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PostCssCustomMedia",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PostCSS",
"index": 27,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PostCssCustomSelector",
"shortDescription": {
"text": "Invalid custom selector"
},
"fullDescription": {
"text": "Reports a syntax error in PostCSS Custom Selector. Example: '@custom-selector :--heading h1, h2, h3;'",
"markdown": "Reports a syntax error in [PostCSS Custom Selector](https://github.com/postcss/postcss-custom-selectors).\n\nExample:\n\n\n @custom-selector :--heading h1, h2, h3;\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PostCssCustomSelector",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PostCSS",
"index": 27,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PostCssMediaRange",
"shortDescription": {
"text": "Invalid media query range"
},
"fullDescription": {
"text": "Checks range context syntax, which may alternatively be used for media features with a 'range' type. Example: '@media screen and (500px <= width <= 1200px) {}'",
"markdown": "Checks [range context](https://github.com/postcss/postcss-media-minmax) syntax, which may alternatively be used for media features with a 'range' type.\n\nExample:\n\n\n @media screen and (500px <= width <= 1200px) {}\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PostCssMediaRange",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "PostCSS",
"index": 27,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "ru.adelf.idea.dotenv",
"version": "2023.2",
"rules": [
{
"id": "DotEnvIncorrectDelimiterInspection",
"shortDescription": {
"text": "Incorrect delimiter"
},
"fullDescription": {
"text": "Reports incorrect delimiter in .env files ('-' instead of'_').",
"markdown": "Reports incorrect delimiter in .env files ('-' instead of'_')."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DotEnvIncorrectDelimiterInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "DotEnv",
"index": 33,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DotEnvSpaceInsideNonQuotedInspection",
"shortDescription": {
"text": "Space inside non-quoted value"
},
"fullDescription": {
"text": "Reports spaces inside non-quoted values. Some .env libraries ignore everything after first space.",
"markdown": "Reports spaces inside non-quoted values. Some .env libraries ignore everything after first space."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DotEnvSpaceInsideNonQuotedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "DotEnv",
"index": 33,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DotEnvDuplicateKeyInspection",
"shortDescription": {
"text": "Duplicate keys"
},
"fullDescription": {
"text": "Reports duplicate keys in .env files.",
"markdown": "Reports duplicate keys in .env files."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DotEnvDuplicateKeyInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "DotEnv",
"index": 33,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DotEnvSpaceAroundSeparatorInspection",
"shortDescription": {
"text": "Extra spaces surrounding '='"
},
"fullDescription": {
"text": "Reports spaces surrounding separator.",
"markdown": "Reports spaces surrounding separator."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DotEnvSpaceAroundSeparatorInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "DotEnv",
"index": 33,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DotEnvExtraBlankLineInspection",
"shortDescription": {
"text": "Extra blank line"
},
"fullDescription": {
"text": "Reports extra blank lines in .env files.",
"markdown": "Reports extra blank lines in .env files."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DotEnvExtraBlankLineInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "DotEnv",
"index": 33,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DotEnvLeadingCharacterInspection",
"shortDescription": {
"text": "Invalid leading character"
},
"fullDescription": {
"text": "Reports keys with invalid leading character in .env files. Only A-Z and '_' are allowed as first char of a key.",
"markdown": "Reports keys with invalid leading character in .env files. Only A-Z and '_' are allowed as first char of a key."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DotEnvLeadingCharacterInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "DotEnv",
"index": 33,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DotEnvTrailingWhitespaceInspection",
"shortDescription": {
"text": "Value has trailing whitespace"
},
"fullDescription": {
"text": "Reports trailing whitespaces.",
"markdown": "Reports trailing whitespaces."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DotEnvTrailingWhitespaceInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "DotEnv",
"index": 33,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DotEnvLowercaseKeyInspection",
"shortDescription": {
"text": "Key uses lowercase chars"
},
"fullDescription": {
"text": "Reports keys, which use lowercase chars. Keys should be written in uppercase.",
"markdown": "Reports keys, which use lowercase chars. Keys should be written in uppercase."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DotEnvLowercaseKeyInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "DotEnv",
"index": 33,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "HtmlTools",
"version": "232.10072.32",
"rules": [
{
"id": "HtmlRequiredAltAttribute",
"shortDescription": {
"text": "Missing required 'alt' attribute"
},
"fullDescription": {
"text": "Reports a missing 'alt' attribute in a 'img' or 'applet' tag or in a 'area' element of an image map. Suggests adding a required attribute with a text alternative for the contents of the tag. Based on WCAG 2.0: H24, H35, H36, H37.",
"markdown": "Reports a missing `alt` attribute in a `img` or `applet` tag or in a `area` element of an image map. Suggests adding a required attribute with a text alternative for the contents of the tag. Based on WCAG 2.0: [H24](https://www.w3.org/TR/WCAG20-TECHS/H24.html), [H35](https://www.w3.org/TR/WCAG20-TECHS/H35.html), [H36](https://www.w3.org/TR/WCAG20-TECHS/H36.html), [H37](https://www.w3.org/TR/WCAG20-TECHS/H37.html)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlRequiredAltAttribute",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML/Accessibility",
"index": 35,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlDeprecatedTag",
"shortDescription": {
"text": "Obsolete tag"
},
"fullDescription": {
"text": "Reports an obsolete HTML5 tag. Suggests replacing the obsolete tag with a CSS or another tag.",
"markdown": "Reports an obsolete HTML5 tag. Suggests replacing the obsolete tag with a CSS or another tag."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlDeprecatedTag",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CheckImageSize",
"shortDescription": {
"text": "Mismatched image size"
},
"fullDescription": {
"text": "Reports a 'width' and 'height' attribute value of a 'img' tag that is different from the actual width and height of the referenced image.",
"markdown": "Reports a `width` and `height` attribute value of a `img` tag that is different from the actual width and height of the referenced image."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CheckImageSize",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlRequiredSummaryAttribute",
"shortDescription": {
"text": "Missing required 'summary' attribute"
},
"fullDescription": {
"text": "Reports a missing 'summary' attribute in a 'table' tag. Suggests adding a'summary' attribute. Based on WCAG 2.0: H73.",
"markdown": "Reports a missing `summary` attribute in a `table` tag. Suggests adding a`summary` attribute. Based on WCAG 2.0: [H73](https://www.w3.org/TR/WCAG20-TECHS/H73.html)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "HtmlRequiredSummaryAttribute",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "HTML/Accessibility",
"index": 35,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlNonExistentInternetResource",
"shortDescription": {
"text": "Unresolved web link"
},
"fullDescription": {
"text": "Reports an unresolved web link. Works by making network requests in the background.",
"markdown": "Reports an unresolved web link. Works by making network requests in the background."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlNonExistentInternetResource",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlFormInputWithoutLabel",
"shortDescription": {
"text": "Missing associated label"
},
"fullDescription": {
"text": "Reports a form element ('input', 'textarea', or 'select') without an associated label. Suggests creating a new label. Based on WCAG 2.0: H44.",
"markdown": "Reports a form element (`input`, `textarea`, or `select`) without an associated label. Suggests creating a new label. Based on WCAG 2.0: [H44](https://www.w3.org/TR/WCAG20-TECHS/H44.html). "
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlFormInputWithoutLabel",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML/Accessibility",
"index": 35,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlRequiredTitleAttribute",
"shortDescription": {
"text": "Missing required 'title' attribute"
},
"fullDescription": {
"text": "Reports a missing title attribute 'frame', 'iframe', 'dl', and 'a' tags. Suggests adding a title attribute. Based on WCAG 2.0: H33, H40, and H64.",
"markdown": "Reports a missing title attribute `frame`, `iframe`, `dl`, and `a` tags. Suggests adding a title attribute. Based on WCAG 2.0: [H33](https://www.w3.org/TR/WCAG20-TECHS/H33.html), [H40](https://www.w3.org/TR/WCAG20-TECHS/H40.html), and [H64](https://www.w3.org/TR/WCAG20-TECHS/H64.html)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "HtmlRequiredTitleAttribute",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "HTML/Accessibility",
"index": 35,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlRequiredLangAttribute",
"shortDescription": {
"text": "Missing required 'lang' attribute"
},
"fullDescription": {
"text": "Reports a missing 'lang' (or 'xml:lang') attribute in a 'html' tag. Suggests adding a required attribute to state the default language of the document. Based on WCAG 2.0: H57.",
"markdown": "Reports a missing `lang` (or `xml:lang`) attribute in a `html` tag. Suggests adding a required attribute to state the default language of the document. Based on WCAG 2.0: [H57](https://www.w3.org/TR/WCAG20-TECHS/H57.html)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlRequiredLangAttribute",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML/Accessibility",
"index": 35,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlRequiredTitleElement",
"shortDescription": {
"text": "Missing required 'title' element"
},
"fullDescription": {
"text": "Reports a missing 'title' element inside a 'head' section. Suggests adding a 'title' element. The title should describe the document. Based on WCAG 2.0: H25.",
"markdown": "Reports a missing `title` element inside a `head` section. Suggests adding a `title` element. The title should describe the document. Based on WCAG 2.0: [H25](https://www.w3.org/TR/WCAG20-TECHS/H25.html)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlRequiredTitleElement",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML/Accessibility",
"index": 35,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlDeprecatedAttribute",
"shortDescription": {
"text": "Obsolete attribute"
},
"fullDescription": {
"text": "Reports an obsolete HTML5 attribute.",
"markdown": "Reports an obsolete HTML5 attribute."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HtmlDeprecatedAttribute",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HtmlPresentationalElement",
"shortDescription": {
"text": "Presentational tag"
},
"fullDescription": {
"text": "Reports a presentational HTML tag. Suggests replacing the presentational tag with a CSS or another tag.",
"markdown": "Reports a presentational HTML tag. Suggests replacing the presentational tag with a CSS or another tag."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "HtmlPresentationalElement",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "HTML",
"index": 19,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.intellij.css",
"version": "232.10072.32",
"rules": [
{
"id": "CssInvalidHtmlTagReference",
"shortDescription": {
"text": "Invalid type selector"
},
"fullDescription": {
"text": "Reports a CSS type selector that matches an unknown HTML element.",
"markdown": "Reports a CSS [type selector](https://developer.mozilla.org/en-US/docs/Web/CSS/Type_selectors) that matches an unknown HTML element."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssInvalidHtmlTagReference",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssInvalidFunction",
"shortDescription": {
"text": "Invalid function"
},
"fullDescription": {
"text": "Reports an unknown CSS function or an incorrect function parameter.",
"markdown": "Reports an unknown [CSS function](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Functions) or an incorrect function parameter."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssInvalidFunction",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssMissingSemicolon",
"shortDescription": {
"text": "Missing semicolon"
},
"fullDescription": {
"text": "Reports a missing semicolon at the end of a declaration.",
"markdown": "Reports a missing semicolon at the end of a declaration."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssMissingSemicolon",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS/Code style issues",
"index": 52,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssMissingComma",
"shortDescription": {
"text": "Missing comma in selector list"
},
"fullDescription": {
"text": "Reports a multi-line selector. Most likely this means that several single-line selectors are actually intended but a comma is missing at the end of one or several lines. Example: 'input /* comma has probably been forgotten */\n.button {\n margin: 1px;\n}'",
"markdown": "Reports a multi-line selector. Most likely this means that several single-line selectors are actually intended but a comma is missing at the end of one or several lines.\n\n**Example:**\n\n\n input /* comma has probably been forgotten */\n .button {\n margin: 1px;\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssMissingComma",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS/Probable bugs",
"index": 70,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssConvertColorToHexInspection",
"shortDescription": {
"text": "Color could be replaced with #-hex"
},
"fullDescription": {
"text": "Reports an 'rgb()', 'hsl()', or other color function. Suggests replacing a color function with an equivalent hexadecimal notation. Example: 'rgb(12, 15, 255)' After the quick-fix is applied: '#0c0fff'.",
"markdown": "Reports an `rgb()`, `hsl()`, or other color function.\n\nSuggests replacing a color function with an equivalent hexadecimal notation.\n\n**Example:**\n\n rgb(12, 15, 255)\n\nAfter the quick-fix is applied:\n\n #0c0fff.\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssConvertColorToHexInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssConvertColorToRgbInspection",
"shortDescription": {
"text": "Color could be replaced with rgb()"
},
"fullDescription": {
"text": "Reports an 'hsl()' or 'hwb()' color function or a hexadecimal color notation. Suggests replacing such color value with an equivalent 'rgb()' or 'rgba()' color function. Example: '#0c0fff' After the quick-fix is applied: 'rgb(12, 15, 255)'.",
"markdown": "Reports an `hsl()` or `hwb()` color function or a hexadecimal color notation.\n\nSuggests replacing such color value with an equivalent `rgb()` or `rgba()` color function.\n\n**Example:**\n\n #0c0fff\n\nAfter the quick-fix is applied:\n\n rgb(12, 15, 255).\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssConvertColorToRgbInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssUnusedSymbol",
"shortDescription": {
"text": "Unused selector"
},
"fullDescription": {
"text": "Reports a CSS class or an element IDs that appears in selectors but is not used in HTML. Note that complete inspection results are available only when running it via Code | Inspect Code or Code | Analyze Code | Run Inspection by Name. Due to performance reasons, style sheet files are not inspected on the fly.",
"markdown": "Reports a CSS class or an element IDs that appears in selectors but is not used in HTML.\n\n\nNote that complete inspection results are available only when running it via **Code \\| Inspect Code** or\n**Code \\| Analyze Code \\| Run Inspection by Name**.\nDue to performance reasons, style sheet files are not inspected on the fly."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssUnusedSymbol",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssInvalidAtRule",
"shortDescription": {
"text": "Unknown at-rule"
},
"fullDescription": {
"text": "Reports an unknown CSS at-rule.",
"markdown": "Reports an unknown [CSS at-rule](https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule)."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssInvalidAtRule",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssUnknownTarget",
"shortDescription": {
"text": "Unresolved file reference"
},
"fullDescription": {
"text": "Reports an unresolved file reference, for example, an incorrect path in an '@import' statement.",
"markdown": "Reports an unresolved file reference, for example, an incorrect path in an `@import` statement."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssUnknownTarget",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssNegativeValue",
"shortDescription": {
"text": "Negative property value"
},
"fullDescription": {
"text": "Reports a negative value of a CSS property that is not expected to be less than zero, for example, object width or height.",
"markdown": "Reports a negative value of a CSS property that is not expected to be less than zero, for example, object width or height."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssNegativeValue",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssNoGenericFontName",
"shortDescription": {
"text": "Missing generic font family name"
},
"fullDescription": {
"text": "Verifies that the 'font-family' property contains a generic font family name as a fallback alternative. Generic font family names are: 'serif', 'sans-serif', 'cursive', 'fantasy', and 'monospace'.",
"markdown": "Verifies that the [font-family](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) property contains a generic font family name as a fallback alternative.\n\n\nGeneric font family names are: `serif`, `sans-serif`, `cursive`, `fantasy`,\nand `monospace`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssNoGenericFontName",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS/Probable bugs",
"index": 70,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssInvalidCharsetRule",
"shortDescription": {
"text": "Misplaced or incorrect @charset"
},
"fullDescription": {
"text": "Reports a misplaced '@charset' at-rule or an incorrect charset value.",
"markdown": "Reports a misplaced `@charset` at-rule or an incorrect charset value."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssInvalidCharsetRule",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssInvalidPseudoSelector",
"shortDescription": {
"text": "Invalid pseudo-selector"
},
"fullDescription": {
"text": "Reports an incorrect CSS pseudo-class pseudo-element.",
"markdown": "Reports an incorrect CSS [pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes) [pseudo-element](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements)."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssInvalidPseudoSelector",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssRedundantUnit",
"shortDescription": {
"text": "Redundant measure unit"
},
"fullDescription": {
"text": "Reports a measure unit of a zero value where units are not required by the specification. Example: 'width: 0px'",
"markdown": "Reports a measure unit of a zero value where units are not required by the specification.\n\n**Example:**\n\n width: 0px\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssRedundantUnit",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS/Code style issues",
"index": 52,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssInvalidPropertyValue",
"shortDescription": {
"text": "Invalid property value"
},
"fullDescription": {
"text": "Reports an incorrect CSS property value.",
"markdown": "Reports an incorrect CSS property value."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssInvalidPropertyValue",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssBrowserCompatibilityForProperties",
"shortDescription": {
"text": "Property is incompatible with selected browsers"
},
"fullDescription": {
"text": "Reports a CSS property that is not supported by the specified browsers. Based on the MDN Compatibility Data.",
"markdown": "Reports a CSS property that is not supported by the specified browsers. Based on the [MDN Compatibility Data](https://github.com/mdn/browser-compat-data)."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssBrowserCompatibilityForProperties",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssReplaceWithShorthandUnsafely",
"shortDescription": {
"text": "Properties may probably be replaced with a shorthand"
},
"fullDescription": {
"text": "Reports a set of longhand CSS properties and suggests replacing an incomplete set of longhand CSS properties with a shorthand form, which is however not 100% equivalent in this case. For example, 2 properties: 'outline-color' and 'outline-style' may be replaced with a single 'outline'. Such replacement is not 100% equivalent because shorthands reset all omitted sub-values to their initial states. In this example, switching to the 'outline' shorthand means that 'outline-width' is also set to its initial value, which is 'medium'. This inspection doesn't handle full sets of longhand properties (when switching to shorthand is 100% safe). For such cases see the 'Properties may be safely replaced with a shorthand' inspection instead.",
"markdown": "Reports a set of longhand CSS properties and suggests replacing an incomplete set of longhand CSS properties with a shorthand form, which is however not 100% equivalent in this case.\n\n\nFor example, 2 properties: `outline-color` and `outline-style` may be replaced with a single `outline`.\nSuch replacement is not 100% equivalent because shorthands reset all omitted sub-values to their initial states.\nIn this example, switching to the `outline` shorthand means that `outline-width` is also set to its initial value,\nwhich is `medium`.\n\n\nThis inspection doesn't handle full sets of longhand properties (when switching to shorthand is 100% safe).\nFor such cases see the 'Properties may be safely replaced with a shorthand' inspection instead."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "CssReplaceWithShorthandUnsafely",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssUnknownUnit",
"shortDescription": {
"text": "Unknown unit"
},
"fullDescription": {
"text": "Reports an unknown unit",
"markdown": "Reports an unknown unit"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssUnknownUnit",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssInvalidMediaFeature",
"shortDescription": {
"text": "Invalid media feature"
},
"fullDescription": {
"text": "Reports an unknown CSS media feature or an incorrect media feature value.",
"markdown": "Reports an unknown [CSS media feature](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries) or an incorrect media feature value."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssInvalidMediaFeature",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssDeprecatedValue",
"shortDescription": {
"text": "Deprecated value"
},
"fullDescription": {
"text": "Reports a deprecated CSS value. Suggests replacing the deprecated value with valid equivalent.",
"markdown": "Reports a deprecated CSS value. Suggests replacing the deprecated value with valid equivalent."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssDeprecatedValue",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssNonIntegerLengthInPixels",
"shortDescription": {
"text": "Non-integer length in pixels"
},
"fullDescription": {
"text": "Reports a non-integer length in pixels. Example: 'width: 3.14px'",
"markdown": "Reports a non-integer length in pixels.\n\n**Example:**\n\n width: 3.14px\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "CssNonIntegerLengthInPixels",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "CSS/Probable bugs",
"index": 70,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssInvalidImport",
"shortDescription": {
"text": "Misplaced @import"
},
"fullDescription": {
"text": "Reports a misplaced '@import' statement. According to the specification, '@import' rules must precede all other types of rules, except '@charset' rules.",
"markdown": "Reports a misplaced `@import` statement.\n\n\nAccording to the [specification](https://developer.mozilla.org/en-US/docs/Web/CSS/@import),\n`@import` rules must precede all other types of rules, except `@charset` rules."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssInvalidImport",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssUnresolvedCustomProperty",
"shortDescription": {
"text": "Unresolved custom property"
},
"fullDescription": {
"text": "Reports an unresolved reference to a custom property among the arguments of the 'var()' function.",
"markdown": "Reports an unresolved reference to a [custom property](https://developer.mozilla.org/en-US/docs/Web/CSS/--*) among the arguments of the `var()` function."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssUnresolvedCustomProperty",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssOverwrittenProperties",
"shortDescription": {
"text": "Overwritten property"
},
"fullDescription": {
"text": "Reports a duplicated CSS property within a ruleset. Respects shorthand properties. Example: '.foo {\n margin-bottom: 1px;\n margin-bottom: 1px; /* duplicates margin-bottom */\n margin: 0; /* overrides margin-bottom */\n}'",
"markdown": "Reports a duplicated CSS property within a ruleset. Respects shorthand properties.\n\n**Example:**\n\n\n .foo {\n margin-bottom: 1px;\n margin-bottom: 1px; /* duplicates margin-bottom */\n margin: 0; /* overrides margin-bottom */\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssOverwrittenProperties",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssUnresolvedClassInComposesRule",
"shortDescription": {
"text": "Unresolved class in 'composes' rule"
},
"fullDescription": {
"text": "Reports a CSS class reference in the 'composes' rule that cannot be resolved to any valid target. Example: '.className {/* ... */}\n\n .otherClassName {\n composes: className;\n }'",
"markdown": "Reports a CSS class reference in the ['composes'](https://github.com/css-modules/css-modules#composition) rule that cannot be resolved to any valid target.\n\n**Example:**\n\n\n .className {/* ... */}\n\n .otherClassName {\n composes: className;\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "CssUnresolvedClassInComposesRule",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssReplaceWithShorthandSafely",
"shortDescription": {
"text": "Properties may be safely replaced with a shorthand"
},
"fullDescription": {
"text": "Reports a set of longhand properties. Suggests replacing a complete set of longhand CSS properties with an equivalent shorthand form. For example, 4 properties: 'padding-top', 'padding-right', 'padding-bottom', and 'padding-left' can be safely replaced with a single 'padding' property. Note that this inspection doesn't show up if the set of longhand properties is incomplete (e.g. only 3 'padding-xxx' properties in a ruleset) because switching to a shorthand may change the result. For such cases consider the 'Properties may probably be replaced with a shorthand' inspection.",
"markdown": "Reports a set of longhand properties. Suggests replacing a complete set of longhand CSS properties with an equivalent shorthand form.\n\n\nFor example, 4 properties: `padding-top`, `padding-right`, `padding-bottom`, and\n`padding-left`\ncan be safely replaced with a single `padding` property.\n\n\nNote that this inspection doesn't show up if the set of longhand properties is incomplete\n(e.g. only 3 `padding-xxx` properties in a ruleset)\nbecause switching to a shorthand may change the result.\nFor such cases consider the 'Properties may probably be replaced with a shorthand'\ninspection."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "CssReplaceWithShorthandSafely",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "CSS",
"index": 39,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssUnknownProperty",
"shortDescription": {
"text": "Unknown property"
},
"fullDescription": {
"text": "Reports an unknown CSS property or a property used in a wrong context. Add the unknown property to the 'Custom CSS properties' list to skip validation.",
"markdown": "Reports an unknown CSS property or a property used in a wrong context.\n\nAdd the unknown property to the 'Custom CSS properties' list to skip validation."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssUnknownProperty",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CssInvalidNestedSelector",
"shortDescription": {
"text": "Invalid nested selector"
},
"fullDescription": {
"text": "Reports a nested selector starting with an identifier or a functional notation.",
"markdown": "Reports a nested selector starting with an identifier or a functional notation."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CssInvalidNestedSelector",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "CSS/Invalid elements",
"index": 40,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "org.jetbrains.plugins.yaml",
"version": "232.10072.32",
"rules": [
{
"id": "YAMLSchemaValidation",
"shortDescription": {
"text": "Validation by JSON Schema"
},
"fullDescription": {
"text": "Reports inconsistencies between a YAML file and a JSON Schema if the schema is specified. Scheme example: '{\n \"properties\": {\n \"SomeNumberProperty\": {\n \"type\": \"number\"\n }\n }\n }' The following is an example with the corresponding warning: 'SomeNumberProperty: hello world'",
"markdown": "Reports inconsistencies between a YAML file and a JSON Schema if the schema is specified.\n\n**Scheme example:**\n\n\n {\n \"properties\": {\n \"SomeNumberProperty\": {\n \"type\": \"number\"\n }\n }\n }\n\n**The following is an example with the corresponding warning:**\n\n\n SomeNumberProperty: hello world\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YAMLSchemaValidation",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "YAML",
"index": 43,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YAMLUnresolvedAlias",
"shortDescription": {
"text": "Unresolved alias"
},
"fullDescription": {
"text": "Reports unresolved aliases in YAML files. Example: 'some_key: *unknown_alias'",
"markdown": "Reports unresolved aliases in YAML files.\n\n**Example:**\n\n\n some_key: *unknown_alias\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "YAMLUnresolvedAlias",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "YAML",
"index": 43,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YAMLSchemaDeprecation",
"shortDescription": {
"text": "Deprecated YAML key"
},
"fullDescription": {
"text": "Reports deprecated keys in YAML files. Deprecation is checked only if there exists a JSON schema associated with the corresponding YAML file. Note that the deprecation mechanism is not defined in the JSON Schema specification yet, and this inspection uses a non-standard 'deprecationMessage' extension. Scheme deprecation example: '{\n \"properties\": {\n \"SomeDeprecatedProperty\": {\n \"deprecationMessage\": \"Baz\",\n \"description\": \"Foo bar\"\n }\n }\n }' The following is an example with the corresponding warning: 'SomeDeprecatedProperty: some value'",
"markdown": "Reports deprecated keys in YAML files.\n\nDeprecation is checked only if there exists a JSON schema associated with the corresponding YAML file.\n\nNote that the deprecation mechanism is not defined in the JSON Schema specification yet,\nand this inspection uses a non-standard `deprecationMessage` extension.\n\n**Scheme deprecation example:**\n\n\n {\n \"properties\": {\n \"SomeDeprecatedProperty\": {\n \"deprecationMessage\": \"Baz\",\n \"description\": \"Foo bar\"\n }\n }\n }\n\n**The following is an example with the corresponding warning:**\n\n\n SomeDeprecatedProperty: some value\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "YAMLSchemaDeprecation",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "YAML",
"index": 43,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YAMLIncompatibleTypes",
"shortDescription": {
"text": "Suspicious type mismatch"
},
"fullDescription": {
"text": "Reports a mismatch between a scalar value type in YAML file and types of the values in the similar positions. Example: 'myElements:\n - value1\n - value2\n - false # <- reported, because it is a boolean value, while other values are strings'",
"markdown": "Reports a mismatch between a scalar value type in YAML file and types of the values in the similar positions.\n\n**Example:**\n\n\n myElements:\n - value1\n - value2\n - false # <- reported, because it is a boolean value, while other values are strings\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YAMLIncompatibleTypes",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "YAML",
"index": 43,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YAMLRecursiveAlias",
"shortDescription": {
"text": "Recursive alias"
},
"fullDescription": {
"text": "Reports recursion in YAML aliases. Alias can't be recursive and be used inside the data referenced by a corresponding anchor. Example: 'some_key: &some_anchor\n sub_key1: value1\n sub_key2: *some_anchor'",
"markdown": "Reports recursion in YAML aliases.\n\nAlias can't be recursive and be used inside the data referenced by a corresponding anchor.\n\n**Example:**\n\n\n some_key: &some_anchor\n sub_key1: value1\n sub_key2: *some_anchor\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "YAMLRecursiveAlias",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "YAML",
"index": 43,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YAMLDuplicatedKeys",
"shortDescription": {
"text": "Duplicated YAML keys"
},
"fullDescription": {
"text": "Reports duplicated keys in YAML files. Example: 'same_key: some value\n same_key: another value'",
"markdown": "Reports duplicated keys in YAML files.\n\n**Example:**\n\n\n same_key: some value\n same_key: another value\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "YAMLDuplicatedKeys",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "YAML",
"index": 43,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "YAMLUnusedAnchor",
"shortDescription": {
"text": "Unused anchor"
},
"fullDescription": {
"text": "Reports unused anchors. Example: 'some_key: &some_anchor\n key1: value1'",
"markdown": "Reports unused anchors.\n\n**Example:**\n\n\n some_key: &some_anchor\n key1: value1\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "YAMLUnusedAnchor",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "YAML",
"index": 43,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.jetbrains.restClient",
"version": "232.10072.32",
"rules": [
{
"id": "HttpRequestWhitespaceInsideRequestTargetPath",
"shortDescription": {
"text": "Whitespace in URL"
},
"fullDescription": {
"text": "Highlights spaces inside URL path segments. HTTP Client will ignore them. For better composing use Split Lines action.",
"markdown": "Highlights spaces inside URL path segments. HTTP Client will ignore them. For better composing use Split Lines action."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "HttpRequestWhitespaceInsideRequestTargetPath",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "HTTP Client",
"index": 44,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HttpClientUnresolvedVariable",
"shortDescription": {
"text": "Unresolved environment variable"
},
"fullDescription": {
"text": "Reports variables undeclared in the current environment HTTP Client. Executing requests with undeclared variables probably fail. Consider adding a variable to the environment or selecting an environment with this variable. Inspection doesn't report variables in request bodies, because it can be a valid syntax of the body. Some variables may be not reported as unresolved, because they are declared in response or pre-request handler scripts via 'client.global.set' or 'request.variables.set' functions call.",
"markdown": "Reports variables undeclared in the current environment HTTP Client.\n\n\nExecuting requests with undeclared variables probably fail.\nConsider adding a variable to the environment or selecting an environment with this variable.\n\nInspection doesn't report variables in request bodies, because it can be a valid syntax of the body.\n\n\nSome variables may be not reported as unresolved, because they are declared in response or pre-request handler scripts via\n`client.global.set` or `request.variables.set` functions call."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HttpClientUnresolvedVariable",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTTP Client",
"index": 44,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HttpUrlsUsage",
"shortDescription": {
"text": "Link with unencrypted protocol"
},
"fullDescription": {
"text": "Reports the links that use unencrypted protocols (such as HTTP), which can expose your data to man-in-the-middle attacks. These attacks are dangerous in general and may be especially harmful for artifact repositories. Use protocols with encryption, such as HTTPS, instead. See HTTPS: Difference from HTTP (wikipedia.org).",
"markdown": "Reports the links that use unencrypted protocols (such as HTTP), which can expose your data to man-in-the-middle attacks. These attacks\nare dangerous in general and may be especially harmful for artifact repositories. Use protocols with encryption, such as HTTPS,\ninstead.\n\nSee [HTTPS: Difference from HTTP (wikipedia.org)](https://en.wikipedia.org/wiki/HTTPS#Difference_from_HTTP)."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "HttpUrlsUsage",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Security",
"index": 91,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HttpRequestContentLengthIsIgnored",
"shortDescription": {
"text": "Redundant 'Content-Length'"
},
"fullDescription": {
"text": "Reports an explicitly set 'Content-Length' header. The header is redundant because HTTP Client uses the actual request body length.",
"markdown": "Reports an explicitly set `Content-Length` header. The header is redundant because HTTP Client uses the actual request body length."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HttpRequestContentLengthIsIgnored",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTTP Client",
"index": 44,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IncorrectHttpHeaderInspection",
"shortDescription": {
"text": "Incorrect HTTP header"
},
"fullDescription": {
"text": "Reports unknown HTTP headers that do not match any publicly known headers. The quick fix suggests adding the header to the list of custom headers when the Use custom HTTP headers option is enabled. HTTP headers from the list of custom headers will not trigger the inspection.",
"markdown": "Reports unknown HTTP headers that do not match any [publicly\nknown headers](https://www.iana.org/assignments/message-headers/message-headers.xml). The quick fix suggests adding the header to the list of custom headers when the **Use custom HTTP headers** option\nis enabled. HTTP headers from the list of custom headers will not trigger the inspection."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "IncorrectHttpHeaderInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTTP Client",
"index": 44,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HttpRequestPlaceholder",
"shortDescription": {
"text": "'$placeholder' in HTTP Request"
},
"fullDescription": {
"text": "Reports a '$placeholder' inside a request. A '$placeholder' to be replaced by the user is created automatically when a tool cannot recognize a part of a request. For example, a request mapping '/aaaa/*/bbb' will be generated as 'GET localhost/aaaa/{{$placeholder}}/bbb'.",
"markdown": "Reports a `$placeholder` inside a request.\n\nA `$placeholder` to be replaced by the user is created automatically when a tool cannot recognize a part of a request. For example, a request mapping `/aaaa/*/bbb` will be generated as `GET localhost/aaaa/{{$placeholder}}/bbb`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HttpRequestPlaceholder",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "HTTP Client",
"index": 44,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "mobi.hsz.idea.gitignore",
"version": "4.5.2",
"rules": [
{
"id": "IgnoreDuplicateEntry",
"shortDescription": {
"text": "Duplicate entry"
},
"fullDescription": {
"text": "Checks if entry is duplicated.",
"markdown": "Checks if entry is duplicated."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "IgnoreDuplicateEntry",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Ignore",
"index": 46,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IgnoreSyntaxEntry",
"shortDescription": {
"text": "Syntax entry"
},
"fullDescription": {
"text": "Checks if syntax entry has correct value.",
"markdown": "Checks if syntax entry has correct value."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "IgnoreSyntaxEntry",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Ignore",
"index": 46,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IgnoreCoverEntry",
"shortDescription": {
"text": "Cover entry"
},
"fullDescription": {
"text": "Checks if entry is covered by another entry.",
"markdown": "Checks if entry is covered by another entry."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "IgnoreCoverEntry",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Ignore",
"index": 46,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IgnoreRelativeEntry",
"shortDescription": {
"text": "Relative entry"
},
"fullDescription": {
"text": "Checks if entry is a relative path.",
"markdown": "Checks if entry is a relative path."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "IgnoreRelativeEntry",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Ignore",
"index": 46,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IgnoreIncorrectEntry",
"shortDescription": {
"text": "Incorrect entry"
},
"fullDescription": {
"text": "Checks if entry has correct form in specific according to the specific syntax.",
"markdown": "Checks if entry has correct form in specific according to the specific syntax."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "IgnoreIncorrectEntry",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Ignore",
"index": 46,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.intellij.swagger",
"version": "232.10072.32",
"rules": [
{
"id": "SwJsonUnresolvedReferencesInspection",
"shortDescription": {
"text": "Unresolved reference"
},
"fullDescription": {
"text": "Detects unresolved references in JSON specification files.",
"markdown": "Detects unresolved references in JSON specification files."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "SwJsonUnresolvedReferencesInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "OpenAPI specifications",
"index": 51,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SwYamlMaybeSpecificationInspection",
"shortDescription": {
"text": "Possible OpenAPI/Swagger specification candidate"
},
"fullDescription": {
"text": "Detects YAML files that can be interpreted as a part of OpenAPI/Swagger specification. Such files do not contain explicit specification attributes, but they are referenced from primary specification files located nearby. The following example contains two files located in the same directory. First one is a plain primary specification file. Second is referenced from the first one and thus is suggested to be considered a specification too. Primary specification file 'openapi.yaml': 'openapi: 3.1.0\ncomponents:\n schemas:\n CustomSchema:\n description: Custom schema object\n properties:\n foo:\n $ref: 'common.components.yaml#/components/schemas/CommonSchema'' Specification file candidate 'common.components.yaml': 'components: # 'Mark file as OpenAPI specification' highlighting\n schemas:\n CommonSchema:\n description: Common schema object reused in several specifications'",
"markdown": "Detects YAML files that can be interpreted as a part of OpenAPI/Swagger specification.\n\n\nSuch files do not contain explicit specification attributes, but they are referenced from primary specification files located nearby.\n\n\nThe following example contains two files located in the same directory. First one is a plain primary specification file.\nSecond is referenced from the first one and thus is suggested to be considered a specification too.\n\n**Primary specification file `openapi.yaml`:**\n\n\n openapi: 3.1.0\n components:\n schemas:\n CustomSchema:\n description: Custom schema object\n properties:\n foo:\n $ref: 'common.components.yaml#/components/schemas/CommonSchema'\n\n**Specification file candidate `common.components.yaml`:**\n\n\n components: # 'Mark file as OpenAPI specification' highlighting\n schemas:\n CommonSchema:\n description: Common schema object reused in several specifications\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SwYamlMaybeSpecificationInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "OpenAPI specifications",
"index": 51,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SwJsonMaybeSpecificationInspection",
"shortDescription": {
"text": "Possible OpenAPI/Swagger specification candidate"
},
"fullDescription": {
"text": "Detects JSON files that can be interpreted as a part of OpenAPI/Swagger specification. Such files do not contain explicit specification attributes, but they are referenced from primary specification files located nearby. The following example contains two files located in the same directory. First one is a plain primary specification file. Second is referenced from the first one and thus is suggested to be considered a specification too. Primary specification file 'openapi.yaml': 'openapi: 3.1.0\ncomponents:\n schemas:\n CustomSchema:\n description: Custom schema object\n properties:\n foo:\n $ref: 'common.components.json#/components/schemas/CommonSchema'' Specification file candidate 'common.components.json': '{\n \"components\": { // 'Mark file as OpenAPI specification' highlighting\n \"schemas\": {\n \"CommonSchema\": {\n \"description\": \"Common schema object reused in several specifications\"\n }\n }\n }\n}'",
"markdown": "Detects JSON files that can be interpreted as a part of OpenAPI/Swagger specification.\n\n\nSuch files do not contain explicit specification attributes, but they are referenced from primary specification files located nearby.\n\n\nThe following example contains two files located in the same directory. First one is a plain primary specification file.\nSecond is referenced from the first one and thus is suggested to be considered a specification too.\n\n**Primary specification file `openapi.yaml`:**\n\n\n openapi: 3.1.0\n components:\n schemas:\n CustomSchema:\n description: Custom schema object\n properties:\n foo:\n $ref: 'common.components.json#/components/schemas/CommonSchema'\n\n**Specification file candidate `common.components.json`:**\n\n\n {\n \"components\": { // 'Mark file as OpenAPI specification' highlighting\n \"schemas\": {\n \"CommonSchema\": {\n \"description\": \"Common schema object reused in several specifications\"\n }\n }\n }\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "SwJsonMaybeSpecificationInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "OpenAPI specifications",
"index": 51,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SwYamlUnresolvedReferencesInspection",
"shortDescription": {
"text": "Unresolved reference"
},
"fullDescription": {
"text": "Detects unresolved references in Yaml specification files.",
"markdown": "Detects unresolved references in Yaml specification files."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "SwYamlUnresolvedReferencesInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "OpenAPI specifications",
"index": 51,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "org.jetbrains.plugins.less",
"version": "232.10072.32",
"rules": [
{
"id": "LessUnresolvedVariable",
"shortDescription": {
"text": "Unresolved variable"
},
"fullDescription": {
"text": "Reports a reference to a Less variable that is not resolved. Example: '* {\n margin: @unknown-var;\n}'",
"markdown": "Reports a reference to a [Less variable](http://lesscss.org/features/#variables-feature) that is not resolved.\n\n**Example:**\n\n\n * {\n margin: @unknown-var;\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "LessUnresolvedVariable",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Less",
"index": 54,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "LessResolvedByNameOnly",
"shortDescription": {
"text": "Missing import"
},
"fullDescription": {
"text": "Reports a reference to a variable or mixin that is declared in another file, which is not explicitly imported in the current file. Example: '* {\n margin: @var-in-other-file;\n}'",
"markdown": "Reports a reference to a variable or mixin that is declared in another file, which is not explicitly [imported](http://lesscss.org/features/#import-atrules-feature) in the current file.\n\n**Example:**\n\n\n * {\n margin: @var-in-other-file;\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "LessResolvedByNameOnly",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Less",
"index": 54,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "LessUnresolvedMixin",
"shortDescription": {
"text": "Unresolved mixin"
},
"fullDescription": {
"text": "Reports a reference to a Less mixin that is not resolved. Example: '* {\n .unknown-mixin();\n}'",
"markdown": "Reports a reference to a [Less mixin](http://lesscss.org/features/#mixins-feature) that is not resolved.\n\n**Example:**\n\n\n * {\n .unknown-mixin();\n }\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "LessUnresolvedMixin",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Less",
"index": 54,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "XPathView",
"version": "232.10072.32",
"rules": [
{
"id": "XsltUnusedDeclaration",
"shortDescription": {
"text": "Unused variable or parameter"
},
"fullDescription": {
"text": "Reports local variables and parameters that are never used.",
"markdown": "Reports local variables and parameters that are never used."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "XsltUnusedDeclaration",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XSLT",
"index": 57,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RedundantTypeConversion",
"shortDescription": {
"text": "Redundant type conversion"
},
"fullDescription": {
"text": "Reports unnecessary type conversions. Type conversions are unnecessary when the argument type of a 'string()', 'number()', or 'boolean()' function is already the same as the function's return type or if the expected expression type is 'any'. Suggests removing the unnecessary conversion.",
"markdown": "Reports unnecessary type conversions. Type conversions are unnecessary when the argument type of a `string()`, `number()`, or `boolean()` function is already the same as the function's return type or if the expected expression type is `any`. Suggests removing the unnecessary conversion."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "RedundantTypeConversion",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XPath",
"index": 97,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "IndexZeroUsage",
"shortDescription": {
"text": "XPath predicate with index 0"
},
"fullDescription": {
"text": "Reports usages of '0' in a predicate index or in a comparison with the function 'position()'. Such usage is almost always a bug because in XPath, the index starts at '1', not at '0'. Example: '//someelement[position() = 0]' or '//something[0]'",
"markdown": "Reports usages of `0` in a predicate index or in a comparison with the function `position()`. Such usage is almost always a bug because in XPath, the index starts at `1`, *not* at `0`.\n\n**Example:**\n\n\n //someelement[position() = 0] or //something[0]\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "IndexZeroUsage",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XPath",
"index": 97,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "CheckNodeTest",
"shortDescription": {
"text": "Unknown element or attribute name"
},
"fullDescription": {
"text": "Reports names of elements or attributes that are used in an XPath-expression but are missing in the associated XML files and are not defined in the referenced schemas. Such names are often the result of typos and would otherwise probably only be discovered at runtime. Example: '<xsl:template match=\"h:txtarea\" />' If the 'h' is bound to the XHTML namespace, the inspection will report this part of the 'match' expression as an unknown element name because the correct name of the element is \"textarea\".",
"markdown": "Reports names of elements or attributes that are used in an XPath-expression but are missing in the associated XML files and are not defined in the referenced schemas. Such names are often the result of typos and would otherwise probably only be discovered at runtime.\n\n**Example:**\n\n\n <xsl:template match=\"h:txtarea\" />\n\n\nIf the `h` is bound to the XHTML namespace, the inspection will report this part of the `match` expression as an\nunknown element name because the correct name of the element is \"textarea\"."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "CheckNodeTest",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XPath",
"index": 97,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XsltDeclarations",
"shortDescription": {
"text": "Incorrect declaration"
},
"fullDescription": {
"text": "Reports duplicate declarations and illegal identifiers in XSLT variables, parameters, and named templates:",
"markdown": "Reports duplicate declarations and illegal identifiers in XSLT variables, parameters, and named templates:"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "XsltDeclarations",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "XSLT",
"index": 57,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XsltVariableShadowing",
"shortDescription": {
"text": "Shadowed variable"
},
"fullDescription": {
"text": "Reports shadowed XSLT variables.",
"markdown": "Reports shadowed XSLT variables."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "XsltVariableShadowing",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XSLT",
"index": 57,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "HardwiredNamespacePrefix",
"shortDescription": {
"text": "Hardcoded namespace prefix"
},
"fullDescription": {
"text": "Reports comparisons of the 'name()' function with a string that contains a colon (':'). Such usages usually indicate a hardcoded namespace prefix in the comparison. As a result, the code will break when run against XML that uses another prefix for the same namespace. Example: '<xsl:if test=\"name() = 'xlink:href'\">...<xsl:if>'",
"markdown": "Reports comparisons of the `name()` function with a string that contains a colon (`:`). Such usages usually indicate a hardcoded namespace prefix in the comparison. As a result, the code will break when run against XML that uses another prefix for the same namespace.\n\n**Example:**\n\n\n <xsl:if test=\"name() = 'xlink:href'\">...<xsl:if>\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "HardwiredNamespacePrefix",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XPath",
"index": 97,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "XsltTemplateInvocation",
"shortDescription": {
"text": "Incorrect template invocation"
},
"fullDescription": {
"text": "Reports missing arguments, passing arguments that are not declared, and passing arguments for parameters more than once in named XSLT template invocations. Parameters declared with a default value are optional and will not be reported as missing.",
"markdown": "Reports missing arguments, passing arguments that are not declared, and passing arguments for parameters more than once in named XSLT template invocations.\n\n\nParameters declared with a default value are optional and will not be reported as missing."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "XsltTemplateInvocation",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "XSLT",
"index": 57,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ImplicitTypeConversion",
"shortDescription": {
"text": "Implicit type conversion"
},
"fullDescription": {
"text": "Reports implicit conversions between the predefined XPath-types 'STRING', 'NUMBER', 'BOOLEAN', and 'NODESET'. Helps to write XSLT scripts that are more expressive about types and prevents subtle bugs: Example: '<xsl:if test=\"foo\" />' is not the same as '<xsl:if test=\"string(foo)\" />' The first test checks whether the element \"foo\" exists ('count(foo) > 0)'; the latter one however is only true if the element actually contains any text ('string-length(foo) > 0'). Suggests making the type conversion more explicit. Use the following options to configure the inspection: Enable or disable implicit conversions between certain types Always report explicit conversions that do not result in the actually expected type, for example, '<xsl:if test=\"number(foo)\" />' Ignore conversion from 'NODESET' to 'BOOLEAN' by using the 'string()' function as a shortcut for writing 'string-length() > 0'.",
"markdown": "Reports implicit conversions between the predefined XPath-types `STRING`, `NUMBER`, `BOOLEAN`, and `NODESET`. Helps to write XSLT scripts that are more expressive about types and prevents subtle bugs:\n\n**Example:**\n\n\n <xsl:if test=\"foo\" />\n\nis not the same as\n\n\n <xsl:if test=\"string(foo)\" />\n\n\nThe first test checks whether the element \"foo\" exists (`count(foo) > 0)`; the latter one however is only\ntrue if the element actually contains any text (`string-length(foo) > 0`). Suggests making\nthe type conversion more explicit.\n\n\nUse the following options to configure the inspection:\n\n* Enable or disable implicit conversions between certain types\n* Always report explicit conversions that do not result in the actually expected type, for example, `<xsl:if test=\"number(foo)\" />`\n* Ignore conversion from `NODESET` to `BOOLEAN` by using the `string()` function as a shortcut for writing `string-length() > 0`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "ImplicitTypeConversion",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "XPath",
"index": 97,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "de.espend.idea.php.annotation",
"version": "9.4.0",
"rules": [
{
"id": "DoctrineTypeDeprecatedInspection",
"shortDescription": {
"text": "[Annotations] Doctrine column type deprecated"
},
"fullDescription": {
"text": "Reports deprecations of the type Doctrine\\ORM\\Mapping\\Column::type based on the underlying type class [Annotation]Reports deprecations of Doctrine\\ORM\\Mapping\\Column::type",
"markdown": "Reports deprecations of the type Doctrine\\\\ORM\\\\Mapping\\\\Column::type based on the underlying type class\n\n\\[Annotation\\]Reports deprecations of Doctrine\\\\ORM\\\\Mapping\\\\Column::type"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "DoctrineTypeDeprecatedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Annotation",
"index": 58,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AnnotationDeprecatedInspection",
"shortDescription": {
"text": "[Annotations] Annotation is deprecated"
},
"fullDescription": {
"text": "Doc block annotation class found, but it is deprecated You should migrate to a current alternative annotation",
"markdown": "Doc block annotation class found, but it is deprecated\n\nYou should migrate to a current alternative annotation"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "AnnotationDeprecatedInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Annotation",
"index": 58,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AnnotationDocBlockClassConstantNotFound",
"shortDescription": {
"text": "[Annotations] Class not found"
},
"fullDescription": {
"text": "Class in class constant of DocBlock context not found",
"markdown": "Class in class constant of DocBlock context not found"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "AnnotationDocBlockClassConstantNotFound",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Annotation",
"index": 58,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AnnotationMissingUseInspection",
"shortDescription": {
"text": "[Annotations] Missing import"
},
"fullDescription": {
"text": "Doc block annotation class found, but its missing in use statement You should import the class as use statement Doctrine Annotations",
"markdown": "Doc block annotation class found, but its missing in use statement \nYou should import the class as *use* statement \n[Doctrine Annotations](http://doctrine-common.readthedocs.org/en/latest/reference/annotations.html)"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "AnnotationMissingUseInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Annotation",
"index": 58,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "RepositoryClassInspection",
"shortDescription": {
"text": "[Annotations] Missing repository class"
},
"fullDescription": {
"text": "No repository class was found. Please create a PHP class see for more details",
"markdown": "No repository class was found. Please create a PHP class [see for more details](https://symfony.com/doc/current/doctrine/repository.html?phpstorm)"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "RepositoryClassInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Annotation",
"index": 58,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AnnotationDocBlockConstantDeprecated",
"shortDescription": {
"text": "[Annotations] Deprecated usage"
},
"fullDescription": {
"text": "Constant in class found, but it is deprecated You should migrate to a current alternative annotation",
"markdown": "Constant in class found, but it is deprecated\n\nYou should migrate to a current alternative annotation"
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "AnnotationDocBlockConstantDeprecated",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Annotation",
"index": 58,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "Docker",
"version": "232.10072.32",
"rules": [
{
"id": "DockerFileAddOrCopyPaths",
"shortDescription": {
"text": "Invalid destination for ''ADD''/''COPY'' commands"
},
"fullDescription": {
"text": "Reports invalid destination directories in 'ADD' and 'COPY' commands. According to the Dockerfile specification, if multiple sources are specified, then the destination must be a directory, and it must end with a slash '/'. Otherwise, Docker build will fail. Examples: '# all the commands below will fail\n ADD textA.txt textB.txt relativeDir\n ADD [\"binaryA.jar\", \"binary2.jar\", \"destination\"]\n COPY text3.txt text4.txt /absolute/path' After the quick-fix is applied: 'ADD textA.txt textB.txt relativeDir/\n ADD [\"binaryA.jar\", \"binary2.jar\", \"destination/\"]\n COPY text3.txt text4.txt /absolute/path/'",
"markdown": "Reports invalid destination directories in `ADD` and `COPY` commands.\n\n\nAccording to the [Dockerfile specification](https://docs.docker.com/engine/reference/builder/#add),\nif multiple sources are specified, then the destination must be a directory, and it must end with a slash '/'.\nOtherwise, Docker build will fail.\n\n**Examples:**\n\n\n # all the commands below will fail\n ADD textA.txt textB.txt relativeDir\n ADD [\"binaryA.jar\", \"binary2.jar\", \"destination\"]\n COPY text3.txt text4.txt /absolute/path\n\nAfter the quick-fix is applied:\n\n\n ADD textA.txt textB.txt relativeDir/\n ADD [\"binaryA.jar\", \"binary2.jar\", \"destination/\"]\n COPY text3.txt text4.txt /absolute/path/\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DockerFileAddOrCopyPaths",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Dockerfile",
"index": 60,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DockerFileRunCommandMissingContinuation",
"shortDescription": {
"text": "Missing continuation character for ''RUN'' command"
},
"fullDescription": {
"text": "Reports missing continuation characters in 'RUN' command. In the shell form of 'RUN' command you should use a '\\' (backslash) to continue a single 'RUN' instruction onto the next line. Otherwise, Docker build will fail. Examples: '# the command below will fail\n RUN /bin/bash -c 'source $HOME/.bashrc;\n echo $HOME'' After the quick-fix is applied: 'RUN /bin/bash -c 'source $HOME/.bashrc; \\\n echo $HOME''",
"markdown": "Reports missing continuation characters in `RUN` command.\n\n\nIn the *shell* form of `RUN` command you should use a '\\\\' (backslash)\nto continue a single `RUN` instruction onto the next line.\nOtherwise, Docker build will fail.\n\n**Examples:**\n\n\n # the command below will fail\n RUN /bin/bash -c 'source $HOME/.bashrc;\n echo $HOME'\n\nAfter the quick-fix is applied:\n\n\n RUN /bin/bash -c 'source $HOME/.bashrc; \\\n echo $HOME'\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "DockerFileRunCommandMissingContinuation",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Dockerfile",
"index": 60,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DockerJsonFormStringLiterals",
"shortDescription": {
"text": "A single quoted string in JSON array format"
},
"fullDescription": {
"text": "Reports a single quoted string in JSON array format. JSON array form, must use double-quotes (\") around words not single-quotes ('). Otherwise, Docker build will fail. Examples: '# all the commands below will fail\n RUN ['/bin/bash', '-c', 'echo hello']\n ADD ['binaryA.jar', 'binary2.jar', 'destination/']\n COPY ['binaryA.jar', 'binary2.jar', 'destination/']' After the quick-fix is applied: 'RUN [\"/bin/bash\", \"-c\", \"echo hello\"]\n ADD [\"binaryA.jar\", \"binary2.jar\", \"destination/\"]\n COPY [\"binaryA.jar\", \"binary2.jar\", \"destination/\"]'",
"markdown": "Reports a single quoted string in JSON array format.\n\n\nJSON array form, must use double-quotes (\") around words not single-quotes ('). Otherwise, Docker build will fail.\n\n**Examples:**\n\n\n # all the commands below will fail\n RUN ['/bin/bash', '-c', 'echo hello']\n ADD ['binaryA.jar', 'binary2.jar', 'destination/']\n COPY ['binaryA.jar', 'binary2.jar', 'destination/']\n\nAfter the quick-fix is applied:\n\n\n RUN [\"/bin/bash\", \"-c\", \"echo hello\"]\n ADD [\"binaryA.jar\", \"binary2.jar\", \"destination/\"]\n COPY [\"binaryA.jar\", \"binary2.jar\", \"destination/\"]\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DockerJsonFormStringLiterals",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Dockerfile",
"index": 60,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ComposeUnknownKeys",
"shortDescription": {
"text": "Unknown docker-compose YAML keys"
},
"fullDescription": {
"text": "Reports unrecognized keys in Docker Compose files.",
"markdown": "Reports unrecognized keys in Docker Compose files. "
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "ComposeUnknownKeys",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Docker-compose",
"index": 98,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DockerFileArgumentCount",
"shortDescription": {
"text": "Wrong number of arguments"
},
"fullDescription": {
"text": "Reports invalid number of arguments for the Dockerfile commands. Docker build will fail after reaching the instruction with an invalid number of arguments.",
"markdown": "Reports invalid number of arguments for the Dockerfile commands.\n\n\nDocker build will fail after reaching the instruction with an invalid number of arguments."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "DockerFileArgumentCount",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Dockerfile",
"index": 60,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ComposeMissingKeys",
"shortDescription": {
"text": "Missing docker-compose YAML keys"
},
"fullDescription": {
"text": "Reports missing required keys in Docker Compose files.",
"markdown": "Reports missing required keys in Docker Compose files. "
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "ComposeMissingKeys",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Docker-compose",
"index": 98,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DockerFileAssignments",
"shortDescription": {
"text": "Invalid spaces in ''key=value'' pair"
},
"fullDescription": {
"text": "Reports incorrect spacing for key-value pairs in 'ARG', 'ENV', and 'LABEL' commands. While it is not explicitly specified in the Dockerfile specification, some combinations of spacing for key-value pairs are not allowed. Docker build will fail after reaching the problem instruction. Examples: The 'ARG' command does not allow any spaces around '=' 'ENV' and 'LABEL' do not allow spaces after '=' '# all the commands below will fail\n ARG answer = 42\n ARG version= \"1.0.0\"\n LABEL \"maintained.by\"= someone@gmail.com\n ENV JAVA_HOME= \"/docker-java-home\"' After the quick-fix is applied: 'ARG answer=2\n ARG version=\"1.0.0\"\n LABEL \"maintained.by\"=someone@gmail.com\n ENV JAVA_HOME=\"/docker-java-home\"'",
"markdown": "Reports incorrect spacing for key-value pairs in `ARG`, `ENV`, and `LABEL` commands.\n\n\nWhile it is not explicitly specified in the [Dockerfile specification](https://docs.docker.com/engine/reference/builder/#arg),\nsome combinations of spacing for key-value pairs are not allowed.\nDocker build will fail after reaching the problem instruction.\n\n**Examples:**\n\n* The `ARG` command does not allow any spaces around '='\n* `ENV` and `LABEL` do not allow spaces after '='\n\n\n # all the commands below will fail\n ARG answer = 42\n ARG version= \"1.0.0\"\n LABEL \"maintained.by\"= someone@gmail.com\n ENV JAVA_HOME= \"/docker-java-home\"\n\nAfter the quick-fix is applied:\n\n\n ARG answer=2\n ARG version=\"1.0.0\"\n LABEL \"maintained.by\"=someone@gmail.com\n ENV JAVA_HOME=\"/docker-java-home\"\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "DockerFileAssignments",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Dockerfile",
"index": 60,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ComposeUnknownValues",
"shortDescription": {
"text": "Unknown docker-compose YAML values"
},
"fullDescription": {
"text": "Reports unrecognized values in Docker Compose files.",
"markdown": "Reports unrecognized values in Docker Compose files. "
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "ComposeUnknownValues",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Docker-compose",
"index": 98,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "ComposeUnquotedPorts",
"shortDescription": {
"text": "Unquoted port mappings"
},
"fullDescription": {
"text": "Reports unquoted port mappings in Docker Compose files. According to the Compose file specification, mapping ports in the 'HOST:CONTAINER' format may lead to erroneous results when using a container port lower than 60, because YAML parses numbers in the format 'xx:yy' as a base-60 value. For this reason, we recommend always explicitly specifying the port mappings as strings. Examples: 'ports:\n - 3000\n - 3000-3005\n - 22:22\n - 8080:8080' After the quick-fix is applied: 'ports:\n - \"3000\"\n - \"3000-3005\"\n - \"22:22\"\n - \"8080:8080\"'",
"markdown": "Reports unquoted port mappings in Docker Compose files.\n\n\nAccording to the [Compose file specification](https://docs.docker.com/compose/compose-file/compose-file-v3/#short-syntax-1),\nmapping ports in the `HOST:CONTAINER` format may lead to erroneous results when using a container port lower than 60,\nbecause YAML parses numbers in the format `xx:yy` as a base-60 value.\nFor this reason, we recommend always explicitly specifying the port mappings as strings.\n\n**Examples:**\n\n\n ports:\n - 3000\n - 3000-3005\n - 22:22\n - 8080:8080\n\nAfter the quick-fix is applied:\n\n\n ports:\n - \"3000\"\n - \"3000-3005\"\n - \"22:22\"\n - \"8080:8080\"\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "ComposeUnquotedPorts",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Docker-compose",
"index": 98,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.jetbrains.php.joomla",
"version": "232.10072.32",
"rules": [
{
"id": "FileHeaderInspection",
"shortDescription": {
"text": "Missing @copyright/@license tags"
},
"fullDescription": {
"text": "Reports the file header DocBlocks that do not contain the '@copyright' and '@license' tags required by the Joomla! DocBlocks standard. See Joomla! Coding Standards (developer.joomla.org) for details.",
"markdown": "Reports the file header DocBlocks that do not contain the `@copyright` and `@license` tags required by the Joomla! DocBlocks standard.\n\n\nSee [Joomla! Coding Standards (developer.joomla.org)](https://developer.joomla.org/coding-standards/docblocks.html) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "FileHeaderInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Joomla!",
"index": 65,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MissingSinceTagDocInspection",
"shortDescription": {
"text": "Missing @since tag"
},
"fullDescription": {
"text": "Reports the class, class property, and class method DocBlocks that do not contain the '@since' tag required by the Joomla! DocBlocks standard. See Joomla! Coding Standards (developer.joomla.org) for details.",
"markdown": "Reports the class, class property, and class method DocBlocks that do not contain the `@since` tag required by the Joomla! DocBlocks standard.\n\nSee [Joomla! Coding Standards (developer.joomla.org)](https://developer.joomla.org/coding-standards/docblocks.html) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "MissingSinceTagDocInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Joomla!",
"index": 65,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.jetbrains.php.architecture",
"version": "232.10072.32",
"rules": [
{
"id": "PhpComplexClassInspection",
"shortDescription": {
"text": "Complex class should be refactored"
},
"fullDescription": {
"text": "Reports the classes that are too complex. Class complexity is evaluated based on three metrics: TCC (Tight class cohesion) — the measure of class cohesiveness (more is better). WMC (Weighted Method count) — the sum of cyclomatic complexities for all methods in a class (less is better). ATFD (Access to foreign data) — the number of properties from another class that are accessed in the current class (less is better).",
"markdown": "Reports the classes that are too complex.\n\nClass complexity is evaluated based on three metrics:\n\n* TCC (Tight class cohesion) --- the measure of class cohesiveness (more is better).\n* WMC (Weighted Method count) --- the sum of cyclomatic complexities for all methods in a class (less is better).\n* ATFD (Access to foreign data) --- the number of properties from another class that are accessed in the current class (less is better)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpComplexClassInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Refactoring opportunities",
"index": 67,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpMemberCanBePulledUpInspection",
"shortDescription": {
"text": "Member can be pulled up"
},
"fullDescription": {
"text": "Reports the class methods and properties that should be pulled up to the parent class or interface.",
"markdown": "Reports the class methods and properties that should be pulled up to the parent class or interface."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpMemberCanBePulledUpInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Refactoring opportunities",
"index": 67,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpFeatureEnvyLocalInspection",
"shortDescription": {
"text": "Method has Feature Envy on another class"
},
"fullDescription": {
"text": "Reports the \"Feature Envy\" code smell. Feature envy is defined as occurring when a method calls methods on another class more times than on the source class. It often indicates that the intended functionality is located in the wrong class. Calls to library classes, parent classes, and contained or containing classes are not counted by this inspection.",
"markdown": "Reports the \"Feature Envy\" code smell. Feature envy is defined as occurring when a method calls methods on another class more times than on the source class. It often indicates that the intended functionality is located in the wrong class.\n\n\nCalls to library classes, parent classes, and contained or containing classes are not counted by this inspection."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpFeatureEnvyLocalInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Refactoring opportunities",
"index": 67,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpClassHasTooManyDeclaredMembersInspection",
"shortDescription": {
"text": "Class has too many declared members"
},
"fullDescription": {
"text": "Reports the classes that have too many properties or methods.",
"markdown": "Reports the classes that have too many properties or methods."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpClassHasTooManyDeclaredMembersInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Refactoring opportunities",
"index": 67,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpFunctionCyclomaticComplexityInspection",
"shortDescription": {
"text": "Function has too high cyclomatic complexity"
},
"fullDescription": {
"text": "Reports the methods that have high cyclomatic complexity and can probably be simplified. See Cyclomatic complexity (wikipedia.org) for details.",
"markdown": "Reports the methods that have high cyclomatic complexity and can probably be simplified.\n\n\nSee [Cyclomatic complexity (wikipedia.org)](https://en.wikipedia.org/wiki/Cyclomatic_complexity) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpFunctionCyclomaticComplexityInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Refactoring opportunities",
"index": 67,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpHalsteadMetricInspection",
"shortDescription": {
"text": "Halstead metric"
},
"fullDescription": {
"text": "Reports the methods with high Halstead Complexity metric. See Halstead measure (wikipedia.org) for details.",
"markdown": "Reports the methods with high Halstead Complexity metric.\n\n\nSee [Halstead measure (wikipedia.org)](https://en.wikipedia.org/wiki/Halstead_complexity_measures) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpHalsteadMetricInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Refactoring opportunities",
"index": 67,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpComplexFunctionInspection",
"shortDescription": {
"text": "Complex function should be refactored"
},
"fullDescription": {
"text": "Reports the functions or methods that are too complex. Complexity is evaluated based on four metrics: Lines of code — the number of code lines in a function/method (less is better) Maximum Nesting depth — the maximum number of nested statements in a function/method body (less is better) Cyclomatic complexity — the function/method cyclomatic complexity (less is better) Number of variables — the number of variables used in function/method body",
"markdown": "Reports the functions or methods that are too complex.\n\nComplexity is evaluated based on four metrics:\n\n* Lines of code --- the number of code lines in a function/method (less is better)\n* Maximum Nesting depth --- the maximum number of nested statements in a function/method body (less is better)\n* Cyclomatic complexity --- the function/method cyclomatic complexity (less is better)\n* Number of variables --- the number of variables used in function/method body"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpComplexFunctionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Refactoring opportunities",
"index": 67,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpLackOfCohesionInspection",
"shortDescription": {
"text": "LCOM metric"
},
"fullDescription": {
"text": "Reports the classes that have high Lack of Cohesion metric value, which represents the degree of cohesiveness of a class. It uses class dependency graph components for class cohesiveness measure (M. Hitz and B. Montazeri definition of LCOM metric)",
"markdown": "Reports the classes that have high Lack of Cohesion metric value, which represents the degree of cohesiveness of a class.\n\n\nIt uses class dependency graph components for class cohesiveness measure (M. Hitz and B. Montazeri definition of LCOM metric)"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpLackOfCohesionInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Refactoring opportunities",
"index": 67,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "AngularJS",
"version": "232.10072.32",
"rules": [
{
"id": "AngularCliAddDependency",
"shortDescription": {
"text": "Angular CLI add dependency"
},
"fullDescription": {
"text": "Suggests using the 'ng add' command to install the dependency. 'ng add' will use the package manager to download it and invoke a schematic which can update your project with configuration changes, add additional dependencies (e.g. polyfills), or scaffold package-specific initialization code.",
"markdown": "Suggests using the `ng add` command to install the dependency.\n\n`ng add` will use the package manager to download it and invoke a schematic\nwhich can update your project with configuration changes, add additional dependencies (e.g. polyfills),\nor scaffold package-specific initialization code."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AngularCliAddDependency",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularUndefinedTag",
"shortDescription": {
"text": "Undefined tag"
},
"fullDescription": {
"text": "Reports a tag defined by a component or directive out of the current scope.",
"markdown": "Reports a tag defined by a component or directive out of the current scope."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularUndefinedTag",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularInvalidImportedOrDeclaredSymbol",
"shortDescription": {
"text": "Invalid imported or declared symbol"
},
"fullDescription": {
"text": "Reports any symbol that is declared, imported or exported by an Angular module that is not a module, component, directive, or pipe or cant be used in the context of the property.",
"markdown": "Reports any symbol that is declared, imported or exported by an Angular module that is not a module, component, directive, or pipe or can't be used in the context of the property."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularInvalidImportedOrDeclaredSymbol",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularInaccessibleComponentMemberInAotMode",
"shortDescription": {
"text": "Inaccessible component member in AOT mode"
},
"fullDescription": {
"text": "Reports accessing a private or protected member of a component from the component's template. Such usages result in AOT compilation failure.",
"markdown": "Reports accessing a private or protected member of a component from the component's template. Such usages result in AOT compilation failure."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AngularInaccessibleComponentMemberInAotMode",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularAmbiguousComponentTag",
"shortDescription": {
"text": "Ambiguous component tag"
},
"fullDescription": {
"text": "Reports a component that is matched on an embedded template element '<ng-template>' or multiple components matched on any other element.",
"markdown": "Reports a component that is matched on an embedded template element `<ng-template>` or multiple components matched on any other element."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularAmbiguousComponentTag",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularUndefinedModuleExport",
"shortDescription": {
"text": "Undefined export from Angular module"
},
"fullDescription": {
"text": "Reports an export of an undeclared or unimported component, directive, or pipes from an Angular module.",
"markdown": "Reports an export of an undeclared or unimported component, directive, or pipes from an Angular module."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularUndefinedModuleExport",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularInvalidI18nAttribute",
"shortDescription": {
"text": "Invalid i18n attribute"
},
"fullDescription": {
"text": "Reports a problem with a 'i18n-*' attribute.",
"markdown": "Reports a problem with a `i18n-*` attribute."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AngularInvalidI18nAttribute",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularIncorrectTemplateDefinition",
"shortDescription": {
"text": "Incorrect component template definition"
},
"fullDescription": {
"text": "Reports a component that doesnt have an associated template or uses both 'template' and 'templateUrl' properties.",
"markdown": "Reports a component that doesn't have an associated template or uses both `template` and `templateUrl` properties."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularIncorrectTemplateDefinition",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularInvalidAnimationTriggerAssignment",
"shortDescription": {
"text": "Invalid animation trigger assignment"
},
"fullDescription": {
"text": "Reports an invalid assignment of an animation trigger. To attach an animation to an element, use '[@triggerName]=\"expression\"' or an attribute without a value '@triggerName'.",
"markdown": "Reports an invalid assignment of an animation trigger. To attach an animation to an element, use `[@triggerName]=\"expression\"` or an attribute without a value `@triggerName`."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularInvalidAnimationTriggerAssignment",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularRecursiveModuleImportExport",
"shortDescription": {
"text": "Recursive import or export of Angular module"
},
"fullDescription": {
"text": "Reports a cyclic dependency between Angular modules.",
"markdown": "Reports a cyclic dependency between Angular modules."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularRecursiveModuleImportExport",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularInvalidSelector",
"shortDescription": {
"text": "Missing or invalid selector"
},
"fullDescription": {
"text": "Reports an invalid 'selector' property of a component or directive.",
"markdown": "Reports an invalid `selector` property of a component or directive."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularInvalidSelector",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularNonEmptyNgContent",
"shortDescription": {
"text": "Content inside <ng-content> tag"
},
"fullDescription": {
"text": "Reports a text or tag occurrence inside a '<ng-content>' tag used for content projection.",
"markdown": "Reports a text or tag occurrence inside a `<ng-content>` tag used for content projection."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularNonEmptyNgContent",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularMissingRequiredDirectiveInputBinding",
"shortDescription": {
"text": "Missing required directive input"
},
"fullDescription": {
"text": "Reports a missing binding for a required directive input.",
"markdown": "Reports a missing binding for a required directive input."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularMissingRequiredDirectiveInputBinding",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularInsecureBindingToEvent",
"shortDescription": {
"text": "Insecure binding to event"
},
"fullDescription": {
"text": "Reports a binding to an event property or attribute, for example, '[onclick]' or '[attr.onclick]' instead of '(click)'.",
"markdown": "Reports a binding to an event property or attribute, for example, `[onclick]` or `[attr.onclick]` instead of `(click)`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "AngularInsecureBindingToEvent",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularNgOptimizedImage",
"shortDescription": {
"text": "Issues with ngSrc usage in img tags"
},
"fullDescription": {
"text": "Reports issues related to usage of 'ngSrc' (NgOptimizedDirective) on 'img' tags. Following issues are reported: 'img' tags, which use 'src' instead of 'ngSrc' lack of 'width' and 'height', or 'fill' attributes when 'ngSrc' is used 'width' or 'height', and 'fill' attributes being present on the same element when 'ngSrc' is used",
"markdown": "Reports issues related to usage of `ngSrc` ([NgOptimizedDirective](https://angular.io/guide/image-directive)) on `img` tags.\n\n\nFollowing issues are reported:\n\n* `img` tags, which use `src` instead of `ngSrc`\n* lack of `width` and `height`, or `fill` attributes when `ngSrc` is used\n* `width` or `height`, and `fill` attributes being present on the same element when `ngSrc` is used"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "AngularNgOptimizedImage",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularInvalidTemplateReferenceVariable",
"shortDescription": {
"text": "Unbound or ambiguous template reference variable"
},
"fullDescription": {
"text": "Reports a template reference variable that is not assigned to a directive when using 'exportAs' or is assigned to multiple directives.",
"markdown": "Reports a template reference variable that is not assigned to a directive when using `exportAs` or is assigned to multiple directives."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularInvalidTemplateReferenceVariable",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularMultipleStructuralDirectives",
"shortDescription": {
"text": "Multiple structural directives on one element"
},
"fullDescription": {
"text": "Reports multiple structural directives ('*ngIf', '*ngFor', etc.) on one element.",
"markdown": "Reports multiple structural directives (`*ngIf`, `*ngFor`, etc.) on one element."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularMultipleStructuralDirectives",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularMissingEventHandler",
"shortDescription": {
"text": "Missing event handler"
},
"fullDescription": {
"text": "Reports a missing event handler statement for an event binding.",
"markdown": "Reports a missing event handler statement for an event binding."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularMissingEventHandler",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularUndefinedBinding",
"shortDescription": {
"text": "Undefined binding"
},
"fullDescription": {
"text": "Reports an undefined property, event, or structural directive bindings on elements.",
"markdown": "Reports an undefined property, event, or structural directive bindings on elements."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularUndefinedBinding",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularMissingOrInvalidDeclarationInModule",
"shortDescription": {
"text": "Missing or invalid component, directive or pipe declaration in a module"
},
"fullDescription": {
"text": "Reports a non-standalone Angular component, directive, or pipe that is not declared in any module or is declared in multiple modules.",
"markdown": "Reports a non-standalone Angular component, directive, or pipe that is not declared in any module or is declared in multiple modules."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularMissingOrInvalidDeclarationInModule",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "AngularInvalidEntryComponent",
"shortDescription": {
"text": "Invalid entry component"
},
"fullDescription": {
"text": "Reports an invalid Angular component specified in the modules 'bootstrap' or 'entryComponents' property.",
"markdown": "Reports an invalid Angular component specified in the module's `bootstrap` or `entryComponents` property."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "AngularInvalidEntryComponent",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Angular",
"index": 68,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "org.intellij.qodana",
"version": "232.10072.32",
"rules": [
{
"id": "JsCoverageInspection",
"shortDescription": {
"text": "Check JavaScript and TypeScript source code coverage"
},
"fullDescription": {
"text": "Reports methods, classes and files whose coverage is below a certain threshold.",
"markdown": "Reports methods, classes and files whose coverage is below a certain threshold."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "JsCoverageInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Code Coverage",
"index": 74,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PhpCoverageInspection",
"shortDescription": {
"text": "Check the PHP source code coverage"
},
"fullDescription": {
"text": "Reports methods, classes and files whose coverage is below a certain threshold.",
"markdown": "Reports methods, classes and files whose coverage is below a certain threshold."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PhpCoverageInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Code Coverage",
"index": 74,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "QodanaSanity",
"shortDescription": {
"text": "Sanity"
},
"fullDescription": {
"text": "Reports issues essential to this file like syntax errors, unresolved methods and variables, etc...",
"markdown": "Reports issues essential to this file like syntax errors, unresolved methods and variables, etc..."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "QodanaSanity",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Qodana",
"index": 118,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.jetbrains.php.behat",
"version": "232.10072.32",
"rules": [
{
"id": "BehatDocStepCanBeConvertedToAttributeInspection",
"shortDescription": {
"text": "Behat doc step can be converted to attribute version"
},
"fullDescription": {
"text": "Reports Behat doc tags that can be replaced with attribute version",
"markdown": "Reports Behat doc tags that can be replaced with attribute version"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "BehatDocStepCanBeConvertedToAttributeInspection",
"ideaSeverity": "INFORMATION",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "PHP/Behat",
"index": 76,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "org.intellij.plugins.markdown",
"version": "232.10072.32",
"rules": [
{
"id": "MarkdownLinkDestinationWithSpaces",
"shortDescription": {
"text": "Links should not contain spaces"
},
"fullDescription": {
"text": "To ensure consistency between different tools, file links should not contain spaces. Example: '[Some file link](some file.md)' A quick-fix replaces spaces with their url-encoded equivalent: '[Some file link](some%20file.md)'",
"markdown": "To ensure consistency between different tools, file links should not contain spaces.\n\n**Example:**\n\n\n [Some file link](some file.md)\n\nA quick-fix replaces spaces with their url-encoded equivalent:\n\n\n [Some file link](some%20file.md)\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MarkdownLinkDestinationWithSpaces",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Markdown",
"index": 78,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MarkdownNoTableBorders",
"shortDescription": {
"text": "Table doesn't have side borders"
},
"fullDescription": {
"text": "Checks if table has correct side borders. For compatibility reasons all table rows should have borders (pipe symbols) at the start and at the end.",
"markdown": "Checks if table has correct side borders. For compatibility reasons all table rows should have borders (pipe symbols) at the start and at the end."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "MarkdownNoTableBorders",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Markdown",
"index": 78,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MarkdownOutdatedTableOfContents",
"shortDescription": {
"text": "Outdated table of contents section"
},
"fullDescription": {
"text": "Checks if a particular table of contents section corresponds to the actual structure of the document.",
"markdown": "Checks if a particular table of contents section corresponds to the actual structure of the document."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MarkdownOutdatedTableOfContents",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Markdown",
"index": 78,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MarkdownUnresolvedLinkLabel",
"shortDescription": {
"text": "Unresolved link label"
},
"fullDescription": {
"text": "Reports unresolved link labels in Markdown files.",
"markdown": "Reports unresolved link labels in Markdown files."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MarkdownUnresolvedLinkLabel",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Markdown",
"index": 78,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MarkdownIncorrectTableFormatting",
"shortDescription": {
"text": "Incorrect table formatting"
},
"fullDescription": {
"text": "Checks if table is correctly formatted.",
"markdown": "Checks if table is correctly formatted."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "MarkdownIncorrectTableFormatting",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Markdown",
"index": 78,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MarkdownIncorrectlyNumberedListItem",
"shortDescription": {
"text": "Incorrectly numbered list item"
},
"fullDescription": {
"text": "Ordered list items are expected to have straight numeration starting from 1. The motivation behind this is that most of Markdown processors are ignoring the numbering of ordered lists. A processor will generate an '<ol>' element for such list, that will number items continuously from 1.",
"markdown": "Ordered list items are expected to have straight numeration starting from 1.\n\nThe motivation behind this is that most of Markdown processors are ignoring the numbering of ordered lists. A processor will generate an `<ol>` element for such list, that will number items continuously from 1."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MarkdownIncorrectlyNumberedListItem",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Markdown",
"index": 78,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MarkdownUnresolvedFileReference",
"shortDescription": {
"text": "Unresolved file references"
},
"fullDescription": {
"text": "Reports unresolved file references in Markdown files.",
"markdown": "Reports unresolved file references in Markdown files."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MarkdownUnresolvedFileReference",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Markdown",
"index": 78,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "MarkdownUnresolvedHeaderReference",
"shortDescription": {
"text": "Unresolved header reference"
},
"fullDescription": {
"text": "Reports unresolved header references in Markdown files.",
"markdown": "Reports unresolved header references in Markdown files."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "MarkdownUnresolvedHeaderReference",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Markdown",
"index": 78,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.jetbrains.plugins.ini4idea",
"version": "232.10072.32",
"rules": [
{
"id": "DuplicateSectionInFile",
"shortDescription": {
"text": "Duplicate section in file"
},
"fullDescription": {
"text": "Reports duplicate sections in the 'ini' file.",
"markdown": "Reports duplicate sections in the `ini` file."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DuplicateSectionInFile",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Ini files",
"index": 79,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "DuplicateKeyInSection",
"shortDescription": {
"text": "Duplicate directive in section"
},
"fullDescription": {
"text": "Reports duplicate properties in the 'ini' file section.",
"markdown": "Reports duplicate properties in the `ini` file section."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "DuplicateKeyInSection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Ini files",
"index": 79,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.intellij.php.psalm",
"version": "232.10072.32",
"rules": [
{
"id": "PsalmAdvanceCallableParamsInspection",
"shortDescription": {
"text": "Function call is not compatible with 'callable' declaration"
},
"fullDescription": {
"text": "Reports the parameters in function calls whose types are not compatible with the ones defined via 'Closure'.",
"markdown": "Reports the parameters in function calls whose types are not compatible with the ones defined via `Closure`."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "PsalmAdvanceCallableParamsInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "PHP/Psalm",
"index": 82,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "PsalmGlobal",
"shortDescription": {
"text": "Psalm validation"
},
"fullDescription": {
"text": "Runs Psalm to find code problems. The inspection requires Psalm to be properly installed and set up in the IDE under Settings | PHP | Quality Tools | Psalm. To learn more about installing Psalm, see: https://psalm.dev/docs/running_psalm/installation/",
"markdown": "Runs Psalm to find code problems. \n\nThe inspection requires Psalm to be properly installed and set up in the IDE under [Settings \\| PHP \\| Quality Tools \\| Psalm](settings://settings.php.quality.tools?Psalm).\n\nTo learn more about installing Psalm, see:\n<https://psalm.dev/docs/running_psalm/installation/>"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PsalmGlobal",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Quality tools",
"index": 89,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "tslint",
"version": "232.10072.32",
"rules": [
{
"id": "TsLint",
"shortDescription": {
"text": "TSLint"
},
"fullDescription": {
"text": "Reports a discrepancy detected by the TSLint linter. The highlighting is based on the rule severity specified in the TSLint configuration file for each individual rule. Clear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all TSLint rules.",
"markdown": "Reports a discrepancy detected by the [TSLint](https://github.com/palantir/tslint) linter. \n\nThe highlighting is based on the rule severity specified in the [TSLint configuration file](https://palantir.github.io/tslint/usage/configuration/) for each individual rule. \n\nClear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all TSLint rules."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "TsLint",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/Code quality tools",
"index": 84,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.jetbrains.php.blade",
"version": "232.10072.32",
"rules": [
{
"id": "BladeUnpairedParenthesesInStringLiteral",
"shortDescription": {
"text": "Parse error due to unpaired parentheses in string literals"
},
"fullDescription": {
"text": "Reports the unpaired parentheses in string literals that produce blade parser errors. See laravel issue (github.com) for details.",
"markdown": "Reports the unpaired parentheses in string literals that produce blade parser errors.\n\n\nSee [laravel issue (github.com)](https://github.com/laravel/framework/issues/18317) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "BladeUnpairedParenthesesInStringLiteral",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Blade files",
"index": 85,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "BladeControlDirectives",
"shortDescription": {
"text": "Control directive missing"
},
"fullDescription": {
"text": "Reports the Blade control directives that are not closed with the corresponding '@end...' directives. See Blade directives (laravel.com) for details.",
"markdown": "Reports the Blade control directives that are not closed with the corresponding `@end...` directives.\n\n\nSee [Blade directives (laravel.com)](https://laravel.com/docs/blade#blade-directives) for details."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "BladeControlDirectives",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Blade files",
"index": 85,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.intellij.jsonpath",
"version": "232.10072.32",
"rules": [
{
"id": "JsonPathUnknownFunction",
"shortDescription": {
"text": "Unknown JSONPath function"
},
"fullDescription": {
"text": "Reports an unknown name in a JSONPath function call instead of known standard function names: 'concat', 'keys', 'length', 'min', 'max', 'avg', 'stddev', 'sum'.",
"markdown": "Reports an unknown name in a JSONPath function call instead of known standard function names: `concat`, `keys`, `length`, `min`, `max`, `avg`, `stddev`, `sum`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JsonPathUnknownFunction",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JSONPath",
"index": 93,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JsonPathEvaluateUnknownKey",
"shortDescription": {
"text": "Unknown property key used for JSONPath evaluate expression"
},
"fullDescription": {
"text": "Reports a key in a JSONPath expression that is missing in the source JSON document to evaluate.",
"markdown": "Reports a key in a JSONPath expression that is missing in the source JSON document to evaluate."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JsonPathEvaluateUnknownKey",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JSONPath",
"index": 93,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "JsonPathUnknownOperator",
"shortDescription": {
"text": "Unknown JSONPath operator"
},
"fullDescription": {
"text": "Reports an unknown operator on a JSONPath expression instead of one of the standard ones: 'in', 'nin', 'subsetof', 'anyof', 'noneof', 'size', 'empty', 'contains'.",
"markdown": "Reports an unknown operator on a JSONPath expression instead of one of the standard ones: `in`, `nin`, `subsetof`, `anyof`, `noneof`, `size`, `empty`, `contains`."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "JsonPathUnknownOperator",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JSONPath",
"index": 93,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.wix.scss.lint",
"version": "2.1.1",
"rules": [
{
"id": "ScssLintInspection",
"shortDescription": {
"text": "SCSS Lint"
},
"fullDescription": {
"text": "Runs SCSS Lint validator for specified scss file.",
"markdown": "Runs SCSS Lint validator for specified scss file."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "ScssLintInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "SASS/SCSS/Code quality tools",
"index": 96,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "tanvd.grazi",
"version": "232.10072.32",
"rules": [
{
"id": "LanguageDetectionInspection",
"shortDescription": {
"text": "Natural language detection"
},
"fullDescription": {
"text": "Detects natural languages and suggests enabling corresponding grammar and spelling checks.",
"markdown": "Detects natural languages and suggests enabling corresponding grammar and spelling checks."
},
"defaultConfiguration": {
"enabled": false,
"level": "warning",
"parameters": {
"suppressToolId": "LanguageDetectionInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Proofreading",
"index": 75,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "GrazieInspection",
"shortDescription": {
"text": "Grammar"
},
"fullDescription": {
"text": "Reports grammar mistakes in your text. You can configure the inspection in Settings | Editor | Natural Languages | Grammar.",
"markdown": "Reports grammar mistakes in your text. You can configure the inspection in [Settings \\| Editor \\| Natural Languages \\| Grammar](settings://reference.settingsdialog.project.grazie)."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "GrazieInspection",
"ideaSeverity": "GRAMMAR_ERROR",
"qodanaSeverity": "Info"
}
},
"relationships": [
{
"target": {
"id": "Proofreading",
"index": 75,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "org.jetbrains.plugins.vue",
"version": "232.10072.32",
"rules": [
{
"id": "VueMissingComponentImportInspection",
"shortDescription": {
"text": "Missing component import"
},
"fullDescription": {
"text": "Reports Vue components, which require to be imported in Vue templates. It provides a quick fix to add the missing import.",
"markdown": "Reports Vue components, which require to be imported in Vue templates. It provides a quick fix to add the missing import."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "VueMissingComponentImportInspection",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Vue",
"index": 102,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "VueUnrecognizedDirective",
"shortDescription": {
"text": "Unrecognized directive"
},
"fullDescription": {
"text": "Reports an unrecognized Vue directive.",
"markdown": "Reports an unrecognized Vue directive."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "VueUnrecognizedDirective",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Vue",
"index": 102,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "VueDuplicateTag",
"shortDescription": {
"text": "Duplicate template/script tag"
},
"fullDescription": {
"text": "Reports multiple usages of the 'template' or 'script' tag in a Vue file. Vue Component specification indicates that each '*.vue' file can contain at most one 'template' or 'script' block at a time.",
"markdown": "Reports multiple usages of the `template` or `script` tag in a Vue file.\n\n[Vue Component specification](https://vue-loader.vuejs.org/spec.html) indicates that each `*.vue` file can contain at most one `template` or `script` block at a time."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "VueDuplicateTag",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Vue",
"index": 102,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "VueDeprecatedSymbol",
"shortDescription": {
"text": "Deprecated symbol"
},
"fullDescription": {
"text": "Reports a deprecated Vue symbol.",
"markdown": "Reports a deprecated Vue symbol."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "VueDeprecatedSymbol",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Vue",
"index": 102,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "VueDataFunction",
"shortDescription": {
"text": "Data function"
},
"fullDescription": {
"text": "Reports a Vue component data property that is not a function. Suggests wrapping an object literal with a function. When defining a component, 'data' must be declared as a function that returns the initial data object, because the same definition will be used for creating numerous instances. If a plain object is still used for 'data', that very object will be shared by reference across all instances created! With a 'data' function, every time a new instance is created we can simply call it to return a fresh copy of the initial data.",
"markdown": "Reports a Vue component [data](https://vuejs.org/v2/api/#data) property that is not a function. Suggests wrapping an object literal with a function.\n\nWhen defining a component, `data` must be declared as a function that returns the initial data object, because the same definition will be used for creating numerous instances. If a plain object is still used for `data`, that very object will be shared by reference across all instances created! With a `data` function, every time a new instance is created we can simply call it to return a fresh copy of the initial data."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "VueDataFunction",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "Vue",
"index": 102,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "VueUnrecognizedSlot",
"shortDescription": {
"text": "Unrecognized slot"
},
"fullDescription": {
"text": "Reports an unrecognized Vue slot.",
"markdown": "Reports an unrecognized Vue slot."
},
"defaultConfiguration": {
"enabled": true,
"level": "note",
"parameters": {
"suppressToolId": "VueUnrecognizedSlot",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Vue",
"index": 102,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "name.kropp.intellij.makefile",
"version": "232.10072.32",
"rules": [
{
"id": "MakefileUnresolvedPrerequisite",
"shortDescription": {
"text": "Unresolved prerequisite"
},
"fullDescription": {
"text": "Reports unresolved target prerequisites",
"markdown": "Reports unresolved target prerequisites"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "MakefileUnresolvedPrerequisite",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "Makefile",
"index": 104,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "org.intellij.intelliLang",
"version": "232.10072.32",
"rules": [
{
"id": "InjectedReferences",
"shortDescription": {
"text": "Injected references"
},
"fullDescription": {
"text": "Reports unresolved references injected by Language Injections. Example: '@Language(\"file-reference\")\n String fileName = \"/home/user/nonexistent.file\"; // highlighted if file doesn't exist'",
"markdown": "Reports unresolved references injected by [Language Injections](https://www.jetbrains.com/help/idea/using-language-injections.html).\n\nExample:\n\n\n @Language(\"file-reference\")\n String fileName = \"/home/user/nonexistent.file\"; // highlighted if file doesn't exist\n"
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "InjectedReferences",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "General",
"index": 34,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.intellij.phing",
"version": "232.10072.32",
"rules": [
{
"id": "PhingDomInspection",
"shortDescription": {
"text": "Phing inspection"
},
"fullDescription": {
"text": "Reports unresolved resource references in Phing build files.",
"markdown": "Reports unresolved resource references in Phing build files."
},
"defaultConfiguration": {
"enabled": false,
"level": "error",
"parameters": {
"suppressToolId": "PhingDomInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "Phing",
"index": 106,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.intellij.php.tools.quality.phpstan",
"version": "232.10072.32",
"rules": [
{
"id": "PhpStanGlobal",
"shortDescription": {
"text": "PHPStan validation"
},
"fullDescription": {
"text": "Runs PHPStan to find code problems. The inspection requires PHPStan to be properly installed and set up in the IDE under Settings | PHP | Quality Tools | PHPStan. To learn more about installing PHPStan, see: https://phpstan.org/user-guide/getting-started",
"markdown": "Runs PHPStan to find code problems. \n\nThe inspection requires PHPStan to be properly installed and set up in the IDE under [Settings \\| PHP \\| Quality Tools \\| PHPStan](settings://settings.php.quality.tools?PHPStan).\n\nTo learn more about installing PHPStan, see:\n<https://phpstan.org/user-guide/getting-started>"
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "PhpStanGlobal",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "PHP/Quality tools",
"index": 89,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "intellij.webpack",
"version": "232.10072.32",
"rules": [
{
"id": "WebpackConfigHighlighting",
"shortDescription": {
"text": "Webpack config compliance with JSON Schema"
},
"fullDescription": {
"text": "Validates options in webpack config files (which name should start with `webpack`, e.g. `webpack.config.js`) against webpack options schema. Disable this inspection to turn off validation and code completion inside the configuration object.",
"markdown": "Validates options in webpack config files (which name should start with \\`webpack\\`, e.g. \\`webpack.config.js\\`) against [webpack options schema](https://github.com/webpack/webpack/blob/master/schemas/WebpackOptions.json). \n\nDisable this inspection to turn off validation and code completion inside the configuration object."
},
"defaultConfiguration": {
"enabled": true,
"level": "warning",
"parameters": {
"suppressToolId": "WebpackConfigHighlighting",
"ideaSeverity": "WARNING",
"qodanaSeverity": "High"
}
},
"relationships": [
{
"target": {
"id": "JavaScript and TypeScript/General",
"index": 30,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.wix.sasslint",
"version": "1.1.2",
"rules": [
{
"id": "SassLintInspection",
"shortDescription": {
"text": "SassLint"
},
"fullDescription": {
"text": "SassLint Runs SassLint validator for specified scss/sass file.",
"markdown": "SassLint\nRuns SassLint validator for specified scss/sass file."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "SassLintInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript/Code quality tools",
"index": 116,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
},
{
"id": "SassScssLintInspection",
"shortDescription": {
"text": "SassLint"
},
"fullDescription": {
"text": "SassLint Runs SassLint validator for specified scss/sass file.",
"markdown": "SassLint\nRuns SassLint validator for specified scss/sass file."
},
"defaultConfiguration": {
"enabled": true,
"level": "error",
"parameters": {
"suppressToolId": "SassScssLintInspection",
"ideaSeverity": "ERROR",
"qodanaSeverity": "Critical"
}
},
"relationships": [
{
"target": {
"id": "JavaScript/Code quality tools",
"index": 116,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
},
{
"name": "com.intellij.plugins.watcher",
"version": "232.10072.32",
"rules": [
{
"id": "TaskProblemsInspection",
"shortDescription": {
"text": "File watcher problems"
},
"fullDescription": {
"text": "Reports an error detected by the output filters from a File Watcher. A File Watcher tracks changes in files and executes the configured command when a change is detected.",
"markdown": "Reports an error detected by the output filters from a File Watcher.\n\n\nA File Watcher tracks changes in files and executes the configured command when a change is detected."
},
"defaultConfiguration": {
"enabled": false,
"level": "note",
"parameters": {
"suppressToolId": "TaskProblemsInspection",
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
"relationships": [
{
"target": {
"id": "File Watchers",
"index": 119,
"toolComponent": {
"name": "PS"
}
},
"kinds": [
"superset"
]
}
]
}
],
"language": "en-US",
"contents": [
"localizedData",
"nonLocalizedData"
],
"isComprehensive": false
}
]
},
"invocations": [
{
"exitCode": 0,
"toolExecutionNotifications": [
{
"message": {
"text": "Reporting from [] 'sanity' inspections was suspended due to high problems count."
},
"level": "error"
}
],
"executionSuccessful": true
}
],
"language": "en-US",
"versionControlProvenance": [
{
"repositoryUri": "https://gitbase.de/OrangeJungle/CdsConnector.git",
"revisionId": "231e9390b8e37efad18a700f02c34c18000c2514",
"branch": "master",
"properties": {
"repoUrl": "https://gitbase.de/OrangeJungle/CdsConnector.git",
"lastAuthorName": "Marko",
"vcsType": "Git",
"lastAuthorEmail": "52066939+hex87@users.noreply.github.com"
}
}
],
"results": [
{
"ruleId": "GlobalVariableUsageInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Global variable usage",
"markdown": "Global variable usage"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 24,
"startColumn": 29,
"charOffset": 451,
"charLength": 5,
"snippet": {
"text": "$_ENV"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 22,
"startColumn": 1,
"charOffset": 371,
"charLength": 112,
"snippet": {
"text": " $this->setPassword($_ENV['FTP_PASSWORD']);\n\n $this->setRemoteDir($_ENV['FTP_REMOTE_DIR']);\n\n }"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "14543e28639a8290c14a7290bba599890a8862086fca0a2f803600ae0fce80ba"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "GlobalVariableUsageInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Global variable usage",
"markdown": "Global variable usage"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 20,
"startColumn": 29,
"charOffset": 308,
"charLength": 5,
"snippet": {
"text": "$_ENV"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 18,
"startColumn": 1,
"charOffset": 231,
"charLength": 190,
"snippet": {
"text": " {\n $this->setHost($_ENV['FTP_HOST']);\n $this->setPort((int)$_ENV['FTP_PORT']);\n $this->setUser($_ENV['FTP_USER']);\n $this->setPassword($_ENV['FTP_PASSWORD']);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "19558af78fb6a17af50a5de89d5c4c9d8118bb55d3e94a9b64cc4708d59b8797"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "GlobalVariableUsageInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Global variable usage",
"markdown": "Global variable usage"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 19,
"startColumn": 24,
"charOffset": 260,
"charLength": 5,
"snippet": {
"text": "$_ENV"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 17,
"startColumn": 1,
"charOffset": 197,
"charLength": 173,
"snippet": {
"text": " public function __construct()\n {\n $this->setHost($_ENV['FTP_HOST']);\n $this->setPort((int)$_ENV['FTP_PORT']);\n $this->setUser($_ENV['FTP_USER']);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "4dfb337ad42c29a2dc7d5036b39b5c0880b7e382e96508aca4a296d6b1da3a53"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "GlobalVariableUsageInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Global variable usage",
"markdown": "Global variable usage"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 22,
"startColumn": 28,
"charOffset": 398,
"charLength": 5,
"snippet": {
"text": "$_ENV"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 20,
"startColumn": 1,
"charOffset": 280,
"charLength": 196,
"snippet": {
"text": " $this->setPort((int)$_ENV['FTP_PORT']);\n $this->setUser($_ENV['FTP_USER']);\n $this->setPassword($_ENV['FTP_PASSWORD']);\n\n $this->setRemoteDir($_ENV['FTP_REMOTE_DIR']);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "5ee9a7197413d7a1cfed5a0f5715c78b03b1f3b5d4e0f78918c81dd9c728d305"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "GlobalVariableUsageInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Global variable usage",
"markdown": "Global variable usage"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 29,
"startColumn": 31,
"charOffset": 675,
"charLength": 5,
"snippet": {
"text": "$_ENV"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 27,
"startColumn": 1,
"charOffset": 600,
"charLength": 206,
"snippet": {
"text": " $this->current_dir_path = getcwd();\n\n $this->hiltesApiUrl = $_ENV['HILTES_API_URL'];\n $this->hiltesUsr = $_ENV['HILTES_API_USER'];\n $this->hiltesPass = $_ENV['HILTES_API_PASS'];"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "828fe0f09ab2a8a147b7c9fed247d1d1443ea3806c18f7b8a3ce2d27c67ce025"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "GlobalVariableUsageInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Global variable usage",
"markdown": "Global variable usage"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 31,
"startColumn": 29,
"charOffset": 781,
"charLength": 5,
"snippet": {
"text": "$_ENV"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 29,
"startColumn": 1,
"charOffset": 645,
"charLength": 168,
"snippet": {
"text": " $this->hiltesApiUrl = $_ENV['HILTES_API_URL'];\n $this->hiltesUsr = $_ENV['HILTES_API_USER'];\n $this->hiltesPass = $_ENV['HILTES_API_PASS'];\n }\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8de86c767a0cbf081714323dd4891c87de552115075c0fd5ca0ef77efd745dd0"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "GlobalVariableUsageInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Global variable usage",
"markdown": "Global variable usage"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 21,
"startColumn": 24,
"charOffset": 351,
"charLength": 5,
"snippet": {
"text": "$_ENV"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 19,
"startColumn": 1,
"charOffset": 237,
"charLength": 185,
"snippet": {
"text": " $this->setHost($_ENV['FTP_HOST']);\n $this->setPort((int)$_ENV['FTP_PORT']);\n $this->setUser($_ENV['FTP_USER']);\n $this->setPassword($_ENV['FTP_PASSWORD']);\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c02705e4fa56cebba54f539c8a9cf5c5eea91f0c6a1d7eb7d292bc98396e87f9"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "GlobalVariableUsageInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Global variable usage",
"markdown": "Global variable usage"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 30,
"startColumn": 28,
"charOffset": 727,
"charLength": 5,
"snippet": {
"text": "$_ENV"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 28,
"startColumn": 1,
"charOffset": 644,
"charLength": 168,
"snippet": {
"text": "\n $this->hiltesApiUrl = $_ENV['HILTES_API_URL'];\n $this->hiltesUsr = $_ENV['HILTES_API_USER'];\n $this->hiltesPass = $_ENV['HILTES_API_PASS'];\n }"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "edb3d93345811bef348e85d713f142d66d20fab310f47ea491ad012d579b1648"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 2610,
"startColumn": 34,
"charOffset": 99595,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 2608,
"startColumn": 1,
"charOffset": 99505,
"charLength": 147,
"snippet": {
"text": " {\n \"name\": \"PHP-FIG\",\n \"homepage\": \"http://www.php-fig.org/\"\n }\n ],"
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "20c7e34a6c706d0c4f2ffe2323927412c8b54ed6b4f6b591a0cec6485c1128d9"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 2191,
"startColumn": 34,
"charOffset": 84319,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 2189,
"startColumn": 1,
"charOffset": 84230,
"charLength": 141,
"snippet": {
"text": " {\n \"name\": \"Nelmio\",\n \"homepage\": \"http://nelm.io\"\n },\n {"
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "234946860ff975871aedd465c4264ef0cc8d107e1eab3f5f05d42073b90c1d11"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 7320,
"startColumn": 34,
"charOffset": 272497,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 7318,
"startColumn": 1,
"charOffset": 272365,
"charLength": 225,
"snippet": {
"text": " \"name\": \"Fabien Potencier\",\n \"email\": \"fabien@symfony.com\",\n \"homepage\": \"http://fabien.potencier.org\",\n \"role\": \"Lead Developer\"\n },"
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "32d8b75fb7a48cf0a13bd6e9904d613d3fe813e360332159732faaac7e5c7d3f"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 2249,
"startColumn": 26,
"charOffset": 86486,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 2247,
"startColumn": 1,
"charOffset": 86338,
"charLength": 222,
"snippet": {
"text": " ],\n \"description\": \"Common reflection classes used by phpdocumentor to reflect the code structure\",\n \"homepage\": \"http://www.phpdoc.org\",\n \"keywords\": [\n \"FQSEN\","
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "36bc6067bc24fa3dc114f0a51a88e38634fc7b61b990bcf81f175b2d72fa4eea"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 7521,
"startColumn": 26,
"charOffset": 279454,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 7519,
"startColumn": 1,
"charOffset": 279352,
"charLength": 193,
"snippet": {
"text": " ],\n \"description\": \"An HTML5 parser and serializer.\",\n \"homepage\": \"http://masterminds.github.io/html5-php\",\n \"keywords\": [\n \"HTML5\","
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "570f698cfb08b7034ab9dad3770790587af9c441e05efe5f56d88216ade9b1aa"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 8695,
"startColumn": 26,
"charOffset": 322613,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 8693,
"startColumn": 1,
"charOffset": 322488,
"charLength": 230,
"snippet": {
"text": " ],\n \"description\": \"Provides functionality to handle HHVM/PHP environments\",\n \"homepage\": \"http://www.github.com/sebastianbergmann/environment\",\n \"keywords\": [\n \"Xdebug\","
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8f90c87eaf5ebd57a6b27c8b1c38adf0eae5d7d25a1e36da242414673235aef2"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 8838,
"startColumn": 26,
"charOffset": 327601,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 8836,
"startColumn": 1,
"charOffset": 327502,
"charLength": 210,
"snippet": {
"text": " ],\n \"description\": \"Snapshotting of global state\",\n \"homepage\": \"http://www.github.com/sebastianbergmann/global-state\",\n \"keywords\": [\n \"global state\""
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "91bc5f1b2959d4232eaf0d7a221bb6d416442cd5ae44f0a42afa3c3358f486e6"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 2660,
"startColumn": 34,
"charOffset": 101314,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 2658,
"startColumn": 1,
"charOffset": 101224,
"charLength": 147,
"snippet": {
"text": " {\n \"name\": \"PHP-FIG\",\n \"homepage\": \"http://www.php-fig.org/\"\n }\n ],"
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "94f02c67d28002e9b20af6721feb70c8361a269f8ebc633da3d6b05f211e468a"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 2716,
"startColumn": 34,
"charOffset": 103170,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 2714,
"startColumn": 1,
"charOffset": 103080,
"charLength": 147,
"snippet": {
"text": " {\n \"name\": \"PHP-FIG\",\n \"homepage\": \"http://www.php-fig.org/\"\n }\n ],"
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "e03f9ee8483b203128d6d5092afa8933bf12e6476e0700deb327e13116df38d4"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 1730,
"startColumn": 26,
"charOffset": 67381,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 1728,
"startColumn": 1,
"charOffset": 67275,
"charLength": 181,
"snippet": {
"text": " ],\n \"description\": \"Guzzle is a PHP HTTP client library\",\n \"homepage\": \"http://guzzlephp.org/\",\n \"keywords\": [\n \"client\","
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "fa34eb8179825fb409851529810a7ae2e5a44ee13ebab47f6f2259b50327555b"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "HttpUrlsUsage",
"kind": "fail",
"level": "note",
"message": {
"text": "HTTP links are not secure",
"markdown": "HTTP links are not secure"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "composer.lock",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 7454,
"startColumn": 26,
"charOffset": 277191,
"charLength": 7,
"snippet": {
"text": "http://"
},
"sourceLanguage": "JSON"
},
"contextRegion": {
"startLine": 7452,
"startColumn": 1,
"charOffset": 277053,
"charLength": 228,
"snippet": {
"text": " ],\n \"description\": \"Content Negotiation tools for PHP provided as a standalone library.\",\n \"homepage\": \"http://williamdurand.fr/Negotiation/\",\n \"keywords\": [\n \"accept\","
},
"sourceLanguage": "JSON"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "fdbd393f198b943cb79b71e08a1b3fbd7ab12550b731cbbf56642ed1e59df04a"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"JSON"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/SettingsRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 15,
"startColumn": 26,
"charOffset": 435,
"charLength": 6,
"snippet": {
"text": "findBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 13,
"startColumn": 1,
"charOffset": 300,
"charLength": 273,
"snippet": {
"text": " * @method Settings|null findOneBy(array $criteria, array $orderBy = null)\n * @method Settings[] findAll()\n * @method Settings[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */\nclass SettingsRepository extends ServiceEntityRepository"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "0381843a85fc4dfb6588651eb1ab1f7dfe6880b23e02622c44e43d8057b8f074"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/ProductRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 14,
"startColumn": 25,
"charOffset": 335,
"charLength": 9,
"snippet": {
"text": "findOneBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 12,
"startColumn": 1,
"charOffset": 235,
"charLength": 285,
"snippet": {
"text": " *\n * @method Product|null find($id, $lockMode = null, $lockVersion = null)\n * @method Product|null findOneBy(array $criteria, array $orderBy = null)\n * @method Product[] findAll()\n * @method Product[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "06268606dd8be600a740ca2378c91c9be35295673d716310c40163eb6ab21cdf"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 53,
"startColumn": 21,
"charOffset": 1191,
"charLength": 10,
"snippet": {
"text": "setInstock"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 51,
"startColumn": 1,
"charOffset": 1164,
"charLength": 98,
"snippet": {
"text": " }\n\n public function setInstock(int $instock): self\n {\n $this->instock = $instock;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "06d8a70186d5a05fc4aae4ca4da35f3165e8716a78ef2cc7ab2a0eb8b9357357"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/ProductRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 39,
"startColumn": 21,
"charOffset": 1031,
"charLength": 6,
"snippet": {
"text": "remove"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 37,
"startColumn": 1,
"charOffset": 1004,
"charLength": 135,
"snippet": {
"text": " }\n\n public function remove(Product $entity, bool $flush = false): void\n {\n $this->getEntityManager()->remove($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "07ef5abeb0a3991e1105e59508a553ff409b61f4c2c39fb6121a74c81e95932d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/SettingsRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 13,
"startColumn": 26,
"charOffset": 325,
"charLength": 9,
"snippet": {
"text": "findOneBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 11,
"startColumn": 1,
"charOffset": 223,
"charLength": 289,
"snippet": {
"text": " *\n * @method Settings|null find($id, $lockMode = null, $lockVersion = null)\n * @method Settings|null findOneBy(array $criteria, array $orderBy = null)\n * @method Settings[] findAll()\n * @method Settings[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "08d628269ecfe18f1ef0086eaffed38063bba978ade585311b7cbef3089273bf"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 149,
"startColumn": 24,
"charOffset": 4293,
"charLength": 9,
"snippet": {
"text": "trimArray"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 147,
"startColumn": 1,
"charOffset": 4263,
"charLength": 95,
"snippet": {
"text": " }\n\n protected function trimArray(array &$arr)\n {\n foreach ($arr as $k => $v) {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "0aa68f885a5fb632dd073054eb69a88171f72a67f8045f25e6187fa79533c79a"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/WarehouseRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 15,
"startColumn": 27,
"charOffset": 441,
"charLength": 6,
"snippet": {
"text": "findBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 13,
"startColumn": 1,
"charOffset": 303,
"charLength": 277,
"snippet": {
"text": " * @method Warehouse|null findOneBy(array $criteria, array $orderBy = null)\n * @method Warehouse[] findAll()\n * @method Warehouse[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */\nclass WarehouseRepository extends ServiceEntityRepository"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "0bc31538cc4f1894396f53b36b481643e0267f110fc1df69daf296de1353736a"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Product.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 27,
"startColumn": 21,
"charOffset": 640,
"charLength": 5,
"snippet": {
"text": "getId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 25,
"startColumn": 1,
"charOffset": 618,
"charLength": 67,
"snippet": {
"text": "\n\n public function getId(): ?int\n {\n return $this->id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "0bf20b7bfe7e7220276eb2984a12803aeec31a4c7f355a3f8227697dc026bbfd"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 112,
"startColumn": 21,
"charOffset": 2406,
"charLength": 11,
"snippet": {
"text": "setPassword"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 110,
"startColumn": 1,
"charOffset": 2379,
"charLength": 105,
"snippet": {
"text": " }\n\n public function setPassword(string $password): void\n {\n $this->password = $password;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "0f5dadd0d6e176ff3337442c14b1baecb7c10f873c0c9cacafd91ee81167a2bd"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 15,
"startColumn": 28,
"charOffset": 447,
"charLength": 6,
"snippet": {
"text": "findBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 13,
"startColumn": 1,
"charOffset": 306,
"charLength": 281,
"snippet": {
"text": " * @method HlsCountry|null findOneBy(array $criteria, array $orderBy = null)\n * @method HlsCountry[] findAll()\n * @method HlsCountry[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */\nclass HlsCountryRepository extends ServiceEntityRepository"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "0f78f143fa693be7c3964334b4c371249512071d9704d60d3aca3c8e88b6a5f9"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 139,
"startColumn": 24,
"charOffset": 4077,
"charLength": 11,
"snippet": {
"text": "processLine"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 137,
"startColumn": 1,
"charOffset": 4047,
"charLength": 99,
"snippet": {
"text": " }\n\n protected function processLine($line)\n {\n $data = str_getcsv($line, ';', '\"');"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "19c111b2e3d3ce7e51ed9c605191e6ff2ae43f597649d605bb43985957db3fc4"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 45,
"startColumn": 21,
"charOffset": 1134,
"charLength": 11,
"snippet": {
"text": "startImport"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 43,
"startColumn": 1,
"charOffset": 1080,
"charLength": 118,
"snippet": {
"text": " * @return array|void\n */\n public function startImport($delta = false)\n {\n #*** Holt alle Dateien"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "1c38b6a397c7f0db5d5eaaa7b6970e7bc6a054c2743abc6e0627630c8a7d71ba"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/ProductRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 16,
"startColumn": 25,
"charOffset": 443,
"charLength": 6,
"snippet": {
"text": "findBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 14,
"startColumn": 1,
"charOffset": 311,
"charLength": 269,
"snippet": {
"text": " * @method Product|null findOneBy(array $criteria, array $orderBy = null)\n * @method Product[] findAll()\n * @method Product[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */\nclass ProductRepository extends ServiceEntityRepository"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "228813f0dd64e6557c551b56f56e47917b456cc0a53498760cb447f53648051a"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Settings.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 39,
"startColumn": 21,
"charOffset": 685,
"charLength": 8,
"snippet": {
"text": "getValue"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 37,
"startColumn": 1,
"charOffset": 658,
"charLength": 81,
"snippet": {
"text": " }\n\n public function getValue(): ?string\n {\n return $this->value;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "23c3e6ed96daf69e87d413749794a1c33349ac54c86e82d3e29db9b66a31e571"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 51,
"startColumn": 24,
"charOffset": 1557,
"charLength": 7,
"snippet": {
"text": "execute"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 49,
"startColumn": 1,
"charOffset": 1527,
"charLength": 145,
"snippet": {
"text": " }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "2611edc6eca37c26aa2dd9bf90c80e63655f449d14ae01705d52c581aee5cf33"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 22,
"startColumn": 24,
"charOffset": 685,
"charLength": 9,
"snippet": {
"text": "configure"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 20,
"startColumn": 1,
"charOffset": 621,
"charLength": 101,
"snippet": {
"text": "class JtlImportCommand extends Command\n{\n protected function configure(): void\n {\n $this"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "27d586c9e3bef875c84b6f5c88680271de3109f54e6c1c4708d3783fd747c08a"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 14,
"startColumn": 28,
"charOffset": 410,
"charLength": 7,
"snippet": {
"text": "findAll"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 12,
"startColumn": 1,
"charOffset": 230,
"charLength": 298,
"snippet": {
"text": " * @method HlsCountry|null find($id, $lockMode = null, $lockVersion = null)\n * @method HlsCountry|null findOneBy(array $criteria, array $orderBy = null)\n * @method HlsCountry[] findAll()\n * @method HlsCountry[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "2be86b77efd77cae73bf243d6e996e2805e02c51069601bb2c1e7642cd2352c2"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 84,
"startColumn": 21,
"charOffset": 1767,
"charLength": 10,
"snippet": {
"text": "getProduct"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 82,
"startColumn": 1,
"charOffset": 1740,
"charLength": 86,
"snippet": {
"text": " }\n\n public function getProduct(): ?Product\n {\n return $this->product;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "317e26988170bf92fd412f9c2a9abe3ed7c94230ba0118c7089a346f288c79b6"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 45,
"startColumn": 24,
"charOffset": 1324,
"charLength": 7,
"snippet": {
"text": "execute"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 43,
"startColumn": 1,
"charOffset": 1274,
"charLength": 117,
"snippet": {
"text": " * @return int\n */\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "318759cf0521918e3b59f2e8f6228e5144af742279d43dce39cc1e72e1197db3"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Product.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 49,
"startColumn": 21,
"charOffset": 1009,
"charLength": 13,
"snippet": {
"text": "setUpdateTime"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 47,
"startColumn": 1,
"charOffset": 982,
"charLength": 124,
"snippet": {
"text": " }\n\n public function setUpdateTime(DateTimeInterface $updateTime): self\n {\n $this->updateTime = $updateTime;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "323189345de736d4c8066b29a7229cfa45b40e47ec9b5d1a32dda6acb4dbdee9"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/WarehouseRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 13,
"startColumn": 27,
"charOffset": 329,
"charLength": 9,
"snippet": {
"text": "findOneBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 11,
"startColumn": 1,
"charOffset": 225,
"charLength": 293,
"snippet": {
"text": " *\n * @method Warehouse|null find($id, $lockMode = null, $lockVersion = null)\n * @method Warehouse|null findOneBy(array $criteria, array $orderBy = null)\n * @method Warehouse[] findAll()\n * @method Warehouse[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "361fecdbb206a0c9e53739d0c3086599f01c9b6808b4ef408f7fe36814a90001"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Jtl.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 86,
"startColumn": 21,
"charOffset": 2306,
"charLength": 16,
"snippet": {
"text": "createExportFile"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 84,
"startColumn": 1,
"charOffset": 2258,
"charLength": 97,
"snippet": {
"text": " * @return void\n */\n public function createExportFile($data): void\n {\n try {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "376111d1f1b7aad3c1be497273b2c8fcd97e3afdbd7fc533ceb3f23eeda842c7"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 65,
"startColumn": 21,
"charOffset": 1401,
"charLength": 12,
"snippet": {
"text": "setProductId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 63,
"startColumn": 1,
"charOffset": 1374,
"charLength": 109,
"snippet": {
"text": " }\n\n public function setProductId(int $product_id): self\n {\n $this->product_id = $product_id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "3a143ed23c20258b7d2a3ea2837fefffeff0ad2a4f324c6f17ca22f44af39317"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Warehouse.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 32,
"startColumn": 21,
"charOffset": 697,
"charLength": 5,
"snippet": {
"text": "getId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 30,
"startColumn": 1,
"charOffset": 670,
"charLength": 72,
"snippet": {
"text": " }\n\n public function getId(): ?int\n {\n return $this->id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "3b193a461425ab9cad3ebdde19a19f48bb6be9919a5cdc1a781d5e5733d831c9"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Warehouse.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 70,
"startColumn": 21,
"charOffset": 1305,
"charLength": 9,
"snippet": {
"text": "getStocks"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 68,
"startColumn": 1,
"charOffset": 1239,
"charLength": 125,
"snippet": {
"text": " * @return Collection<int, Stock>\n */\n public function getStocks(): Collection\n {\n return $this->stocks;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "3d15b00f7f989c9a6c46944da576facced4ad325a19840e5813b8ef5485f63e8"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/SettingsRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 14,
"startColumn": 26,
"charOffset": 400,
"charLength": 7,
"snippet": {
"text": "findAll"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 12,
"startColumn": 1,
"charOffset": 226,
"charLength": 290,
"snippet": {
"text": " * @method Settings|null find($id, $lockMode = null, $lockVersion = null)\n * @method Settings|null findOneBy(array $criteria, array $orderBy = null)\n * @method Settings[] findAll()\n * @method Settings[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "3d9f9bc71280fba173ce1ae597d97a32217a6b04efb36445e4b26d0528f553d8"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/StockRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 15,
"startColumn": 23,
"charOffset": 399,
"charLength": 7,
"snippet": {
"text": "findAll"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 13,
"startColumn": 1,
"charOffset": 234,
"charLength": 278,
"snippet": {
"text": " * @method Stock|null find($id, $lockMode = null, $lockVersion = null)\n * @method Stock|null findOneBy(array $criteria, array $orderBy = null)\n * @method Stock[] findAll()\n * @method Stock[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "440471a62c800019b9f2005bbae5a7b33e77bd5062cef60bfb54446b3467a6a8"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/WarehouseRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 12,
"startColumn": 27,
"charOffset": 254,
"charLength": 4,
"snippet": {
"text": "find"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 10,
"startColumn": 1,
"charOffset": 178,
"charLength": 236,
"snippet": {
"text": " * @extends ServiceEntityRepository<Warehouse>\n *\n * @method Warehouse|null find($id, $lockMode = null, $lockVersion = null)\n * @method Warehouse|null findOneBy(array $criteria, array $orderBy = null)\n * @method Warehouse[] findAll()"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "46032e630d9736b1b8d56cfa6e5917167a8a741ab951a8b3af25eda964a7cf14"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 87,
"startColumn": 21,
"charOffset": 1987,
"charLength": 7,
"snippet": {
"text": "getPort"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 85,
"startColumn": 1,
"charOffset": 1960,
"charLength": 75,
"snippet": {
"text": " }\n\n public function getPort(): int\n {\n return $this->port;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "4a1a356d05b74a4f5b601b725ad7d2666ec2e6f0f92b3deaf2ff902539d77b47"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/WarehouseRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 14,
"startColumn": 27,
"charOffset": 405,
"charLength": 7,
"snippet": {
"text": "findAll"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 12,
"startColumn": 1,
"charOffset": 228,
"charLength": 294,
"snippet": {
"text": " * @method Warehouse|null find($id, $lockMode = null, $lockVersion = null)\n * @method Warehouse|null findOneBy(array $criteria, array $orderBy = null)\n * @method Warehouse[] findAll()\n * @method Warehouse[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "4e1e4db65af1a42c9d13cc0a8c61b5a4e94671feb26c4d18a3758ce2c0b324f0"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/WarehouseRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 24,
"startColumn": 21,
"charOffset": 733,
"charLength": 4,
"snippet": {
"text": "save"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 22,
"startColumn": 1,
"charOffset": 706,
"charLength": 112,
"snippet": {
"text": " }\n\n public function save(Warehouse $entity, bool $flush = false): ?int\n {\n $entity->setPrio(0);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "506bf4b975c29903bec2e1719debc74d6bb29c11fee4513a27b913d00ce256d0"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Jtl.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 45,
"startColumn": 21,
"charOffset": 1157,
"charLength": 11,
"snippet": {
"text": "getProducts"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 43,
"startColumn": 1,
"charOffset": 1108,
"charLength": 76,
"snippet": {
"text": " * @return array\n */\n public function getProducts(): array\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "513a4554a8050275ee1679dff657b54aff7737d09241f1313026a4057c407a92"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Warehouse.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 43,
"startColumn": 21,
"charOffset": 871,
"charLength": 7,
"snippet": {
"text": "getName"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 41,
"startColumn": 1,
"charOffset": 844,
"charLength": 79,
"snippet": {
"text": " }\n\n public function getName(): ?string\n {\n return $this->name;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "522c61abf0ad3af4f8fbb1174c19d9dde883726b458f80ac6de405da7e41df97"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 116,
"startColumn": 24,
"charOffset": 3480,
"charLength": 9,
"snippet": {
"text": "loadFiles"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 114,
"startColumn": 1,
"charOffset": 3450,
"charLength": 69,
"snippet": {
"text": " }\n\n protected function loadFiles($srcFile)\n {\n try {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "5877627c8993d38487d26a943e2daa439913187b1b24644f4c7c97ba7a21bbc0"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Slack.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 18,
"startColumn": 21,
"charOffset": 366,
"charLength": 11,
"snippet": {
"text": "sendMessage"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 16,
"startColumn": 1,
"charOffset": 339,
"charLength": 114,
"snippet": {
"text": " }\n\n public function sendMessage(string $message): void\n {\n $message = (new ChatMessage($message))"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "59a01c9fddf74236204d1c41195108bfad02e85f3e27afb3e5bfc2146595fbda"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Product.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 37,
"startColumn": 21,
"charOffset": 793,
"charLength": 7,
"snippet": {
"text": "setGtin"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 35,
"startColumn": 1,
"charOffset": 766,
"charLength": 89,
"snippet": {
"text": " }\n\n public function setGtin(string $gtin): self\n {\n $this->gtin = $gtin;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "5f5f080bde448f11d0819fbde6f57311c45663ef60a42c4eb6332a4068c41206"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/SettingsRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 33,
"startColumn": 21,
"charOffset": 942,
"charLength": 6,
"snippet": {
"text": "remove"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 31,
"startColumn": 1,
"charOffset": 915,
"charLength": 136,
"snippet": {
"text": " }\n\n public function remove(Settings $entity, bool $flush = false): void\n {\n $this->getEntityManager()->remove($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "5f66fc70ae0d5d5699c4bad65e21615a4bbb4ce02758fba842829c1a63180307"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 92,
"startColumn": 21,
"charOffset": 2063,
"charLength": 7,
"snippet": {
"text": "setPort"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 90,
"startColumn": 1,
"charOffset": 2036,
"charLength": 86,
"snippet": {
"text": " }\n\n public function setPort(int $port): void\n {\n $this->port = $port;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "64218c9bec4e878d9be5828634f24748e5499e181dcdca2e24f520c27ddf27ae"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Settings.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 22,
"startColumn": 21,
"charOffset": 419,
"charLength": 5,
"snippet": {
"text": "getId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 20,
"startColumn": 1,
"charOffset": 363,
"charLength": 101,
"snippet": {
"text": " private ?string $value = null;\n\n public function getId(): ?int\n {\n return $this->id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "684e74a07c6a8df0605ad9844e5737cfcbf4c9a5d471f4c87b79d3565ec593b3"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/OrderRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 34,
"startColumn": 21,
"charOffset": 930,
"charLength": 6,
"snippet": {
"text": "remove"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 32,
"startColumn": 1,
"charOffset": 903,
"charLength": 133,
"snippet": {
"text": " }\n\n public function remove(Order $entity, bool $flush = false): void\n {\n $this->getEntityManager()->remove($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6b90d8eae8d2334c1e9a57f3f666debd0e600ff039072c0727b31a6c3d0637f3"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/SettingsRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 12,
"startColumn": 26,
"charOffset": 251,
"charLength": 4,
"snippet": {
"text": "find"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 10,
"startColumn": 1,
"charOffset": 177,
"charLength": 232,
"snippet": {
"text": " * @extends ServiceEntityRepository<Settings>\n *\n * @method Settings|null find($id, $lockMode = null, $lockVersion = null)\n * @method Settings|null findOneBy(array $criteria, array $orderBy = null)\n * @method Settings[] findAll()"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6bf802945c93e48a030ec107275f4c7f4e80d1fd775e6bce075327408a85a62a"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Settings.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 32,
"startColumn": 21,
"charOffset": 572,
"charLength": 7,
"snippet": {
"text": "setName"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 30,
"startColumn": 1,
"charOffset": 545,
"charLength": 89,
"snippet": {
"text": " }\n\n public function setName(string $name): self\n {\n $this->name = $name;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6c1f273ca0531204cee7cb61dcafbad093ac6c88aa3c113141f9ea1113d1a01a"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Security/ApiKeyAuthenticator.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 53,
"startColumn": 21,
"charOffset": 1839,
"charLength": 23,
"snippet": {
"text": "onAuthenticationFailure"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 51,
"startColumn": 1,
"charOffset": 1812,
"charLength": 149,
"snippet": {
"text": " }\n\n public function onAuthenticationFailure(Request $request, AuthenticationException $exception): ?Response\n {\n # dump($exception);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6c3f683b0c50c01922651dc96a77b753607c6f83e7457c4d0a010d2336bb4546"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 111,
"startColumn": 21,
"charOffset": 2428,
"charLength": 12,
"snippet": {
"text": "setWarehouse"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 109,
"startColumn": 1,
"charOffset": 2401,
"charLength": 113,
"snippet": {
"text": " }\n\n public function setWarehouse(?Warehouse $warehouse): self\n {\n $this->warehouse = $warehouse;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6c7a2197fe7bde50c8457fe70bc972d280d12344a2e3a7f7fb90c3c3c647c1f4"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 245,
"startColumn": 21,
"charOffset": 9117,
"charLength": 12,
"snippet": {
"text": "sendToHiltes"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 243,
"startColumn": 1,
"charOffset": 9090,
"charLength": 105,
"snippet": {
"text": " }\n\n public function sendToHiltes($url, $param, $auth = false)\n {\n $ch = curl_init($url);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6d961d232ba05d1352788564a68deccad0edd9efedf63ca84111e76a3885e4ce"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 52,
"startColumn": 21,
"charOffset": 1175,
"charLength": 6,
"snippet": {
"text": "export"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 50,
"startColumn": 1,
"charOffset": 1127,
"charLength": 88,
"snippet": {
"text": " * @return void\n */\n public function export(string $data)\n {\n try {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6e4cca6a2e99dec41b7cb809212233d4e3ce3cdb056113e289e08ab3fde5254b"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/StockRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 36,
"startColumn": 21,
"charOffset": 978,
"charLength": 6,
"snippet": {
"text": "remove"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 34,
"startColumn": 1,
"charOffset": 951,
"charLength": 133,
"snippet": {
"text": " }\n\n public function remove(Stock $entity, bool $flush = false): void\n {\n $this->getEntityManager()->remove($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6e8ae0c7e39e47541aced97205f095c6188fd4893fa1d69b63d45e8ffacc9c4b"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Order.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 62,
"startColumn": 21,
"charOffset": 1302,
"charLength": 9,
"snippet": {
"text": "getStatus"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 60,
"startColumn": 1,
"charOffset": 1275,
"charLength": 80,
"snippet": {
"text": " }\n\n public function getStatus(): ?int\n {\n return $this->status;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "73fa7085c30fefb3ad769d533efc8ecedfcc763999169d149385c56118f3922c"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/OrderRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 25,
"startColumn": 21,
"charOffset": 716,
"charLength": 4,
"snippet": {
"text": "save"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 23,
"startColumn": 1,
"charOffset": 689,
"charLength": 132,
"snippet": {
"text": " }\n\n public function save(Order $entity, bool $flush = false): void\n {\n $this->getEntityManager()->persist($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "77962786194181efab43ce62652d98e1d6f97912b7771e39e06bf8a3f01fddad"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Security/ApiKeyAuthenticator.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 27,
"startColumn": 21,
"charOffset": 1040,
"charLength": 8,
"snippet": {
"text": "supports"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 25,
"startColumn": 1,
"charOffset": 987,
"charLength": 113,
"snippet": {
"text": " * @return bool|null\n */\n public function supports(Request $request): ?bool\n {\n return true;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "78151dfd7fb726b6e1918bb4f310db0617262af35a02de27e078a8761dcb3db5"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Order.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 79,
"startColumn": 21,
"charOffset": 1579,
"charLength": 7,
"snippet": {
"text": "setData"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 77,
"startColumn": 1,
"charOffset": 1552,
"charLength": 88,
"snippet": {
"text": " }\n\n public function setData(array $data): self\n {\n $this->data = $data;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "79cd03a74b6bf1947695972204524e64416f1b8e506383a7ac092a3c39c6e9df"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 32,
"startColumn": 24,
"charOffset": 934,
"charLength": 9,
"snippet": {
"text": "configure"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 30,
"startColumn": 1,
"charOffset": 909,
"charLength": 62,
"snippet": {
"text": "\n\n protected function configure(): void\n {\n $this"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "7cfd26a8590e6427bc6b7d108049a598eced1a569c4a92d1fce570d416fb656e"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Product.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 32,
"startColumn": 21,
"charOffset": 713,
"charLength": 7,
"snippet": {
"text": "getGtin"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 30,
"startColumn": 1,
"charOffset": 686,
"charLength": 79,
"snippet": {
"text": " }\n\n public function getGtin(): ?string\n {\n return $this->gtin;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "7e0a0fd09e510178af5cb852100915f88e0ad487189c4a7a29a30e31cfdc85d7"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/OrderRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 16,
"startColumn": 23,
"charOffset": 432,
"charLength": 6,
"snippet": {
"text": "findBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 14,
"startColumn": 1,
"charOffset": 306,
"charLength": 261,
"snippet": {
"text": " * @method Order|null findOneBy(array $criteria, array $orderBy = null)\n * @method Order[] findAll()\n * @method Order[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */\nclass OrderRepository extends ServiceEntityRepository"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "7fc207ccb97978bfeb89e930cb163daec45b4a1d0b757f4404098e1899c34f63"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 122,
"startColumn": 21,
"charOffset": 2601,
"charLength": 12,
"snippet": {
"text": "setRemoteDir"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 120,
"startColumn": 1,
"charOffset": 2574,
"charLength": 109,
"snippet": {
"text": " }\n\n public function setRemoteDir(string $remoteDir): void\n {\n $this->remoteDir = $remoteDir;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "807bbb3dc17cee51a902cd7fa1ab7bd7f8354faa44046de4bd36108afc93700d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/StockRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 14,
"startColumn": 23,
"charOffset": 327,
"charLength": 9,
"snippet": {
"text": "findOneBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 12,
"startColumn": 1,
"charOffset": 231,
"charLength": 277,
"snippet": {
"text": " *\n * @method Stock|null find($id, $lockMode = null, $lockVersion = null)\n * @method Stock|null findOneBy(array $criteria, array $orderBy = null)\n * @method Stock[] findAll()\n * @method Stock[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8380a847299a0cf0f6adaabcc3d27236e45ac0bd0b4ce452039e0aa347b7b42d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/OrderRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 14,
"startColumn": 23,
"charOffset": 328,
"charLength": 9,
"snippet": {
"text": "findOneBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 12,
"startColumn": 1,
"charOffset": 232,
"charLength": 277,
"snippet": {
"text": " *\n * @method Order|null find($id, $lockMode = null, $lockVersion = null)\n * @method Order|null findOneBy(array $criteria, array $orderBy = null)\n * @method Order[] findAll()\n * @method Order[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8470f5b86d6b0964a5f59ce94e1ed3c15c3bb4c1617b98362b95a7e6fa2ca1ec"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/EventSubscriber/ExportHiltesSubscriber.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 23,
"startColumn": 21,
"charOffset": 570,
"charLength": 12,
"snippet": {
"text": "onPatchOrder"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 21,
"startColumn": 1,
"charOffset": 522,
"charLength": 143,
"snippet": {
"text": " * @return void\n */\n public function onPatchOrder(ViewEvent $event): void\n {\n $method = $event->getRequest()->getMethod();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8e496eb99ea1bdd0c0f95e69ba0d51465aae73bb1f4388c7d4d3bb5db87cf8cc"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 89,
"startColumn": 21,
"charOffset": 1854,
"charLength": 10,
"snippet": {
"text": "setProduct"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 87,
"startColumn": 1,
"charOffset": 1827,
"charLength": 130,
"snippet": {
"text": " }\n\n public function setProduct(?Product $product): self\n {\n // unset the owning side of the relation if necessary"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8e696bc32d7957726b2f5f35adda659a04498485161096e33253977f6f32a33c"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 102,
"startColumn": 21,
"charOffset": 2229,
"charLength": 7,
"snippet": {
"text": "setUser"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 100,
"startColumn": 1,
"charOffset": 2202,
"charLength": 89,
"snippet": {
"text": " }\n\n public function setUser(string $user): void\n {\n $this->user = $user;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8f8a2c9a267ebffa189e76e0a2fc8847641751bb6f6ef6fa357c9972744b3b04"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/WarehouseRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 36,
"startColumn": 21,
"charOffset": 1014,
"charLength": 6,
"snippet": {
"text": "remove"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 34,
"startColumn": 1,
"charOffset": 987,
"charLength": 137,
"snippet": {
"text": " }\n\n public function remove(Warehouse $entity, bool $flush = false): void\n {\n $this->getEntityManager()->remove($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "95358397ff1d1dc284aaf5c2efca22ef857edcb07532cd2f2ebec1f63c6a7dd1"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Warehouse.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 48,
"startColumn": 21,
"charOffset": 951,
"charLength": 7,
"snippet": {
"text": "setName"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 46,
"startColumn": 1,
"charOffset": 924,
"charLength": 89,
"snippet": {
"text": " }\n\n public function setName(string $name): self\n {\n $this->name = $name;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "95903c986ec3da1fdd677bcf85698273a3780f23e5b1df308ce418923f80e7c5"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 33,
"startColumn": 21,
"charOffset": 960,
"charLength": 6,
"snippet": {
"text": "remove"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 31,
"startColumn": 1,
"charOffset": 933,
"charLength": 138,
"snippet": {
"text": " }\n\n public function remove(HlsCountry $entity, bool $flush = false): void\n {\n $this->getEntityManager()->remove($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "97d6f469d901024b827986da422f5d93f0d34f18f1f3701c759a5de0c1d7b530"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Order.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 67,
"startColumn": 21,
"charOffset": 1383,
"charLength": 9,
"snippet": {
"text": "setStatus"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 65,
"startColumn": 1,
"charOffset": 1356,
"charLength": 94,
"snippet": {
"text": " }\n\n public function setStatus(int $status): self\n {\n $this->status = $status;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "988ab7d483f30de19b60013c8be13b6f2ee0400e79891f61c47f3e71078116d3"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Order.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 45,
"startColumn": 21,
"charOffset": 1018,
"charLength": 5,
"snippet": {
"text": "getId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 43,
"startColumn": 1,
"charOffset": 946,
"charLength": 117,
"snippet": {
"text": " private ?DateTimeInterface $changeDate = null;\n\n public function getId(): ?int\n {\n return $this->id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "9bed2a414dcf82bb2be9d08016f031120ac4ab715562ffcee7c6b4092a010ffc"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 156,
"startColumn": 24,
"charOffset": 4432,
"charLength": 8,
"snippet": {
"text": "saveData"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 154,
"startColumn": 1,
"charOffset": 4402,
"charLength": 115,
"snippet": {
"text": " }\n\n protected function saveData(array $data)\n {\n $warehouse = $this->checkWarehouseName($data[3]);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "9e5c556e6d95cdec69f9553b428704eb3ddb59574c96db1150719aedd485c0fc"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 12,
"startColumn": 28,
"charOffset": 257,
"charLength": 4,
"snippet": {
"text": "find"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 10,
"startColumn": 1,
"charOffset": 179,
"charLength": 240,
"snippet": {
"text": " * @extends ServiceEntityRepository<HlsCountry>\n *\n * @method HlsCountry|null find($id, $lockMode = null, $lockVersion = null)\n * @method HlsCountry|null findOneBy(array $criteria, array $orderBy = null)\n * @method HlsCountry[] findAll()"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "9e76375e41be6f6c2774a519d557cf36d48e531c64fd878d4c483bdbc92a6200"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 107,
"startColumn": 21,
"charOffset": 2319,
"charLength": 11,
"snippet": {
"text": "getPassword"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 105,
"startColumn": 1,
"charOffset": 2292,
"charLength": 86,
"snippet": {
"text": " }\n\n public function getPassword(): string\n {\n return $this->password;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "a003306b5e3ae70d829b00989f6d2af8f67e58e187ff2e0acbbb7e4c105154f5"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Warehouse.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 85,
"startColumn": 21,
"charOffset": 1616,
"charLength": 11,
"snippet": {
"text": "removeStock"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 83,
"startColumn": 1,
"charOffset": 1589,
"charLength": 116,
"snippet": {
"text": " }\n\n public function removeStock(Stock $stock): self\n {\n if ($this->stocks->removeElement($stock)) {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "a2cb22c57a588aec5edbf032959855285a4c0279aade8cf93df3ae8da200f3ae"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 72,
"startColumn": 21,
"charOffset": 1534,
"charLength": 14,
"snippet": {
"text": "getWarehouseId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 70,
"startColumn": 1,
"charOffset": 1507,
"charLength": 91,
"snippet": {
"text": " }\n\n public function getWarehouseId(): ?int\n {\n return $this->warehouse_id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "a5483dd3dd2a80b08d81cb04f0cb7d0c36f805a05280806e36171478bbea448f"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/OrderRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 13,
"startColumn": 23,
"charOffset": 257,
"charLength": 4,
"snippet": {
"text": "find"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 11,
"startColumn": 1,
"charOffset": 189,
"charLength": 220,
"snippet": {
"text": " * @extends ServiceEntityRepository<Order>\n *\n * @method Order|null find($id, $lockMode = null, $lockVersion = null)\n * @method Order|null findOneBy(array $criteria, array $orderBy = null)\n * @method Order[] findAll()"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "a6397d26fd086cacc8bf55a34e2d93d22da80de0cfc856e973d3173e47887111"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 107,
"startColumn": 24,
"charOffset": 3229,
"charLength": 9,
"snippet": {
"text": "getStocks"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 105,
"startColumn": 1,
"charOffset": 3199,
"charLength": 100,
"snippet": {
"text": " }\n\n protected function getStocks()\n {\n $stocks = $this->stockRepository->findAll();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "a6664998ba836b16d3b4b558c00be085e39b5832cd2948b5c40b296891d2936a"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Order.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 74,
"startColumn": 21,
"charOffset": 1501,
"charLength": 7,
"snippet": {
"text": "getData"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 72,
"startColumn": 1,
"charOffset": 1474,
"charLength": 77,
"snippet": {
"text": " }\n\n public function getData(): array\n {\n return $this->data;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "a882660f10af776dd4b21b9f013284c796383bfc4a04752280d2fc5f0399c7bd"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/StockRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 25,
"startColumn": 21,
"charOffset": 715,
"charLength": 4,
"snippet": {
"text": "save"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 23,
"startColumn": 1,
"charOffset": 688,
"charLength": 127,
"snippet": {
"text": " }\n\n public function save(Stock $entity, bool $flush = false): void\n {\n $entity->setUpdateTime(new DateTime());"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "a9cc3e2f596f02097f10c5065baa72d94bb10af4b6eabc3cf973aae535f5be74"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Warehouse.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 37,
"startColumn": 21,
"charOffset": 770,
"charLength": 5,
"snippet": {
"text": "setId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 35,
"startColumn": 1,
"charOffset": 743,
"charLength": 78,
"snippet": {
"text": " }\n\n public function setId(int $id): self\n {\n $this->id = $id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "ac6d256bb3678f2cf01e3d0b046d017bf78dbb36af316775225ead775869caec"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 221,
"startColumn": 21,
"charOffset": 8388,
"charLength": 13,
"snippet": {
"text": "loginToHiltes"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 219,
"startColumn": 1,
"charOffset": 8340,
"charLength": 159,
"snippet": {
"text": " * @return bool\n */\n public function loginToHiltes($usr, $pass): bool\n {\n $url = $this->hiltesApiUrl . '/api/Authentication/authenticate';"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "b0b1e307e545c3d86d6641e05dfd630c6fcacd608ff6a817d1bf860abec3a2ff"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 60,
"startColumn": 21,
"charOffset": 1313,
"charLength": 12,
"snippet": {
"text": "getProductId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 58,
"startColumn": 1,
"charOffset": 1286,
"charLength": 87,
"snippet": {
"text": " }\n\n public function getProductId(): ?int\n {\n return $this->product_id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "b6a7445c66c18f97645e4ae7be08fc2dd2d595fd50c4324cbf4b2d4a12ff5bd7"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 13,
"startColumn": 28,
"charOffset": 333,
"charLength": 9,
"snippet": {
"text": "findOneBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 11,
"startColumn": 1,
"charOffset": 227,
"charLength": 297,
"snippet": {
"text": " *\n * @method HlsCountry|null find($id, $lockMode = null, $lockVersion = null)\n * @method HlsCountry|null findOneBy(array $criteria, array $orderBy = null)\n * @method HlsCountry[] findAll()\n * @method HlsCountry[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "b76d3cecc651749308ea170fae635f1f16f633bbdaf59ec7cb98f9a5880a4e62"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 24,
"startColumn": 21,
"charOffset": 741,
"charLength": 4,
"snippet": {
"text": "save"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 22,
"startColumn": 1,
"charOffset": 714,
"charLength": 137,
"snippet": {
"text": " }\n\n public function save(HlsCountry $entity, bool $flush = false): void\n {\n $this->getEntityManager()->persist($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "b779a9e0b89abfaa32b354f96394ab5b2e73f9326f1d80102c7df64005e9d5db"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/StockRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 13,
"startColumn": 23,
"charOffset": 256,
"charLength": 4,
"snippet": {
"text": "find"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 11,
"startColumn": 1,
"charOffset": 188,
"charLength": 220,
"snippet": {
"text": " * @extends ServiceEntityRepository<Stock>\n *\n * @method Stock|null find($id, $lockMode = null, $lockVersion = null)\n * @method Stock|null findOneBy(array $criteria, array $orderBy = null)\n * @method Stock[] findAll()"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "b8a3f11323cf43c9a461297b65c7b31e3bc6cc97c66f7ab55b3010dfc2e7e263"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/OrderRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 46,
"startColumn": 21,
"charOffset": 1186,
"charLength": 6,
"snippet": {
"text": "update"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 44,
"startColumn": 1,
"charOffset": 1133,
"charLength": 189,
"snippet": {
"text": " * @throws Exception\n */\n public function update(Order $entity, bool $flush = false): void\n {\n $order = $this->getEntityManager()->find(Order::class, $entity->getId());"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "b8aa9fd0d0124f9e7333b4136a5795d273cc7685f9efabbbc15ba2ba95cec455"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 123,
"startColumn": 21,
"charOffset": 2669,
"charLength": 13,
"snippet": {
"text": "setUpdateTime"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 121,
"startColumn": 1,
"charOffset": 2642,
"charLength": 128,
"snippet": {
"text": " }\n\n public function setUpdateTime(?DateTimeInterface $update_time): self\n {\n $this->update_time = $update_time;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "bac63f997b72ab9465a129d38fcb504ef3b7471ab26245d3fd8322f095734f37"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/OrderRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 15,
"startColumn": 23,
"charOffset": 400,
"charLength": 7,
"snippet": {
"text": "findAll"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 13,
"startColumn": 1,
"charOffset": 235,
"charLength": 278,
"snippet": {
"text": " * @method Order|null find($id, $lockMode = null, $lockVersion = null)\n * @method Order|null findOneBy(array $criteria, array $orderBy = null)\n * @method Order[] findAll()\n * @method Order[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "bffbeadb4ef973c6b760f18d027b9b30849c73d631b1a5c228839c2090e90299"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 43,
"startColumn": 24,
"charOffset": 1276,
"charLength": 9,
"snippet": {
"text": "configure"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 41,
"startColumn": 1,
"charOffset": 1246,
"charLength": 134,
"snippet": {
"text": " }\n\n protected function configure(): void\n {\n $this->addOption('delta', 'd', InputOption::VALUE_NONE, 'Delta Import');"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c07fc31be1cb07d7bba8035d52dcba74fd11a56c5d59e98932e5b9be0b07b54e"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Product.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 56,
"startColumn": 21,
"charOffset": 1157,
"charLength": 8,
"snippet": {
"text": "setStock"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 54,
"startColumn": 1,
"charOffset": 1130,
"charLength": 62,
"snippet": {
"text": " }\n\n public function setStock(Stock $stock): self\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c0d0bdaa377ebe323f2baec328d6f08da326edcde3857af99c45dd2866e1dd5b"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Security/ApiKeyAuthenticator.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 48,
"startColumn": 21,
"charOffset": 1687,
"charLength": 23,
"snippet": {
"text": "onAuthenticationSuccess"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 46,
"startColumn": 1,
"charOffset": 1660,
"charLength": 151,
"snippet": {
"text": " }\n\n public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $firewallName): ?Response\n {\n return null;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c1e2674b88d638216027c1031ee697973abe713aefaf3e4fe207d657b0b6625d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/ProductRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 13,
"startColumn": 25,
"charOffset": 262,
"charLength": 4,
"snippet": {
"text": "find"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 11,
"startColumn": 1,
"charOffset": 190,
"charLength": 228,
"snippet": {
"text": " * @extends ServiceEntityRepository<Product>\n *\n * @method Product|null find($id, $lockMode = null, $lockVersion = null)\n * @method Product|null findOneBy(array $criteria, array $orderBy = null)\n * @method Product[] findAll()"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c4fa59610f626c91590c4166da2d9e3d89a4ba25cf4aea5c4e455490d44804b3"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Order.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 91,
"startColumn": 21,
"charOffset": 1794,
"charLength": 13,
"snippet": {
"text": "setChangeDate"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 89,
"startColumn": 1,
"charOffset": 1767,
"charLength": 126,
"snippet": {
"text": " }\n\n public function setChangeDate(DateTimeInterface $changeDate): static\n {\n $this->changeDate = $changeDate;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c84c08946a25326c08ea56663dd36194056b901f40b529f54f5d1c25f251ff43"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 106,
"startColumn": 21,
"charOffset": 2335,
"charLength": 12,
"snippet": {
"text": "getWarehouse"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 104,
"startColumn": 1,
"charOffset": 2308,
"charLength": 92,
"snippet": {
"text": " }\n\n public function getWarehouse(): ?Warehouse\n {\n return $this->warehouse;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c8a67a4c0e766a0b2617dba4e576b99fd237a1406b05154ef8f6b9ed362e5118"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 29,
"startColumn": 24,
"charOffset": 925,
"charLength": 7,
"snippet": {
"text": "execute"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 27,
"startColumn": 1,
"charOffset": 895,
"charLength": 145,
"snippet": {
"text": " }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c949eec85a4e19c78cb34e5af1f65313ee0b7d2a35ecd7e9ac0b35b77255b964"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 48,
"startColumn": 24,
"charOffset": 1411,
"charLength": 7,
"snippet": {
"text": "execute"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 46,
"startColumn": 1,
"charOffset": 1381,
"charLength": 145,
"snippet": {
"text": " }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "ca8fad25530358fcce50edc180630445aa9e4633693bc9ea67cc09fa79998d83"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/ProductRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 25,
"startColumn": 21,
"charOffset": 731,
"charLength": 4,
"snippet": {
"text": "save"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 23,
"startColumn": 1,
"charOffset": 704,
"charLength": 82,
"snippet": {
"text": " }\n\n public function save(Product $entity, bool $flush = false): ?int\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "cb434f962ba0f1b251f2bf75908f72f547ac7d54bc248e9a29760ec2d572f3f0"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 74,
"startColumn": 24,
"charOffset": 2160,
"charLength": 8,
"snippet": {
"text": "getFiles"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 72,
"startColumn": 1,
"charOffset": 2109,
"charLength": 117,
"snippet": {
"text": " * @return bool\n */\n protected function getFiles($delta = false)\n {\n $finder = Finder::create();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "cc2c982f6f7be7a6ae8cb92f2d5bff48d067646ccd808c8c65a315939be53875"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 44,
"startColumn": 24,
"charOffset": 1317,
"charLength": 9,
"snippet": {
"text": "configure"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 42,
"startColumn": 1,
"charOffset": 1287,
"charLength": 67,
"snippet": {
"text": " }\n\n protected function configure(): void\n {\n $this"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "ce20fff25ef5740cf72832d298b1e760bc7c1bfae62273facda59a94260d93d4"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 48,
"startColumn": 21,
"charOffset": 1108,
"charLength": 10,
"snippet": {
"text": "getInstock"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 46,
"startColumn": 1,
"charOffset": 1081,
"charLength": 82,
"snippet": {
"text": " }\n\n public function getInstock(): ?int\n {\n return $this->instock;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "ced11f10aa2192b745dcce3299fec1913b3c57d50c738fd13eef496c94c13190"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Order.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 55,
"startColumn": 21,
"charOffset": 1177,
"charLength": 10,
"snippet": {
"text": "setOrderId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 53,
"startColumn": 1,
"charOffset": 1150,
"charLength": 101,
"snippet": {
"text": " }\n\n public function setOrderId(string $orderId): self\n {\n $this->orderId = $orderId;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "cf73bb153f3f61fffbce40cf08cd68a67024c05f4899210e0d1d3f90e43d3007"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 117,
"startColumn": 21,
"charOffset": 2512,
"charLength": 12,
"snippet": {
"text": "getRemoteDir"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 115,
"startColumn": 1,
"charOffset": 2485,
"charLength": 88,
"snippet": {
"text": " }\n\n public function getRemoteDir(): string\n {\n return $this->remoteDir;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d1c5fa3a44b23509475a1ee20b749ba7e6313b9bf7aa411f9d885ab940b12217"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 77,
"startColumn": 21,
"charOffset": 1626,
"charLength": 14,
"snippet": {
"text": "setWarehouseId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 75,
"startColumn": 1,
"charOffset": 1599,
"charLength": 117,
"snippet": {
"text": " }\n\n public function setWarehouseId(int $warehouse_id): self\n {\n $this->warehouse_id = $warehouse_id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d327061bfe93c3f843327417b24a60ec7f8626548fd029a51b6e33f79bc3753c"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 267,
"startColumn": 21,
"charOffset": 9842,
"charLength": 10,
"snippet": {
"text": "createJson"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 265,
"startColumn": 1,
"charOffset": 9815,
"charLength": 72,
"snippet": {
"text": " }\n\n public function createJson($data)\n {\n $arr = array("
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d46357ea9f7b382463bb05ce5ba8c5d7e34879cda4d644bcca26540a08570736"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Settings.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 44,
"startColumn": 21,
"charOffset": 767,
"charLength": 8,
"snippet": {
"text": "setValue"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 42,
"startColumn": 1,
"charOffset": 740,
"charLength": 93,
"snippet": {
"text": " }\n\n public function setValue(string $value): self\n {\n $this->value = $value;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d4a3f4a68fed57c7ef14f6e7ef18432ff0628fbba50f136b8c8ab5a1e68f9e1c"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Security/ApiKeyAuthenticator.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 33,
"startColumn": 21,
"charOffset": 1185,
"charLength": 12,
"snippet": {
"text": "authenticate"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 31,
"startColumn": 1,
"charOffset": 1158,
"charLength": 131,
"snippet": {
"text": " }\n\n public function authenticate(Request $request): Passport\n {\n $apiKey = $request->headers->get('X-AUTH-TOKEN');"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d8113b8c0401e8225f7967076615ac26ad946f07dc0c936829a62a800260f773"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Settings.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 27,
"startColumn": 21,
"charOffset": 492,
"charLength": 7,
"snippet": {
"text": "getName"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 25,
"startColumn": 1,
"charOffset": 465,
"charLength": 79,
"snippet": {
"text": " }\n\n public function getName(): ?string\n {\n return $this->name;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "dd5662da07796b431f59f4606beafdc871431743411ff4a94c5cba366cc6de56"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 82,
"startColumn": 21,
"charOffset": 1897,
"charLength": 7,
"snippet": {
"text": "setHost"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 80,
"startColumn": 1,
"charOffset": 1870,
"charLength": 89,
"snippet": {
"text": " }\n\n public function setHost(string $host): void\n {\n $this->host = $host;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "ddbdce6b5276cc0eeba7a11e3131b7d8e1b4a9c36c6deb6fab7252bd783f6961"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 97,
"startColumn": 21,
"charOffset": 2150,
"charLength": 7,
"snippet": {
"text": "getUser"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 95,
"startColumn": 1,
"charOffset": 2123,
"charLength": 78,
"snippet": {
"text": " }\n\n public function getUser(): string\n {\n return $this->user;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "e23ee710d4e92a889a9bea9c229c294766a6ac0297c4c9f9bd79f8738b769f49"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 34,
"startColumn": 21,
"charOffset": 834,
"charLength": 6,
"snippet": {
"text": "import"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 32,
"startColumn": 1,
"charOffset": 807,
"charLength": 42,
"snippet": {
"text": " }\n\n public function import()\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "e27ce8ce5e212dd37b67e4a05e340484d97f49be133298ad36b9fcc3d0ec2c9f"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 42,
"startColumn": 21,
"charOffset": 1006,
"charLength": 5,
"snippet": {
"text": "setId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 40,
"startColumn": 1,
"charOffset": 979,
"charLength": 79,
"snippet": {
"text": " }\n\n public function setId(int $id): ?self\n {\n $this->id = $id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "e36f22a7107396d858b3fd98b758569b2fd43487d22aafe5b3b6d062da9c202b"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/SettingsRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 24,
"startColumn": 21,
"charOffset": 725,
"charLength": 4,
"snippet": {
"text": "save"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 22,
"startColumn": 1,
"charOffset": 698,
"charLength": 135,
"snippet": {
"text": " }\n\n public function save(Settings $entity, bool $flush = false): void\n {\n $this->getEntityManager()->persist($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "e734e2b31a91dadc0cb7199631ef0dc7cf87fedfa2bbd19f6c8616102d52fcfe"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 84,
"startColumn": 21,
"charOffset": 2147,
"charLength": 13,
"snippet": {
"text": "createRequest"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 82,
"startColumn": 1,
"charOffset": 2094,
"charLength": 85,
"snippet": {
"text": " * @return bool|void\n */\n public function createRequest($orderData)\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "eafe4451e8b26586759979f71b9ca659daa0524ece0116cb19a8316ce3104db4"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Warehouse.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 60,
"startColumn": 21,
"charOffset": 1141,
"charLength": 7,
"snippet": {
"text": "setPrio"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 58,
"startColumn": 1,
"charOffset": 1114,
"charLength": 86,
"snippet": {
"text": " }\n\n public function setPrio(int $prio): self\n {\n $this->prio = $prio;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "edf4ac4bbd10765a4af3401809fe4ccf5043163e3db7ef25423623ee43a7bc9d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 77,
"startColumn": 21,
"charOffset": 1818,
"charLength": 7,
"snippet": {
"text": "getHost"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 75,
"startColumn": 1,
"charOffset": 1791,
"charLength": 78,
"snippet": {
"text": " }\n\n public function getHost(): string\n {\n return $this->host;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "ee0c72cb147b0a893edd4ffed180f7ac1847d6600b930f3789f6fe2c351ed611"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/EventSubscriber/SlackNotifySubscriber.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 39,
"startColumn": 21,
"charOffset": 886,
"charLength": 9,
"snippet": {
"text": "sendSlack"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 37,
"startColumn": 1,
"charOffset": 838,
"charLength": 141,
"snippet": {
"text": " * @return void\n */\n public function sendSlack(ViewEvent $event): void\n {\n $slack = new Client($this->slackWebhookUrl, ["
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f034b4cb2652353f78751d3261bf64cea6cb3da3e3acfad370874a5e23dd08e6"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Warehouse.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 75,
"startColumn": 21,
"charOffset": 1392,
"charLength": 8,
"snippet": {
"text": "addStock"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 73,
"startColumn": 1,
"charOffset": 1365,
"charLength": 109,
"snippet": {
"text": " }\n\n public function addStock(Stock $stock): self\n {\n if (!$this->stocks->contains($stock)) {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f41c81a833afccd21e67e5c1f18a79bcf7931e43607455ab1f94f2134da330c4"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/ProductRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 15,
"startColumn": 25,
"charOffset": 409,
"charLength": 7,
"snippet": {
"text": "findAll"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 13,
"startColumn": 1,
"charOffset": 238,
"charLength": 286,
"snippet": {
"text": " * @method Product|null find($id, $lockMode = null, $lockVersion = null)\n * @method Product|null findOneBy(array $criteria, array $orderBy = null)\n * @method Product[] findAll()\n * @method Product[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f5f4193473ec4e536543ac3747763cd2b6f73c3f64659f051a016d568fdeeb29"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Order.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 50,
"startColumn": 21,
"charOffset": 1091,
"charLength": 10,
"snippet": {
"text": "getOrderId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 48,
"startColumn": 1,
"charOffset": 1064,
"charLength": 85,
"snippet": {
"text": " }\n\n public function getOrderId(): ?string\n {\n return $this->orderId;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f77d66097698d1caa7cc7848b064d7a79f97ca948cb763206072ecc8c58444f6"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 118,
"startColumn": 21,
"charOffset": 2565,
"charLength": 13,
"snippet": {
"text": "getUpdateTime"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 116,
"startColumn": 1,
"charOffset": 2538,
"charLength": 103,
"snippet": {
"text": " }\n\n public function getUpdateTime(): ?DateTimeInterface\n {\n return $this->update_time;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f8102558ab7f5e57e85f3525218b073d3a8209f903ed017d72e53128898d2fc8"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 72,
"startColumn": 21,
"charOffset": 1890,
"charLength": 14,
"snippet": {
"text": "createFileName"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 70,
"startColumn": 1,
"charOffset": 1821,
"charLength": 127,
"snippet": {
"text": " * Beispieldateiname : WU220401.0001\n */\n public function createFileName(): string\n {\n $date = date('dm');"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f8b9e99d99754d527ae224af5f4e6d8c7a00e87896d03d07034c35811fff601d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/StockRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 16,
"startColumn": 23,
"charOffset": 431,
"charLength": 6,
"snippet": {
"text": "findBy"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 14,
"startColumn": 1,
"charOffset": 305,
"charLength": 261,
"snippet": {
"text": " * @method Stock|null findOneBy(array $criteria, array $orderBy = null)\n * @method Stock[] findAll()\n * @method Stock[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */\nclass StockRepository extends ServiceEntityRepository"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f9030576b709f7adf56818d2ce9e8efaf760f662733de55c3b1bc4686fbb5708"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Warehouse.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 55,
"startColumn": 21,
"charOffset": 1064,
"charLength": 7,
"snippet": {
"text": "getPrio"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 53,
"startColumn": 1,
"charOffset": 1037,
"charLength": 76,
"snippet": {
"text": " }\n\n public function getPrio(): ?int\n {\n return $this->prio;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f90d55afb45c62675f08102f0d9b75cdacee3f34a07aa822d5e1fbc4a6030915"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Order.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 86,
"startColumn": 21,
"charOffset": 1691,
"charLength": 13,
"snippet": {
"text": "getChangeDate"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 84,
"startColumn": 1,
"charOffset": 1664,
"charLength": 102,
"snippet": {
"text": " }\n\n public function getChangeDate(): ?DateTimeInterface\n {\n return $this->changeDate;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "fa45ce057ff04eda69e4a89e4bef9dc06413d111db13e9385a28e3a16a892ed2"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Ftp.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 37,
"startColumn": 21,
"charOffset": 746,
"charLength": 10,
"snippet": {
"text": "uploadFile"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 35,
"startColumn": 1,
"charOffset": 711,
"charLength": 144,
"snippet": {
"text": " *\n */\n public function uploadFile(string $localFile): void\n {\n $ftp = ftp_ssl_connect($this->getHost(), $this->getPort());"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "fa9475829c01e5d82d69a2237f3cbf211069ec623d2ffa0f261c4f1fb16976af"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Product.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 44,
"startColumn": 21,
"charOffset": 906,
"charLength": 13,
"snippet": {
"text": "getUpdateTime"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 42,
"startColumn": 1,
"charOffset": 879,
"charLength": 102,
"snippet": {
"text": " }\n\n public function getUpdateTime(): ?DateTimeInterface\n {\n return $this->updateTime;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "faa52ec4ed103584b53bd85f5087aee109b61965b36c304e63ba0a580c187029"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 358,
"startColumn": 21,
"charOffset": 14421,
"charLength": 17,
"snippet": {
"text": "sendOrderToHiltes"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 356,
"startColumn": 1,
"charOffset": 14373,
"charLength": 138,
"snippet": {
"text": " * @return bool\n */\n public function sendOrderToHiltes($data)\n {\n $url = $this->hiltesApiUrl . '/api/WebSale/import';"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "fab2932712267634086419363f2d027f2ceb89cc713fb337d634ab3d443c483d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodShouldBeFinalInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method should be final",
"markdown": "Method should be final"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 37,
"startColumn": 21,
"charOffset": 933,
"charLength": 5,
"snippet": {
"text": "getId"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 35,
"startColumn": 1,
"charOffset": 911,
"charLength": 67,
"snippet": {
"text": "\n\n public function getId(): ?int\n {\n return $this->id;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "fbcb1c4a02b49b62d7600eb385cd8765de79bed908fae4675f9d358e70838077"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 22,
"startColumn": 24,
"charOffset": 685,
"charLength": 9,
"snippet": {
"text": "configure"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 20,
"startColumn": 1,
"charOffset": 621,
"charLength": 101,
"snippet": {
"text": "class JtlImportCommand extends Command\n{\n protected function configure(): void\n {\n $this"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "02d44857537d06b5c6a13a2e48221129b2fc9d25946c6ac0459abd021c74b64c"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 107,
"startColumn": 24,
"charOffset": 3229,
"charLength": 9,
"snippet": {
"text": "getStocks"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 105,
"startColumn": 1,
"charOffset": 3199,
"charLength": 100,
"snippet": {
"text": " }\n\n protected function getStocks()\n {\n $stocks = $this->stockRepository->findAll();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "03dba8f388c5e46d5873a23b3794bf6a2133fdb839a04dce632682030f68d4f8"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 32,
"startColumn": 24,
"charOffset": 934,
"charLength": 9,
"snippet": {
"text": "configure"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 30,
"startColumn": 1,
"charOffset": 909,
"charLength": 62,
"snippet": {
"text": "\n\n protected function configure(): void\n {\n $this"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "13e3e2732c9b65d7bdf47d2e0411c6b20793351c74bf36290e7ea4c9dc14d32a"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 48,
"startColumn": 24,
"charOffset": 1411,
"charLength": 7,
"snippet": {
"text": "execute"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 46,
"startColumn": 1,
"charOffset": 1381,
"charLength": 145,
"snippet": {
"text": " }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "264288f9e8e21ca169b1fd7f93c0273a752e291e91b44fe9d2787a4da7b5d468"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 29,
"startColumn": 24,
"charOffset": 925,
"charLength": 7,
"snippet": {
"text": "execute"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 27,
"startColumn": 1,
"charOffset": 895,
"charLength": 145,
"snippet": {
"text": " }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "3afc7b43831719989f629e76bf98ec58aebab9509d0c701e1a559bb29e912b1e"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 44,
"startColumn": 24,
"charOffset": 1317,
"charLength": 9,
"snippet": {
"text": "configure"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 42,
"startColumn": 1,
"charOffset": 1287,
"charLength": 67,
"snippet": {
"text": " }\n\n protected function configure(): void\n {\n $this"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "3d6ad7d3fb6dce75fae1c950923fe112bc3ec567837afa92204fafe325b41002"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 149,
"startColumn": 24,
"charOffset": 4293,
"charLength": 9,
"snippet": {
"text": "trimArray"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 147,
"startColumn": 1,
"charOffset": 4263,
"charLength": 95,
"snippet": {
"text": " }\n\n protected function trimArray(array &$arr)\n {\n foreach ($arr as $k => $v) {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "5d1ceb9f4b236012c55cf064e1088f42555d6f4179614ba96e9a3c905a3857a7"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 51,
"startColumn": 24,
"charOffset": 1557,
"charLength": 7,
"snippet": {
"text": "execute"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 49,
"startColumn": 1,
"charOffset": 1527,
"charLength": 145,
"snippet": {
"text": " }\n\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "75c59a66978f8651f5abd8326e7491df02e843ee2bdaed243b0578e9b4236a86"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 156,
"startColumn": 24,
"charOffset": 4432,
"charLength": 8,
"snippet": {
"text": "saveData"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 154,
"startColumn": 1,
"charOffset": 4402,
"charLength": 115,
"snippet": {
"text": " }\n\n protected function saveData(array $data)\n {\n $warehouse = $this->checkWarehouseName($data[3]);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "78e812758fb7c9e7c3181d7bc36c28a97c03c3fd083f2ffbe23f733b323b05d5"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 139,
"startColumn": 24,
"charOffset": 4077,
"charLength": 11,
"snippet": {
"text": "processLine"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 137,
"startColumn": 1,
"charOffset": 4047,
"charLength": 99,
"snippet": {
"text": " }\n\n protected function processLine($line)\n {\n $data = str_getcsv($line, ';', '\"');"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "93ad949455dfd67e76cf0ad5f2affe1d3c1363403a2a54a12713006c8323cadc"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 116,
"startColumn": 24,
"charOffset": 3480,
"charLength": 9,
"snippet": {
"text": "loadFiles"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 114,
"startColumn": 1,
"charOffset": 3450,
"charLength": 69,
"snippet": {
"text": " }\n\n protected function loadFiles($srcFile)\n {\n try {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "9fb817aa4c09ff6ed1517c67ddb15d99a221efe9f1f6604846355f2dca197a70"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 45,
"startColumn": 24,
"charOffset": 1324,
"charLength": 7,
"snippet": {
"text": "execute"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 43,
"startColumn": 1,
"charOffset": 1274,
"charLength": 117,
"snippet": {
"text": " * @return int\n */\n protected function execute(InputInterface $input, OutputInterface $output): int\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "a0acbf677ed350918b82d73a02a6369426d8f4379e8d7373171fc43613a57bf3"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 43,
"startColumn": 24,
"charOffset": 1276,
"charLength": 9,
"snippet": {
"text": "configure"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 41,
"startColumn": 1,
"charOffset": 1246,
"charLength": 134,
"snippet": {
"text": " }\n\n protected function configure(): void\n {\n $this->addOption('delta', 'd', InputOption::VALUE_NONE, 'Delta Import');"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c6542211134c61ee8d1e7e1c5d174131175ab980b802e2297c95bc8ee1cdab6f"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MethodVisibilityInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Do not write protected methods. Only public or private",
"markdown": "Do not write protected methods. Only public or private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 74,
"startColumn": 24,
"charOffset": 2160,
"charLength": 8,
"snippet": {
"text": "getFiles"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 72,
"startColumn": 1,
"charOffset": 2109,
"charLength": 117,
"snippet": {
"text": " * @return bool\n */\n protected function getFiles($delta = false)\n {\n $finder = Finder::create();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d9ad39bb98f2f84bc7172a5918999703af5f2d03bb6112dd53e5c70bf3149ae4"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 245,
"startColumn": 48,
"charOffset": 9144,
"charLength": 13,
"snippet": {
"text": "$auth = false"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 243,
"startColumn": 1,
"charOffset": 9090,
"charLength": 105,
"snippet": {
"text": " }\n\n public function sendToHiltes($url, $param, $auth = false)\n {\n $ch = curl_init($url);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "1e5f246ac5560925cf1062cc51fdf545ac02cac926bc0e0a054b9c5248ec343c"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 84,
"startColumn": 35,
"charOffset": 2161,
"charLength": 10,
"snippet": {
"text": "$orderData"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 82,
"startColumn": 1,
"charOffset": 2094,
"charLength": 85,
"snippet": {
"text": " * @return bool|void\n */\n public function createRequest($orderData)\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "3b3b530fea6e1b3126a649c6eb5294d3f8b032f232855be5484fa90d3dad03a3"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 74,
"startColumn": 33,
"charOffset": 2169,
"charLength": 14,
"snippet": {
"text": "$delta = false"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 72,
"startColumn": 1,
"charOffset": 2109,
"charLength": 117,
"snippet": {
"text": " * @return bool\n */\n protected function getFiles($delta = false)\n {\n $finder = Finder::create();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "52df6696b7e421eb9b331e7113afa616917c3d16e30264f6e496d31f1d3000fd"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 116,
"startColumn": 34,
"charOffset": 3490,
"charLength": 8,
"snippet": {
"text": "$srcFile"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 114,
"startColumn": 1,
"charOffset": 3450,
"charLength": 69,
"snippet": {
"text": " }\n\n protected function loadFiles($srcFile)\n {\n try {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "550983aeb67274c1edaab06396f15adbda2cd92374ec18ea03e7f82317803020"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Jtl.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 86,
"startColumn": 38,
"charOffset": 2323,
"charLength": 5,
"snippet": {
"text": "$data"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 84,
"startColumn": 1,
"charOffset": 2258,
"charLength": 97,
"snippet": {
"text": " * @return void\n */\n public function createExportFile($data): void\n {\n try {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "734d1556ca8135531909b321bc6c0337ea6f83363c7fa01d9d235c48877f5c3e"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 358,
"startColumn": 39,
"charOffset": 14439,
"charLength": 5,
"snippet": {
"text": "$data"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 356,
"startColumn": 1,
"charOffset": 14373,
"charLength": 138,
"snippet": {
"text": " * @return bool\n */\n public function sendOrderToHiltes($data)\n {\n $url = $this->hiltesApiUrl . '/api/WebSale/import';"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8ca1a7c4728cf95fb7f69e69ce52be72a05b824020de79c72bdae119d8bb777c"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 45,
"startColumn": 33,
"charOffset": 1146,
"charLength": 14,
"snippet": {
"text": "$delta = false"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 43,
"startColumn": 1,
"charOffset": 1080,
"charLength": 118,
"snippet": {
"text": " * @return array|void\n */\n public function startImport($delta = false)\n {\n #*** Holt alle Dateien"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "9b551e1f843ca4bd99819845dd328b9edcbef63ce1edb2a2cc6a8720a3b22b0a"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 245,
"startColumn": 40,
"charOffset": 9136,
"charLength": 6,
"snippet": {
"text": "$param"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 243,
"startColumn": 1,
"charOffset": 9090,
"charLength": 105,
"snippet": {
"text": " }\n\n public function sendToHiltes($url, $param, $auth = false)\n {\n $ch = curl_init($url);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "a2d319126c07d674e4b7b187f10a4eebc51433e025f03a718e7d697406d27007"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 245,
"startColumn": 34,
"charOffset": 9130,
"charLength": 4,
"snippet": {
"text": "$url"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 243,
"startColumn": 1,
"charOffset": 9090,
"charLength": 105,
"snippet": {
"text": " }\n\n public function sendToHiltes($url, $param, $auth = false)\n {\n $ch = curl_init($url);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d1f4cef0330bb94564ab2c02a91feab57b0e94ef2290970c441ac1ef9c9de964"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 267,
"startColumn": 32,
"charOffset": 9853,
"charLength": 5,
"snippet": {
"text": "$data"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 265,
"startColumn": 1,
"charOffset": 9815,
"charLength": 72,
"snippet": {
"text": " }\n\n public function createJson($data)\n {\n $arr = array("
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d6c116877efae035f1e0b1986ecd74a1528e3cb400b5469cc48a2144bae51c0d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 139,
"startColumn": 36,
"charOffset": 4089,
"charLength": 5,
"snippet": {
"text": "$line"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 137,
"startColumn": 1,
"charOffset": 4047,
"charLength": 99,
"snippet": {
"text": " }\n\n protected function processLine($line)\n {\n $data = str_getcsv($line, ';', '\"');"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "dfa4e3b964ed07d72694bcd5dd4bc2e529c82b6b3f395116ea5937b930c26309"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 221,
"startColumn": 41,
"charOffset": 8408,
"charLength": 5,
"snippet": {
"text": "$pass"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 219,
"startColumn": 1,
"charOffset": 8340,
"charLength": 159,
"snippet": {
"text": " * @return bool\n */\n public function loginToHiltes($usr, $pass): bool\n {\n $url = $this->hiltesApiUrl . '/api/Authentication/authenticate';"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "e92a2807ea2ec3f8947ca60d35c034deacd16bafa0b7aab6e8a401143ec7e7ba"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingParameterTypeDeclarationInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing parameter type",
"markdown": "Missing parameter type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 221,
"startColumn": 35,
"charOffset": 8402,
"charLength": 4,
"snippet": {
"text": "$usr"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 219,
"startColumn": 1,
"charOffset": 8340,
"charLength": 159,
"snippet": {
"text": " * @return bool\n */\n public function loginToHiltes($usr, $pass): bool\n {\n $url = $this->hiltesApiUrl . '/api/Authentication/authenticate';"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "ff98d67222749504fd6c07e5e0c9f8f8d67c4463afaba4af3346728fa9ffad57"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 245,
"startColumn": 21,
"charOffset": 9117,
"charLength": 12,
"snippet": {
"text": "sendToHiltes"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 243,
"startColumn": 1,
"charOffset": 9090,
"charLength": 105,
"snippet": {
"text": " }\n\n public function sendToHiltes($url, $param, $auth = false)\n {\n $ch = curl_init($url);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "04df5d1d5f14492783ab3f1ae5dc834814d68b0efbb3793cdd62f76799d912ea"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 358,
"startColumn": 21,
"charOffset": 14421,
"charLength": 17,
"snippet": {
"text": "sendOrderToHiltes"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 356,
"startColumn": 1,
"charOffset": 14373,
"charLength": 138,
"snippet": {
"text": " * @return bool\n */\n public function sendOrderToHiltes($data)\n {\n $url = $this->hiltesApiUrl . '/api/WebSale/import';"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "0b08c2d8a33cff3d68eb92d3f09e7257f67fa5e0ef99d6cc496b633405d2ea5d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 74,
"startColumn": 24,
"charOffset": 2160,
"charLength": 8,
"snippet": {
"text": "getFiles"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 72,
"startColumn": 1,
"charOffset": 2109,
"charLength": 117,
"snippet": {
"text": " * @return bool\n */\n protected function getFiles($delta = false)\n {\n $finder = Finder::create();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "105fb74a8434150757e320ce3b38c0f5938edcf6b8c24a3db1f01f290c57ab6e"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 84,
"startColumn": 21,
"charOffset": 2147,
"charLength": 13,
"snippet": {
"text": "createRequest"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 82,
"startColumn": 1,
"charOffset": 2094,
"charLength": 85,
"snippet": {
"text": " * @return bool|void\n */\n public function createRequest($orderData)\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "1fabdaa30d2301fd71c26395ce65b9b95ffa2e31dc15f5ebca596a7f9a1180f9"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 156,
"startColumn": 24,
"charOffset": 4432,
"charLength": 8,
"snippet": {
"text": "saveData"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 154,
"startColumn": 1,
"charOffset": 4402,
"charLength": 115,
"snippet": {
"text": " }\n\n protected function saveData(array $data)\n {\n $warehouse = $this->checkWarehouseName($data[3]);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "41570f676e13e887c548aba639f44f940c416949735df5ccb3617a2b15795e48"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 149,
"startColumn": 24,
"charOffset": 4293,
"charLength": 9,
"snippet": {
"text": "trimArray"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 147,
"startColumn": 1,
"charOffset": 4263,
"charLength": 95,
"snippet": {
"text": " }\n\n protected function trimArray(array &$arr)\n {\n foreach ($arr as $k => $v) {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "4bf7eb5f147558ed7f41d8f172e2b7be2d823f4d9b6ef1bb8d77c0db00be232d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 139,
"startColumn": 24,
"charOffset": 4077,
"charLength": 11,
"snippet": {
"text": "processLine"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 137,
"startColumn": 1,
"charOffset": 4047,
"charLength": 99,
"snippet": {
"text": " }\n\n protected function processLine($line)\n {\n $data = str_getcsv($line, ';', '\"');"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "5f87d05bcd032977fec2587d8f105376f8636f59da2ea977012e047307dbb5e1"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 267,
"startColumn": 21,
"charOffset": 9842,
"charLength": 10,
"snippet": {
"text": "createJson"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 265,
"startColumn": 1,
"charOffset": 9815,
"charLength": 72,
"snippet": {
"text": " }\n\n public function createJson($data)\n {\n $arr = array("
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6b97cc429e324ff374e201abed324f9374feca545e4d1e37040431ea92074922"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 173,
"startColumn": 22,
"charOffset": 5022,
"charLength": 18,
"snippet": {
"text": "checkWarehouseName"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 171,
"startColumn": 1,
"charOffset": 4994,
"charLength": 126,
"snippet": {
"text": " }\n\n private function checkWarehouseName(string $warehouseName)\n {\n $warehouseName = ltrim($warehouseName, 0);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "812c02f3fe3447054a245587eb55e17d869afb2d3ae21f64ee0d8304d64f0bf6"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/OrderRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 86,
"startColumn": 22,
"charOffset": 2322,
"charLength": 23,
"snippet": {
"text": "createNotFoundException"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 84,
"startColumn": 1,
"charOffset": 2268,
"charLength": 137,
"snippet": {
"text": " * @throws Exception\n */\n private function createNotFoundException(string $string)\n {\n throw new Exception($string);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8878be9da0f6e429f39392f424bcdfd31dd53acf80fcc9e72a226d5071c24f1e"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 34,
"startColumn": 21,
"charOffset": 834,
"charLength": 6,
"snippet": {
"text": "import"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 32,
"startColumn": 1,
"charOffset": 807,
"charLength": 42,
"snippet": {
"text": " }\n\n public function import()\n {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8d071e6be46817c78ac0c4e376582c60e1401a0d4fe203135125d91259215ec1"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 52,
"startColumn": 21,
"charOffset": 1175,
"charLength": 6,
"snippet": {
"text": "export"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 50,
"startColumn": 1,
"charOffset": 1127,
"charLength": 88,
"snippet": {
"text": " * @return void\n */\n public function export(string $data)\n {\n try {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "9e58583a0670bccda825b40ea17d417d372a81b6dd6125b8470526beb3ec6c75"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 116,
"startColumn": 24,
"charOffset": 3480,
"charLength": 9,
"snippet": {
"text": "loadFiles"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 114,
"startColumn": 1,
"charOffset": 3450,
"charLength": 69,
"snippet": {
"text": " }\n\n protected function loadFiles($srcFile)\n {\n try {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "aa031baa35aecb0a7b8c453ac882095c6a9fb2c231a4c9e757b6a8c390bfbfd2"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 202,
"startColumn": 22,
"charOffset": 5999,
"charLength": 12,
"snippet": {
"text": "checkProduct"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 200,
"startColumn": 1,
"charOffset": 5934,
"charLength": 143,
"snippet": {
"text": " * @return false|int|mixed|null\n */\n private function checkProduct(string $gtin)\n {\n #*** WEnn keine geCached Id Vorhanden"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "b4fcd3b0df755f90e6d77e8df852c5d14d1972b71a52f4e94d0f39998fd86f18"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 45,
"startColumn": 21,
"charOffset": 1134,
"charLength": 11,
"snippet": {
"text": "startImport"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 43,
"startColumn": 1,
"charOffset": 1080,
"charLength": 118,
"snippet": {
"text": " * @return array|void\n */\n public function startImport($delta = false)\n {\n #*** Holt alle Dateien"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "eee88575862ce60261d89256d61b6bb29838aaff65a4998d1cc194c9184d67d2"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "MissingReturnTypeInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Missing return type",
"markdown": "Missing return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 107,
"startColumn": 24,
"charOffset": 3229,
"charLength": 9,
"snippet": {
"text": "getStocks"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 105,
"startColumn": 1,
"charOffset": 3199,
"charLength": 100,
"snippet": {
"text": " }\n\n protected function getStocks()\n {\n $stocks = $this->stockRepository->findAll();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f21a06bb608bb7ec6fd72f73a94d1f253cd50d51d769933914b51a5f858efc55"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpParamsInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Parameter 'null' type is not compatible with declaration",
"markdown": "Parameter 'null' type is not compatible with declaration"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 93,
"startColumn": 38,
"charOffset": 2055,
"charLength": 4,
"snippet": {
"text": "null"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 91,
"startColumn": 1,
"charOffset": 1896,
"charLength": 176,
"snippet": {
"text": " // unset the owning side of the relation if necessary\n if ($product === null && $this->product !== null) {\n $this->product->setStock(null);\n }\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "c021fdfed2acfd680933143a03dd3ae5f94bbc4ef00f32a3a331b042920075b8"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpParamsInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Parameter 'new Transport('xoxb-1234-56789abcdefghijklmnopqrstuv')' type is not compatible with declaration",
"markdown": "Parameter 'new Transport('xoxb-1234-56789abcdefghijklmnopqrstuv')' type is not compatible with declaration"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 42,
"startColumn": 32,
"charOffset": 1293,
"charLength": 54,
"snippet": {
"text": "new Transport('xoxb-1234-56789abcdefghijklmnopqrstuv')"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 40,
"startColumn": 1,
"charOffset": 1251,
"charLength": 100,
"snippet": {
"text": " }\n\n $chatter = new Chatter(new Transport('xoxb-1234-56789abcdefghijklmnopqrstuv'));\n\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d36c51c94b5e38904a29e4b3e5803a75d1cd360182d7ddfffed87f10f3a3da4e"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpParamsInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Parameter ''xoxb-1234-56789abcdefghijklmnopqrstuv'' type is not compatible with declaration",
"markdown": "Parameter ''xoxb-1234-56789abcdefghijklmnopqrstuv'' type is not compatible with declaration"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 42,
"startColumn": 46,
"charOffset": 1307,
"charLength": 39,
"snippet": {
"text": "'xoxb-1234-56789abcdefghijklmnopqrstuv'"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 40,
"startColumn": 1,
"charOffset": 1251,
"charLength": 100,
"snippet": {
"text": " }\n\n $chatter = new Chatter(new Transport('xoxb-1234-56789abcdefghijklmnopqrstuv'));\n\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f5af32996ff7d43db9ed4cc0b909a071cbd0663f4c22fea9aa6e14d09c36858b"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpPropertyCanBeReadonlyInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Property can be 'readonly'",
"markdown": "Property can be 'readonly'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 23,
"startColumn": 107,
"charOffset": 772,
"charLength": 7,
"snippet": {
"text": "$hiltes"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 21,
"startColumn": 1,
"charOffset": 622,
"charLength": 215,
"snippet": {
"text": "class HiltesExportCommand extends Command\n{\n public function __construct(OrderRepository $orderRepository, LoggerInterface $logger, private Hiltes $hiltes)\n {\n $this->orderRepository = $orderRepository;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8d946aec87317ac604be74b41b4345b955da6351871aa6c1c49122e7907c8b6f"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpPropertyCanBeReadonlyInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Property can be 'readonly'",
"markdown": "Property can be 'readonly'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 24,
"startColumn": 57,
"charOffset": 532,
"charLength": 16,
"snippet": {
"text": "$orderRepository"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 22,
"startColumn": 1,
"charOffset": 474,
"charLength": 125,
"snippet": {
"text": "\n\n public function __construct(private OrderRepository $orderRepository)\n {\n $this->fsObject = new Filesystem();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "986807087165342090d27ac23b805da1e61b2e4e6e5613fc908a604388b129c5"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpPropertyCanBeReadonlyInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Property can be 'readonly'",
"markdown": "Property can be 'readonly'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/EventSubscriber/ExportHiltesSubscriber.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 15,
"startColumn": 48,
"charOffset": 461,
"charLength": 7,
"snippet": {
"text": "$hiltes"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 13,
"startColumn": 1,
"charOffset": 347,
"charLength": 134,
"snippet": {
"text": "class ExportHiltesSubscriber implements EventSubscriberInterface\n{\n public function __construct(private Hiltes $hiltes)\n {\n }"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "b1876aeab2b5838f12f50eb28fb40055451fe18736ef5837502d9dfb1656367c"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'HlsCountry'",
"markdown": "Undefined class 'HlsCountry'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 12,
"startColumn": 12,
"charOffset": 241,
"charLength": 10,
"snippet": {
"text": "HlsCountry"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 10,
"startColumn": 1,
"charOffset": 179,
"charLength": 240,
"snippet": {
"text": " * @extends ServiceEntityRepository<HlsCountry>\n *\n * @method HlsCountry|null find($id, $lockMode = null, $lockVersion = null)\n * @method HlsCountry|null findOneBy(array $criteria, array $orderBy = null)\n * @method HlsCountry[] findAll()"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "0b3b760ccc1d099735fa5701c732b0599cdb46b89971a4b660eacdfa96f6aaac"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'HlsCountry'",
"markdown": "Undefined class 'HlsCountry'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 14,
"startColumn": 12,
"charOffset": 394,
"charLength": 10,
"snippet": {
"text": "HlsCountry"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 12,
"startColumn": 1,
"charOffset": 230,
"charLength": 298,
"snippet": {
"text": " * @method HlsCountry|null find($id, $lockMode = null, $lockVersion = null)\n * @method HlsCountry|null findOneBy(array $criteria, array $orderBy = null)\n * @method HlsCountry[] findAll()\n * @method HlsCountry[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "1395a5082c3dddc8bb6a08e387f33bbcf0f4323ef1c95baaae6bd75e5bbb59eb"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'HlsCountry'",
"markdown": "Undefined class 'HlsCountry'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 33,
"startColumn": 28,
"charOffset": 967,
"charLength": 10,
"snippet": {
"text": "HlsCountry"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 31,
"startColumn": 1,
"charOffset": 933,
"charLength": 138,
"snippet": {
"text": " }\n\n public function remove(HlsCountry $entity, bool $flush = false): void\n {\n $this->getEntityManager()->remove($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "26becc645607d21ffd5bb98ba9aa20df6b06ed6546c7ee276f9d56fa188605aa"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'HlsCountry'",
"markdown": "Undefined class 'HlsCountry'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 24,
"startColumn": 26,
"charOffset": 746,
"charLength": 10,
"snippet": {
"text": "HlsCountry"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 22,
"startColumn": 1,
"charOffset": 714,
"charLength": 137,
"snippet": {
"text": " }\n\n public function save(HlsCountry $entity, bool $flush = false): void\n {\n $this->getEntityManager()->persist($entity);"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "43ece41c931a3d281a494f130ad08bee291e78419b53275b0273201809677534"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'HlsCountry'",
"markdown": "Undefined class 'HlsCountry'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 10,
"startColumn": 37,
"charOffset": 215,
"charLength": 10,
"snippet": {
"text": "HlsCountry"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 8,
"startColumn": 1,
"charOffset": 174,
"charLength": 131,
"snippet": {
"text": "\n/**\n * @extends ServiceEntityRepository<HlsCountry>\n *\n * @method HlsCountry|null find($id, $lockMode = null, $lockVersion = null)"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "4d64a49187a0cd066a68b064bf44c8cdc7c7b2f8c05e28400ed7abad18eb8ff9"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'HlsCountry'",
"markdown": "Undefined class 'HlsCountry'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 15,
"startColumn": 12,
"charOffset": 431,
"charLength": 10,
"snippet": {
"text": "HlsCountry"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 13,
"startColumn": 1,
"charOffset": 306,
"charLength": 281,
"snippet": {
"text": " * @method HlsCountry|null findOneBy(array $criteria, array $orderBy = null)\n * @method HlsCountry[] findAll()\n * @method HlsCountry[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\n */\nclass HlsCountryRepository extends ServiceEntityRepository"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "9e01bbb1c160f4e2f022e6298c166b81c58db40beaede55936c4a8bacbf0938c"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'HlsCountry'",
"markdown": "Undefined class 'HlsCountry'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 13,
"startColumn": 12,
"charOffset": 317,
"charLength": 10,
"snippet": {
"text": "HlsCountry"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 11,
"startColumn": 1,
"charOffset": 227,
"charLength": 297,
"snippet": {
"text": " *\n * @method HlsCountry|null find($id, $lockMode = null, $lockVersion = null)\n * @method HlsCountry|null findOneBy(array $criteria, array $orderBy = null)\n * @method HlsCountry[] findAll()\n * @method HlsCountry[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "b1cf0f58767e9ba1dd7dc222f5dee4ed5be17deb2c8abffe94eb25579f57eec4"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'UniqueEntity'",
"markdown": "Undefined class 'UniqueEntity'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 13,
"startColumn": 7,
"charOffset": 281,
"charLength": 12,
"snippet": {
"text": "UniqueEntity"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 11,
"startColumn": 1,
"charOffset": 219,
"charLength": 165,
"snippet": {
"text": "\n#[ORM\\Entity(repositoryClass: StockRepository::class)]\n#[ORM\\UniqueEntity(['warehouse_id', 'product_id'])]\n#[ORM\\UniqueConstraint(\n name: 'UNIQ_D34A04ADDCD6110',"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "ca3940337591ed9ae4e6e0bee16d554713357e047ce43b5f024b170a634e2b5f"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'HlsCountry'",
"markdown": "Undefined class 'HlsCountry'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 5,
"startColumn": 16,
"charOffset": 49,
"charLength": 10,
"snippet": {
"text": "HlsCountry"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 3,
"startColumn": 1,
"charOffset": 7,
"charLength": 166,
"snippet": {
"text": "namespace App\\Repository;\n\nuse App\\Entity\\HlsCountry;\nuse Doctrine\\Bundle\\DoctrineBundle\\Repository\\ServiceEntityRepository;\nuse Doctrine\\Persistence\\ManagerRegistry;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "e2492c50fe9d937fa3f481e17613254d2b88106ea41a3b115ec791faad4f711c"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedClassInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Undefined class 'HlsCountry'",
"markdown": "Undefined class 'HlsCountry'"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Repository/HlsCountryRepository.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 21,
"startColumn": 40,
"charOffset": 694,
"charLength": 10,
"snippet": {
"text": "HlsCountry"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 19,
"startColumn": 1,
"charOffset": 590,
"charLength": 130,
"snippet": {
"text": " public function __construct(ManagerRegistry $registry)\n {\n parent::__construct($registry, HlsCountry::class);\n }\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "f8aedc3264f98e237d9db72f56b3fc6e293cffc9b185bfb340e83aad2c968291"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedFieldInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Property 'product' declared dynamically and probably undefined",
"markdown": "Property 'product' declared dynamically and probably undefined"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 92,
"startColumn": 41,
"charOffset": 1998,
"charLength": 7,
"snippet": {
"text": "product"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 90,
"startColumn": 1,
"charOffset": 1890,
"charLength": 181,
"snippet": {
"text": " {\n // unset the owning side of the relation if necessary\n if ($product === null && $this->product !== null) {\n $this->product->setStock(null);\n }"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "2c22ba9a954b82fd54f68558241bd67bff3bc6f4f41ea31b699dce2b1c259740"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedFieldInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Property 'warehouse_id' declared dynamically and probably undefined",
"markdown": "Property 'warehouse_id' declared dynamically and probably undefined"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 74,
"startColumn": 23,
"charOffset": 1585,
"charLength": 12,
"snippet": {
"text": "warehouse_id"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 72,
"startColumn": 1,
"charOffset": 1514,
"charLength": 91,
"snippet": {
"text": " public function getWarehouseId(): ?int\n {\n return $this->warehouse_id;\n }\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "313ca7c5bf5529821c0bc2fdc245a70e553dc5ad598ce44d9ba5a6726b1fc95a"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedFieldInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Property 'product' declared dynamically and probably undefined",
"markdown": "Property 'product' declared dynamically and probably undefined"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 93,
"startColumn": 20,
"charOffset": 2037,
"charLength": 7,
"snippet": {
"text": "product"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 91,
"startColumn": 1,
"charOffset": 1896,
"charLength": 176,
"snippet": {
"text": " // unset the owning side of the relation if necessary\n if ($product === null && $this->product !== null) {\n $this->product->setStock(null);\n }\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "687740d9353e10671e9336478e21feb697bba6fa5d8aab148b62d40edb3e5793"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedFieldInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Property 'product' declared dynamically and probably undefined",
"markdown": "Property 'product' declared dynamically and probably undefined"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 86,
"startColumn": 23,
"charOffset": 1818,
"charLength": 7,
"snippet": {
"text": "product"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 84,
"startColumn": 1,
"charOffset": 1747,
"charLength": 86,
"snippet": {
"text": " public function getProduct(): ?Product\n {\n return $this->product;\n }\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6c3bc1e448c63380bd5ffa51fb6ffbd13e168d69bdfe8802789aeb20ced399b9"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedMethodInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Method 'getStock' is undefined",
"markdown": "Method 'getStock' is undefined"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Entity/Stock.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 97,
"startColumn": 44,
"charOffset": 2176,
"charLength": 8,
"snippet": {
"text": "getStock"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 95,
"startColumn": 1,
"charOffset": 2072,
"charLength": 176,
"snippet": {
"text": "\n // set the owning side of the relation if necessary\n if ($product !== null && $product->getStock() !== $this) {\n $product->setStock($this);\n }"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "61e1d149604a7c26fd93bf0d769ac32169a25826b784ec1693bbd383a907d192"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedMethodInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Method 'from' is undefined",
"markdown": "Method 'from' is undefined"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/EventSubscriber/SlackNotifySubscriber.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 68,
"startColumn": 21,
"charOffset": 1893,
"charLength": 4,
"snippet": {
"text": "from"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 66,
"startColumn": 1,
"charOffset": 1832,
"charLength": 119,
"snippet": {
"text": "\n if ($order->getStatus() == 1) {\n $slack->from('CDS-Notify')\n ->send($msg);\n }"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "6fb6850172800dcb528e5a33678eeb7913a067f633463e9125876dbec2c44525"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedVariableInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Variable '$count' is probably undefined",
"markdown": "Variable '$count' is probably undefined"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 134,
"startColumn": 29,
"charOffset": 3987,
"charLength": 6,
"snippet": {
"text": "$count"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 132,
"startColumn": 1,
"charOffset": 3922,
"charLength": 124,
"snippet": {
"text": " unlink($srcFile . '.Ende');\n\n $this->logger->info($count . ' Datensätze importiert');\n\n return $count;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "32bf908d7d495d0ae38a8b0dcdd1cde4e4613340e0a18dd1f4dcfb6751d9c8ac"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PhpUndefinedVariableInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Variable '$data' is probably undefined",
"markdown": "Variable '$data' is probably undefined"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/HiltesExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 175,
"startColumn": 42,
"charOffset": 7272,
"charLength": 5,
"snippet": {
"text": "$data"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 173,
"startColumn": 1,
"charOffset": 7229,
"charLength": 52,
"snippet": {
"text": "\n\n $this->hiltes->sendOrderToHiltes($data);\n\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "5c1163cf8612969bc87169df76de3de2aab89d91258041929636056c838e0fe8"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 18,
"startColumn": 15,
"charOffset": 371,
"charLength": 14,
"snippet": {
"text": "$hiltesApiHash"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 16,
"startColumn": 1,
"charOffset": 301,
"charLength": 143,
"snippet": {
"text": " protected $current_dir_path;\n protected $apiKey;\n protected $hiltesApiHash = '';\n protected $hiltesUsr;\n protected $hiltesPass;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "2774f728bd8b5a9de9d0fa3764a40299c41803ec5dd5c910a74adfcfa8f1ef1d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 21,
"startColumn": 15,
"charOffset": 376,
"charLength": 15,
"snippet": {
"text": "$currentDirPath"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 19,
"startColumn": 1,
"charOffset": 341,
"charLength": 120,
"snippet": {
"text": "class HiltesImport\n{\n protected $currentDirPath;\n protected $cachedWarehouseIds;\n protected $arrData = array();"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "37852a0a8ddd84190a7fd3d41e444f5402507835a81aebcc8e0df0e92d0244f5"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 21,
"startColumn": 15,
"charOffset": 459,
"charLength": 13,
"snippet": {
"text": "$hiltesApiUrl"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 19,
"startColumn": 1,
"charOffset": 392,
"charLength": 83,
"snippet": {
"text": " protected $hiltesUsr;\n protected $hiltesPass;\n protected $hiltesApiUrl;\n\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "5dd77954ec402c70f41f5c5115545eb2dd978df4323dc7ee8ce367690f4cb74e"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 22,
"startColumn": 15,
"charOffset": 407,
"charLength": 19,
"snippet": {
"text": "$cachedWarehouseIds"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 20,
"startColumn": 1,
"charOffset": 360,
"charLength": 133,
"snippet": {
"text": "{\n protected $currentDirPath;\n protected $cachedWarehouseIds;\n protected $arrData = array();\n private $productRepository;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "61b5e699a8fd3e32fe5415ba9476d6142d63616008e708687811edf4474d2520"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 17,
"startColumn": 15,
"charOffset": 348,
"charLength": 7,
"snippet": {
"text": "$apiKey"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 15,
"startColumn": 1,
"charOffset": 276,
"charLength": 141,
"snippet": {
"text": " protected $fsObject;\n protected $current_dir_path;\n protected $apiKey;\n protected $hiltesApiHash = '';\n protected $hiltesUsr;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "73412807542b559701c58f8ee45c921b713f826c38499953a43400636fcca39d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 15,
"startColumn": 15,
"charOffset": 290,
"charLength": 9,
"snippet": {
"text": "$fsObject"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 13,
"startColumn": 1,
"charOffset": 250,
"charLength": 106,
"snippet": {
"text": "{\n // init file system\n protected $fsObject;\n protected $current_dir_path;\n protected $apiKey;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8b789e4acb7363a036afdc3313baf38dfd920f2f814afbff9004d700d2f22104"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 23,
"startColumn": 15,
"charOffset": 442,
"charLength": 8,
"snippet": {
"text": "$arrData"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 21,
"startColumn": 1,
"charOffset": 362,
"charLength": 161,
"snippet": {
"text": " protected $currentDirPath;\n protected $cachedWarehouseIds;\n protected $arrData = array();\n private $productRepository;\n private $stockRepository;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8c15b2a8c6fd68202983c1b1d5dcf19361f85fe61ce7b8b983f5a2b97a1900df"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 20,
"startColumn": 15,
"charOffset": 432,
"charLength": 11,
"snippet": {
"text": "$hiltesPass"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 18,
"startColumn": 1,
"charOffset": 357,
"charLength": 117,
"snippet": {
"text": " protected $hiltesApiHash = '';\n protected $hiltesUsr;\n protected $hiltesPass;\n protected $hiltesApiUrl;\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d17d750f05b2cfc6e24f897b165cd1105363390dfbb07920bd52c86dd297308d"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 16,
"startColumn": 15,
"charOffset": 315,
"charLength": 17,
"snippet": {
"text": "$current_dir_path"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 14,
"startColumn": 1,
"charOffset": 252,
"charLength": 139,
"snippet": {
"text": " // init file system\n protected $fsObject;\n protected $current_dir_path;\n protected $apiKey;\n protected $hiltesApiHash = '';"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "e91bcd437427e76a339c2c5fe45884192b4fd5cd58303fc4704181607c2b65dd"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "PropertyCanBePrivateInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Property can be private",
"markdown": "Property can be private"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Hiltes.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 19,
"startColumn": 15,
"charOffset": 406,
"charLength": 10,
"snippet": {
"text": "$hiltesUsr"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 17,
"startColumn": 1,
"charOffset": 334,
"charLength": 139,
"snippet": {
"text": " protected $apiKey;\n protected $hiltesApiHash = '';\n protected $hiltesUsr;\n protected $hiltesPass;\n protected $hiltesApiUrl;"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "fba14341566e90921723043fe211b967a33601122c13e14d9a6764a083ea2395"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
},
{
"ruleId": "ToStringCallInspection",
"kind": "fail",
"level": "warning",
"message": {
"text": "Deprecated __toString call",
"markdown": "Deprecated __toString call"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 120,
"startColumn": 56,
"charOffset": 3624,
"charLength": 20,
"snippet": {
"text": "$file->getRealPath()"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 118,
"startColumn": 1,
"charOffset": 3506,
"charLength": 165,
"snippet": {
"text": " try {\n $file = new SplFileObject($srcFile);\n $this->logger->info('Starte Import von ' . $file->getRealPath());\n $count = 0;\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "5b94e2f7fd7ad7a74e4c5aa555a07eef81a14403ccf58b8fc19cd801b65e03b5"
},
"properties": {
"ideaSeverity": "WARNING",
"qodanaSeverity": "High",
"tags": [
"PHP"
]
}
}
],
"automationDetails": {
"id": "CdsConnector/qodana/2023-11-17",
"guid": "e0979fb7-b74b-4a63-9cec-05916edf5cb7",
"properties": {
"jobUrl": ""
}
},
"newlineSequences": [
"\r\n",
"\n"
],
"properties": {
"qodana.promo.results": [
{
"ruleId": "PhpRedundantOptionalArgumentInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Argument matches the parameter's default value",
"markdown": "Argument matches the parameter's default value"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 141,
"startColumn": 40,
"charOffset": 4141,
"charLength": 3,
"snippet": {
"text": "'\"'"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 139,
"startColumn": 1,
"charOffset": 4054,
"charLength": 125,
"snippet": {
"text": " protected function processLine($line)\n {\n $data = str_getcsv($line, ';', '\"');\n\n if (!empty($data[0])) {"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "d642543effea819924d6e86a503d0b8cc91875b3358751e93b48eb364aea899f"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
{
"ruleId": "PhpReturnDocTypeMismatchInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Return type in PHPDoc does not match the actual return type",
"markdown": "Return type in PHPDoc does not match the actual return type"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/HiltesImport.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 43,
"startColumn": 16,
"charOffset": 1095,
"charLength": 10,
"snippet": {
"text": "array|void"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 41,
"startColumn": 1,
"charOffset": 1071,
"charLength": 90,
"snippet": {
"text": "\n /**\n * @return array|void\n */\n public function startImport($delta = false)"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "13fa9cbbddeeb0b1c889479da50a455e9ca5cd02d8776f4d2a174ff7a4e4d284"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
{
"ruleId": "PhpUnhandledExceptionInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Unhandled exceptions",
"markdown": "Unhandled exceptions"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlImportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 51,
"startColumn": 34,
"charOffset": 1620,
"charLength": 4,
"snippet": {
"text": "send"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 49,
"startColumn": 1,
"charOffset": 1585,
"charLength": 155,
"snippet": {
"text": "\n\n $sentMessage = $chatter->send($message);\n\n $io->success('You have a new command! Now make it your own! Pass --help to see your options.');"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "fefb0ac5015c00760ac12ce4e7a2f8a0898de3d06dfa6e63625d21ceec91d6b0"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
{
"ruleId": "PhpUnusedLocalVariableInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Unused local variable 'e'. The value of the variable is not used anywhere.",
"markdown": "Unused local variable 'e'. The value of the variable is not used anywhere."
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Slack.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 25,
"startColumn": 46,
"charOffset": 607,
"charLength": 2,
"snippet": {
"text": "$e"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 23,
"startColumn": 1,
"charOffset": 489,
"charLength": 134,
"snippet": {
"text": " try {\n $sentMessage = $this->chatter->send($message);\n } catch (TransportExceptionInterface $e) {\n\n }"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "0e4776b9938fa7a1b2f31136f2956e06c7f34f60a73673edd25f9035151c1c83"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
{
"ruleId": "PhpUnusedLocalVariableInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Unused local variable 'sentMessage'. The value of the variable is not used anywhere.",
"markdown": "Unused local variable 'sentMessage'. The value of the variable is not used anywhere."
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Helper/Slack.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 24,
"startColumn": 13,
"charOffset": 515,
"charLength": 12,
"snippet": {
"text": "$sentMessage"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 22,
"startColumn": 1,
"charOffset": 488,
"charLength": 125,
"snippet": {
"text": "\n try {\n $sentMessage = $this->chatter->send($message);\n } catch (TransportExceptionInterface $e) {\n"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "2841931f1e6952dfffcf04acded3732ef2a2b28b05feea2bde98e73b0f78ecc4"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
},
{
"ruleId": "PhpUnusedLocalVariableInspection",
"kind": "fail",
"level": "note",
"message": {
"text": "Unused local variable 'io'. The value of the variable is overwritten immediately.",
"markdown": "Unused local variable 'io'. The value of the variable is overwritten immediately."
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Command/JtlExportCommand.php",
"uriBaseId": "SRCROOT"
},
"region": {
"startLine": 53,
"startColumn": 9,
"charOffset": 1632,
"charLength": 3,
"snippet": {
"text": "$io"
},
"sourceLanguage": "PHP"
},
"contextRegion": {
"startLine": 51,
"startColumn": 1,
"charOffset": 1534,
"charLength": 188,
"snippet": {
"text": " protected function execute(InputInterface $input, OutputInterface $output): int\n {\n $io = new SymfonyStyle($input, $output);\n// $arg1 = $input->getArgument('arg1');\n//"
},
"sourceLanguage": "PHP"
}
},
"logicalLocations": [
{
"fullyQualifiedName": "CdsConnector",
"kind": "module"
}
]
}
],
"partialFingerprints": {
"equalIndicator/v1": "8f2893d2bf83e86849bf61eb1decfeefd25237aeb22a084ba6a7a0199795b84e"
},
"properties": {
"ideaSeverity": "WEAK WARNING",
"qodanaSeverity": "Moderate"
}
}
],
"configProfile": "starter",
"deviceId": "12122226bdad6d8-8bde-49fc-beab-064b6471cefb"
}
}
],
"properties": {
"isIdeRun": true
}
}