{"id":28121207,"url":"https://github.com/i582/intellij-kphp-highlighting-test-adapter","last_synced_at":"2025-09-04T18:52:32.068Z","repository":{"id":48277234,"uuid":"516816426","full_name":"i582/intellij-kphp-highlighting-test-adapter","owner":"i582","description":"Library for testing highlighting in plugins for IDEA in KPHP format.","archived":false,"fork":false,"pushed_at":"2022-07-22T17:00:55.000Z","size":63,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T07:51:27.360Z","etag":null,"topics":["intellij-plugin","testing"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i582.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-22T16:23:45.000Z","updated_at":"2022-07-23T21:06:21.000Z","dependencies_parsed_at":"2022-08-30T09:22:09.013Z","dependency_job_id":null,"html_url":"https://github.com/i582/intellij-kphp-highlighting-test-adapter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/i582/intellij-kphp-highlighting-test-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i582%2Fintellij-kphp-highlighting-test-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i582%2Fintellij-kphp-highlighting-test-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i582%2Fintellij-kphp-highlighting-test-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i582%2Fintellij-kphp-highlighting-test-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i582","download_url":"https://codeload.github.com/i582/intellij-kphp-highlighting-test-adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i582%2Fintellij-kphp-highlighting-test-adapter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273657072,"owners_count":25145003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["intellij-plugin","testing"],"created_at":"2025-05-14T07:42:26.418Z","updated_at":"2025-09-04T18:52:32.046Z","avatar_url":"https://github.com/i582.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# intellij-kphp-highlighting-test-adapter\n\nLibrary for testing highlighting in plugins for IDEA in KPHP format.\n\n## Installation\n\n### Kotlin DSL\n\n```kotlin\nplugins {\n    id(\"com.vk.intellij-kphp-highlighting-test-adapter\") version \"0.1.0\"\n}\n```\n\n### Gradle DSL\n\n```groovy\nplugins {\n    id 'com.vk.intellij-kphp-highlighting-test-adapter' version \"0.1.0\"\n}\n```\n\n## Test Format\n\n```text\n\u003ccode line\u003e\n//    ^^^^ \u003c- range in line\n//    \u003ctype\u003e: \u003cmessage\u003e\n```\n\nExample:\n\n```php\n$a = new Message();\n//       ^^^^^^^\n//       error: Undefined class 'Message'\n```\n\nMessage can be multiline:\n\n```php\necho($a);\n//   ^^\n//   error: Can't find variable: $a\n//          Maybe you meant $b?\n```\n\n## Motivation\n\nThe standard test format for IDEA requires describing the error directly in the code using XML.\nBecause of this, the standard highlighting in the IDE breaks and gives a lot of errors.\n\nTherefore, we came up with this format for tests in IDEA.\nIt allows you to conveniently describe errors in the code in the form of comments,\nwhile the highlighting doesn't break.\n\n## License\n\nThis project is under the MIT License. See the \n[LICENSE](./LICENSE)\nfile for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi582%2Fintellij-kphp-highlighting-test-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi582%2Fintellij-kphp-highlighting-test-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi582%2Fintellij-kphp-highlighting-test-adapter/lists"}