Skip to content

Commit eb7e0fb

Browse files
authored
Support doctrine/orm 3.0 (#93)
* Support doctrine/orm 3.0 * Proper PHP versions in CI * phpunit 10 * doctrine-hint-driven-sql-walker: dev-master
1 parent f54e7b1 commit eb7e0fb

File tree

11 files changed

+624
-1010
lines changed

11 files changed

+624
-1010
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Setup PHP
1919
uses: shivammathur/setup-php@v2
2020
with:
21-
php-version: 8.2
21+
php-version: 8.3
2222
-
2323
name: Install dependencies
2424
run: composer install --no-progress --prefer-dist --no-interaction
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
php-version: [ '7.4', '8.0', '8.1', '8.2' ]
36+
php-version: [ '8.1', '8.2', '8.3' ]
3737
dependency-version: [ prefer-lowest, prefer-stable ]
3838
steps:
3939
-

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,4 @@ $result = $em->createQueryBuilder()
123123
- 1.x requires PHP >= 7.1
124124
- 2.x requires PHP >= 7.4
125125
- 3.x requires PHP >= 7.4
126+
- 4.x requires PHP >= 8.1

composer.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,23 @@
55
"MIT"
66
],
77
"require": {
8-
"php": "^7.4 || ^8.0",
9-
"doctrine/orm": "^2.14.0",
10-
"shipmonk/doctrine-hint-driven-sql-walker": "^1.0.0"
8+
"php": "^8.1",
9+
"doctrine/orm": "^3.0.0",
10+
"shipmonk/doctrine-hint-driven-sql-walker": "dev-master"
1111
},
1212
"require-dev": {
13-
"doctrine/annotations": "^2.0",
14-
"doctrine/collections": "^1.8 || ^2.1",
15-
"doctrine/dbal": "^2.17 || ^3.7",
16-
"doctrine/event-manager": "^1.2 || ^2.0",
17-
"editorconfig-checker/editorconfig-checker": "^10.3.0",
18-
"ergebnis/composer-normalize": "^2.28",
19-
"phpstan/phpstan": "^1.9.14",
20-
"phpstan/phpstan-phpunit": "^1.3.3",
21-
"phpstan/phpstan-strict-rules": "^1.4.5",
22-
"phpunit/phpunit": "^9.5.28",
23-
"shipmonk/composer-dependency-analyser": "^1.0.0",
24-
"shipmonk/phpstan-rules": "^2.2.0",
25-
"slevomat/coding-standard": "^8.8.0"
13+
"doctrine/collections": "^2.1",
14+
"doctrine/dbal": "^3.7",
15+
"doctrine/event-manager": "^2.0",
16+
"editorconfig-checker/editorconfig-checker": "^10.5.0",
17+
"ergebnis/composer-normalize": "^2.42",
18+
"phpstan/phpstan": "^1.10.59",
19+
"phpstan/phpstan-phpunit": "^1.3.15",
20+
"phpstan/phpstan-strict-rules": "^1.5.2",
21+
"phpunit/phpunit": "^10.5.11",
22+
"shipmonk/composer-dependency-analyser": "^1.2.1",
23+
"shipmonk/phpstan-rules": "^2.11.2",
24+
"slevomat/coding-standard": "^8.15.0"
2625
},
2726
"autoload": {
2827
"psr-4": {
@@ -58,7 +57,7 @@
5857
"composer-dependency-analyser"
5958
],
6059
"check:ec": "ec src tests",
61-
"check:tests": "phpunit -vvv tests",
60+
"check:tests": "phpunit tests",
6261
"check:types": "phpstan analyse -vvv",
6362
"fix:cs": "phpcbf"
6463
}

0 commit comments

Comments
 (0)