{"id":80247,"url":"https://github.com/mglaman/phpstan-drupal","last_synced_at":"2026-04-02T06:20:43.995Z","repository":{"id":38850236,"uuid":"160881720","full_name":"mglaman/phpstan-drupal","owner":"mglaman","description":"Extension for PHPStan to allow analysis of Drupal code.","archived":false,"fork":false,"pushed_at":"2025-08-16T22:56:42.000Z","size":1181,"stargazers_count":207,"open_issues_count":113,"forks_count":82,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-08-17T00:19:03.228Z","etag":null,"topics":["drupal","hacktoberfest","php","phpstan","static-analysis"],"latest_commit_sha":null,"homepage":"https://phpstan-drupal.mglaman.dev/","language":"PHP","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/mglaman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"mglaman","patreon":null,"open_collective":"phpstan-drupal","tidelift":"packagist/mglaman/phpstan-drupal","ko_fi":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-12-07T22:26:26.000Z","updated_at":"2025-08-08T11:49:51.000Z","dependencies_parsed_at":"2023-11-23T20:06:17.648Z","dependency_job_id":"895e8fdc-1f9d-4b65-92a0-de2c325f8214","html_url":"https://github.com/mglaman/phpstan-drupal","commit_stats":{"total_commits":548,"total_committers":60,"mean_commits":9.133333333333333,"dds":"0.30109489051094895","last_synced_commit":"2ff2cc855820553c266077cd9e42c6f128288166"},"previous_names":[],"tags_count":109,"template":false,"template_full_name":null,"purl":"pkg:github/mglaman/phpstan-drupal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fphpstan-drupal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fphpstan-drupal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fphpstan-drupal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fphpstan-drupal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mglaman","download_url":"https://codeload.github.com/mglaman/phpstan-drupal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fphpstan-drupal/sbom","scorecard":{"id":208728,"data":{"date":"2025-08-11","repo":{"name":"github.com/mglaman/phpstan-drupal","commit":"bd061e32f8cbf71f9a1b99d4e8c7f25aacef43cc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.9,"checks":[{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/SECURITY.md:1","Info: Found linked content: .github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/SECURITY.md:1","Info: Found text in security policy: .github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Maintained","score":10,"reason":"19 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":7,"reason":"Found 21/30 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/php.yml:1","Warn: no topLevel permission defined: .github/workflows/release-post.yml:1","Warn: no topLevel permission defined: .github/workflows/release-toot.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:101: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:177: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:179: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:186: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:217: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:230: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:236: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:250: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-post.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/release-post.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-toot.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/mglaman/phpstan-drupal/release-toot.yml/main?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  12 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'allow deletion' disabled on branch '1.x'","Info: 'force pushes' disabled on branch 'main'","Info: 'force pushes' disabled on branch '1.x'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch '1.x'","Warn: could not determine whether codeowners review is allowed","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'main'","Warn: no status checks found to merge onto branch '1.x'","Warn: PRs are not required to make changes on branch 'main'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings","Warn: PRs are not required to make changes on branch '1.x'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T00:19:17.413Z","repository_id":38850236,"created_at":"2025-08-17T00:19:17.413Z","updated_at":"2025-08-17T00:19:17.413Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272498268,"owners_count":24944819,"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-08-28T02:00:10.768Z","response_time":74,"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":["drupal","hacktoberfest","php","phpstan","static-analysis"],"created_at":"2024-01-26T02:03:16.916Z","updated_at":"2025-08-28T12:21:17.361Z","avatar_url":"https://github.com/mglaman.png","language":"PHP","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/80247","html_url":"https://opencollective.ecosyste.ms/projects/80247","collective":{"id":1328,"uuid":"ov349mrw-gz75lpyy-v08pa08d-jeybknox","slug":"phpstan-drupal","name":"phpstan-drupal","description":"Building the PHPStan Drupal extension","website":"","github":"mglaman/phpstan-drupal","twitter":null,"repository_url":null,"social_links":[{"type":"GITHUB","url":"https://github.com/mglaman/phpstan-drupal"}],"currency":"USD","projects_count":1,"last_synced_at":"2026-04-16T00:15:23.365Z","created_at":"2024-01-10T13:17:50.049Z","updated_at":"2026-04-16T00:15:23.530Z","transactions_count":169,"balance":4.263256414560601e-14,"account_type":"COLLECTIVE","owner":{"login":"mglaman","name":"Matt Glaman","uuid":"3698644","kind":"user","description":"Principal Software Engineer at @acquia","email":"","website":"https://mglaman.dev/","location":"Kenosha, WI","twitter":"nmdmatt","company":"@acquia","icon_url":"https://avatars.githubusercontent.com/u/3698644?u=21d1c1d2e126a8ebf7fc2165ebc939ecf18788f5\u0026v=4","repositories_count":272,"last_synced_at":"2024-04-14T17:21:15.039Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/mglaman","funding_links":["https://github.com/sponsors/mglaman"],"total_stars":1331,"followers":329,"following":33,"created_at":"2022-11-05T02:46:42.472Z","updated_at":"2024-04-14T17:21:46.145Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mglaman","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mglaman/repositories"},"last_project_activity_at":"2025-08-16T22:56:42.000Z","archived":false,"no_funding":false,"no_license":false,"host":"opensource","collective_created_at":"2021-02-28T22:21:57.132Z","collective_updated_at":"2021-03-05T05:04:05.685Z","html_url":"https://opencollective.com/phpstan-drupal","icon_url":"https://images.opencollective.com/phpstan-drupal/logo/40.png","total_donations":608.3900000000004,"total_expenses":-686.2100000000003,"current_balance":4.263256414560601e-14,"api_url":"https://opencollective.ecosyste.ms/api/v1/collectives/phpstan-drupal","url":"https://opencollective.ecosyste.ms/collectives/phpstan-drupal","projects_url":"https://opencollective.ecosyste.ms/api/v1/collectives/phpstan-drupal/projects"}}