Skip to content

Commit 753a22e

Browse files
committed
Revert "chore: fix roave bc dependency with 8.0"
This reverts commit f420151.
1 parent f420151 commit 753a22e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,9 @@ 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
5653
- run:
5754
name: Check for backwards-compatibility breaks
58-
command: tools/bc-check/vendor/bin/roave-backward-compatibility-check || true
55+
command: composer run test-for-bc-breaks || true
5956

6057

6158
test80:

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
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",
1920
"phpstan/phpstan": "^1.9"
2021
},
2122
"license": "MIT",
@@ -35,6 +36,7 @@
3536
"scripts": {
3637
"test": "vendor/bin/phpunit",
3738
"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",
3840
"lint-static-analysis": "php vendor/bin/phpstan analyse src --level=5",
3941
"release": "php scripts/release.php"
4042
},

0 commit comments

Comments
 (0)