Skip to content

Commit 78d4bec

Browse files
authored
Merge pull request #608 from doctrine/develop
Develop
2 parents 5693988 + 2637f48 commit 78d4bec

File tree

101 files changed

+3875
-3133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+3875
-3133
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ vendor/
33
phpunit.xml
44
.project/
55
nbproject/
6-
composer.phar
6+
composer.phar
7+
.phpcs-cache
8+
.phpunit.result.cache

.travis.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,17 @@ env:
1515
matrix:
1616
fast_finish: true
1717
include:
18-
- php: 7.1
19-
env:
20-
- DEPS=lowest
21-
- php: 7.1
22-
env:
23-
- DEPS=locked
24-
- TEST_COVERAGE=true
25-
- php: 7.1
26-
env:
27-
- DEPS=latest
28-
- php: 7.1
29-
env:
30-
- DEPS=dev
3118
- php: 7.2
3219
env:
3320
- DEPS=lowest
3421
- php: 7.2
3522
env:
3623
- DEPS=locked
3724
- CS_CHECK=true
25+
- TEST_COVERAGE=true
3826
- php: 7.2
3927
env:
4028
- DEPS=latest
41-
- php: 7.2
42-
env:
43-
- DEPS=dev
4429
- php: 7.3
4530
env:
4631
- DEPS=lowest
@@ -50,26 +35,20 @@ matrix:
5035
- php: 7.3
5136
env:
5237
- DEPS=latest
53-
- php: 7.3
54-
env:
55-
- DEPS=dev
56-
- php: 7.4snapshot
38+
- php: 7.4
5739
env:
5840
- DEPS=lowest
59-
- php: 7.4snapshot
41+
- php: 7.4
6042
env:
6143
- DEPS=locked
62-
- php: 7.4snapshot
44+
- php: 7.4
6345
env:
6446
- DEPS=latest
65-
allow_failures:
66-
- php: 7.4snapshot
6747

6848
before_install:
6949
- mysql -e 'CREATE DATABASE `database`;'
7050

7151
install:
72-
- if [[ $DEPS == 'dev' ]]; then travis_retry composer config minimum-stability dev ; fi
7352
- travis_retry composer install $COMPOSER_ARGS
7453
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
7554
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
@@ -89,3 +68,4 @@ after_script:
8968
- rm -Rf config/application.config.php
9069
- if [[ $TEST_COVERAGE == 'true' ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
9170
- if [[ $TEST_COVERAGE == 'true' ]]; then php ocular.phar code-coverage:upload --format=php-clover ./build/clover.xml; fi
71+

.travis/config/application.config.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
return [
44
'modules' => [
5-
'Zend\Cache',
6-
'Zend\Form',
7-
'Zend\Hydrator',
8-
'Zend\Mvc\Console',
9-
'Zend\Paginator',
10-
'Zend\Router',
11-
'Zend\Validator',
5+
'Laminas\Cache',
6+
'Laminas\Form',
7+
'Laminas\Hydrator',
8+
'Laminas\Mvc\Console',
9+
'Laminas\Paginator',
10+
'Laminas\Router',
11+
'Laminas\Validator',
1212
'DoctrineModule',
1313
'DoctrineORMModule',
1414
],

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Doctrine 2 ORM Module for Zend Framework
1+
# Doctrine 2 ORM Module for Laminas
22

33
[![Master branch build status](https://secure.travis-ci.org/doctrine/DoctrineORMModule.png?branch=master)](http://travis-ci.org/doctrine/DoctrineORMModule) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/doctrine/DoctrineORMModule/badges/quality-score.png?s=1e2a047fb1bb0f66937bcbc3a61f960c8089c835)](https://scrutinizer-ci.com/g/doctrine/DoctrineORMModule/) [![Code Coverage](https://scrutinizer-ci.com/g/doctrine/DoctrineORMModule/badges/coverage.png?s=377656ded5ffaaf4635acfb26729caa212fb5d76)](https://scrutinizer-ci.com/g/doctrine/DoctrineORMModule/) [![Latest Stable Version](https://poser.pugx.org/doctrine/doctrine-orm-module/v/stable.png)](https://packagist.org/packages/doctrine/doctrine-orm-module) [![Total Downloads](https://poser.pugx.org/doctrine/doctrine-orm-module/downloads.png)](https://packagist.org/packages/doctrine/doctrine-orm-module)
44

5-
DoctrineORMModule integrates Doctrine 2 ORM with Zend Framework quickly and easily.
5+
DoctrineORMModule integrates Doctrine 2 ORM with Laminas quickly and easily.
66

77
- Doctrine 2 ORM support
88
- Multiple ORM entity managers

composer.json

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "doctrine/doctrine-orm-module",
3-
"description": "Zend Framework Module that provides Doctrine ORM functionality",
3+
"description": "Laminas Module that provides Doctrine ORM functionality",
44
"type": "library",
55
"license": "MIT",
66
"keywords": [
77
"doctrine",
88
"orm",
99
"module",
10-
"zf"
10+
"laminas"
1111
],
1212
"homepage": "http://www.doctrine-project.org/",
1313
"authors": [
@@ -29,41 +29,45 @@
2929
{
3030
"name": "Guilherme Blanco",
3131
"email": "guilhermeblanco@hotmail.com"
32+
},
33+
{
34+
"name": "Tom H Anderson",
35+
"email": "tom.h.anderson@gmail.com"
3236
}
3337
],
3438
"extra": {
35-
"zf": {
39+
"laminas": {
3640
"config-provider": "DoctrineORMModule\\ConfigProvider",
3741
"module": "DoctrineORMModule"
3842
}
3943
},
4044
"require": {
41-
"php": "^7.1",
42-
"doctrine/doctrine-module": "^2.1.3",
43-
"doctrine/orm": "^2.6.3",
44-
"doctrine/dbal": "^2.6.0",
45-
"symfony/console": "^3.3 || ^4.0 || ^5.0",
46-
"zendframework/zend-stdlib": "^3.2.1",
47-
"zendframework/zend-hydrator": "^2.3",
48-
"zendframework/zend-mvc": "^3.1",
49-
"zendframework/zend-servicemanager": "^3.3"
45+
"php": "^7.2",
46+
"doctrine/dbal": "^2.10",
47+
"doctrine/doctrine-module": "^4.0",
48+
"doctrine/orm": "^2.6.4",
49+
"symfony/console": "^5.0"
5050
},
5151
"require-dev": {
52-
"phpunit/phpunit": "^7.0.3",
53-
"squizlabs/php_codesniffer": "^2.7",
54-
"doctrine/data-fixtures": "^1.2.1",
55-
"doctrine/migrations": "^1.5 || ^2.0",
56-
"zendframework/zend-console": "^2.6",
57-
"zendframework/zend-developer-tools": "^1.1",
58-
"zendframework/zend-i18n": "^2.7.3",
59-
"zendframework/zend-log": "^2.9",
60-
"zendframework/zend-modulemanager": "^2.7.2",
61-
"zendframework/zend-mvc-console": "^1.2",
62-
"zendframework/zend-serializer": "^2.8"
52+
"doctrine/annotations": "^1.8",
53+
"doctrine/coding-standard": "^7.0.2",
54+
"doctrine/data-fixtures": "^1.2.1",
55+
"doctrine/migrations": "^1.5 || ^2.0",
56+
"laminas/laminas-code": "^3.3.2",
57+
"laminas/laminas-console": "^2.6",
58+
"laminas/laminas-developer-tools": "^1.1",
59+
"laminas/laminas-i18n": "^2.7.3",
60+
"laminas/laminas-log": "^2.9",
61+
"laminas/laminas-modulemanager": "^2.7.2",
62+
"laminas/laminas-mvc-console": "^1.2",
63+
"laminas/laminas-serializer": "^2.8",
64+
"ocramius/proxy-manager": "^2.2",
65+
"phpunit/phpunit": "^8.5",
66+
"squizlabs/php_codesniffer": "^3.5"
6367
},
6468
"suggest": {
65-
"zendframework/zend-form": "if you want to use form elements backed by Doctrine",
66-
"zendframework/zend-developer-tools": "zend-developer-tools if you want to profile operations executed by the ORM during development",
69+
"laminas/laminas-form": "if you want to use form elements backed by Doctrine",
70+
"laminas/laminas-developer-tools": "laminas-developer-tools if you want to profile operations executed by the ORM during development",
6771
"doctrine/migrations": "doctrine migrations if you want to keep your schema definitions versioned"
6872
},
6973
"autoload": {
@@ -76,15 +80,15 @@
7680
},
7781
"autoload-dev": {
7882
"psr-0": {
79-
"DoctrineORMModuleTest\\": "tests/"
83+
"DoctrineORMModuleTest\\": "test/"
8084
}
8185
},
8286
"scripts": {
8387
"check": [
8488
"@cs-check",
8589
"@test"
8690
],
87-
"cs-check": "phpcs",
91+
"cs-check": "phpcs --standard=Doctrine src",
8892
"cs-fix": "phpcbf",
8993
"test": "phpunit --colors=always",
9094
"test-coverage": "phpunit --coverage-clover build/clover.xml"

0 commit comments

Comments
 (0)