Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 2e60c61

Browse files
committedMar 26, 2019
Merging develop to master in preparation for 1.5.0 release.
2 parents 94e743e + 70bde12 commit 2e60c61

8 files changed

+153
-72
lines changed
 

‎.travis.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
sudo: false
2-
31
language: php
42

53
cache:
@@ -84,6 +82,18 @@ matrix:
8482
env:
8583
- DEPS=latest
8684
- TESTS_ZEND_DIAGNOSTICS_MEMCACHED_ENABLED=true
85+
- php: 7.3
86+
env:
87+
- DEPS=lowest
88+
- TESTS_ZEND_DIAGNOSTICS_MEMCACHED_ENABLED=true
89+
- php: 7.3
90+
env:
91+
- DEPS=locked
92+
- TESTS_ZEND_DIAGNOSTICS_MEMCACHED_ENABLED=true
93+
- php: 7.3
94+
env:
95+
- DEPS=latest
96+
- TESTS_ZEND_DIAGNOSTICS_MEMCACHED_ENABLED=true
8797

8898
before_install:
8999
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi

‎CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ All notable changes to this project will be documented in this file, in reverse
44

55
Releases prior to 1.2.0 did not have entries.
66

7-
## 1.4.1 - TBD
7+
## 1.5.0 - 2019-03-26
88

99
### Added
1010

11-
- Nothing.
11+
- [#97](https://github.com/zendframework/zenddiagnostics/pull/97) adds support for doctrine/migrations v2 releases.
12+
13+
- [#96](https://github.com/zendframework/zenddiagnostics/pull/96) adds support for PHP 7.3.
1214

1315
### Changed
1416

‎composer.json

+11-5
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"php": "^5.6 || ^7.0"
2222
},
2323
"require-dev": {
24-
"doctrine/migrations": "^1.0",
25-
"guzzlehttp/guzzle": "^5.3.2 || ^6.3.3",
26-
"mikey179/vfsStream": "^1.6",
24+
"doctrine/migrations": "^1.0 || ^2.0",
25+
"guzzlehttp/guzzle": "^5.3.3 || ^6.3.3",
26+
"mikey179/vfsstream": "^1.6",
2727
"php-amqplib/php-amqplib": "^2.0",
2828
"phpunit/phpunit": "^5.7.27 || 6.5.8 || ^7.1.2",
2929
"predis/predis": "^1.0",
@@ -42,6 +42,9 @@
4242
"doctrine/migrations": "Required by Check\\DoctrineMigration"
4343
},
4444
"autoload": {
45+
"files": [
46+
"src/autoload.php"
47+
],
4548
"psr-4": {
4649
"ZendDiagnostics\\": "src/"
4750
}
@@ -54,10 +57,13 @@
5457
"config": {
5558
"sort-packages": true
5659
},
60+
"conflict": {
61+
"guzzlehttp/ringphp": "<1.1.1"
62+
},
5763
"extra": {
5864
"branch-alias": {
59-
"dev-master": "1.4.x-dev",
60-
"dev-develop": "1.5.x-dev"
65+
"dev-master": "1.5.x-dev",
66+
"dev-develop": "1.6.x-dev"
6167
}
6268
},
6369
"scripts": {

‎composer.lock

+108-60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/book/diagnostics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ Make sure all migrations are applied:
451451

452452
```php
453453
<?php
454-
use Doctrine\DBAL\Migrations\Configuration\Configuration;
454+
use Doctrine\Migrations\Configuration\Configuration;
455455
use Doctrine\ORM\EntityManager;
456456
use ZendDiagnostics\Check\DoctrineMigration;
457457

‎src/Check/DoctrineMigration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace ZendDiagnostics\Check;
99

10-
use Doctrine\DBAL\Migrations\Configuration\Configuration;
10+
use Doctrine\Migrations\Configuration\Configuration;
1111
use ZendDiagnostics\Result\Failure;
1212
use ZendDiagnostics\Result\ResultInterface;
1313
use ZendDiagnostics\Result\Success;

‎src/autoload.php

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/**
3+
* @see https://github.com/zendframework/zend-diagnostics for the canonical source repository
4+
* @copyright Copyright (c) 2019 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/zend-diagnostics/blob/master/LICENSE.md New BSD License
6+
*/
7+
8+
if (class_exists(Doctrine\DBAL\Migrations\Configuration\Configuration::class)
9+
&& ! class_exists(Doctrine\Migrations\Configuration\Configuration::class)
10+
) {
11+
class_alias(
12+
Doctrine\DBAL\Migrations\Configuration\Configuration::class,
13+
Doctrine\Migrations\Configuration\Configuration::class
14+
);
15+
}

‎test/DoctrineMigrationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace ZendDiagnosticsTest;
99

10-
use Doctrine\DBAL\Migrations\Configuration\Configuration;
10+
use Doctrine\Migrations\Configuration\Configuration;
1111
use PHPUnit\Framework\TestCase;
1212
use ZendDiagnostics\Check\DoctrineMigration;
1313
use ZendDiagnostics\Result\FailureInterface;

0 commit comments

Comments
 (0)
This repository has been archived.