diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 61b0c9f..7d09c9b 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,5 +1,14 @@ inherit: true +build: + image: default-bionic + environment: + php: 8.1.2 + nodes: + analysis: + tests: + override: [php-scrutinizer-run] + checks: php: code_rating: true diff --git a/README.md b/README.md index aa55272..36a374e 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ An alternative option, is to disable that feature: ```yml SoftDeletable: - check_filters_on_id: false + check_filters_on_id: false ``` Keep in mind that `DataObject::get_by_id();` can get cached and it can lead to tricky scenarios. diff --git a/composer.json b/composer.json index c012c5c..1f49b59 100644 --- a/composer.json +++ b/composer.json @@ -16,9 +16,10 @@ } ], "require": { - "php": ">=7.2", - "silverstripe/recipe-plugin": "^1", - "silverstripe/recipe-cms": "^4.4", + "php": "^7.4 || ^8", + "silverstripe/recipe-plugin": "^1 || ^2", + "silverstripe/vendor-plugin": "^1 || ^2", + "silverstripe/framework": "^4.4 || ^5", "lekoala/silverstripe-cms-actions": "*" }, "config": {