Skip to content

Commit

Permalink
Merge 2.13.x into 2.14.x (doctrine#10181)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Oct 26, 2022
2 parents c828a38 + 75e42ab commit 1edfa91
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -42,7 +42,7 @@
"doctrine/annotations": "^1.13",
"doctrine/coding-standard": "^9.0.2 || ^10.0",
"phpbench/phpbench": "^0.16.10 || ^1.0",
"phpstan/phpstan": "~1.4.10 || 1.8.8",
"phpstan/phpstan": "~1.4.10 || 1.8.11",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
"psr/log": "^1 || ^2 || ^3",
"squizlabs/php_codesniffer": "3.7.1",
Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/advanced-configuration.rst
Expand Up @@ -132,7 +132,7 @@ The attribute driver can be injected in the ``Doctrine\ORM\Configuration``:
.. code-block:: php
<?php
use Doctrine\ORM\ORMSetup;
use Doctrine\ORM\Mapping\Driver\AttributeDriver;
$driverImpl = new AttributeDriver(['/path/to/lib/MyProject/Entities']);
$config->setMetadataDriverImpl($driverImpl);
Expand Down
6 changes: 6 additions & 0 deletions docs/en/reference/query-builder.rst
Expand Up @@ -434,6 +434,12 @@ complete list of supported helper methods available:
// Example - $qb->expr()->isNotNull('u.id') => u.id IS NOT NULL
public function isNotNull($x); // Returns string
// Example - $qb->expr()->isMemberOf('?1', 'u.groups') => ?1 MEMBER OF u.groups
public function isMemberOf($x, $y); // Returns Expr\Comparison instance
// Example - $qb->expr()->isInstanceOf('u', Employee::class) => u INSTANCE OF Employee
public function isInstanceOf($x, $y); // Returns Expr\Comparison instance
/** Arithmetic objects **/
Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/working-with-objects.rst
Expand Up @@ -305,7 +305,7 @@ as follows:
- A removed entity X will be removed from the database as a result
of the flush operation.

After an entity has been removed its in-memory state is the same as
After an entity has been removed, its in-memory state is the same as
before the removal, except for generated identifiers.

Removing an entity will also automatically delete any existing
Expand Down
2 changes: 1 addition & 1 deletion docs/en/tutorials/ordered-associations.rst
Expand Up @@ -76,7 +76,7 @@ The DQL Snippet in OrderBy is only allowed to consist of
unqualified, unquoted field names and of an optional ASC/DESC
positional statement. Multiple Fields are separated by a comma (,).
The referenced field names have to exist on the ``targetEntity``
class of the ``#[ManyToMany]`` or ``#[OneToMany]`` annotation.
class of the ``#[ManyToMany]`` or ``#[OneToMany]`` attribute.

The semantics of this feature can be described as follows:

Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Events.php
Expand Up @@ -82,7 +82,7 @@ private function __construct()

/**
* The loadClassMetadata event occurs after the mapping metadata for a class
* has been loaded from a mapping source (annotations/xml/yaml).
* has been loaded from a mapping source (attributes/xml/yaml).
*/
public const loadClassMetadata = 'loadClassMetadata';

Expand Down

0 comments on commit 1edfa91

Please sign in to comment.