Skip to content

Commit

Permalink
Merge pull request #18 from samsonasik/php81
Browse files Browse the repository at this point in the history
PHP 8.1 Support
  • Loading branch information
Ocramius authored Jan 5, 2022
2 parents 30a1840 + 90582a4 commit 8c795ed
Show file tree
Hide file tree
Showing 22 changed files with 1,578 additions and 983 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
.phpcs-cache
.phpunit.result.cache
/clover.xml
/coveralls-upload.json
/docs/html/
/laminas-mkdoc-theme.tgz
/laminas-mkdoc-theme/
/phpunit.xml
/polyfill/Filter/File/*.php
/polyfill/Validator/File/*.php
/vendor/
.phpunit.result.cache
6 changes: 6 additions & 0 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ignore_php_platform_requirements": {
"8.0": false,
"8.1": false
}
}
34 changes: 18 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,33 @@
"forum": "https://discourse.laminas.dev"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"laminas": {
"component": "Laminas\\Mvc\\Plugin\\FilePrg"
}
},
"require": {
"php": "^7.3 || ~8.0.0",
"laminas/laminas-filter": "^2.6.1",
"laminas/laminas-form": "^2.7",
"laminas/laminas-inputfilter": "^2.8.1",
"laminas/laminas-mvc": "^3.0",
"laminas/laminas-session": "^2.8.5",
"laminas/laminas-stdlib": "^3.3",
"laminas/laminas-validator": "^2.6",
"laminas/laminas-zendframework-bridge": "^1.0"
"php": "^7.4 || ~8.0.0 || ~8.1.0",
"laminas/laminas-filter": "^2.13.1",
"laminas/laminas-form": "^3.1",
"laminas/laminas-inputfilter": "^2.13",
"laminas/laminas-mvc": "^3.3",
"laminas/laminas-session": "^2.12",
"laminas/laminas-stdlib": "^3.6.2",
"laminas/laminas-validator": "^2.15.1"
},
"require-dev": {
"laminas/laminas-coding-standard": "~1.0.0",
"phpunit/phpunit": "^9.3"
"laminas/laminas-coding-standard": "~2.3.0",
"phpunit/phpunit": "^9.5.11"
},
"conflict": {
"laminas/laminas-mvc": "<3.0.0"
"laminas/laminas-mvc": "<3.0.0",
"zendframework/zend-mvc-plugin-fileprg": "*"
},
"autoload": {
"psr-4": {
Expand All @@ -48,6 +51,8 @@
},
"autoload-dev": {
"psr-4": {
"Laminas\\Filter\\File\\": "polyfill/Filter/File/",
"Laminas\\Validator\\File\\": "polyfill/Validator/File/",
"LaminasTest\\Mvc\\Plugin\\FilePrg\\": "test/"
}
},
Expand All @@ -60,8 +65,5 @@
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
"replace": {
"zendframework/zend-mvc-plugin-fileprg": "^1.1.0"
}
}
Loading

0 comments on commit 8c795ed

Please sign in to comment.