Skip to content

Commit 41fe3ca

Browse files
Removed rector
1 parent d3a350c commit 41fe3ca

File tree

5 files changed

+1
-226
lines changed

5 files changed

+1
-226
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
/psalm.xml export-ignore
1616
/CHANGELOG.md export-ignore
1717
/README.md export-ignore
18-
/rector.php export-ignore

.github/workflows/static.yml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -68,42 +68,3 @@ jobs:
6868

6969
- name: Execute Psalm
7070
run: vendor/bin/psalm.phar --no-progress --output-format=github
71-
72-
rector:
73-
name: Rector
74-
runs-on: ubuntu-20.04
75-
76-
steps:
77-
- name: Checkout code
78-
uses: actions/checkout@v2
79-
80-
- name: Setup PHP
81-
uses: shivammathur/setup-php@v2
82-
with:
83-
php-version: 7.4
84-
tools: composer:2.1, cs2pr
85-
coverage: none
86-
87-
- name: Install Dependencies
88-
uses: nick-invision/retry@v1
89-
with:
90-
timeout_minutes: 5
91-
max_attempts: 5
92-
command: composer update --no-interaction --no-progress
93-
94-
- name: Install PHPUnit
95-
uses: nick-invision/retry@v1
96-
with:
97-
timeout_minutes: 5
98-
max_attempts: 5
99-
command: composer bin phpunit update --no-interaction --no-progress
100-
101-
- name: Install Rector
102-
uses: nick-invision/retry@v1
103-
with:
104-
timeout_minutes: 5
105-
max_attempts: 5
106-
command: composer bin rector update --no-interaction --no-progress
107-
108-
- name: Execute Rector
109-
run: vendor/bin/rector process --dry-run --output-format=checkstyle | cs2pr

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@ psalm-baseline:
2020
psalm-show-info:
2121
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:7.4-cli --show-info=true
2222

23-
rector-dry-run:
24-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/rector --rm registry.gitlab.com/grahamcampbell/php:7.4-cli process --dry-run
25-
26-
rector-fix:
27-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/rector --rm registry.gitlab.com/grahamcampbell/php:7.4-cli process
28-
29-
test: phpunit phpstan-analyze psalm-analyze rector-dry-run
23+
test: phpunit phpstan-analyze psalm-analyze
3024

3125
clean:
3226
@rm -rf .phpunit.result.cache composer.lock vendor vendor-bin/*/composer.lock vendor-bin/*/vendor

rector.php

Lines changed: 0 additions & 170 deletions
This file was deleted.

vendor-bin/rector/composer.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)