The NamedArgumentConstructorAnnotation has been removed. Use the @NamedArgumentConstructor
annotation instead.
SimpleAnnotationReader has been removed.
DocLexer::peek() and DocLexer::glimpse now return
Doctrine\Common\Lexer\Token objects. When using doctrine/lexer 2, these
implement ArrayAccess as a way for you to still be able to treat them as
arrays in some ways.
CachedReader and FileCacheReader have been removed use PsrCachedReader instead.
AnnotationRegistry methods related to registering annotations instead of
using autoloading have been removed.
Parameter type declarations have been added to all methods of all classes. If
you have classes inheriting from classes inside this package, you should add
parameter and return type declarations.
Support for PHP < 7.2 has been removed
PhpParser::parseClass() has been removed. Use
PhpParser::parseUseStatements() instead.
This class is deprecated and will be removed in 4.0.
Instead, use Doctrine\Persistence\Reflection\EnumReflectionProperty from
doctrine/persistence.
Deprecate passing null to ClassMetadata::fullyQualifiedClassName()
Passing null to Doctrine\ORM\ClassMetadata::fullyQualifiedClassName() is
deprecated and will no longer be possible in 4.0.
Deprecate array access
Using array access on instances of the following classes is deprecated:
Doctrine\ORM\Mapping\DiscriminatorColumnMapping
Doctrine\ORM\Mapping\EmbedClassMapping
Doctrine\ORM\Mapping\FieldMapping
Doctrine\ORM\Mapping\JoinColumnMapping
Doctrine\ORM\Mapping\JoinTableMapping
Upgrade to 3.0
BC BREAK: Calling ClassMetadata::getAssociationMappedByTargetField() with the owning side of an association now throws an exception
Previously, calling
Doctrine\ORM\Mapping\ClassMetadata::getAssociationMappedByTargetField() with
the owning side of an association returned null, which was undocumented, and
wrong according to the phpdoc of the parent method.
If you do not know whether you are on the owning or inverse side of an association,
you can use Doctrine\ORM\Mapping\ClassMetadata::isAssociationInverseSide()
to find out.
BC BREAK: Doctrine\ORM\Proxy\Autoloader no longer extends Doctrine\Common\Proxy\Autoloader
Make sure to use the former when writing a type declaration or an instanceof check.
Minor BC BREAK: Changed order of arguments passed to OneToOne, ManyToOne and Index mapping PHP attributes
To keep PHP mapping attributes consistent, order of arguments passed to above attributes has been changed
so $targetEntity is a first argument now. This change affects only non-named arguments usage.
BC BREAK: AUTO keyword for identity generation defaults to IDENTITY for PostgreSQL when using doctrine/dbal 4
When using the AUTO strategy to let Doctrine determine the identity generation mechanism for
an entity, and when using doctrine/dbal 4, PostgreSQL now uses IDENTITY
instead of SEQUENCE or SERIAL.
Typing was strengthened by leveraging native typing. This should not change any behavior. However, if you implement
any interfaces or inherit from any classes, you will need to adapt your typing accordingly. If you use static analysis
tools such as PHPStan or Psalm, new errors might be found. If you find actual bugs because of the new typing, please
open a PR that fixes it with a detailed explanation of the reason. We'll try to merge and release typing-related
fixes quickly in the coming days. [PR #3718](PHPOffice/PhpSpreadsheet#3718)
All deprecated things have been removed, for details, see 816b91d0b4
RLM Added to NumberFormatter Currency. This happens depending on release of ICU which Php is using (it does not yet happen with any official release). PhpSpreadsheet will continue to use the value returned by Php, but a method is added to keep the result unchanged from release to release. [Issue #3571](PHPOffice/PhpSpreadsheet#3571) [PR #3640](PHPOffice/PhpSpreadsheet#3640)
toFormattedString will now always return a string. This was introduced with 1.28.0, but was not properly documented at the time. This can affect the results of toArray, namedRangeToArray, and rangeToArray. [PR #3304](PHPOffice/PhpSpreadsheet#3304)
Value of constants FORMAT_CURRENCY_EUR and FORMAT_CURRENCY_USD was changed in 1.28.0, but was not properly documented at the time. [Issue #3577](PHPOffice/PhpSpreadsheet#3577)
Functions _translateFormulaToLocale and _translateFormulaEnglish are replaced by versions without leading underscore. [PR #3828](PHPOffice/PhpSpreadsheet#3828)
Typing was strengthened by leveraging native typing. This should not change any behavior. However, if you implement
any interfaces or inherit from any classes, you will need to adapt your typing accordingly. If you use static analysis
tools such as PHPStan or Psalm, new errors might be found. If you find actual bugs because of the new typing, please
open a PR that fixes it with a detailed explanation of the reason. We'll try to merge and release typing-related
fixes quickly in the coming days. [PR #3718](PHPOffice/PhpSpreadsheet#3718)
All deprecated things have been removed, for details, see 816b91d0b4
RLM Added to NumberFormatter Currency. This happens depending on release of ICU which Php is using (it does not yet happen with any official release). PhpSpreadsheet will continue to use the value returned by Php, but a method is added to keep the result unchanged from release to release. [Issue #3571](PHPOffice/PhpSpreadsheet#3571) [PR #3640](PHPOffice/PhpSpreadsheet#3640)
toFormattedString will now always return a string. This was introduced with 1.28.0, but was not properly documented at the time. This can affect the results of toArray, namedRangeToArray, and rangeToArray. [PR #3304](PHPOffice/PhpSpreadsheet#3304)
Value of constants FORMAT_CURRENCY_EUR and FORMAT_CURRENCY_USD was changed in 1.28.0, but was not properly documented at the time. [Issue #3577](PHPOffice/PhpSpreadsheet#3577)
Functions _translateFormulaToLocale and _translateFormulaEnglish are replaced by versions without leading underscore. [PR #3828](PHPOffice/PhpSpreadsheet#3828)
#5689: Distinguish between self, direct and indirect deprecations
#5696: #[DisableReturnValueGenerationForTestDoubles] attribute for disabling return value generation for test doubles created using createMock(), createMockForIntersectionOfInterfaces(), createPartialMock(), createStub(), and createStubForIntersectionOfInterfaces()
#5175: #[CoversMethod] and #[UsesMethod] attributes for more fine-grained code coverage targeting
#5720: Support filtering using --filter, --exclude-filter, --group, and --exclude-group when listing tests using --list-tests and --list-tests-xml as well as listing groups with --list-groups
#5733: Implicitly include (abstract) parent class(es) with #[CoversClass] and #[UsesClass] attributes
--only-summary-for-coverage-text CLI option to reduce the code coverage report in text format to a summary
--show-uncovered-for-coverage-text CLI option to expand the code coverage report in text format to include a list of uncovered files
Changed
#5689: The XML configuration file generated using --generate-configuration now generates <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true"> instead of <source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
#5708: Allow the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options to be used multiple times
PHPUnit\Framework\TestCase::__construct() is now annotated to be final in preparation for declaring it final in PHPUnit 12
Changed how the DeprecationTriggered, ErrorTriggered, NoticeTriggered, PhpDeprecationTriggered, PhpNoticeTriggered, PhpWarningTriggered, and WarningTriggered events are represented as text
Deprecated
#5689: The restrictDeprecations attribute on the <source> element of the XML configuration file is now deprecated in favor of the ignoreSelfDeprecations, ignoreDirectDeprecations, and ignoreIndirectDeprecations attributes
#5709: Deprecate support for using comma-separated values with the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options
#5689: Distinguish between self, direct and indirect deprecations
#5696: #[DisableReturnValueGenerationForTestDoubles] attribute for disabling return value generation for test doubles created using createMock(), createMockForIntersectionOfInterfaces(), createPartialMock(), createStub(), and createStubForIntersectionOfInterfaces()
#5175: #[CoversMethod] and #[UsesMethod] attributes for more fine-grained code coverage targeting
#5720: Support filtering using --filter, --exclude-filter, --group, and --exclude-group when listing tests using --list-tests and --list-tests-xml as well as listing groups with --list-groups
#5733: Implicitly include (abstract) parent class(es) with #[CoversClass] and #[UsesClass] attributes
--only-summary-for-coverage-text CLI option to reduce the code coverage report in text format to a summary
--show-uncovered-for-coverage-text CLI option to expand the code coverage report in text format to include a list of uncovered files
Changed
#5689: The XML configuration file generated using --generate-configuration now generates <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true"> instead of <source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
#5708: Allow the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options to be used multiple times
PHPUnit\Framework\TestCase::__construct() is now annotated to be final in preparation for declaring it final in PHPUnit 12
Changed how the DeprecationTriggered, ErrorTriggered, NoticeTriggered, PhpDeprecationTriggered, PhpNoticeTriggered, PhpWarningTriggered, and WarningTriggered events are represented as text
Deprecated
#5689: The restrictDeprecations attribute on the <source> element of the XML configuration file is now deprecated in favor of the ignoreSelfDeprecations, ignoreDirectDeprecations, and ignoreIndirectDeprecations attributes
#5709: Deprecate support for using comma-separated values with the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will merge this PR once CI passes on it, as requested by @algirdasc.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the major group in /backend with 4 updates: doctrine/annotations, doctrine/orm, phpoffice/phpspreadsheet and phpunit/phpunit.
Updates
doctrine/annotations
from 1.14.3 to 2.0.1Release notes
Sourced from doctrine/annotations's releases.
Upgrade guide
Sourced from doctrine/annotations's upgrade guide.
Commits
e157ef3
Merge branch '1.14.x' into 2.0.x508c71c
Merge pull request #477 from greg0ire/update-branch-metadatac580edd
Update branch metadata for documentationd02c9f3
Merge pull request #471 from greg0ire/drop-deprecated-method7a95b3b
Remove deprecated method455db74
Remove NamedArgumentConstructorAnnotation interface (#470)9dc2866
Remove SimpleAnnotationReader (#469)4919d49
Merge pull request #466 from greg0ire/allow-lexer-3c03bc8b
Allow doctrine/lexer 396c1475
Merge pull request #467 from greg0ire/param-type-declarationsUpdates
doctrine/orm
from 2.19.3 to 3.1.2Release notes
Sourced from doctrine/orm's releases.
... (truncated)
Upgrade guide
Sourced from doctrine/orm's upgrade guide.
... (truncated)
Commits
f79d166
Merge branch '2.19.x' into 3.1.x9c22814
Revert "Merge pull request #11399 from ThomasLandauer/issue-11377" (#11415)b274893
Fix BIGINT validation (#11414)e0e55dc
Merge pull request #11413 from Nayte91/doc/php-version010b1e0
docs: update PHP version in doc93eb8a1
Merge pull request #11408 from VincentLanglet/fix/fromMappingArray1464827
Fix fromMappingArray definition8709fb3
Fix templated phpdoc return type (#11407)cbb6c89
Merge pull request #11399 from ThomasLandauer/issue-11377e9e60f2
Merge pull request #11403 from ThomasLandauer/patch-10Updates
phpoffice/phpspreadsheet
from 1.29.0 to 2.0.0Release notes
Sourced from phpoffice/phpspreadsheet's releases.
... (truncated)
Changelog
Sourced from phpoffice/phpspreadsheet's changelog.
... (truncated)
Commits
4a77798
2.0.0570c86f
Merge pull request #3869 from oleibman/bit32b132c374
Merge branch 'master' into bit32ba83e9fb
Merge pull request #3873 from PHPOffice/powerkikib9901c3
Describe breaking changes3dce900
Typed coordinate and range parametersad9fe0a
Remove allmixed
in param type where reasonable (except Calculcation/)5faaf26
Merge pull request #3872 from PHPOffice/powerkiki013e5cc
Remove allmixed
in return type where possible936805a
Merge pull request #3871 from oleibman/mixedsamplesUpdates
phpunit/phpunit
from 9.6.19 to 11.1.2Release notes
Sourced from phpunit/phpunit's releases.
... (truncated)
Changelog
Sourced from phpunit/phpunit's changelog.
Commits
51e342a
Prepare release00061dd
Merge branch '10.5' into 11.1835df17
Prepare releasec083f31
Document #5812ce5d086
Update ChangeLog75709ca
Fix "PHP Warning: Uninitialized string offset 0"741f67f
Update .php-cs-fixer.dist.php97f6878
try reproducing bug57955b215d0
Merge branch '10.5' into 11.11a63f0d
Improve test namesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will merge this PR once CI passes on it, as requested by @algirdasc.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show