Skip to content

Commit

Permalink
Specify supported rector version (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored May 13, 2022
1 parent 8226ae5 commit 9ce5575
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- 'main'
- '[0-9]+.x'
- '[0-9]+.[0-9]+'
schedule:
- cron: "0 0 * * 0"

# automatically cancel previously started workflows when pushing a new commit to a branch
concurrency:
Expand All @@ -26,6 +28,8 @@ jobs:
fail-fast: false
matrix:
include:
- php-version: '8.1'
dependency-versions: 'lowest'
- php-version: '8.1'
dependency-versions: 'highest'

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sulu Rector

Rector rules for Sulu CMS upgrades.
This project contains [Rector rules](https://github.com/rectorphp/rector) for [Sulu CMS](https://github.com/sulu/sulu) upgrades.

## Install

Expand Down
8 changes: 2 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"Sulu CMS"
],
"require": {
"php": "^8.1"
"php": "^8.1",
"rector/rector": "^0.12.22"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.6",
Expand All @@ -19,7 +20,6 @@
"phpstan/phpstan-strict-rules": "^1.1",
"phpstan/phpstan-webmozart-assert": "^1.0",
"phpunit/phpunit": "^9.5",
"rector/rector": "dev-main",
"sulu/sulu": "^2.5@dev",
"thecodingmachine/phpstan-strict-rules": "^1.0"
},
Expand All @@ -37,9 +37,6 @@
"stubs"
]
},
"conflict": {
"rector/rector": "<0.11"
},
"scripts": {
"lint": [
"@php-cs",
Expand All @@ -59,7 +56,6 @@
"test": "@php vendor/bin/phpunit"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {
Expand Down

0 comments on commit 9ce5575

Please sign in to comment.