Skip to content

Commit

Permalink
feat: rector 0.18.0 compatibility (#24)
Browse files Browse the repository at this point in the history
* feat: rector 0.18.0 compatibility

* fix: tests

---------

Co-authored-by: Shyim <[email protected]>
  • Loading branch information
stefanpoensgen and shyim authored Aug 24, 2023
1 parent 8ebe350 commit 8bad31a
Show file tree
Hide file tree
Showing 7 changed files with 104 additions and 87 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: PHPUnit

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "~1.10.26",
"rector/rector": "^0.16 || ^0.17 || ^0.18.1",
"rector/rector": "^0.16 || ^0.17 || ^0.18",
"symplify/easy-coding-standard": "~11.2",
"friendsofphp/php-cs-fixer": "~3.22.0",
"tracy/tracy": "^2.9",
Expand Down Expand Up @@ -46,7 +46,7 @@
},
"scripts": {
"phpunit": "phpunit",
"ecs": "php-cs-fixer --fix",
"csfix": "php-cs-fixer fix",
"docs": [
"vendor/bin/rule-doc-generator generate src --output-file docs/rector_rules_overview.md --ansi"
]
Expand Down
Loading

0 comments on commit 8bad31a

Please sign in to comment.