Skip to content

Commit 44f4123

Browse files
renovate[bot]lcobucci
authored andcommitted
Setup Renovate as replacement for Dependabot
This will set up renovate in a fairly opinionated way: * auto-upgrades * widening PHP version support, when tests pass * nightly composer.lock upgrades * narrowing dependency ranges regularly Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
1 parent 0ff58b4 commit 44f4123

33 files changed

+1447
-1998
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
/README.md export-ignore
77
/composer.lock export-ignore
88
/Makefile export-ignore
9+
/renovate.json export-ignore

.github/dependabot.yml

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

.github/workflows/merge-bot.yml

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

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
/phpcs.xml
44
/.phpcs.cache
55
/infection.log
6-
/.phpunit.result.cache
6+
/.phpunit.cache
77
/build

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ vendor/composer/installed.json: composer.json composer.lock
1212

1313
.PHONY: phpunit
1414
phpunit:
15-
@vendor/bin/phpunit
15+
@php -d zend.assertions=1 vendor/bin/phpunit $(PHPUNIT_FLAGS)
1616

1717
.PHONY: infection
1818
infection:
19-
@vendor/bin/phpunit --coverage-xml=build/coverage-xml --log-junit=build/junit.xml $(PHPUNIT_FLAGS)
19+
@XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-xml=build/coverage-xml --log-junit=build/junit.xml $(PHPUNIT_FLAGS)
2020
@vendor/bin/infection -s --threads=$(PARALLELISM) --coverage=build $(INFECTION_FLAGS)
2121

2222
.PHONY: phpcbf
2323
phpcbf:
24-
@vendor/bin/phpcbf --parallel=$(PARALLELISM)
24+
@vendor/bin/phpcbf --parallel=$(PARALLELISM) || true
2525

2626
.PHONY: phpcs
2727
phpcs:
2828
@vendor/bin/phpcs --parallel=$(PARALLELISM) $(PHPCS_FLAGS)
2929

3030
.PHONY: phpstan
3131
phpstan:
32-
@vendor/bin/phpstan analyse
32+
@XDEBUG_MODE=off vendor/bin/phpstan analyse

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.4 || ^8.0",
14-
"doctrine/annotations": "^1.12"
13+
"php": "~8.1.0 || ~8.2.0",
14+
"doctrine/annotations": "^2.0"
1515
},
1616
"require-dev": {
17-
"infection/infection": "^0.21",
18-
"lcobucci/coding-standard": "^6.0",
19-
"phpstan/extension-installer": "^1.1",
20-
"phpstan/phpstan": "^0.12",
21-
"phpstan/phpstan-deprecation-rules": "^0.12",
22-
"phpstan/phpstan-phpunit": "^0.12",
23-
"phpstan/phpstan-strict-rules": "^0.12",
24-
"phpunit/phpunit": "^9.5"
17+
"infection/infection": "^0.26",
18+
"lcobucci/coding-standard": "^9.0",
19+
"phpstan/extension-installer": "^1.2",
20+
"phpstan/phpstan": "^1.10",
21+
"phpstan/phpstan-deprecation-rules": "^1.1",
22+
"phpstan/phpstan-phpunit": "^1.3",
23+
"phpstan/phpstan-strict-rules": "1.5",
24+
"phpunit/phpunit": "^10.0"
2525
},
2626
"autoload": {
2727
"psr-4": {

0 commit comments

Comments
 (0)