-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from driehle/feat/upstream-workflows
Updated upstream workflows, adding composer-lint
- Loading branch information
Showing
5 changed files
with
43 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "Composer Lint" | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- "*.x" | ||
paths: | ||
- "composer.json" | ||
push: | ||
branches: | ||
- "*.x" | ||
paths: | ||
- "composer.json" | ||
|
||
jobs: | ||
composer-lint: | ||
name: "Composer Lint" | ||
uses: "doctrine/.github/.github/workflows/[email protected]" | ||
with: | ||
php-version: "8.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
{ | ||
"name": "doctrine/doctrine-mongo-odm-module", | ||
"description": "Laminas Module which provides Doctrine MongoDB ODM functionality", | ||
"license": "MIT", | ||
"keywords": [ | ||
"doctrine", | ||
"laminas", | ||
"mongodb", | ||
"module", | ||
"odm" | ||
], | ||
"homepage": "https://www.doctrine-project.org/", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Kyle Spraggs", | ||
|
@@ -44,17 +43,13 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"extra": { | ||
"laminas": { | ||
"module": "DoctrineMongoODMModule" | ||
} | ||
}, | ||
"homepage": "https://www.doctrine-project.org/", | ||
"require": { | ||
"php": "^7.4 || ~8.0.0 || ~8.1.0", | ||
"ext-mongodb": "*", | ||
"container-interop/container-interop": "^1.2.0", | ||
"doctrine/doctrine-module": "^5.2.1", | ||
"doctrine/doctrine-laminas-hydrator": "^3.0.1", | ||
"doctrine/doctrine-module": "^5.2.1", | ||
"doctrine/event-manager": "^1.1.1", | ||
"doctrine/mongodb-odm": "^2.3.2", | ||
"doctrine/persistence": "^2.4.0", | ||
|
@@ -83,8 +78,8 @@ | |
"vimeo/psalm": "^4.22.0" | ||
}, | ||
"suggest": { | ||
"laminas/laminas-form": "if you want to use form elements backed by Doctrine", | ||
"laminas/laminas-developer-tools": "laminas-developer-tools if you want to profile operations executed by the ODM during development" | ||
"laminas/laminas-developer-tools": "laminas-developer-tools if you want to profile operations executed by the ODM during development", | ||
"laminas/laminas-form": "if you want to use form elements backed by Doctrine" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
|
@@ -96,6 +91,21 @@ | |
"DoctrineMongoODMModuleTest\\": "tests/" | ||
} | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"composer/package-versions-deprecated": true | ||
}, | ||
"platform": { | ||
"ext-mongodb": "1.8.0" | ||
}, | ||
"sort-packages": true | ||
}, | ||
"extra": { | ||
"laminas": { | ||
"module": "DoctrineMongoODMModule" | ||
} | ||
}, | ||
"scripts": { | ||
"check": [ | ||
"@cs-check", | ||
|
@@ -109,15 +119,5 @@ | |
"psalm": "psalm --stats", | ||
"test": "phpunit --colors=always", | ||
"test-coverage": "phpunit --colors=always --coverage-clover=coverage.xml" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"platform": { | ||
"ext-mongodb": "1.8.0" | ||
}, | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"composer/package-versions-deprecated": true | ||
} | ||
} | ||
} |