Skip to content

Commit 78b62c9

Browse files
Matthijs-fonQmikemadisonweb
authored andcommitted
Upgrading to php 8.0
1 parent bbb312f commit 78b62c9

35 files changed

+7
-7
lines changed

.coveralls.yml

100644100755
File mode changed.

.gitignore

100644100755
File mode changed.

.travis.yml

100644100755
File mode changed.

Configuration.php

100644100755
File mode changed.

DependencyInjection.php

100644100755
File mode changed.

LICENSE

100644100755
File mode changed.

README.md

100644100755
File mode changed.

README_rus.md

100644100755
File mode changed.

README_v1.md

100644100755
File mode changed.

components/AbstractConnectionFactory.php

100644100755
File mode changed.

components/BaseRabbitMQ.php

100644100755
File mode changed.

components/Consumer.php

100644100755
File mode changed.

components/ConsumerInterface.php

100644100755
File mode changed.

components/Logger.php

100644100755
File mode changed.

components/Producer.php

100644100755
File mode changed.

components/Routing.php

100644100755
File mode changed.

composer.json

100644100755
+5-5
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.0",
15-
"yiisoft/yii2": "^2.0.13",
16-
"php-amqplib/php-amqplib": "^2.9"
14+
"php": "^7.1||^8.0",
15+
"yiisoft/yii2": "^2.0.43",
16+
"php-amqplib/php-amqplib": "^3.1"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^6.4",
20-
"php-coveralls/php-coveralls": "^1.0"
19+
"phpunit/phpunit": "^9.5.10",
20+
"php-coveralls/php-coveralls": "^2.5"
2121
},
2222
"autoload": {
2323
"psr-4": {

controllers/RabbitMQController.php

100644100755
File mode changed.

events/RabbitMQConsumerEvent.php

100644100755
File mode changed.

events/RabbitMQPublisherEvent.php

100644100755
File mode changed.

exceptions/InvalidConfigException.php

100644100755
File mode changed.

exceptions/RuntimeException.php

100644100755
File mode changed.

helpers/CreateUnitHelper.php

100644100755
File mode changed.

migrations/M201026132305RabbitPublishError.php

100644100755
File mode changed.

models/RabbitPublishError.php

100644100755
File mode changed.

phpunit.xml.dist

100644100755
File mode changed.

tests/ConfigurationTest.php

100644100755
File mode changed.

tests/DependencyInjectionTest.php

100644100755
File mode changed.

tests/TestCase.php

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase
1414
* Clean up after test.
1515
* By default the application created with [[mockApplication]] will be destroyed.
1616
*/
17-
protected function tearDown()
17+
protected function tearDown(): void
1818
{
1919
parent::tearDown();
2020
$this->destroyApplication();

tests/bootstrap.php

100644100755
File mode changed.

tests/components/AbstractConnectionFactoryTest.php

100644100755
File mode changed.

tests/components/ConsumerTest.php

100644100755
File mode changed.

tests/components/ProducerTest.php

100644100755
File mode changed.

tests/components/RoutingTest.php

100644100755
File mode changed.

tests/controllers/RabbitMQControllerTest.php

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class RabbitMQControllerTest extends TestCase
1515
{
1616
protected $controller;
1717

18-
public function setUp()
18+
public function setUp(): void
1919
{
2020
$this->loadExtension(
2121
[

0 commit comments

Comments
 (0)