{"id":481902,"name":"brainbits/phpstan-rules","ecosystem":"packagist","description":"PHPStan extension with opinionated strict rules for better code in tests.","homepage":"https://github.com/brainbits/phpstan-rules","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/brainbits/phpstan-rules","keywords_array":["tests","PHPStan","phpstan-rules"],"namespace":"brainbits","versions_count":9,"first_release_published_at":"2020-02-12T14:59:07.000Z","latest_release_published_at":"2024-11-11T15:16:36.000Z","latest_release_number":"4.0.0","last_synced_at":"2026-09-03T03:52:16.407Z","created_at":"2022-04-07T01:37:08.184Z","updated_at":"2026-09-07T11:36:40.204Z","registry_url":"https://packagist.org/packages/brainbits/phpstan-rules#","install_command":"composer require brainbits/phpstan-rules","documentation_url":null,"metadata":{"funding":[]},"repo_metadata":{"id":46283268,"uuid":"240021562","full_name":"brainbits/phpstan-rules","owner":"brainbits","description":"brainbits phpstan rules","archived":false,"fork":false,"pushed_at":"2025-08-08T13:36:48.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-09-03T12:15:37.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brainbits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-02-12T13:37:35.000Z","updated_at":"2026-04-21T09:41:20.000Z","dependencies_parsed_at":"2024-11-08T16:35:10.639Z","dependency_job_id":"6565bfe1-6bdd-437b-981a-3de80f7011ae","html_url":"https://github.com/brainbits/phpstan-rules","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"25cc80076606aa075a19b0e875df8ce6d29efa5a"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/brainbits/phpstan-rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainbits","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37115034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-07T02:00:07.396Z","response_time":63,"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"},"owner_record":{"login":"brainbits","name":"brainbits GmbH","uuid":"353782","kind":"organization","description":"","email":"info@brainbits.net","website":"http://www.brainbits.net/","location":"Cologne","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/353782?v=4","repositories_count":22,"last_synced_at":"2024-04-14T19:38:16.960Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/brainbits","funding_links":[],"total_stars":23,"followers":2,"following":0,"created_at":"2022-11-02T16:41:39.167Z","updated_at":"2024-04-14T19:38:20.396Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainbits","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainbits/repositories"},"tags":[{"name":"4.0.0","sha":"864df9344b7a19442a173ebdefccdb9a493a3b8e","kind":"commit","published_at":"2024-11-11T15:16:36.000Z","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/4.0.0","html_url":"https://github.com/brainbits/phpstan-rules/releases/tag/4.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/brainbits/phpstan-rules@4.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/4.0.0/manifests"},{"name":"3.1.2","sha":"e7572038508092a9fcca055521e287dd00599aaf","kind":"commit","published_at":"2024-02-21T11:06:19.000Z","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/3.1.2","html_url":"https://github.com/brainbits/phpstan-rules/releases/tag/3.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/brainbits/phpstan-rules@3.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.1.2/manifests"},{"name":"3.1.1","sha":"32583d5e81084a018ef278a54a1123350fefdb10","kind":"commit","published_at":"2024-02-21T11:03:05.000Z","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/3.1.1","html_url":"https://github.com/brainbits/phpstan-rules/releases/tag/3.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/brainbits/phpstan-rules@3.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.1.1/manifests"},{"name":"3.1.0","sha":"19ff4b2d331b091b537189ef0f522be3845455af","kind":"commit","published_at":"2024-02-21T10:55:32.000Z","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/3.1.0","html_url":"https://github.com/brainbits/phpstan-rules/releases/tag/3.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/brainbits/phpstan-rules@3.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.1.0/manifests"},{"name":"3.0.1","sha":"25cc80076606aa075a19b0e875df8ce6d29efa5a","kind":"tag","published_at":"2022-09-01T06:43:13.000Z","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/3.0.1","html_url":"https://github.com/brainbits/phpstan-rules/releases/tag/3.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/brainbits/phpstan-rules@3.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.0.1/manifests"},{"name":"3.0.0","sha":"56ee1cff38f32fc14a57a051811ad1ae25506b85","kind":"tag","published_at":"2021-11-02T11:06:32.000Z","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/3.0.0","html_url":"https://github.com/brainbits/phpstan-rules/releases/tag/3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/brainbits/phpstan-rules@3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/3.0.0/manifests"},{"name":"2.0.0","sha":"d0b573d5922681eb9e49ebfc7ac7fd30b0220b99","kind":"tag","published_at":"2021-04-26T15:01:19.000Z","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/2.0.0","html_url":"https://github.com/brainbits/phpstan-rules/releases/tag/2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/brainbits/phpstan-rules@2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/2.0.0/manifests"},{"name":"1.0.1","sha":"7738391dad20f7d76d2a5cc408978d3167b37e82","kind":"tag","published_at":"2020-11-26T17:57:25.000Z","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/1.0.1","html_url":"https://github.com/brainbits/phpstan-rules/releases/tag/1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/brainbits/phpstan-rules@1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/1.0.1/manifests"},{"name":"1.0.0","sha":"7d458282e056441e0864e9946f08bd01d0725689","kind":"tag","published_at":"2020-02-17T15:26:34.000Z","download_url":"https://codeload.github.com/brainbits/phpstan-rules/tar.gz/1.0.0","html_url":"https://github.com/brainbits/phpstan-rules/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/brainbits/phpstan-rules@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/tags/1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-07T11:36:40.204Z","dependent_packages_count":9,"downloads":276283,"downloads_period":"total","dependent_repos_count":6,"rankings":{"downloads":10.020356819534545,"dependent_repos_count":6.142933250627174,"dependent_packages_count":1.8920730517775233,"stargazers_count":24.984992496248122,"forks_count":16.412956478239117,"docker_downloads_count":null,"average":11.890662419285295},"purl":"pkg:composer/brainbits/phpstan-rules","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/packagist/brainbits/phpstan-rules","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/packagist/brainbits/phpstan-rules","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/packagist/brainbits/phpstan-rules/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-03T12:14:46.451Z","issues_count":0,"pull_requests_count":23,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":2340107.285714286,"issues_closed_count":0,"pull_requests_closed_count":21,"pull_request_authors_count":3,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":1.1304347826086958,"merged_pull_requests_count":15,"bot_issues_count":0,"bot_pull_requests_count":19,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainbits%2Fphpstan-rules/issues","maintainers":[{"login":"temp","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/temp"},{"login":"daFish","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/daFish"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/brainbits%2Fphpstan-rules/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/brainbits%2Fphpstan-rules/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/brainbits%2Fphpstan-rules/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/brainbits%2Fphpstan-rules/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/brainbits%2Fphpstan-rules/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/brainbits%2Fphpstan-rules/codemeta","maintainers":[{"uuid":"brainbits","login":"brainbits","name":null,"email":null,"url":null,"packages_count":12,"html_url":"https://packagist.org/users/brainbits","role":null,"created_at":"2022-11-08T21:38:20.616Z","updated_at":"2022-11-08T21:38:20.616Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/maintainers/brainbits/packages"}]}