Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow classname in 'value' attribute of xml discriminator-mapping field #11450

Closed
wants to merge 777 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
777 commits
Select commit Hold shift + click to select a range
1f9d1bf
Narrow down parameter type declarations for quote strategies
greg0ire May 13, 2023
6032a2c
Use OneToManyPersister::getMapping() more
greg0ire May 15, 2023
c32efc2
Merge pull request #10699 from greg0ire/narrow-down-param-type-qs
greg0ire May 16, 2023
10fa1e0
Merge remote-tracking branch 'origin/2.16.x' into 3.0.x
greg0ire May 16, 2023
ea23628
Rectorify
greg0ire May 8, 2023
535d869
Ignore issue due to Psalm bug
greg0ire May 8, 2023
749947e
Clarify things for SA
greg0ire May 8, 2023
d4915a8
Ignore unfixable error
greg0ire May 8, 2023
6ce0cf4
Add assertions based on joinColumns access
greg0ire May 8, 2023
917e0cf
Move assertion
greg0ire May 9, 2023
2987e99
Add assertion
greg0ire May 9, 2023
ca8ee91
Leverage ClassMetadataFactory::getOwningSide()
greg0ire May 12, 2023
61f2c4d
Allow ClassMetadata::FETCH_EXTRA_LAZY as a value for
greg0ire May 12, 2023
6477126
Add assertions
greg0ire May 12, 2023
bbc56aa
Ignore issue about collections
greg0ire May 22, 2023
8a762f0
Manually fix remaining issues
greg0ire May 23, 2023
497faff
Merge pull request #10723 from greg0ire/association-mapping-object-api
greg0ire May 25, 2023
2b03858
Declare options property
greg0ire May 25, 2023
2a8a886
Merge pull request #10728 from greg0ire/declare-options
greg0ire May 25, 2023
8a6dbb4
Make the join table name mandatory
greg0ire May 25, 2023
ee62934
Make the join column name mandatory
greg0ire May 26, 2023
ec43884
Merge pull request #10729 from greg0ire/mandatory-table-name
greg0ire May 30, 2023
07674b1
Migrate to the object API of Join{Column,Table}Mapping
greg0ire May 25, 2023
8b1ce48
Merge pull request #10730 from greg0ire/join-column-mapping
greg0ire May 30, 2023
46ff264
Merge remote-tracking branch 'origin/2.16.x' into 3.0.x
greg0ire Jun 5, 2023
63e9ad9
Remove unneeded ignore rule
greg0ire Jun 1, 2023
f389229
Remove unneeded DeprecatedProperty rule
greg0ire Jun 1, 2023
0945f60
Remove backward-compatibility layer
greg0ire Jun 1, 2023
96f5f84
Merge pull request #10741 from greg0ire/cleanup-bc-layers
greg0ire Jun 5, 2023
0872d14
Add missing upgrade notes
greg0ire Jun 5, 2023
f1d6ba8
Narrow types
greg0ire Jun 5, 2023
a2a4f73
Enforce reporting fields where declared
greg0ire Jun 5, 2023
575d0c0
Reject non instances of ORM\ClassMetadata
greg0ire Jun 5, 2023
e0b7240
Merge pull request #10764 from greg0ire/cleanup-bc-layers
greg0ire Jun 6, 2023
0dad2da
Enable XML validation unconditionally
greg0ire Jun 6, 2023
492635a
Merge pull request #10768 from greg0ire/cleanup-bc-layers
greg0ire Jun 7, 2023
716139c
Remove Notify change tracking policy
greg0ire Jun 7, 2023
efd429d
Merge pull request #10769 from greg0ire/cleanup-bc-layers
greg0ire Jun 10, 2023
2a8f22c
Turn deprecation into an exception
greg0ire Jun 17, 2023
663763a
Disallow lifecycle callbacks on embedded classes
greg0ire Jun 17, 2023
1bd3066
Remove missed note about deprecated drivers
andersonamuller Jun 19, 2023
3ad9c43
Merge pull request #10782 from andersonamuller/patch-2
greg0ire Jun 19, 2023
2004761
Merge pull request #10777 from greg0ire/cleanup-bc-layers
greg0ire Jun 21, 2023
6fa95b9
Merge pull request #10778 from greg0ire/lifecycle-embedded-class
greg0ire Jun 22, 2023
84a87a6
Merge remote-tracking branch 'origin/2.16.x' into 3.0.x
greg0ire Jun 23, 2023
1733bf8
Remove remaining references to the `merge()` operation (#10793)
mpdude Jun 27, 2023
3ffd3f6
Validate phpunit.xml against PHPUnit 10 schema
greg0ire Jun 27, 2023
476b68c
Merge pull request #10805 from greg0ire/valid-phpunit-xml
greg0ire Jun 27, 2023
b68cab1
Declare compatibility with DBAL 4 (#10843)
derrabus Jul 16, 2023
2dc19e6
Remove outdated comment (#10853)
greg0ire Jul 24, 2023
7d9a2c0
Merge commit 'e78163981292075c5cc987c1b50ec7a4fad0e20e' into 3.0.x
greg0ire Aug 8, 2023
394f6fe
Merge pull request #10888 from greg0ire/partial-merge-up
derrabus Aug 8, 2023
436f046
imerge 'continue-merge-up': manual merge 1-1
greg0ire Aug 15, 2023
2c39b3f
Remove base test case class (#10910)
greg0ire Aug 15, 2023
501226b
remove reference to removed yaml configuration option
dannyvankooten Sep 28, 2023
9a1085d
Merge pull request #10954 from dannyvankooten/3.0.x
greg0ire Sep 28, 2023
c69044b
Implement InternalProxy as well
greg0ire Oct 3, 2023
faec95f
Merge pull request #10909 from greg0ire/imerge/continue-merge-up
greg0ire Oct 6, 2023
8a4d35d
Merge origin/2.17.x into 3.0.x (using imerge)
greg0ire Oct 6, 2023
46ef989
Update reference
greg0ire Oct 6, 2023
795e773
Reject ID collisions in identity map unconditionally
greg0ire Oct 7, 2023
e71868f
Merge pull request #10968 from greg0ire/reject-id-collisions-uncondit…
greg0ire Oct 7, 2023
2700998
Restore job with --prefer-lowest
greg0ire Oct 7, 2023
343afda
Merge pull request #10971 from greg0ire/restore-prefer-lowest
greg0ire Oct 8, 2023
f3b6c4b
Use lazy ghosts unconditionally (#10969)
greg0ire Oct 8, 2023
83d46d7
Change EntityPersister return type
greg0ire Oct 9, 2023
a1d7de6
Merge remote-tracking branch 'origin/2.17.x' into 3.0.x
greg0ire Oct 9, 2023
4799c41
Merge pull request #10975 from greg0ire/void-execute-insert
greg0ire Oct 9, 2023
2aaec3a
Merge branch '2.17.x' into 3.0.x
derrabus Oct 9, 2023
906e91c
Merge branch '2.17.x' into 3.0.x
derrabus Oct 10, 2023
7e51a09
Updated order of mapping attribute parameters
Oct 10, 2023
2cf0c59
Allow VarExporter 7 (#10984)
derrabus Oct 10, 2023
1fe0910
Merge pull request #10332 from greg0ire/drop-lexer-2
greg0ire Oct 10, 2023
af5c250
Merge branch '2.17.x' into 3.0.x
derrabus Oct 10, 2023
99fe3b5
Remove partial syntax in DQL
greg0ire Oct 9, 2023
5c25006
Remove EntityManager::getPartialReference()
greg0ire Oct 10, 2023
689da1f
Remove unused exception
greg0ire Oct 10, 2023
18897fa
Merge pull request #10985 from greg0ire/remove-partial-from-dql
greg0ire Oct 11, 2023
5534db1
Merge commit '07b091750' into 3.0.x
greg0ire Oct 11, 2023
4a5f48f
Merge remote-tracking branch 'origin/2.17.x' into 3.0.x
greg0ire Oct 11, 2023
22e7c02
Throw exceptions for cases where attributes are illegal on Embeddable…
beberlei Oct 11, 2023
6e61571
Housekeeping: phpcs
beberlei Oct 11, 2023
2db1f76
Rework AUTO keyword deafults to be IDENTITY always, except Oracle SEQ…
beberlei Oct 11, 2023
2d31d71
Adapt tests, upgrade cs and fix static coding violations and baseline
beberlei Oct 11, 2023
6f3140a
Merge pull request #10994 from beberlei/3.0.x-g
beberlei Oct 11, 2023
7827453
UPGRADE.md is missing two latest merges.
beberlei Oct 11, 2023
06eb00d
Fix array parameters with DBAL 4 (#10995)
derrabus Oct 11, 2023
f47d68c
Merge branch '3.0.x' into 2.16.x-update-order-of-mapping-attributes
soltmar Oct 11, 2023
03148b1
Merge pull request #10964 from soltmar/2.16.x-update-order-of-mapping…
greg0ire Oct 11, 2023
e997c66
Remove schema visitors (#11001)
derrabus Oct 12, 2023
8693fa7
Merge remote-tracking branch 'origin/2.17.x' into 3.0.x
greg0ire Oct 14, 2023
3c34265
Merge pull request #11010 from greg0ire/3.0.x
greg0ire Oct 14, 2023
e280b2d
Use native return type declarations in Debug class (#11012)
greg0ire Oct 15, 2023
4444065
Remove dependency on doctrine/common (#10998)
greg0ire Oct 15, 2023
ad519a5
Prepare CI for stable DBAL 4 (#11011)
derrabus Oct 16, 2023
1fef319
Merge remote-tracking branch 'origin/2.17.x' into 3.0.x
greg0ire Oct 21, 2023
82f4a17
Use native type hint for ProxyFactory::getProxy
greg0ire Oct 22, 2023
8ab0af3
Enforce native type declarations
greg0ire Oct 21, 2023
73288bc
Merge pull request #11013 from greg0ire/native-type-decl
greg0ire Oct 22, 2023
bdc039f
Dynamically resolve AUTO to SEQUENCE or IDENTITY
greg0ire Nov 5, 2023
ffbe567
Remove unneeded test
greg0ire Nov 5, 2023
1f62233
Merge pull request #11045 from greg0ire/dynamic-recommendation
greg0ire Nov 8, 2023
30626ac
Merge remote-tracking branch 'origin/2.17.x' into 3.0.x
greg0ire Nov 8, 2023
010cd94
Drop support for unserializing old serialization formats
greg0ire Oct 10, 2023
21466a0
Merge pull request #10986 from greg0ire/drop-support-for-unserializin…
greg0ire Nov 14, 2023
56df970
Merge branch '2.17.x' into 3.0.x
derrabus Nov 15, 2023
1245933
Fix calls to removed lock methods (#11061)
derrabus Nov 15, 2023
7974a92
Merge remote-tracking branch 'derrabus/3.0.x' into 3.0.x
derrabus Nov 15, 2023
fcba06f
Merge release 2.17.0 into 3.0.x (#11062)
derrabus Nov 15, 2023
b971cbe
Merge remote-tracking branch 'origin/2.18.x' into 2.17.x-merge-up-int…
greg0ire Nov 17, 2023
b73d44b
Merge pull request #11066 from doctrine/2.17.x-merge-up-into-3.0.x_45…
greg0ire Nov 17, 2023
9a281f5
Remove wrong assertion
greg0ire Nov 19, 2023
2c06ffa
Merge pull request #11071 from greg0ire/remove-wrong-assertion
greg0ire Nov 20, 2023
f8ced51
XmlDriver: remove dead code (#11085)
staabm Nov 25, 2023
28d03e4
Merge branch '2.18.x' into 3.0.x
derrabus Dec 1, 2023
7361d3e
Merge remote-tracking branch 'origin/2.18.x' into 3.0.x
greg0ire Jan 2, 2024
64e4a21
Remove irrelevant PHP version checks
greg0ire Jan 2, 2024
1556a1f
Merge pull request #11147 from greg0ire/remove-php-version-id
greg0ire Jan 2, 2024
0a3fbac
Flatten directory tree
greg0ire Jan 2, 2024
588d29d
Merge pull request #11140 from greg0ire/psr-4
greg0ire Jan 2, 2024
8aa6a5f
Merge remote-tracking branch 'origin/2.18.x' into 3.0.x
greg0ire Jan 2, 2024
2893394
Allow XML validation to be disabled but keep it enabled by default.
jwage Jan 17, 2024
69cc78c
Merge remote-tracking branch 'fork/2.18.x' into 3.0.x
greg0ire Jan 18, 2024
cf7757e
Add back check that was reverted.
jwage Jan 26, 2024
537a27d
Add test verifying that xml validation disabling/enabling works as ex…
jwage Jan 26, 2024
282b8fb
Move expectException call before line that triggers exception (best p…
jwage Jan 26, 2024
1a5942a
Merge pull request #11165 from jwage/allow-xml-validation-disable
greg0ire Jan 26, 2024
db4d00a
Merge remote-tracking branch 'origin/2.18.x' into 3.0.x
greg0ire Jan 28, 2024
fd8d981
Merge pull request #11193 from greg0ire/3.0.x
greg0ire Jan 28, 2024
da6c6f7
Merge remote-tracking branch 'origin/2.18.x' into 3.0.x
mpdude Jan 31, 2024
09f0966
Fix CS after merge-up
mpdude Jan 31, 2024
1df03f2
Write LimitSubqueryOutputWalkerTest in a way that is portable between…
mpdude Feb 1, 2024
c7a91a4
Fix Psalm complaints after merge-up
mpdude Feb 1, 2024
2e155e9
Merge pull request #11202 from mpdude/mergeup-2.18.x-3.0.x
greg0ire Feb 1, 2024
5b8b5f2
Run Rector on the source code (#11205)
greg0ire Feb 3, 2024
3bc2cb6
Merge branch '2.19.x' into 3.0.x
derrabus Feb 3, 2024
f259754
Update branch metadata
greg0ire Feb 3, 2024
e52bc84
Merge pull request #11209 from greg0ire/update-branch-metdata
greg0ire Feb 3, 2024
7527b78
Switch back to stable dependencies (#11210)
derrabus Feb 3, 2024
f5dea25
Deprecate array access
greg0ire Feb 3, 2024
5401367
Merge pull request #11211 from greg0ire/deprecate-array-access
greg0ire Feb 3, 2024
6f507c3
Fix grammar issue in upgrade guide
greg0ire Feb 3, 2024
a7d5adb
Migrate more occurrences of array access
greg0ire Feb 3, 2024
3764ebf
Merge pull request #11212 from greg0ire/fix-grammar
greg0ire Feb 3, 2024
a2faeb9
Replace more occurrences of array access
greg0ire Feb 3, 2024
3db79eb
Merge pull request #11214 from greg0ire/followup-array-access
greg0ire Feb 3, 2024
517d038
Merge branch '3.0.x' into 3.1.x
derrabus Feb 4, 2024
54b7ad2
DoctrineSetup was renamed to ORMSetup (#11218)
derrabus Feb 4, 2024
00ed2ca
Bump dependencies in the "getting started" docs page (#11219)
derrabus Feb 4, 2024
1051817
Merge branch '3.0.x' into 3.1.x
derrabus Feb 4, 2024
27c9e9c
Update README.md
andreybolonin Feb 5, 2024
13a79b0
Merge pull request #11222 from andreybolonin/patch-3
greg0ire Feb 5, 2024
b00f0c2
Clean up outdated sentence (#11224)
BenMorel Feb 5, 2024
1854ce2
Update version ORM from 2 to 3 in docs (#11221)
andreybolonin Feb 6, 2024
aff543a
Add columns for 3.1.x and 4.0x
greg0ire Feb 6, 2024
599dd58
Merge pull request #11229 from greg0ire/add-columns
greg0ire Feb 7, 2024
94144e1
Revert "Merge pull request #11229 from greg0ire/add-columns"
derrabus Feb 7, 2024
5a40b99
Merge branch '2.18.x' into 3.0.x
derrabus Feb 7, 2024
9fcb8f1
Merge branch '3.0.x' into 3.1.x
derrabus Feb 7, 2024
9a24ce5
Merge branch '2.19.x' into 3.1.x
derrabus Feb 7, 2024
b7860c7
Merge branch '2.19.x' into 3.1.x
derrabus Feb 7, 2024
9acc70d
fix: support array-type arg in QB variadic calls (#11242)
simPod Feb 9, 2024
bf86155
Merge remote-tracking branch 'origin/2.18.x' into 3.0.x
greg0ire Feb 13, 2024
bfb033f
Merge pull request #11256 from greg0ire/3.0.x
greg0ire Feb 13, 2024
b6f4220
Throw if a variadic parameter contains unexpected named arguments (#1…
derrabus Feb 13, 2024
6290747
Validate more variadic parameters (#11261)
derrabus Feb 13, 2024
3918dcf
[Documentation] Adding link to Postgres upgrade article (#11257)
ThomasLandauer Feb 15, 2024
aa3b331
Remove unused trait
greg0ire Feb 17, 2024
6672aaf
Merge pull request #11265 from greg0ire/remove-unneeded-verify-depr
greg0ire Feb 17, 2024
f9a4adc
Merge remote-tracking branch 'origin/2.18.x' into 3.0.x
greg0ire Feb 17, 2024
d5ba106
Merge pull request #11268 from greg0ire/3.0.x
greg0ire Feb 17, 2024
4bd574d
Improve static analysis on AttachEntityListenersListener
greg0ire Feb 19, 2024
e0081b5
Account for inversedBy being a non-falsy-string or null
greg0ire Feb 19, 2024
0c4aac5
Merge pull request #11275 from greg0ire/sa-inversed-by
greg0ire Feb 20, 2024
b1f553e
Merge pull request #11272 from greg0ire/sa-attach-entity-listener
greg0ire Feb 20, 2024
b6b4cbc
Remove broken assertion from DateAddFunction and DateSubFunction (#11…
ondrejmirtes Feb 20, 2024
bc5efd4
Merge branch '2.18.x' into 3.0.x
derrabus Feb 21, 2024
78dc63d
Merge branch '2.19.x' into 3.1.x
derrabus Feb 21, 2024
fcf1116
Merge branch '3.0.x' into 3.1.x
derrabus Feb 21, 2024
fb6c0c1
Do not implicitly cast getLockContent()'s return value
greg0ire Feb 20, 2024
a0e7a59
Do not implicitly cast getLockTime()'s return type
greg0ire Feb 20, 2024
380b5b6
Do not cast file_put_contents's return type
greg0ire Feb 20, 2024
adadf1f
Do not implicitly cast glob's return type
greg0ire Feb 20, 2024
e4c2709
Merge pull request #11276 from greg0ire/no-cast-filelock
greg0ire Feb 21, 2024
3eace16
Allow (Array)ParameterType in QueryBuilder
hanishsingla Feb 20, 2024
a5bf9bb
Be less restrictive in DiscriminatorColumnMapping phpdoc (#11226)
VincentLanglet Feb 22, 2024
708146b
Test different ways of settings query parameters
derrabus Feb 21, 2024
44fa5d3
Merge pull request #11287 from derrabus/bugfix/parameter-types
derrabus Feb 22, 2024
2a250b5
Merge branch '2.18.x' into 3.0.x
derrabus Feb 22, 2024
dc21ab6
Merge branch '2.19.x' into 3.1.x
derrabus Feb 22, 2024
2df4d75
Merge branch '3.0.x' into 3.1.x
derrabus Feb 22, 2024
54cd700
Merge remote-tracking branch 'origin/2.18.x' into 3.0.x
greg0ire Feb 24, 2024
3907872
Merge pull request #11302 from greg0ire/3.0.x
greg0ire Feb 24, 2024
8c3c9f1
Merge pull request #11303 from doctrine/3.0.x
greg0ire Feb 24, 2024
859e6af
Translate comment into code and annotations
greg0ire Feb 22, 2024
d54c967
Deprecate passing null to ClassMetadata::fullyQualifiedClassName()
greg0ire Feb 24, 2024
ee5b2ce
Merge pull request #11294 from greg0ire/sa-fqcn
greg0ire Feb 25, 2024
9cc11d2
Remove extra word
greg0ire Feb 25, 2024
2a8802a
Merge pull request #11305 from doctrine/typo
greg0ire Feb 25, 2024
3f7a333
Throw a full-fledged exception on invalid call
greg0ire Feb 25, 2024
ebb0c67
Merge remote-tracking branch 'origin/2.19.x' into 3.1.x
greg0ire Feb 26, 2024
1e05684
Merge pull request #11310 from greg0ire/3.1.x
greg0ire Feb 26, 2024
b187bc8
Merge pull request #11308 from greg0ire/throw-instead-of-assert
greg0ire Feb 26, 2024
151a3fb
Merge remote-tracking branch 'origin/3.0.x' into 3.1.x
greg0ire Feb 26, 2024
c02ddd6
Merge pull request #11312 from greg0ire/3.1.x
greg0ire Feb 26, 2024
95da667
Merge remote-tracking branch 'origin/2.18.x' into 3.0.x
greg0ire Feb 28, 2024
20a6efd
Merge branch '2.18.x' into 3.0.x
derrabus Feb 29, 2024
26f7588
Merge branch '3.0.x' into 3.1.x
derrabus Feb 29, 2024
33e02b2
Merge branch '2.19.x' into 3.1.x
derrabus Feb 29, 2024
694413a
Remove PHP 7 workarounds (#11324)
derrabus Mar 1, 2024
29e1935
Merge branch '3.0.x' into 3.1.x
derrabus Mar 1, 2024
bf49055
Use enum_exists() for enums
derrabus Mar 1, 2024
ba0d384
Merge branch '3.0.x' into 3.1.x
derrabus Mar 1, 2024
cb49782
Bump Doctrine Collections to 2.2 (#11325)
derrabus Mar 1, 2024
b8d0a85
Merge branch '2.18.x' into 3.0.x
derrabus Mar 1, 2024
154920a
Merge branch '3.0.x' into 3.1.x
derrabus Mar 1, 2024
53763d4
Merge branch '2.19.x' into 3.1.x
derrabus Mar 1, 2024
ba0ea89
Use class from persistence package (#11330)
greg0ire Mar 3, 2024
507c73c
Merge branch '2.19.x' into 3.1.x
derrabus Mar 3, 2024
c3cc0fd
Merge branch '2.18.x' into 3.0.x
derrabus Mar 3, 2024
e77c5a3
Merge branch '3.0.x' into 3.1.x
derrabus Mar 3, 2024
4617a5e
Merge branch '2.19.x' into 3.1.x
derrabus Mar 3, 2024
716fc97
Merge branch '2.19.x' into 3.1.x
derrabus Mar 3, 2024
196d3a6
Merge remote-tracking branch 'origin/2.19.x' into 3.1.x
greg0ire Mar 16, 2024
b0d07ff
Merge pull request #11363 from greg0ire/3.1.x
greg0ire Mar 16, 2024
5820bb8
Avoid array access
greg0ire Mar 16, 2024
c5315f8
Merge pull request #11368 from greg0ire/address-deprecation
greg0ire Mar 17, 2024
8a14eee
Avoid another occurrence of ArrayAccess
greg0ire Mar 17, 2024
7178b9d
Merge pull request #11370 from greg0ire/forgotten-array-access
greg0ire Mar 17, 2024
a38f473
Merge remote-tracking branch 'origin/2.19.x' into 3.1.x
greg0ire Mar 18, 2024
55c4845
Merge pull request #11379 from greg0ire/3.1.x
greg0ire Mar 18, 2024
e384978
Remove older versions from the docs (#11383)
SenseException Mar 20, 2024
67ac5a8
Fixed proxy initialization for EnumReflectionProperty
Mar 20, 2024
4175edf
Merge pull request #11387 from valkars/enum-reflection
greg0ire Mar 21, 2024
0a1988b
Merge branch '2.19.x' into 3.1.x
derrabus Mar 21, 2024
9c56071
Adjust PHPBench mocks
derrabus Mar 21, 2024
753bc16
SchemaValidator: Changing mapping of BIGINT to string|int
ThomasLandauer Mar 22, 2024
cbb6c89
Merge pull request #11399 from ThomasLandauer/issue-11377
greg0ire Mar 28, 2024
1464827
Fix fromMappingArray definition
VincentLanglet Apr 3, 2024
93eb8a1
Merge pull request #11408 from VincentLanglet/fix/fromMappingArray
greg0ire Apr 3, 2024
010b1e0
docs: update PHP version in doc
Nayte91 Apr 15, 2024
e0e55dc
Merge pull request #11413 from Nayte91/doc/php-version
greg0ire Apr 15, 2024
9c22814
Revert "Merge pull request #11399 from ThomasLandauer/issue-11377" (#…
derrabus Apr 15, 2024
f79d166
Merge branch '2.19.x' into 3.1.x
derrabus Apr 15, 2024
2d8e466
Merge remote-tracking branch 'origin/2.19.x' into 3.1.x
greg0ire Apr 30, 2024
8ca99fd
Merge pull request #11433 from greg0ire/3.1.x
greg0ire Apr 30, 2024
0e26e3e
Setup Dependabot
greg0ire May 5, 2024
9e7715f
Merge pull request #11439 from greg0ire/setup-dependabot
greg0ire May 5, 2024
029ca61
Use ramsey/composer-install in PHPBench workflow (#11444)
greg0ire May 5, 2024
9dee050
allow classname in 'value' attribute of xml discriminator-mapping field
MatteoFeltrin May 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 0 additions & 36 deletions .doctrine-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,42 +94,6 @@
"branchName": "2.10.x",
"slug": "2.10",
"maintained": false
},
{
"name": "2.9",
"branchName": "2.9.x",
"slug": "2.9",
"maintained": false
},
{
"name": "2.8",
"branchName": "2.8.x",
"slug": "2.8",
"maintained": false
},
{
"name": "2.7",
"branchName": "2.7",
"slug": "2.7",
"maintained": false
},
{
"name": "2.6",
"branchName": "2.6",
"slug": "2.6",
"maintained": false
},
{
"name": "2.5",
"branchName": "2.5",
"slug": "2.5",
"maintained": false
},
{
"name": "2.4",
"branchName": "2.4",
"slug": "2.4",
"maintained": false
}
]
}
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "CI"
target-branch: "2.19.x"
84 changes: 22 additions & 62 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,27 @@ jobs:
strategy:
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
dbal-version:
- "default"
- "3.7"
extension:
- "sqlite3"
- "pdo_sqlite"
proxy:
- "common"
deps:
- "highest"
include:
- php-version: "8.0"
dbal-version: "2.13"
extension: "pdo_sqlite"
- php-version: "8.2"
dbal-version: "3@dev"
dbal-version: "4@dev"
extension: "pdo_sqlite"
- php-version: "8.2"
dbal-version: "default"
dbal-version: "4@dev"
extension: "sqlite3"
- php-version: "8.1"
dbal-version: "default"
proxy: "lazy-ghost"
deps: "lowest"
extension: "pdo_sqlite"

steps:
Expand All @@ -83,23 +78,22 @@ jobs:
uses: "ramsey/composer-install@v2"
with:
composer-options: "--ignore-platform-req=php+"
dependency-versions: "${{ matrix.deps }}"

- name: "Run PHPUnit"
run: "vendor/bin/phpunit -c ci/github/phpunit/${{ matrix.extension }}.xml --coverage-clover=coverage-no-cache.xml"
env:
ENABLE_SECOND_LEVEL_CACHE: 0
ORM_PROXY_IMPLEMENTATION: "${{ matrix.proxy }}"

- name: "Run PHPUnit with Second Level Cache"
run: "vendor/bin/phpunit -c ci/github/phpunit/${{ matrix.extension }}.xml --exclude-group performance,non-cacheable,locking_functional --coverage-clover=coverage-cache.xml"
env:
ENABLE_SECOND_LEVEL_CACHE: 1
ORM_PROXY_IMPLEMENTATION: "${{ matrix.proxy }}"

- name: "Upload coverage file"
uses: "actions/upload-artifact@v4"
with:
name: "phpunit-${{ matrix.extension }}-${{ matrix.php-version }}-${{ matrix.dbal-version }}-${{ matrix.proxy }}-coverage"
name: "phpunit-${{ matrix.extension }}-${{ matrix.php-version }}-${{ matrix.dbal-version }}-${{ matrix.deps }}-coverage"
path: "coverage*.xml"


Expand All @@ -115,19 +109,19 @@ jobs:
- "8.3"
dbal-version:
- "default"
- "3@dev"
- "3.7"
postgres-version:
- "15"
extension:
- pdo_pgsql
- pgsql
include:
- php-version: "8.0"
dbal-version: "2.13"
- php-version: "8.2"
dbal-version: "4@dev"
postgres-version: "14"
extension: pdo_pgsql
- php-version: "8.2"
dbal-version: "default"
dbal-version: "3.7"
postgres-version: "9.6"
extension: pdo_pgsql

Expand Down Expand Up @@ -188,17 +182,13 @@ jobs:
- "8.3"
dbal-version:
- "default"
- "3@dev"
- "3.7"
- "4@dev"
mariadb-version:
- "10.9"
extension:
- "mysqli"
- "pdo_mysql"
include:
- php-version: "8.0"
dbal-version: "2.13"
mariadb-version: "10.6"
extension: "pdo_mysql"

services:
mariadb:
Expand Down Expand Up @@ -258,16 +248,20 @@ jobs:
- "8.3"
dbal-version:
- "default"
- "3@dev"
- "3.7"
mysql-version:
- "5.7"
- "8.0"
extension:
- "mysqli"
- "pdo_mysql"
include:
- php-version: "8.0"
dbal-version: "2.13"
- php-version: "8.2"
dbal-version: "4@dev"
mysql-version: "8.0"
extension: "mysqli"
- php-version: "8.2"
dbal-version: "4@dev"
mysql-version: "8.0"
extension: "pdo_mysql"

Expand Down Expand Up @@ -322,40 +316,6 @@ jobs:
name: "${{ github.job }}-${{ matrix.mysql-version }}-${{ matrix.extension }}-${{ matrix.php-version }}-${{ matrix.dbal-version }}-coverage"
path: "coverage*.xml"


phpunit-lower-php-versions:
name: "PHPUnit with SQLite"
runs-on: "ubuntu-22.04"

strategy:
matrix:
php-version:
- "7.1"
deps:
- "highest"
- "lowest"

steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 2

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
ini-values: "zend.assertions=1, apc.enable_cli=1"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "${{ matrix.deps }}"

- name: "Run PHPUnit"
run: "vendor/bin/phpunit -c ci/github/phpunit/pdo_sqlite.xml"


upload_coverage:
name: "Upload coverage to Codecov"
runs-on: "ubuntu-22.04"
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/phpbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.1"

steps:
- name: "Checkout"
Expand All @@ -47,15 +47,8 @@ jobs:
coverage: "pcov"
ini-values: "zend.assertions=1, apc.enable_cli=1"

- name: "Cache dependencies installed with composer"
uses: "actions/cache@v3"
with:
path: "~/.composer/cache"
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
restore-keys: "php-${{ matrix.php-version }}-composer-locked-"

- name: "Install dependencies with composer"
run: "composer update --no-interaction --no-progress"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v3"

- name: "Run PHPBench"
run: "vendor/bin/phpbench run --report=default"
78 changes: 32 additions & 46 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,80 +24,66 @@ on:

jobs:
static-analysis-phpstan:
name: "Static Analysis with PHPStan"
runs-on: "ubuntu-22.04"
name: Static Analysis with PHPStan
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
dbal-version:
- "default"
persistence-version:
- "default"
include:
- dbal-version: "2.13"
persistence-version: "default"
- dbal-version: "default"
persistence-version: "2.5"
- dbal-version: default
config: phpstan.neon
- dbal-version: 3.8.2
config: phpstan-dbal3.neon

steps:
- name: "Checkout code"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
coverage: "none"
coverage: none
php-version: "8.3"
tools: cs2pr

- name: "Require specific DBAL version"
- name: Require specific DBAL version
run: "composer require doctrine/dbal ^${{ matrix.dbal-version }} --no-update"
if: "${{ matrix.dbal-version != 'default' }}"

- name: "Require specific persistence version"
run: "composer require doctrine/persistence ^$([ ${{ matrix.persistence-version }} = default ] && echo '3.1' || echo ${{ matrix.persistence-version }}) --no-update"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest"

- name: "Run a static analysis with phpstan/phpstan"
run: "vendor/bin/phpstan analyse"
if: "${{ matrix.dbal-version == 'default' && matrix.persistence-version == 'default'}}"
- name: Install dependencies with Composer
uses: ramsey/composer-install@v2

- name: "Run a static analysis with phpstan/phpstan"
run: "vendor/bin/phpstan analyse -c phpstan-dbal2.neon"
if: "${{ matrix.dbal-version == '2.13' }}"

- name: "Run a static analysis with phpstan/phpstan"
run: "vendor/bin/phpstan analyse -c phpstan-persistence2.neon"
if: "${{ matrix.dbal-version == 'default' && matrix.persistence-version != 'default'}}"
- name: Run static analysis with phpstan/phpstan
run: "vendor/bin/phpstan analyse -c ${{ matrix.config }} --error-format=checkstyle | cs2pr"

static-analysis-psalm:
name: "Static Analysis with Psalm"
runs-on: "ubuntu-22.04"
name: Static Analysis with Psalm
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
dbal-version:
- default
- 3.8.2

steps:
- name: "Checkout code"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
coverage: "none"
coverage: none
php-version: "8.3"
tools: cs2pr

- name: "Require specific persistence version"
run: "composer require doctrine/persistence ^3.1 --no-update"
- name: Require specific DBAL version
run: "composer require doctrine/dbal ^${{ matrix.dbal-version }} --no-update"
if: "${{ matrix.dbal-version != 'default' }}"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest"
- name: Install dependencies with Composer
uses: ramsey/composer-install@v2

- name: "Run a static analysis with vimeo/psalm"
run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc)"
- name: Run static analysis with Vimeo Psalm
run: vendor/bin/psalm --shepherd
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ sqlite database.
Tips for creating unit tests:

1. If you put a test into the `Ticket` namespace as described above, put the testcase and all entities into the same class.
See `https://github.com/doctrine/orm/tree/2.8.x/tests/Tests/ORM/Functional/Ticket/DDC2306Test.php` for an
See `https://github.com/doctrine/orm/tree/3.0.x/tests/Tests/ORM/Functional/Ticket/DDC2306Test.php` for an
example.

## Getting merged
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[<h1 align="center">🇺🇦 UKRAINE NEEDS YOUR HELP NOW!</h1>](https://www.doctrine-project.org/stop-war.html)

Doctrine ORM is an object-relational mapper for PHP 7.1+ that provides transparent persistence
Doctrine ORM is an object-relational mapper for PHP 8.1+ that provides transparent persistence
for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features
is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL),
inspired by Hibernate's HQL. This provides developers with a powerful alternative to SQL that maintains flexibility
Expand Down
Loading
Loading