Skip to content

Commit 9a0714e

Browse files
committed
Composer: fix replace directive
I have a feeling that the `replace` directive I put in is not correct. The information about it in the Composer documentation is a bit sparse, but let's see if this works better. Ref: https://getcomposer.org/doc/04-schema.md#replace
1 parent bc5d011 commit 9a0714e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
4545
},
4646
"replace": {
47-
"squizlabs/php_codesniffer": "> 2.0"
47+
"squizlabs/php_codesniffer": "self.version"
4848
},
4949
"bin": [
5050
"bin/phpcs",

0 commit comments

Comments
 (0)