Paul Klimov
7 years ago
committed by
GitHub
11 changed files with 40 additions and 39 deletions
@ -0,0 +1,19 @@ |
|||||||
|
Upgrading Instructions for Yii Framework v2 |
||||||
|
=========================================== |
||||||
|
|
||||||
|
!!!IMPORTANT!!! |
||||||
|
|
||||||
|
The following upgrading instructions are cumulative. That is, |
||||||
|
if you want to upgrade from version A to version C and there is |
||||||
|
version B between A and C, you need to following the instructions |
||||||
|
for both A and B. |
||||||
|
|
||||||
|
Upgrade from Yii 2.0.7 |
||||||
|
---------------------- |
||||||
|
|
||||||
|
* Minimal required version of the [swiftmailer/swiftmailer](https://github.com/swiftmailer/swiftmailer) library has been raised to 6.0.0. |
||||||
|
You should adjust your program according to the [change list](https://github.com/swiftmailer/swiftmailer/blob/v6.0.0/CHANGES#L4-L17) for this version. |
||||||
|
|
||||||
|
* Since `Swift_MailTransport` has been removed in SwiftMailer 6.0.0, this extension now uses `Swift_SendmailTransport` by default. |
||||||
|
|
||||||
|
* Minimum version of PHP has been raised to 7.0. |
@ -1,16 +0,0 @@ |
|||||||
<?php |
|
||||||
/* |
|
||||||
* Ensures compatibility with PHPUnit < 6.x |
|
||||||
*/ |
|
||||||
|
|
||||||
namespace PHPUnit\Framework\Constraint { |
|
||||||
if (!class_exists('PHPUnit\Framework\Constraint\Constraint') && class_exists('PHPUnit_Framework_Constraint')) { |
|
||||||
abstract class Constraint extends \PHPUnit_Framework_Constraint {} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
namespace PHPUnit\Framework { |
|
||||||
if (!class_exists('PHPUnit\Framework\TestCase') && class_exists('PHPUnit_Framework_TestCase')) { |
|
||||||
abstract class TestCase extends \PHPUnit_Framework_TestCase {} |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue