Skip to content

Commit 54ef16e

Browse files
authored
Merge pull request #245 from mspirkov/update-dev-deps
Update dev dependencies
2 parents a754fe1 + d526854 commit 54ef16e

14 files changed

+289
-393
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
/Makefile export-ignore
1010
/composer-require-checker.json export-ignore
1111
/composer.lock export-ignore
12-
/rector.php export-ignore
1312
/phpbench.json export-ignore
1413
/phpcs.xml.dist export-ignore
1514
/phpstan.neon export-ignore

.github/workflows/integrate.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,21 @@ jobs:
1717
name: "Code Coverage"
1818
uses: "phpDocumentor/.github/.github/workflows/code-coverage.yml@main"
1919
with:
20+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
2021
composer-root-version: "1.x-dev"
2122

2223
coding-standards:
2324
name: "Coding Standards"
2425
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
2526
with:
27+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
2628
composer-root-version: "1.x-dev"
2729

2830
dependency-analysis:
2931
name: "Dependency analysis"
3032
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
3133
with:
34+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
3235
composer-root-version: "1.x-dev"
3336

3437
lint-root:
@@ -41,12 +44,13 @@ jobs:
4144
name: "Static analysis"
4245
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
4346
with:
44-
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, pcntl, posix"
47+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, pcntl, posix, iconv"
4548
composer-root-version: "1.x-dev"
4649

4750
unit-tests:
4851
name: "Unit test"
4952
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
5053
with:
54+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
5155
composer-root-version: "1.x-dev"
5256
upcoming-releases: true

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ vendor: composer.json composer.lock
3535
benchmark:
3636
docker run -it --rm -v${CURDIR}:/opt/project -w /opt/project php:7.4-cli vendor/bin/phpbench run
3737

38-
.PHONY: rector
39-
rector: ## Refactor code using rector
40-
docker run -it --rm -v${PWD}:/opt/project -w /opt/project php:7.4 vendor/bin/rector process
41-
4238
.PHONY: pre-commit-test
4339
pre-commit-test: fix-code-style test code-style static-code-analysis
4440

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818
"require-dev": {
1919
"ext-tokenizer": "*",
2020
"phpunit/phpunit": "^9.5",
21-
"phpstan/phpstan": "^1.8",
22-
"phpstan/phpstan-phpunit": "^1.1",
23-
"phpstan/extension-installer": "^1.1",
24-
"rector/rector": "^0.13.9",
21+
"phpstan/phpstan": "^2.1",
22+
"phpstan/phpstan-phpunit": "^2.0",
23+
"phpstan/extension-installer": "^1.4",
2524
"phpbench/phpbench": "^1.2",
2625
"psalm/phar": "^4"
2726
},

0 commit comments

Comments
 (0)