Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
/.git
/.dockerignore
/.editorconfig
/.env.example
/.gitattributes
/.github
/.gitignore
/.php_cs.cache
/.travis.yml
/composer.lock
/tests/runtime/*
/vendor
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ trim_trailing_whitespace = false

[Makefile]
indent_style = tab

[*.yml]
indent_size = 2

[*.neon]
indent_size = 2
11 changes: 0 additions & 11 deletions .env.example

This file was deleted.

16 changes: 7 additions & 9 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# Ignore all test and documentation for archive
/.github export-ignore
.* export-ignore
*.dist export-ignore
*.xml export-ignore
*.yml export-ignore
/docs export-ignore
/tests export-ignore
/.dockerignore export-ignore
/.editorconfig export-ignore
/.env.example export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/.travis.yml export-ignore
/Makefile export-ignore
/phpunit.xml.dist export-ignore
/Dockerfile export-ignore
/support export-ignore
/stubs export-ignore
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

6 changes: 0 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: linter

permissions:
contents: read

on:
pull_request: &ignore-paths
paths-ignore:
- 'docs/**'
- '.github/CONTRIBUTING.md'
- '.github/FUNDING.yml'
- '.github/SECURITY.md'
- 'README.md'
- 'CHANGELOG.md'
- 'LICENSE.md'
- 'UPGRADE.md'
- '.gitignore'
- '.gitattributes'
- '.editorconfig'
- 'docker-compose.yml'
- 'Dockerfile'
- 'Makefile'
- 'phpunit.xml.dist'

push: *ignore-paths

jobs:
phpcs:
uses: yiisoft/yii2-actions/.github/workflows/linter.yml@master
with:
directories: src/ tests/
extensions: 'amqp'
42 changes: 28 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,42 @@
name: build

on: [push, workflow_dispatch, pull_request]
on:
pull_request:
paths-ignore: &ignore-paths
- 'docs/**'
- '.github/CONTRIBUTING.md'
- '.github/FUNDING.yml'
- '.github/SECURITY.md'
- 'README.md'
- 'CHANGELOG.md'
- 'LICENSE.md'
- 'UPGRADE.md'
- '.gitignore'
- '.gitattributes'
- '.editorconfig'
- 'phpunit.xml.dist'

push:
branches: [ 'master' ]
paths-ignore: *ignore-paths

env:
COMPOSE_PROJECT_NAME: yii2-queue
COMPOSE_FILE: tests/docker-compose.yml
AWS_SQS_ENABLED: ${{ secrets.AWS_SQS_ENABLED }}
AWS_SQS_URL: ${{ secrets.AWS_SQS_URL }}
AWS_KEY: ${{ secrets.AWS_KEY }}
AWS_SECRET: ${{ secrets.AWS_SECRET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_SQS_FIFO_ENABLED: ${{ secrets.AWS_SQS_FIFO_ENABLED }}
AWS_SQS_FIFO_URL: ${{ secrets.AWS_SQS_FIFO_URL }}
AWS_SQS_FIFO_MESSAGE_GROUP_ID: ${{ secrets.AWS_SQS_FIFO_MESSAGE_GROUP_ID }}
jobs:
phpunit:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0' ]
php: [ '8.3', '8.4', '8.5' ]
steps:
- name: Checkout
- name: Checkout.
uses: actions/checkout@v2

- name: PHP Unit tests for PHP ${{ matrix.php }}
run: make test v=${{ matrix.php }}

- name: Upload coverage to Codecov.
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
31 changes: 31 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: static analysis

permissions:
contents: read

on:
pull_request: &ignore-paths
paths-ignore:
- 'docs/**'
- '.github/CONTRIBUTING.md'
- '.github/FUNDING.yml'
- '.github/SECURITY.md'
- 'README.md'
- 'CHANGELOG.md'
- 'LICENSE.md'
- 'UPGRADE.md'
- '.gitignore'
- '.gitattributes'
- '.editorconfig'
- 'docker-compose.yml'
- 'Dockerfile'
- 'Makefile'
- 'phpunit.xml.dist'

push: *ignore-paths

jobs:
phpstan:
uses: yiisoft/yii2-actions/.github/workflows/phpstan.yml@master
with:
extensions: amqp
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ composer.lock
# PHP CS Fixer
.php_cs.cache

# Env variables
.env
# PHP Unit cache
.phpunit.result.cache
.phpunit.cache
coverage.xml

runtime
124 changes: 0 additions & 124 deletions .php_cs

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
Yii2 Queue Extension Change Log
===============================

3.0.0 under development
---
- Enh #542: The minimum supported PHP version is 8.3 (@s1lver)
- Enh #503, #546: Added PHPStan for static code analysis. Error level set to 8 (@s1lver)
- Enh #503: Added strict typing (@s1lver)
- Enh #542: The `pda/pheanstalk` package of the Beanstalk driver has been updated to version 8.* (@s1lver)
- Enh #503: Removed deprecated interfaces `RetryableJob`, `Job`, `Serializer` (@s1lver)
- Enh #503: Removed deprecated classes `Signal`, `Verbose` (@s1lver)
- Enh #503: Deprecated driver amqp has been removed (@s1lver)
- Enh #542: Returned tests for the SQS driver (@s1lver)
- Enh #503: All dependent packages for supported drivers have been updated to the latest versions (@s1lver)
- Enh #503: The `opis/closure` package did not support PHP 8.1 and was replaced by the `laravel/serializable-closure` package (@s1lver)
- Enh #544: Applying Yii2 coding standards (@s1lver)
- Bug #528: Revert: Prevent multiple execution of aborted jobs (luke-)

2.3.8 January 08, 2026
----------------------

Expand Down
Loading
Loading