foaly-nr1
c0a505366f
Use the correct type for the exception message
...
Since the UoW checks each item of a *-to-many association to ensure
it has the correct type, we should never say that we expect an instance
of `Doctrine\Common\Collections\Collection` or an `array`.
2017-11-26 17:55:59 +01:00
Marco Pivetta
2be32f249c
#1521 DDC-2922 adapting UoW and exception implementation to the new specification
2017-08-22 09:57:57 +02:00
Martin Georgiev
30088fe529
Fix double spacing in exception's message
2017-08-03 11:52:06 +01:00
Marco Pivetta
c4d41fe56a
#6017 moved ORMException::invalidEntityName
to ORMInvalidArgumentException::invalidEntityName
2016-11-27 18:36:48 +01:00
Jeroen Thora
6dcb97a20e
Fixed many small phpcs issues
2015-12-11 20:30:41 +01:00
Marco Pivetta
c7f5ee8e9e
#1228 DDC-3490 - Remove unused method
2015-01-18 01:05:53 +01:00
Marco Pivetta
71a6a88de8
#1228 DDC-3490 -better/more complete exception message for invalid populated associations
2015-01-18 00:53:34 +01:00
flip111
83de071c00
Update ORMInvalidArgumentException.php
...
remove added `value` to exception
2015-01-18 00:16:10 +01:00
flip111
b5dd999f84
Update ORMInvalidArgumentException.php
...
rename duplicate method
2015-01-18 00:16:10 +01:00
flip111
643ae78691
Update ORMInvalidArgumentException.php
...
Add unused parameters for `invalidAssociation`
2015-01-18 00:16:09 +01:00
flip111
04e4940607
Update ORMInvalidArgumentException.php
...
`@return self` trend break with `@return ORMInvalidArgumentException`
2015-01-18 00:16:09 +01:00
flip111
b120dafb70
Added new exception constructors
2015-01-18 00:16:09 +01:00
Andreas Flack
0ade3aa62a
Improve phrasing on exception message instead of trying to fix callers
2014-07-14 11:25:04 +02:00
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Benjamin Morel
dacdd6cd89
Documentation (docblock) fixes.
2012-12-01 16:28:06 +00:00
Fabio B. Silva
a09a5b9b7b
Fix DDC-2084
2012-11-05 22:23:44 -02:00
Kirill chEbba Chebunin
ac98f15cfa
Fix ORMInvalidArgumentException factory methods with return instead of throw
2012-08-29 14:02:51 +02:00
Grégoire Paris
111bb52add
delimit ternary
2012-06-11 08:23:37 +02:00
Grégoire Paris
190e63a6bb
Show the advice only when necessary.
...
This is indeed a good advice, but people who
already have implemented __toString() might
get confused about it.
2012-06-10 23:59:07 +03:00
Benjamin Eberlei
70458b2f48
LGPL => MIT
2012-05-26 14:37:00 +02:00
Fabio B. Silva
c2cee0d6eb
error messages
2011-12-22 11:05:11 -02:00
Benjamin Eberlei
719e05e53e
Extract more messages into ORMInvalidArgumentException
2011-10-22 12:57:55 +02:00
Benjamin Eberlei
a8906ce572
Stringify entity in all UnitOfWork exceptions
2011-10-22 12:49:33 +02:00
Benjamin Eberlei
5392737de4
Improved and extracted UnitOfWork error messages
2011-10-22 12:40:12 +02:00