An open API service for software projects hosted on Open Collective.

github.com/doctrine/persistence

The Doctrine Persistence project is a library that provides common abstractions for object mapper persistence.
https://github.com/doctrine/persistence

Merge pull request #394 from gries/patch-1

Improve MappingData retrieval by caching Results.

76f5f9a30e259a387677e4d7cbf915f182a18b9f authored over 9 years ago
Merge branch 'hotfix/#367-correct-symfony-file-locator-namespace-matching'

Close #367

a927949e487a96ca32a4b21a9635f05e173aea3c authored over 9 years ago
Add tests for Symfony file locator

Ensures that the prefix to path mappings can be provided in an arbitrary order. Previously these...

7a3d27109bb7b1fe9a8c657510435910bc506574 authored over 9 years ago
Fix how namespace matching happens in SymfonyFileLocator

The problem was that namespace prefixes can overlap, and for classes
that would match more than ...

2e157f4f42a3d19b69c6aa4b4cadee927cdbc653 authored over 9 years ago
Added missing assertions for test.

3302d3642fd03c7447481c95a578c4d5abb2c501 authored over 9 years ago
Add test that makes sure getElement uses the internal classCache of the FileDriver.

eb082df2777907e95cab4150b206ae798451c66d authored over 9 years ago
Improve MappingData retrieval by caching Results.

In cases where mapping Data is not cached by calling ```initilaize();```
It makes sense to cach...

d9c1869a7f0614df8029815121c9697b41ebdf31 authored over 9 years ago
Merge pull request #393 from doctrine/cleanup/drop-unsupported-php-versions

Cleanup - drop unsupported php versions

fbd4eb6cad28bcbdc48a51afd91608344431739c authored over 9 years ago
Short array syntax

4477d9307bfeeb06fa697ebc2ae209db4299524a authored over 9 years ago
Using `::class` wherever possible

75cb685efbbc9795aa4f026757c5db0022a62e20 authored over 9 years ago
Merge branch 'hotfix/#384-correct-directory-to-namespace-conversion-in-file-locators'

Close #384

01261839942e601cd141f36e80ad23af607fb97b authored over 9 years ago
#384 - hardening comparisons to get rid of silly OS-specific sorting problems

bdfb1810b9549a1a1a04279bed5f7abb32d266dc authored over 9 years ago
#384 - hardening comparisons to get rid of silly OS-specific sorting problems

dd3217250bdd78faf1ec26daa14ae7aecc6fe6d5 authored over 9 years ago
Merge branch 'hotfix/#387-fix-abstract-manager-registry-fatal-on-non-proxy'

Close #387

ebea9b18388d7263e0beca13d6d8a3cb94761e5b authored over 9 years ago
#387 - adding missing test assertion

8b6ec3af36b8912cd02bb7dcbc9fabc2552b0ec0 authored over 9 years ago
#387 - defensive coding - avoiding multiple calls to the same method

7cbb89f8932bb8257b8d2fe4da783ef5e8c7a2bf authored over 9 years ago
Fixed fatal error in AbstractManagerRegistry

af88eb254cbc4f2f76949fd9821b922208bd78a7 authored over 9 years ago
Merge pull request #388 from racheldomingo/master

Update LICENSE

619bfc947aa5a2224d802bf95e1fe9280def3f5c authored almost 10 years ago
Update LICENSE

updating from 2012 to 2015

2012454161258150059ed2a94c304a48c370da13 authored almost 10 years ago
Added sort to array to ensure expetations match

b2b913fd680905658b84a45b3668129ac72b30c2 authored almost 10 years ago
Updated additional tests affected by addition of subdirectory test files

3caa9908d04c4bf964cde4a7ee3a9caa606fb134 authored almost 10 years ago
Added replacement of directory separator with namespace separator

9912892271dcd2b4bf037ee07070f6393b2eded8 authored almost 10 years ago
Updated test to include subdirectory 'class' files

9cc32d993ad5a96623d391ccb953dbc4a64ccfc5 authored almost 10 years ago
Added test 'class' file in sub directory

80eca7ead36a2f75d7d8787da7cecd461abab743 authored almost 10 years ago
Merge pull request #373 from TomasVotruba/patch-1

composer: bump to PHPUnit 4.7

c1b4872b01638877ce568d12daa5a3e5b37f7125 authored almost 10 years ago
Merge branch 'master' of github.com:doctrine/common

52a9d940da1ebdb7017588ff7ddf36cde76fe9b9 authored almost 10 years ago
Merge pull request #350 from 4alexandr/master

Made PATTERN_MATCH_ID_METHOD more flexible

400a190ad8779b0063aef29a81a606faa2f35d2f authored almost 10 years ago
Merge pull request #366 from marcel-burkhard/patch-1

Update DefaultFileLocator.php

12395d4ec138331abfdc4ddefd8c62dcb63ef7a1 authored about 10 years ago
Update DefaultFileLocator.php

It is implicit that a file extension needs a dot, thus it is unclear that we need to supply it i...

4436f71d84ea471953cf48c294da2641b27c35a0 authored about 10 years ago
Merge pull request #361 from DavidPrevot/test

Fix static call in test

ef37999e4037f88ad54ee3284b9cd5bbafecfd35 authored over 10 years ago
Fix static call in test

Two tests were failing with the following error message:

Non-static method PHPUnit_Framework_Mo...

80a5f79fb347be48a856ff610b8be46a2fbb9214 authored over 10 years ago
Merge pull request #359 from BenMorel/master

Fixed missing / incorrect docblocks

05fe543646fb57783fdcf3731cda9729e5be971a authored over 10 years ago
Fixed missing / incorrect docblocks

970d66ec8742186a0142f58fd13ec451954c130b authored over 10 years ago
Merge pull request #357 from scaytrase/feature/symfony-filelocator-custom-ns-separator

Custom namespace separators for SymfonyFileLocator

e64f34569dd90562457520f4d6d9c2448c618b14 authored over 10 years ago
Custom namespace separators for SymfonyFileLocator

* Constructor argument validation
* Tests

453520c515071e865a70c167290abaefe8afb7a4 authored over 10 years ago
Merge pull request #351 from phansys/repo_check_classname_alias

[WIP] Improved conversion for aliased classnames

66d458208983bcd3384ba77d1d98fd618b68b8b3 authored over 10 years ago
Added test cases for MappingDriver::isTransient() and AbstractManagerRegistry::getManagerForClass().

f045d3cf58b48008ef997a9f287641ecf9c52c86 authored over 10 years ago
* Updated logic in order to delegate validation to lower methods (set explode() limit to 2).

* Added test.

e36144b5b668531084fe42c8021bb292bec6a306 authored over 10 years ago
Added validation where allowed QCNs with ":" NS separator.

Before:
```MyEntityNamespace:Foo:Bar``` resolves (silently) to ```MyEntityNamespace:Foo```

Afte...

f3c565f77e327b8b6be214e17d28c7d705d7b356 authored over 10 years ago
Fixed issue with transient Metadata information being added to loadedMetadata registry which caused issues down the road.

f268dc4a0cc99acaf00bf962810be55ec882274e authored over 10 years ago
Merge pull request #342 from Ocramius/feature/class-metadata-loading-fallback

Class metadata loading fallback hook

0c9e1ef15a7619c598a6a0eb75d69b337f82328f authored over 10 years ago
Allowing metadata to be loaded through a fallback even when loading failed due to mapping exceptions (typically not-found class)

5e76ae251cc8cdb50542693f45d4dfdf712df1ac authored over 10 years ago
`AbstractClassMetadataFactory` should provide hooks to allow fallback operations when failing to load class metadata

95837c852af46a422ed9d44f71f16669c5a9d4a9 authored over 10 years ago
Minor CS fixes in the `MappingException`

ceb8f46675a41fe90a387792ef927e76830ad3fa authored over 10 years ago
Merge pull request #328 from JeroenDeDauw/imports

Optimized imports

e610902d31b1ab1c66a7bab59002dfa3a3941380 authored almost 11 years ago
Optimized imports

1e5678c9741fb4dc1e82d3a9292e51ccbdf76012 authored almost 11 years ago
[DCOM-204] Fix include of entities inside PHAR.

2f32410cf26fd589d5e5fb4dbc25769c3e0ed7f4 authored over 11 years ago
Housekeeping

c465fc30aac5364e33d71e0e63eff12b7da0b973 authored over 11 years ago
Merge branch 'DDC-1247'

93e4f81ddb7b718fa2f22480e24d155092cb8f5a authored over 11 years ago
DDC-1247: Implement AnnotationDriver::addExcludePath

e62afbd94b251205d148591fe15675846492ac40 authored over 11 years ago
[DDC-2708][DCOM-219] Fix PHP 5.4.8 not returning true is_callable on abstract methods anymore.

34d09470836bc08c86057f193c6b675802273609 authored over 11 years ago
Merge pull request #304 from samsonasik/fix/typo

fix typo

0c8257ffcfcc5a5a88914e7d99e00878428f0cfa authored over 11 years ago
fix typo

eda4380134c1ad05c1cebc679d02abbbd0a73bdd authored over 11 years ago
Merge pull request #284 from Ocramius/DCOM-175

DCOM-175

c1b6d109f419859f9a12a3ac32f69a9e820c8347 authored almost 12 years ago
Merge pull request #245 from BenMorel/master

Documentation fixes

483af21ebc290b533b1f14eb242aeae05f4006f1 authored about 12 years ago
Fixed documentation.

- Missing docblocks
- Missing / incorrect @param / @return / @throws annotations
- Missing newli...

72c9c827f57964bc131466ad45e57249a2b46543 authored about 12 years ago
Merge pull request #281 from doctrine/hotfix/DCOM-194

DCOM-194

cf6cd833ce7b3fa45c5c51d9a90a736e4dda3853 authored about 12 years ago
Merge pull request #280 from halaxa/master

Typo in MappingException

54eefdd7fda5b0c73fe24ec7ae9b8dda47c13c42 authored about 12 years ago
Fixed a typo in MappingException

c4386008f168fbac1e489dae4ba45b3d1cde8b8b authored about 12 years ago
Merge pull request #273 from ramonornela/master

Added visibility in the methods Interfaces

a7623d0e180f1906ccd4babf32b6a69e511d34ad authored about 12 years ago
Merge pull request #275 from entering/avoid-warning-ref-class-parents

RuntimeReflectionService - throw exception instead of php warning

a5e27178434935bd8d52bcf90a788de78556532e authored about 12 years ago
Improve code to throw exception getting parents class instead of php warning

4f8515a7d88f254fd6d9e177d0baff8baa9a0511 authored about 12 years ago
Clarify class does not exist in AbstractClassMetadataFactory comments.

441fcac03b28ad61c5c5d61cb22efd1ead4e31cc authored about 12 years ago
Revert "Improve code on loadMetadata() to verify if class exists, avoid a later warning when calling class_parents()"

This reverts commit 68a40cc304103ac17823113d0cf555b5e957972c.

9a6b5bed0924cef40c2c132ae0472616caeaf84e authored about 12 years ago
Revert "Improve code to fulfill coding standards."

This reverts commit 9ac67af3f09957d2a4f306af39ccf01511191c37.

2002f6a712295f2928f65d09704c996018fe408a authored about 12 years ago
Revert "Actions done:"

This reverts commit b8479cb4398a56f6c41810e37bbbfcab973db962.

4ae3fc933c3d1a09c872d6cea71e5980df185867 authored about 12 years ago
Revert "Improve CS"

This reverts commit 54b85d57ec96536ee4f32ed5f63155ae61525935.

068dd2cb20ec99ea04073d495a54ab9c72c9989c authored about 12 years ago
Merge pull request #274 from entering/load-metadata-avoid-warn-absent-class

Improve code on loadMetadata() to verify if class exists

5793592d1d4266a9f22c8789042dea0effec5218 authored about 12 years ago
Improve CS

0bee0303e0192ac6c4f3a5f7218fd2fa53f64da9 authored about 12 years ago
Actions done:

- Change exception to MappingException
- Change test to use setExpectedException instead of @expe...

ee73a4fc4d342339a4694ee44bdc378d2e005d04 authored about 12 years ago
Improve code to fulfill coding standards.

bc7b4397bbc13bffd76a8b7443a03fee14dcb899 authored about 12 years ago
Improve code on loadMetadata() to verify if class exists, avoid a later warning when calling class_parents()

Instead throws a \RuntimeException if class doesn't exists.

7140d7338909a46e80a1f3054a10345f12dd2472 authored about 12 years ago
[FIX] Added the visibility in methods in the Interfaces.

65ecf28584d700211207e68b448cb057f01704bd authored about 12 years ago
Merge pull request #272 from myclabs/ChainDriverFix

MappingDriverChain: the default driver wasn't called for getAllClassNames()

b2a1511857d4457eaecf3de8ec8ce91c2c9247e0 authored over 12 years ago
Improved tests

46ac50d505bf9b9bc04cd90965f5ed65214afdd8 authored over 12 years ago
MappingDriverChain: the default driver wasn't called for getAllClassNames()

aba596c48b739eb82123d1d56dd33a5e395e3b55 authored over 12 years ago
Merge pull request #261 from pborreli/typos

Fixed typos

ebddff8d447c198493b45dea67b727c38fcdb953 authored over 12 years ago
Fixed typos

5a70ca0bf9748b0c87d7055525ed2ffcad08fd34 authored over 12 years ago
Merge pull request #206 from Slamdunk/hotfix/debug-export-arrayiterator

Debug::export ArrayIterator dumps the internal storage variable

e5d36e54e8b91793509d78dd83567f58d3c905cc authored over 12 years ago
Merge pull request #229 from lstrojny/feature/object-manager-decorator

Decorator base class for object manager decorators

5d5cf0a05fc847b9862f92f74f8cfc3e38d4936b authored over 12 years ago
Merge pull request #216 from Ocramius/hotfix/silent-autoloaders

Silent autoloaders support

75bf6e2f61735da2d93efcbc9879ca35518e9b64 authored over 12 years ago
Merge pull request #237 from vincequeiroz/patch-1

Update tests/Doctrine/Tests/Common/Annotations/Fixtures/NamespaceWithClo...

da57ffccbb6e3797bc55690349f32e1a4e4c27e4 authored over 12 years ago
Use doctrine/inflector and deprecate the Common Util inflector.

393941184aed53aaf2b4e1d3e757957ccd589f36 authored over 12 years ago
Merge pull request #168 from Ocramius/DCOM-96

[DCOM-96] ProxyFactory logic moved to doctrine common

38f618076600e7331d838c6295de45556ddd6d1f authored over 12 years ago
Implementing generator/factory for lazy loading proxies

87a2bc1d8bc1a8c152136d17d86853eed5bed247 authored over 12 years ago
Merge pull request #227 from jbergler/master

[DDC-2160] Smart Pluralize/Singularize support for Doctrine/Common/Util/Inflector

ad235372c48a38c484f343ab7ddd7e7ea3271788 authored over 12 years ago
Merge pull request #222 from docteurklein/lifecycle

make Base LifecycleEventArgs usable in orm and odm

3f87cd14012ea1c544e0b31c2e14edc3cc593b14 authored over 12 years ago
Decorator base class for object manager decorators

09f2380a1d7497b1c2adba6d54cc5a0caf2d8789 authored over 12 years ago
fix docblock

71b5ac30bc6b5796200657b8fed9f752e8817458 authored over 12 years ago
keep properties visibility to private

8a4d7da9f1b6350394646f1e525717e78c3eff40 authored over 12 years ago
keep deprecateed 'getEntity' method

aca6f031881f71e79f081ebd2a5ae7913d731d33 authored over 12 years ago
Merge pull request #224 from fruit/preg_quote

Use preg_quote() to escape text before inserting into regexp

c39d271760ddf223b626fc5472b548a47d0cfa07 authored over 12 years ago
Merge pull request #225 from fruit/is_file

Replace file_exists() calls with is_file() where it is needed

8a2e7d5eb18540b5fb7de3bd1977e455ce1200c0 authored over 12 years ago
Use preg_quote() to escape text before inserting into regexp

467948135396e0d286c3131efb2f29aee90cff15 authored over 12 years ago
Replace file_exists() calls with is_file() where it is needed

16dc256aab871afc6de8880e1ec6dbd15cd8e3f9 authored over 12 years ago
make Base LifecycleEventArgs usable in orm and orm

57e2394e12a5ea9da71355611152114a9c48ad32 authored over 12 years ago
Merge pull request #212 from Ocramius/issue/gh-#135

Fix for #72 #135

09e0629ee86f04669ab163b591546815e620dd08 authored over 12 years ago
Merge pull request #166 from stof/namespace_alias

Added the support of namespace alias in getManagerForClass

ad172f961c06f90128b32de596e70ea6186ab821 authored about 13 years ago
Merge pull request #161 from arnaud-lb/issue159

test case for #159

89e8d7f63bee73ca3abd7ed0ad2bf794f1769249 authored about 13 years ago
Added the support of namespace alias in getManagerForClass

See doctrine/DoctrineBundle#95

abcab832e894a9b0856f008072c961f19dad5dd6 authored about 13 years ago