Luís Cobucci
|
74c8a08828
|
Use short-array syntax on "tests" directory
|
2016-12-07 23:33:41 +01:00 |
|
Luís Cobucci
|
1d5e16e9d9
|
Use short-array syntax on "tools" directory
|
2016-12-07 23:32:17 +01:00 |
|
Marco Pivetta
|
6af1d2843f
|
Bumping doctrine/common dependency to allow ^2.7.1
|
2016-12-04 06:55:26 +01:00 |
|
Marco Pivetta
|
555e8ae641
|
Merge branch 'fix/#6017-check-entity-name-in-clear-call-should-be-a-string'
Close #6017
|
2016-11-27 18:39:55 +01:00 |
|
Marco Pivetta
|
dc3b166811
|
#6017 replaced random_int() with rand() , since we still support oldstable PHP (5.6.x)
|
2016-11-27 18:38:57 +01:00 |
|
Marco Pivetta
|
44a6141235
|
#6017 removed clear($entityName) tests from UnitOfWorkTest : now covered in EntityManagerTest
|
2016-11-27 18:37:45 +01:00 |
|
Marco Pivetta
|
53c5824a6b
|
#6017 removed clear($entityName) parameter validity checks
The `UnitOfWork` is advanced stuff: don't touch if you don't know what you are doing.
|
2016-11-27 18:37:45 +01:00 |
|
Marco Pivetta
|
1d7397caf0
|
#6017 moving entity name validity checks into the EntityManager API, documenting newly thrown exception types
|
2016-11-27 18:37:45 +01:00 |
|
Marco Pivetta
|
92274124f9
|
#6017 moving tests around clear() into the EntityManager tests
`UnitOfWork` assumptions are OK, since we don't want to clutter the API even more down there
|
2016-11-27 18:37:45 +01:00 |
|
Marco Pivetta
|
49333867f8
|
FQCN reference correction
|
2016-11-27 18:36:49 +01:00 |
|
Marco Pivetta
|
9894dcb4b0
|
#6017 clear($proxyClassName) should behave like clear($realClassName)
|
2016-11-27 18:36:49 +01:00 |
|
Marco Pivetta
|
fdb2af07e7
|
#6017 hardened clear() logic, which now ensures that persisted entries are correctly cleared
|
2016-11-27 18:36:49 +01:00 |
|
Marco Pivetta
|
dffd765b1e
|
#6017 requesting clear('nonExistingEntityName') now raises a MappingException
|
2016-11-27 18:36:48 +01:00 |
|
Marco Pivetta
|
c1038096e0
|
#6017 requesting clear('nonExistingEntityName') should raise a MappingException
|
2016-11-27 18:36:48 +01:00 |
|
Marco Pivetta
|
8f77afdc34
|
#6017 removed unused ORMException::invalidEntityName
|
2016-11-27 18:36:48 +01:00 |
|
Marco Pivetta
|
754e1f5d42
|
#6017 throwing an ORMInvalidArgumentException when clearing with non-string data. Also removing duplicate null checking
|
2016-11-27 18:36:48 +01:00 |
|
Marco Pivetta
|
c97799f151
|
#6017 expecting an ORMInvalidArgumentException when clearing with invalid data
|
2016-11-27 18:36:48 +01:00 |
|
Marco Pivetta
|
56598596a4
|
#6017 adding @group annotation to newly introduced tests
|
2016-11-27 18:36:48 +01:00 |
|
Marco Pivetta
|
6ad9c9ea04
|
#6017 test coverage for ORMInvalidArgumentException::invalidEntityName
|
2016-11-27 18:36:48 +01:00 |
|
Marco Pivetta
|
c4d41fe56a
|
#6017 moved ORMException::invalidEntityName to ORMInvalidArgumentException::invalidEntityName
|
2016-11-27 18:36:48 +01:00 |
|
Jeremy Benoist
|
6b1d64d484
|
Remove unecessary persist in tests
|
2016-11-27 18:36:48 +01:00 |
|
Jeremy Benoist
|
be4aafd4f6
|
Use ORMException instead of a default exception
|
2016-11-27 18:36:48 +01:00 |
|
Jeremy Benoist
|
2a7d21ad18
|
Throw an exception instead of a workaround
|
2016-11-27 18:36:48 +01:00 |
|
Jeremy Benoist
|
4a87f00fab
|
Avoid error when entityName isn't a string
|
2016-11-27 18:36:48 +01:00 |
|
Marco Pivetta
|
77a338e0fd
|
Merge branch 'fix/#5935-#5684-#6020-#6152-id-generator-convert-to-custom-dbal-id-type'
Close #5935
Close #5684
Close #6020
Close #6152
|
2016-11-27 17:49:54 +01:00 |
|
Marco Pivetta
|
cff5c07014
|
#5935 #5684 #6020 #6152 removed useless NAME constant from the test
|
2016-11-27 17:49:09 +01:00 |
|
Marco Pivetta
|
73ea0ba8f3
|
#5935 #5684 #6020 #6152 adding description to the test scenario
|
2016-11-27 17:45:50 +01:00 |
|
Marco Pivetta
|
e736d19677
|
#5935 #5684 #6020 #6152 extracted identifier conversion to a private method
|
2016-11-27 17:42:12 +01:00 |
|
Christian Hammerl
|
0a86c324ad
|
Add test case for autoincremented id of custom type
|
2016-11-27 01:45:56 +01:00 |
|
Renan Gonçalves
|
52badf1cdd
|
Convert generated id value to its PHP representation.
According to the conversion rules of a specific DBAL mapping type.
|
2016-11-27 01:43:50 +01:00 |
|
Marco Pivetta
|
4c59ec9282
|
Merge pull request #5834 from ismailbaskin/patch-1
Fix custom-id-generator class attribute type
|
2016-11-26 07:04:02 +01:00 |
|
Marco Pivetta
|
dc7c6ed72c
|
Merge pull request #5897 from mikaelz/patch-1
Check for Xcache from INI setting
|
2016-11-26 06:48:55 +01:00 |
|
Marco Pivetta
|
28025b8230
|
Merge branch 'cleanup/#5914-cleanup-sql-walker-code'
Close #5914
|
2016-11-26 06:45:16 +01:00 |
|
Marco Pivetta
|
0ed18fb062
|
#5914 removed unused conditional inside EntityGenerator , replaced with array_filter() instead
|
2016-11-26 06:44:53 +01:00 |
|
Marco Pivetta
|
5d477cdbbc
|
#5914 ClassMetadataInfo#$lifecycleCallbacks is a multi-dimensional array
|
2016-11-26 06:42:46 +01:00 |
|
ReenExe
|
b2f5da19a4
|
clear code
|
2016-11-26 06:40:56 +01:00 |
|
ReenExe
|
401300b295
|
decrease nested if
|
2016-11-26 06:40:56 +01:00 |
|
ReenExe
|
12465e08ad
|
agree with scrutinizer
|
2016-11-26 06:40:32 +01:00 |
|
Marco Pivetta
|
89a00860e4
|
Merge branch 'fix/#6068-docblock-entity-generation-for-nullable-types'
Close #6068
|
2016-11-26 06:35:33 +01:00 |
|
Marco Pivetta
|
f8002ca27e
|
#6068 hardened test logic to verify that nothing is present after the |null in @var and @return types
|
2016-11-26 06:35:23 +01:00 |
|
Marco Pivetta
|
a4f76bda34
|
#6068 corrected nullable field expression generator, made it private to avoid misuse
|
2016-11-26 06:26:53 +01:00 |
|
Marco Pivetta
|
1d2baedfd5
|
#6068 simplified variable docblock codegen for nullable instance properties
|
2016-11-26 06:22:25 +01:00 |
|
Marco Pivetta
|
3341781f52
|
#6068 inlined code generating expression
|
2016-11-26 06:20:12 +01:00 |
|
Javier Spagnoletti
|
1dfadef221
|
Removed surplus semicolon at EntityGenerator::generateFieldMappingPropertyDocBlock()
|
2016-11-26 06:12:31 +01:00 |
|
Javier Spagnoletti
|
ad6469b64a
|
Update tests
|
2016-11-26 06:12:31 +01:00 |
|
Javier Spagnoletti
|
087d081601
|
Fix CS
|
2016-11-26 06:12:31 +01:00 |
|
Javier Spagnoletti
|
d3c604567b
|
Update docblock generation for nullable fields
|
2016-11-26 06:12:31 +01:00 |
|
Marco Pivetta
|
c148059593
|
Merge branch 'fix/#6110-collection-clear-should-also-clear-keys'
Close #6110
|
2016-11-26 06:06:59 +01:00 |
|
Marco Pivetta
|
20190605a0
|
#6110 CS (whitespace removal)
|
2016-11-26 06:06:49 +01:00 |
|
Marco Pivetta
|
9acf170292
|
#6110 split test into multiple sub-scenarios involving PersistentCollection key checking
|
2016-11-26 06:02:16 +01:00 |
|