Skip to content

Initialize bundle configuration with tests and CI - #1

Closed
GromNaN wants to merge 1 commit into
doctrine:0.1.xfrom
GromNaN:setup
Closed

Initialize bundle configuration with tests and CI#1
GromNaN wants to merge 1 commit into
doctrine:0.1.xfrom
GromNaN:setup

Conversation

@GromNaN

@GromNaN GromNaN commented Jan 6, 2026

Copy link
Copy Markdown
Member

Fix PHPORM-437

Initialize CI using doctrine/.github actions:

  • Unit tests
  • Static Analysis with PHPStan
  • Coding Style

@GromNaN GromNaN added this to the 0.1.0 milestone Jan 6, 2026
@GromNaN
GromNaN requested a review from Copilot January 6, 2026 14:50

Copilot AI left a comment

Copy link
Copy Markdown

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 initializes continuous integration and testing infrastructure for the MongoDB Maker Bundle, implementing unit tests, static analysis with PHPStan, and coding standards checks using GitHub Actions workflows from doctrine/.github.

Key changes:

  • Added PHPUnit test suite with initial bundle registration test
  • Configured static analysis (PHPStan level 8) and coding standards (Doctrine CS)
  • Set up CI workflows for automated testing, static analysis, and code style checks

Reviewed changes

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

Show a summary per file
File Description
tests/bootstrap.php Bootstrap file for test suite with error handler registration
tests/BundleTest.php Integration test verifying bundle registration and command loader functionality
src/MongoDBMakerBundle.php Converted from Bundle to AbstractBundle with configuration support
src/Maker/MakeDocument.php Stub implementation of document maker command
phpunit.xml.dist PHPUnit configuration with strict testing options
phpstan.neon.dist PHPStan configuration at level 8
phpcs.xml.dist PHP_CodeSniffer configuration using Doctrine standards
config/makers.php Service configuration for maker commands
composer.json Added dev dependencies and package configuration
.github/workflows/*.yml CI workflow definitions using reusable Doctrine workflows
.github/stale.yml Stale issue/PR automation configuration
.github/dependabot.yml Dependabot configuration for GitHub Actions
.gitattributes Git attributes for line endings and export exclusions

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

Comment thread src/Maker/MakeDocument.php Outdated
Comment thread src/MongoDBMakerBundle.php
Comment thread src/MongoDBMakerBundle.php
Comment thread .github/workflows/coding-standards.yml Outdated
@GromNaN

GromNaN commented Jan 7, 2026

Copy link
Copy Markdown
Member Author

Replaced by #2, the PR must come from the same repo to get the GitHub Actions to run.

@GromNaN GromNaN closed this Jan 7, 2026
@GromNaN
GromNaN deleted the setup branch January 7, 2026 10:18
@GromNaN GromNaN removed this from the 0.1.0 milestone Mar 20, 2026
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