Skip to content

Commit

Permalink
Change: add support for php8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
satrun77 committed Jul 10, 2022
1 parent eededba commit c6d0fdf
Show file tree
Hide file tree
Showing 4 changed files with 3,718 additions and 1,276 deletions.
22 changes: 17 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"silverstripe/framework": "^4.1"
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"silverstripe/recipe-testing": "^2",
"friendsofphp/php-cs-fixer": "^3.2",
"phpstan/phpstan": "~0.12.80",
"symbiote/silverstripe-phpstan": "dev-master"
"symbiote/silverstripe-phpstan": "dev-php8-support"
},
"autoload": {
"psr-4": {
Expand All @@ -43,20 +43,32 @@
"expose": [
"client"
],
"installer-name": "hasoneselector"
"installer-name": "hasoneselector",
"project-files-installed": [
"behat.yml",
"phpcs.xml.dist",
"phpunit.xml.dist"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"fix": "php-cs-fixer fix src tests --allow-risky=yes --config=.php-cs-fixer.php",
"stan": "phpstan clear-result-cache && phpstan analyse src -c phpstan.neon -a vendor/symbiote/silverstripe-phpstan/bootstrap.php --level 4 --ansi --memory-limit=-1",
"test": "phpunit tests '' flush=1",
"coverage": "phpunit tests --coverage-clover coverage/clover.xml"
"coverage": "XDEBUG_MODE=coverage phpunit tests --coverage-clover coverage/clover.xml"
},
"repositories": [
{
"type": "vcs",
"url": "[email protected]:satrun77/silverstripe-phpstan.git"
}
]
],
"config": {
"allow-plugins": {
"composer/installers": true,
"silverstripe/recipe-plugin": true,
"silverstripe/vendor-plugin": true
}
}
}
Loading

0 comments on commit c6d0fdf

Please sign in to comment.