Skip to content

Commit

Permalink
Merge branch 'vyuldashev:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramfdl authored Feb 28, 2022
2 parents 9324760 + 586d230 commit 3301f6e
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 16 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ['7.3', '7.4', '8.0']
php: ['8.0', '8.1']
stability: [prefer-lowest, prefer-stable]
exclude:
- php: '8.0'
stability: 'prefer-lowest'

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}

Expand Down
4 changes: 2 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$finder = PhpCsFixer\Finder::create()
->in(['config', 'src', 'tests']);

return PhpCsFixer\Config::create()
return (new PhpCsFixer\Config())
->setUsingCache(false)
->setFinder($finder)
->setRules([
Expand Down Expand Up @@ -41,7 +41,7 @@
'full_opening_tag' => true,
'blank_line_before_statement' => true,
'no_trailing_comma_in_singleline_array' => true,
'trailing_comma_in_multiline_array' => true,
'trailing_comma_in_multiline' => true,
'array_indentation' => true,
'binary_operator_spaces' => [
'operators' => [
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG-12x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased](https://github.com/vyuldashev/laravel-queue-rabbitmq/compare/v12.0.0...master)

## [12.0.0 (2022-02-23)](https://github.com/vyuldashev/laravel-queue-rabbitmq/compare/v11.4.0...v12.0.0)

- Laravel 9 support
- Minimum PHP version is set to 8.0
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
}
],
"require": {
"php": "^7.3|^8.0",
"php": "^8.0",
"ext-json": "*",
"illuminate/queue": "^8.0",
"php-amqplib/php-amqplib": "^2.12|^3.0"
"illuminate/queue": "^9.0",
"php-amqplib/php-amqplib": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^9.3",
"mockery/mockery": "^1.0",
"laravel/horizon": "^5.0",
"friendsofphp/php-cs-fixer": "^2.17",
"orchestra/testbench": "^6.0"
"friendsofphp/php-cs-fixer": "^3.6",
"orchestra/testbench": "^7.0"
},
"autoload": {
"psr-4": {
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.7'
services:

rabbitmq:
image: rabbitmq
image: rabbitmq:3.8
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASSWORD: guest
Expand All @@ -17,10 +17,10 @@ services:
- "./tests/files/rootCA.pem:/rootCA.pem:ro"
- "./tests/files/rootCA.key:/rootCA.key:ro"
ports:
- 15671:15671
- 15672:15672
- 5671:5671
- 5672:5672
- "15671:15671"
- "15672:15672"
- "5671:5671"
- "5672:5672"

rabbitmq-management:
image: rabbitmq:management
Expand Down
2 changes: 2 additions & 0 deletions tests/Feature/ConnectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public function testLazyConnection(): void

public function testSslConnection(): void
{
$this->markTestSkipped();

$this->app['config']->set('queue.connections.rabbitmq', [
'driver' => 'rabbitmq',
'queue' => env('RABBITMQ_QUEUE', 'default'),
Expand Down
5 changes: 5 additions & 0 deletions tests/Feature/SslQueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
*/
class SslQueueTest extends TestCase
{
public function setUp(): void
{
$this->markTestSkipped();
}

protected function getEnvironmentSetUp($app): void
{
$app['config']->set('queue.default', 'rabbitmq');
Expand Down

0 comments on commit 3301f6e

Please sign in to comment.