{"id":18834161,"url":"https://github.com/securingsincity/vs-code-phpunit-snippets","last_synced_at":"2026-01-26T04:30:19.022Z","repository":{"id":66160448,"uuid":"70853214","full_name":"securingsincity/vs-code-phpunit-snippets","owner":"securingsincity","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-13T22:35:33.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T07:27:58.120Z","etag":null,"topics":["phpunit","vscode"],"latest_commit_sha":null,"homepage":null,"language":null,"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/securingsincity.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-10-13T22:28:20.000Z","updated_at":"2018-02-19T14:11:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"e737d957-7ab0-415d-99b8-6d38d6dc229e","html_url":"https://github.com/securingsincity/vs-code-phpunit-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/securingsincity%2Fvs-code-phpunit-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/securingsincity%2Fvs-code-phpunit-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/securingsincity%2Fvs-code-phpunit-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/securingsincity%2Fvs-code-phpunit-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/securingsincity","download_url":"https://codeload.github.com/securingsincity/vs-code-phpunit-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239768930,"owners_count":19693764,"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","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":["phpunit","vscode"],"created_at":"2024-11-08T02:09:32.955Z","updated_at":"2026-01-26T04:30:18.922Z","avatar_url":"https://github.com/securingsincity.png","language":null,"readme":"# phpunit-snippets README\n\nPHPUnit snippets for VSCode\n\nSnippets\n--------\n\nList of snippets\n\n### Assertions\n\n- **assahk** `assertArrayHasKey()`\n- **assae** `assertAttributeEquals()`\n- **asscha** `assertClassHasAttribute()`\n- **asschsa** `assertClassHasStaticAttribute()`\n- **assc** `assertContains()`\n- **assco** `assertContainsOnly()`\n- **asscu** `assertCount()`\n- **asse** `assertEquals()`\n- **assem** `assertEmpty()`\n- **assexml** `assertEqualXMLStructure()`\n- **assf** `assertFalse()`\n- **assfe** `assertFileEquals()`\n- **assfx** `assertFileExists()`\n- **assgt** `assertGreatherThan()`\n- **assgte** `assertGreaterThanOrEqual()`\n- **assio** `assertInstanceOf()`\n- **assit** `assertInternalType()`\n- **asslt** `assertLessThan()`\n- **asslte** `assertLessThanOrEqual()`\n- **assnn** `assertNotNull()`\n- **assn** `assertNull()`\n- **assoha** `assertObjectHasAttribute()`\n- **assre** `assertRegExp()`\n- **asss** `assertSame()`\n- **asssc** `assertSelectCount()`\n- **assse** `assertSelectEquals()`\n- **asssef** `assertStringEqualsFile()`\n- **asssew** `assertStringEndsWith()`\n- **asssmf** `assertStringMatchesFormat()`\n- **asssmff** `assertStringMatchesFormatFile()`\n- **asssre** `assertSelectRegExp()`\n- **assssw** `assertStringStartsWith()`\n- **asst** `assertTrue()`\n- **assta** `assertTag()`\n- **assxmlfef** `assertXmlFileEqualsXmlFile()`\n- **assxmlsef** `assertXmlStringEqualsXmlFile()`\n- **assxmlses** `assertXmlStringEqualsXmlString()`\n\n### Set up and tear down\n\n**setup**\n\n\tpublic function setUp()\n\t{\n\t\t// set up\n\t}\n\n**teardown**\n\n\tpublic function tearDown()\n\t{\n\t\t// tear down\n\t}\n\n### Tests\n\n**test**\n\n\t/**\n\t * @covers [Class]::[Method]()\n\t */\n\tpublic function test[Method]()\n\t{\n\t\t// assertions\n\t}\n\n**test2**\n\n\t/**\n\t * @covers [Class]::[Method1]()\n\t * @covers [Class]::[Method2]()\n\t */\n\tpublic function test[Method1]_[Method2]()\n\t{\n\t\t// assertions\n\t}\n\n**testex**\n\n\t/**\n\t * @covers [Class]::[Method]()\n\t * @expectedException [Exception]\n\t */\n\tpublic function test[Method]()\n\t{\n\t\t// assertions\n\t}\n\n**testi**\n\n\t/**\n\t * @covers [Class]::[Method]()\n\t */\n\tpublic function test[Method]()\n\t{\n\t    $this-\u003emarkTestIncomplete('Not yet implemented');\n\t}\n\n\n### For more information\n* [Github](https://github.com/securingsincity/vs-code-phpunit-snippets)\n* Based on the work of [Florian Eckerstorfer](http://florianeckerstorfer.com)  \n* based on this repo for sublime[fe-sublime-phpunit] https://github.com/florianeckerstorfer/fe-sublime-phpunit\n\n**Enjoy!**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecuringsincity%2Fvs-code-phpunit-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecuringsincity%2Fvs-code-phpunit-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecuringsincity%2Fvs-code-phpunit-snippets/lists"}