Skip to content

Commit f420151

Browse files
committed
chore: fix roave bc dependency with 8.0
1 parent 05d778a commit f420151

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ jobs:
5050
- run:
5151
name: "Install dependencies"
5252
command: sudo composer self-update && composer install -n --prefer-dist
53+
- run:
54+
name: Install roave/backward-compatibility-check
55+
command: mkdir -p tools/bc-check && composer require --working-dir=tools/bc-check roave/backward-compatibility-check
5356
- run:
5457
name: Check for backwards-compatibility breaks
55-
command: composer run test-for-bc-breaks || true
58+
command: tools/bc-check/vendor/bin/roave-backward-compatibility-check || true
5659

5760

5861
test80:

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"phpunit/phpunit": "^8.5",
1717
"symfony/finder": "^4.0|^5.0|^6.0|^7.0",
1818
"monolog/monolog": "^2.0",
19-
"roave/backward-compatibility-check": "^7.1|^8.0",
2019
"phpstan/phpstan": "^1.9"
2120
},
2221
"license": "MIT",
@@ -36,7 +35,6 @@
3635
"scripts": {
3736
"test": "vendor/bin/phpunit",
3837
"test-quick-fail": "php vendor/bin/phpunit --stop-on-error --stop-on-failure -v",
39-
"test-for-bc-breaks": "php -d memory_limit=-1 vendor/bin/roave-backward-compatibility-check",
4038
"lint-static-analysis": "php vendor/bin/phpstan analyse src --level=5",
4139
"release": "php scripts/release.php"
4240
},

0 commit comments

Comments
 (0)