Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add php8 check+change dependencies:use psr/container package #1

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
3 changes: 1 addition & 2 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ tools:
filter:
paths: ["src/*"]
php_pdepend:
enabled: true
excluded_dirs: ["tests", "vendor"]
php_analyzer: true
php_analyzer:
enabled: true
filter:
paths: ["src/*", "tests/*"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ where it expects the discriminator map configuration and returns a
a configured `Facile\DoctrineDDM\MetadataListener` instance.


### Zend Framework and Zend Expressive
### Laminas Framework and Mezzio

With [DoctrineORMModule](https://github.com/doctrine/DoctrineORMModule):

Expand All @@ -149,7 +149,7 @@ use Facile\DoctrineDDM\Configuration\Metadata;
use My\Namespace\Entity;

return [
'service_manager' => [ // or "dependencies" for zend-expressive
'service_manager' => [ // or "dependencies" for Mezzio
'factories' => [
// register the configuration factory
Metadata::class => MetadataConfigFactory::class,
Expand Down
16 changes: 12 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@
}
},
"require": {
"php": "^7.0",
"php": "^7.2 || ^8.0",
"doctrine/orm": "^2.4",
"container-interop/container-interop": "^1.0"
"psr/container": "^1.0 || ^2.0"
},
"require-dev": {
"facile-it/facile-coding-standard": "dev-master",
"phpunit/phpunit": "^5.7",
"phpunit/phpunit": "^9.0",
"phpspec/prophecy": "^1.6.0",
"doctrine/data-fixtures": "^1.2"
"doctrine/data-fixtures": "^1.2",
"doctrine/cache": "1.11",
"doctrine/annotations": "^1.12",
"doctrine/common": "3.0"
},
"autoload": {
"psr-4": {
Expand All @@ -51,5 +54,10 @@
"@cs-check",
"phpunit"
]
},
"config": {
"allow-plugins": {
"facile-it/facile-coding-standard": true
}
}
}
Loading