Skip to content

Commit 45f8ff2

Browse files
committed
Merge branch '2.x' into remove-array-key-validation
2 parents 101aacb + 54ef16e commit 45f8ff2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+473
-1652
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/coding-standards.yml@v0.9"
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/dependency-analysis.yml@v0.9"
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/static-analysis.yml@v0.9"
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/continuous-integration.yml@v0.9"
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: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,19 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.3 || ^8.0",
13+
"php": "^7.4 || ^8.0",
1414
"phpdocumentor/reflection-common": "^2.0",
15-
"phpstan/phpdoc-parser": "^1.18|^2.0",
15+
"phpstan/phpdoc-parser": "^2.0",
1616
"doctrine/deprecations": "^1.0"
1717
},
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-
"vimeo/psalm": "^4.25",
25-
"rector/rector": "^0.13.9",
26-
"phpbench/phpbench": "^1.2"
21+
"phpstan/phpstan": "^2.1",
22+
"phpstan/phpstan-phpunit": "^2.0",
23+
"phpstan/extension-installer": "^1.4",
24+
"phpbench/phpbench": "^1.2",
25+
"psalm/phar": "^4"
2726
},
2827
"autoload": {
2928
"psr-4": {
@@ -37,12 +36,13 @@
3736
},
3837
"extra": {
3938
"branch-alias": {
40-
"dev-1.x": "1.x-dev"
39+
"dev-1.x": "1.x-dev",
40+
"dev-2.x": "2.x-dev"
4141
}
4242
},
4343
"config": {
4444
"platform": {
45-
"php": "7.3.0"
45+
"php": "7.4.0"
4646
},
4747
"allow-plugins": {
4848
"phpstan/extension-installer": true

0 commit comments

Comments
 (0)