Skip to content

Commit 10d9cb3

Browse files
committed
Use a fixed fork of the slevomat-coding-standard
to allow using $this in traversable PHPDoc types like HasMany<Model, $this> and thus avoid conflicts with Larastan
1 parent 6fdf17c commit 10d9cb3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@
66
"require": {
77
"php": "^8.3",
88
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
9-
"slevomat/coding-standard": "^8.23",
9+
"slevomat/coding-standard": "dev-1801-this-traversable as 8.23.1",
1010
"squizlabs/php_codesniffer": "^4.0"
1111
},
1212
"require-dev": {
1313
"friendsofphp/php-cs-fixer": "^3.88",
1414
"phpunit/phpunit": "^12.3",
1515
"vimeo/psalm": "^6.13"
1616
},
17+
"repositories": [
18+
{
19+
"type": "vcs",
20+
"url": "https://github.com/alies-dev/slevomat-coding-standard"
21+
}
22+
],
1723
"minimum-stability": "dev",
1824
"prefer-stable": true,
1925
"autoload": {

0 commit comments

Comments
 (0)