Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Auto-detect text files, ensure they use LF.
* text=auto eol=lf

# Exclude non-essential files from dist
/.* export-ignore
/*.dist export-ignore
/.neon export-ignore
/docs export-ignore
/tests export-ignore
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "CI"
27 changes: 27 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 30

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed
daysUntilClose: 7

# Issues or Pull Requests with these labels will never be considered stale
exemptLabels:
- Bug

# Don't mark Issues or Pull Requests in a project as stale
exemptProjects: true

# Don't mark Issues or Pull Requests with a milestone as stale
exemptMilestones: true

staleLabel: Stale

# This comment will be posted when an Issue or Pull Request is marked as stale.
markComment: >
This issue has been automatically marked as stale because it has not had any
recent activity. It will be closed in a week if no further activity occurs.
Thank you for your contributions.

# Don't post a comment when unmarking or closing a stale Issue or Pull Request
unmarkComment: false
closeComment: false
15 changes: 15 additions & 0 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Coding Standards"

on:
pull_request:
branches:
- "*.x"
- "feature/*"
push:
branches:
- "*.x"

jobs:
coding-standards:
name: "Coding Standards"
uses: "doctrine/.github/.github/workflows/coding-standards.yml@13.1.0"
18 changes: 18 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Continuous Integration"

on:
pull_request:
branches:
- "*.x"
push:
branches:
- "*.x"

jobs:
phpunit:
name: "PHPUnit"
uses: "doctrine/.github/.github/workflows/continuous-integration.yml@13.1.0"
with:
php-versions: '["8.4", "8.5"]'
secrets:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
16 changes: 16 additions & 0 deletions .github/workflows/release-on-milestone-closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Automatic Releases"

on:
milestone:
types:
- "closed"

jobs:
release:
name: "Git tag, release & create merge-up PR"
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@13.1.0"
secrets:
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}
14 changes: 14 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Static Analysis"

on:
pull_request:
branches:
- "*.x"
push:
branches:
- "*.x"

jobs:
static-analysis:
name: "Static Analysis"
uses: "doctrine/.github/.github/workflows/static-analysis.yml@13.1.0"
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
/vendor/
/.phpcs-cache
/.phpunit.result.cache
/composer.lock
/phpcs.xml
/phpunit.xml
/var
/vendor
17 changes: 11 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "doctrine/mongodb-maker-bundle",
"description": "Symfony MakerBundle for MongoDB ODM",
"keywords": ["mongodb", "maker", "odm", "dev"],
"type": "symfony-bundle",
"require": {
"php": "^8.4",
Expand All @@ -10,7 +11,11 @@
"symfony/http-kernel": "^7.4|^8"
},
"require-dev": {
"phpunit/phpunit": "^12.5"
"doctrine/coding-standard": "^14",
"phpstan/phpstan": "^2.1.30",
"phpstan/phpstan-phpunit": "^2.0.7",
"phpunit/phpunit": "^12.5",
"symfony/framework-bundle": "^7.4|^8"
},
"license": "MIT",
"autoload": {
Expand All @@ -23,10 +28,10 @@
"Doctrine\\Bundle\\MongoDBMakerBundle\\Tests\\": "tests"
}
},
"authors": [
{
"name": "Jérôme Tamarelle",
"email": "jerome@tamarelle.net"
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
]
}
}
Loading
Loading