Skip to content

Commit 6e33225

Browse files
committed
Added rector
1 parent dd4d188 commit 6e33225

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,17 @@
4343
"php": "^7.1 || ^8",
4444
"symfony/polyfill-php73": "^1.30",
4545
"symfony/polyfill-php80": "^1.30",
46-
"symfony/polyfill-php81": "^1.30"
46+
"symfony/polyfill-php81": "^1.30",
47+
"symfony/polyfill-php84": "^1.30"
4748
},
4849
"require-dev": {
4950
"phpunit/phpunit": "^7.5",
5051
"phpstan/phpstan": "^1.4",
5152
"phpstan/extension-installer": "^1.1",
5253
"phpstan/phpstan-strict-rules": "^1.1",
5354
"phpstan/phpstan-deprecation-rules": "^1.0",
54-
"symfony/var-dumper": "^4.4"
55+
"symfony/var-dumper": "^4.4",
56+
"rector/rector": "^0.12.19"
5557
},
5658
"suggest": {
5759
"phpstan/phpstan": "PHP Static Analyzer"

jsphp.sublime-project

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"LSP-intelephense": {
2626
"settings": {
27-
"intelephense.environment.phpVersion": "7.1.0",
27+
"intelephense.environment.phpVersion": "7.1",
2828
"intelephense.format.braces": "k&r",
2929
},
3030
},
@@ -33,6 +33,11 @@
3333
"source.json.composer": "LSP-json",
3434
},
3535
},
36+
"SublimeLinter.linters.phpstan.disable": true,
37+
"SublimeLinter.linters.phpmd.disable": true,
38+
"SublimeLinter.linters.php.disable": true,
39+
"SublimeLinter.linters.phpcs.disable": true,
40+
"SublimeLinter.linters.rector.disable": true,
3641
},
3742
"build_systems": [
3843
{
@@ -71,5 +76,4 @@
7176
}
7277
],
7378
"debugger_configurations": [],
74-
"SublimeLinter.linters.phpstan.disable": false
7579
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"devDependencies": {
3-
"husky": "^8.0.3"
3+
"husky": "^9.1.7"
44
},
55
"scripts": {
66
"prepare": "husky install"

0 commit comments

Comments
 (0)