Skip to content

Unpushed commits (local main ahead of origin/main)#29

Merged
StanBarrows merged 3 commits into
mainfrom
feature-dependency-bump-2026-03-20
Mar 20, 2026
Merged

Unpushed commits (local main ahead of origin/main)#29
StanBarrows merged 3 commits into
mainfrom
feature-dependency-bump-2026-03-20

Conversation

@StanBarrows
Copy link
Copy Markdown
Contributor

Local main was 3 commit(s) ahead of origin/main. Opened from update-opensource-active.sh for review.

Copilot AI review requested due to automatic review settings March 20, 2026 07:08
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR brings the local main branch changes into review, including minor PHP cleanup plus repository hygiene updates (security/contributing docs and Dependabot configuration).

Changes:

  • Refactors AuthorizationCodeGrant to import and use GetAccessTokenRequest via a use statement and simplifies @throws phpdoc types.
  • Adds root-level SECURITY.md and CONTRIBUTING.md.
  • Expands .github/dependabot.yml to add daily update checks, grouping, and additional ecosystems.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/Traits/AuthorizationCodeGrant.php Small import/refactor and phpdoc cleanup for OAuth authorization code grant helpers.
SECURITY.md Adds a security policy document at repository root.
CONTRIBUTING.md Adds a contributing guide at repository root.
.github/dependabot.yml Adds daily schedules, grouping, and new ecosystems (npm/composer) for Dependabot.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread SECURITY.md
@@ -0,0 +1,3 @@
# Security Policy

If you discover any security related issues, please email info@codebar.ch instead of using the issue tracker.
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SECURITY.md already exists under .github/SECURITY.md with the same content; keeping both introduces duplication and the risk of the policies diverging later. Prefer keeping a single canonical security policy file (either the root file or the .github/ one) and remove the duplicate.

Suggested change
If you discover any security related issues, please email info@codebar.ch instead of using the issue tracker.
The canonical security policy for this project is maintained at `.github/SECURITY.md`.
Please refer to that file for up-to-date information on how to report security issues and our security response process.

Copilot uses AI. Check for mistakes.
Comment thread .github/dependabot.yml
Comment on lines +14 to +26
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-type: "direct"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-major" ]
groups:
minor-and-patch:
update-types: [ "minor", "patch" ]

Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This repo doesn't appear to contain a package.json/yarn.lock/pnpm lockfile, so a Dependabot package-ecosystem: "npm" entry targeting directory: "/" will fail and repeatedly report configuration errors. Remove the npm update block or point it at the directory that actually contains the Node manifest(s).

Suggested change
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-type: "direct"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-major" ]
groups:
minor-and-patch:
update-types: [ "minor", "patch" ]

Copilot uses AI. Check for mistakes.
Comment thread CONTRIBUTING.md
Comment on lines +1 to +5
# Contributing

Contributions are **welcome** and will be fully **credited**.

Please read and understand the contribution guide before creating an issue or pull request.
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CONTRIBUTING.md already exists under .github/CONTRIBUTING.md with the same content; adding a second copy at the repository root increases the chance the two drift over time and creates ambiguity about which one contributors should follow. Prefer keeping a single canonical contributing guide (either the root file or the .github/ one) and remove the duplicate.

Copilot uses AI. Check for mistakes.
@StanBarrows StanBarrows merged commit 3c71481 into main Mar 20, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants