Skip to content

Commit

Permalink
Merge pull request #64 from tobias-trozowski/php8.1
Browse files Browse the repository at this point in the history
PHP 8.1
  • Loading branch information
rdohms authored Mar 20, 2022
2 parents 2ca1a5f + be0a9a4 commit 9fe26b5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
php: [7.4, 8.0]
php: [7.4, 8.0, 8.1]
dependency-version: [prefer-lowest, prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
Expand Down
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
],

"require": {
"php": "^7.4 || ^8.0",
"doctrine/annotations": "^1.13"
"php": "^7.4 || ~8.0 || ~8.1",
"doctrine/annotations": "^1.13",
"laminas/laminas-zendframework-bridge": "^1.0"
},

"require-dev": {
Expand All @@ -33,5 +34,10 @@
"suggest": {
"laminas/laminas-filter": "Use Laminas Filters via DMS Filter",
"ext-mbstring": "for encoding safety"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
2 changes: 2 additions & 0 deletions src/DMS/Filter/Filters/Zend.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* Zend Filter
*
* Instantiates and runs Zend Filters (from ZF2)
*
* @deprecated Replaced with {@link Laminas}
*/
class Zend extends BaseFilter
{
Expand Down
2 changes: 2 additions & 0 deletions src/DMS/Filter/Rules/Zend.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*
* Allows the use for Zend Filters
*
* @deprecated Replaced with {@link Laminas}
*
* @Annotation
*/
class Zend extends Rule
Expand Down

0 comments on commit 9fe26b5

Please sign in to comment.