Skip to content

Commit fbd3b7b

Browse files
authored
Merge branch 'doctrine-extensions:main' into feature/blameable-allow-uuid
2 parents ca1dd13 + 4fd6a62 commit fbd3b7b

File tree

193 files changed

+1535
-481
lines changed

Some content is hidden

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

193 files changed

+1535
-481
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
'no_superfluous_elseif' => true,
5252
'no_unset_on_property' => true,
5353
'no_useless_else' => true,
54+
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
5455
'ordered_class_elements' => true,
5556
'ordered_imports' => ['sort_algorithm' => 'alpha'],
5657
'phpdoc_summary' => false,

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@ a release.
1818
---
1919

2020
## [Unreleased]
21+
### Changed
22+
- Add conflict with "doctrine/orm" >=2.16 (temporary change until code is fixed)
23+
24+
## [3.12.0] - 2023-07-08
2125
### Added
2226
- Tree: `setSibling()` and `getSibling()` methods in the `Node` interface through the BC `@method` annotation
2327
- Tree: Support array of fields and directions in the `$sortByField` and `$direction` parameters at `AbstractTreeRepository::recover()`
28+
- Loggable: Support for composite identifiers
2429

2530
### Changed
2631
- Named arguments have precedence over the values passed in the `$data` array in annotation classes at `Gedmo\Mapping\Annotation\`
@@ -34,6 +39,8 @@ a release.
3439

3540
### Deprecated
3641
- Tree: Not implementing `Node` interface in classes that are used as nodes
42+
- Implementing the `Gedmo\Tool\WrapperInterface::getIdentifier()` method without the second argument (`$flatten`) is deprecated and will
43+
be required in version 4.0
3744

3845
## [3.11.1] - 2023-02-20
3946
### Fixed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ To set up and run the tests, follow these steps:
9898

9999
- Install [Docker](https://www.docker.com/) and ensure you have `docker compose`
100100
- From the project root, run `docker compose up -d` to start containers in daemon mode
101-
- Enter the container via `docker compose exec php bash` and navigate to the root directory: `cd /var/www`
101+
- Enter the container via `docker compose exec php bash` (you are now in the root directory: `/var/www`)
102102
- Install Composer dependencies via `composer install`
103103
- Run the tests: `bin/phpunit -c tests/`
104104

@@ -107,8 +107,8 @@ To set up and run the tests, follow these steps:
107107
To set up and run example, follow these steps:
108108

109109
- go to the root directory of extensions
110-
- download composer: `wget https://getcomposer.org/composer.phar`
111-
- install dev libraries: `php composer.phar install`
110+
- [download composer](https://getcomposer.org/download/)
111+
- install dev libraries: `composer install`
112112
- edit `example/em.php` and configure your database on top of the file
113113
- run: `php example/bin/console` or `php example/bin/console` for console commands
114114
- run: `php example/bin/console orm:schema-tool:create` to create the schema

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"require": {
4343
"php": "^7.2 || ^8.0",
44-
"behat/transliterator": "~1.2",
44+
"behat/transliterator": "^1.2",
4545
"doctrine/annotations": "^1.13 || ^2.0",
4646
"doctrine/collections": "^1.2 || ^2.0",
4747
"doctrine/common": "^2.13 || ^3.0",
@@ -71,7 +71,7 @@
7171
"conflict": {
7272
"doctrine/dbal": "<2.13.1 || ^3.0 <3.2",
7373
"doctrine/mongodb-odm": "<2.3",
74-
"doctrine/orm": "<2.10.2",
74+
"doctrine/orm": "<2.10.2 || >= 2.16.0",
7575
"sebastian/comparator": "<2.0"
7676
},
7777
"suggest": {
@@ -94,7 +94,7 @@
9494
},
9595
"extra": {
9696
"branch-alias": {
97-
"dev-main": "3.12-dev"
97+
"dev-main": "3.13-dev"
9898
}
9999
},
100100
"scripts": {

0 commit comments

Comments
 (0)