diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d2b28a1a4013d..21a77c5570ad7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -42,7 +42,7 @@ jobs: run: | $env:Path = 'c:\php;' + $env:Path mkdir c:\php && cd c:\php - iwr -outf php.zip https://github.com/symfony/binary-utils/releases/download/v0.1/php-8.2.0-Win32-vs16-x86.zip + iwr -outf php.zip https://github.com/symfony/binary-utils/releases/download/v0.1/php-8.4.0-Win32-vs17-x86.zip 7z x php.zip -y >nul Copy php.ini-development php.ini "memory_limit=-1" >> php.ini @@ -66,6 +66,7 @@ jobs: $env:SYMFONY_VERSION=(Select-String -CaseSensitive -Pattern " VERSION =" -SimpleMatch -Path src/Symfony/Component/HttpKernel/Kernel.php | Select Line | Select-String -Pattern "([0-9][0-9]*\.[0-9])").Matches.Value $env:COMPOSER_ROOT_VERSION=$env:SYMFONY_VERSION + ".x-dev" + $env:COMPOSER_ROOT_VERSION="7.4.x-dev" # to be removed once all deps allow ^8.0 php .github/build-packages.php HEAD^ $env:SYMFONY_VERSION src\Symfony\Bridge\PhpUnit php composer.phar update --no-progress --ansi diff --git a/UPGRADE-8.0.md b/UPGRADE-8.0.md index f79660973f0c9..1ba08f20b0cb7 100644 --- a/UPGRADE-8.0.md +++ b/UPGRADE-8.0.md @@ -205,6 +205,7 @@ Ldap * Remove the `sizeLimit` option of `AbstractQuery` * Remove `LdapUser::eraseCredentials()` in favor of `__serialize()` + * Add methods for `saslBind()` and `whoami()` to `ConnectionInterface` and `LdapInterface` Mailer ------ @@ -215,6 +216,7 @@ Messenger --------- * Remove `text` format when using the `messenger:stats` command + * Add method `getRetryDelay()` to `RecoverableExceptionInterface` Notifier -------- @@ -489,6 +491,7 @@ Uid Validator --------- + * Add method `getGroupProvider()` to `ClassMetadataInterface` * Remove the `getRequiredOptions()` and `getDefaultOption()` methods from the `All`, `AtLeastOneOf`, `CardScheme`, `Collection`, `CssColor`, `Expression`, `Regex`, `Sequentially`, `Type`, and `When` constraints * Remove support for evaluating options in the base `Constraint` class. Initialize properties in the constructor of the concrete constraint @@ -622,6 +625,7 @@ WebProfilerBundle Workflow -------- + * Add method `getEnabledTransition()` to `WorkflowInterface` * Add `$nbToken` argument to `Marking::mark()` and `Marking::unmark()` * Remove `Event::getWorkflow()` method diff --git a/src/Symfony/Component/Ldap/Adapter/ConnectionInterface.php b/src/Symfony/Component/Ldap/Adapter/ConnectionInterface.php index c2e8d87fffe63..1c9620be47d01 100644 --- a/src/Symfony/Component/Ldap/Adapter/ConnectionInterface.php +++ b/src/Symfony/Component/Ldap/Adapter/ConnectionInterface.php @@ -17,9 +17,6 @@ /** * @author Charles Sarrazin - * - * @method void saslBind(?string $dn = null, #[\SensitiveParameter] ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authcId = null, ?string $authzId = null, ?string $props = null) - * @method string whoami() */ interface ConnectionInterface { @@ -45,10 +42,10 @@ public function bind(?string $dn = null, #[\SensitiveParameter] ?string $passwor * @throws ConnectionTimeoutException When the connection can't be created because of an LDAP_TIMEOUT error * @throws InvalidCredentialsException When the connection can't be created because of an LDAP_INVALID_CREDENTIALS error */ - // public function saslBind(?string $dn = null, #[\SensitiveParameter] ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authcId = null, ?string $authzId = null, ?string $props = null): void; + public function saslBind(?string $dn = null, #[\SensitiveParameter] ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authcId = null, ?string $authzId = null, ?string $props = null): void; /* * Return authenticated and authorized (for SASL) DN. */ - // public function whoami(): string; + public function whoami(): string; } diff --git a/src/Symfony/Component/Ldap/CHANGELOG.md b/src/Symfony/Component/Ldap/CHANGELOG.md index d509ff0064f7d..e0a2843dcd8c1 100644 --- a/src/Symfony/Component/Ldap/CHANGELOG.md +++ b/src/Symfony/Component/Ldap/CHANGELOG.md @@ -6,6 +6,7 @@ CHANGELOG * Remove the `sizeLimit` option of `AbstractQuery` * Remove `LdapUser::eraseCredentials()` in favor of `__serialize()` + * Add methods for `saslBind()` and `whoami()` to `ConnectionInterface` and `LdapInterface` 7.3 --- diff --git a/src/Symfony/Component/Ldap/LdapInterface.php b/src/Symfony/Component/Ldap/LdapInterface.php index 3c211a9398756..fac5bd4bd2487 100644 --- a/src/Symfony/Component/Ldap/LdapInterface.php +++ b/src/Symfony/Component/Ldap/LdapInterface.php @@ -17,9 +17,6 @@ /** * @author Charles Sarrazin - * - * @method void saslBind(?string $dn = null, #[\SensitiveParameter] ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authcId = null, ?string $authzId = null, ?string $props = null) - * @method string whoami() */ interface LdapInterface { @@ -38,12 +35,12 @@ public function bind(?string $dn = null, #[\SensitiveParameter] ?string $passwor * * @throws ConnectionException if dn / password could not be bound */ - // public function saslBind(?string $dn = null, #[\SensitiveParameter] ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authcId = null, ?string $authzId = null, ?string $props = null): void; + public function saslBind(?string $dn = null, #[\SensitiveParameter] ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authcId = null, ?string $authzId = null, ?string $props = null): void; /** * Returns authenticated and authorized (for SASL) DN. */ - // public function whoami(): string; + public function whoami(): string; /** * Queries a ldap server for entries matching the given criteria. diff --git a/src/Symfony/Component/Messenger/CHANGELOG.md b/src/Symfony/Component/Messenger/CHANGELOG.md index 3fb88b7305b28..0935eeecb4a2a 100644 --- a/src/Symfony/Component/Messenger/CHANGELOG.md +++ b/src/Symfony/Component/Messenger/CHANGELOG.md @@ -5,6 +5,7 @@ CHANGELOG --- * Remove `text` format when using the `messenger:stats` command; use `txt` instead + * Add method `getRetryDelay()` to `RecoverableExceptionInterface` 7.4 --- diff --git a/src/Symfony/Component/Messenger/Exception/RecoverableExceptionInterface.php b/src/Symfony/Component/Messenger/Exception/RecoverableExceptionInterface.php index 9863a01e8e1a1..bd78ffd3b4aff 100644 --- a/src/Symfony/Component/Messenger/Exception/RecoverableExceptionInterface.php +++ b/src/Symfony/Component/Messenger/Exception/RecoverableExceptionInterface.php @@ -18,9 +18,11 @@ * and the message should be retried, a handler can throw such an exception. * * @author Jérémy Derussé - * - * @method int|null getRetryDelay() The time to wait in milliseconds */ interface RecoverableExceptionInterface extends \Throwable { + /** + * Returns the time to wait before potentially retrying, in millisecond. + */ + public function getRetryDelay(): ?int; } diff --git a/src/Symfony/Component/Validator/CHANGELOG.md b/src/Symfony/Component/Validator/CHANGELOG.md index d898333187041..e3357c72c99a4 100644 --- a/src/Symfony/Component/Validator/CHANGELOG.md +++ b/src/Symfony/Component/Validator/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG 8.0 --- + * Add method `getGroupProvider()` to `ClassMetadataInterface` * Remove the `getRequiredOptions()` and `getDefaultOption()` methods from the `All`, `AtLeastOneOf`, `CardScheme`, `Collection`, `CssColor`, `Expression`, `Regex`, `Sequentially`, `Type`, and `When` constraints * Remove support for evaluating options in the base `Constraint` class. Initialize properties in the constructor of the concrete constraint diff --git a/src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php b/src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php index 6625e37e6056a..e74085e6f79e5 100644 --- a/src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php +++ b/src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php @@ -30,8 +30,6 @@ * @see GroupSequence * @see GroupSequenceProviderInterface * @see TraversalStrategy - * - * @method string|null getGroupProvider() */ interface ClassMetadataInterface extends MetadataInterface { @@ -66,6 +64,8 @@ public function getGroupSequence(): ?GroupSequence; */ public function isGroupSequenceProvider(): bool; + public function getGroupProvider(): ?string; + /** * Check if there's any metadata attached to the given named property. * diff --git a/src/Symfony/Component/Workflow/CHANGELOG.md b/src/Symfony/Component/Workflow/CHANGELOG.md index 3ae763b3a93e5..3ae8f62deb7fa 100644 --- a/src/Symfony/Component/Workflow/CHANGELOG.md +++ b/src/Symfony/Component/Workflow/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG 8.0 --- + * Add method `getEnabledTransition()` to `WorkflowInterface` * Add `$nbToken` argument to `Marking::mark()` and `Marking::unmark()` * Remove `Event::getWorkflow()` method diff --git a/src/Symfony/Component/Workflow/WorkflowInterface.php b/src/Symfony/Component/Workflow/WorkflowInterface.php index 6f5bff22b56c9..b63e02cd17341 100644 --- a/src/Symfony/Component/Workflow/WorkflowInterface.php +++ b/src/Symfony/Component/Workflow/WorkflowInterface.php @@ -20,8 +20,6 @@ * Describes a workflow instance. * * @author Amrouche Hamza - * - * @method Transition|null getEnabledTransition(object $subject, string $name) */ interface WorkflowInterface { @@ -58,6 +56,8 @@ public function apply(object $subject, string $transitionName, array $context = */ public function getEnabledTransitions(object $subject): array; + public function getEnabledTransition(object $subject, string $name): ?Transition; + public function getName(): string; public function getDefinition(): Definition; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy