[Scheduler] Mark component as non experimental

This commit is contained in:
Fabien Potencier
2023-08-03 12:44:58 +02:00
parent 4b0c5b22a2
commit 23d3c1eec7
22 changed files with 1 additions and 59 deletions

View File

@@ -15,8 +15,6 @@ namespace Symfony\Component\Scheduler\Attribute;
* Service tag to autoconfigure schedules.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @experimental
*/
#[\Attribute(\Attribute::TARGET_CLASS)]
class AsSchedule

View File

@@ -4,6 +4,7 @@ CHANGELOG
6.4
---
* Make component non experimental
* Add `--date` to `schedule:debug`
* Allow setting timezone of next run date in CronExpressionTrigger
* Add `AbstractTriggerDecorator`

View File

@@ -28,8 +28,6 @@ use function Symfony\Component\Clock\now;
* Command to list/debug schedules.
*
* @author Kevin Bond <kevinbond@gmail.com>
*
* @experimental
*/
#[AsCommand(name: 'debug:scheduler', description: 'List schedules and their recurring messages')]
final class DebugCommand extends Command

View File

@@ -14,9 +14,6 @@ namespace Symfony\Component\Scheduler\Generator;
use Symfony\Component\Lock\LockInterface;
use Symfony\Contracts\Cache\CacheInterface;
/**
* @experimental
*/
final class Checkpoint implements CheckpointInterface
{
private \DateTimeImmutable $time;

View File

@@ -11,9 +11,6 @@
namespace Symfony\Component\Scheduler\Generator;
/**
* @experimental
*/
interface CheckpointInterface
{
public function acquire(\DateTimeImmutable $now): bool;

View File

@@ -15,8 +15,6 @@ use Symfony\Component\Scheduler\Trigger\TriggerInterface;
/**
* @author Tugdual Saunier <tugdual@saunier.tech>
*
* @experimental
*/
final class MessageContext
{

View File

@@ -17,9 +17,6 @@ use Symfony\Component\Scheduler\RecurringMessage;
use Symfony\Component\Scheduler\Schedule;
use Symfony\Component\Scheduler\ScheduleProviderInterface;
/**
* @experimental
*/
final class MessageGenerator implements MessageGeneratorInterface
{
private Schedule $schedule;

View File

@@ -11,9 +11,6 @@
namespace Symfony\Component\Scheduler\Generator;
/**
* @experimental
*/
interface MessageGeneratorInterface
{
/**

View File

@@ -17,8 +17,6 @@ use Symfony\Component\Scheduler\RecurringMessage;
* @internal
*
* @extends \SplHeap<array{\DateTimeImmutable, int, RecurringMessage}>
*
* @experimental
*/
final class TriggerHeap extends \SplHeap
{

View File

@@ -14,9 +14,6 @@ namespace Symfony\Component\Scheduler\Messenger;
use Symfony\Component\Messenger\Stamp\StampInterface;
use Symfony\Component\Scheduler\Generator\MessageContext;
/**
* @experimental
*/
final class ScheduledStamp implements StampInterface
{
public function __construct(public readonly MessageContext $messageContext)

View File

@@ -17,9 +17,6 @@ use Symfony\Component\Messenger\Transport\TransportInterface;
use Symfony\Component\Scheduler\Exception\LogicException;
use Symfony\Component\Scheduler\Generator\MessageGeneratorInterface;
/**
* @experimental
*/
class SchedulerTransport implements TransportInterface
{
public function __construct(

View File

@@ -20,9 +20,6 @@ use Symfony\Component\Scheduler\Exception\InvalidArgumentException;
use Symfony\Component\Scheduler\Generator\MessageGenerator;
use Symfony\Component\Scheduler\ScheduleProviderInterface;
/**
* @experimental
*/
class SchedulerTransportFactory implements TransportFactoryInterface
{
public function __construct(

View File

@@ -3,11 +3,6 @@ Scheduler Component
Provides scheduling through Symfony Messenger.
**This Component is experimental**.
[Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html)
are not covered by Symfony's
[Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html).
Resources
---------

View File

@@ -17,9 +17,6 @@ use Symfony\Component\Scheduler\Trigger\JitterTrigger;
use Symfony\Component\Scheduler\Trigger\PeriodicalTrigger;
use Symfony\Component\Scheduler\Trigger\TriggerInterface;
/**
* @experimental
*/
final class RecurringMessage
{
private string $id;

View File

@@ -15,9 +15,6 @@ use Symfony\Component\Lock\LockInterface;
use Symfony\Component\Scheduler\Exception\LogicException;
use Symfony\Contracts\Cache\CacheInterface;
/**
* @experimental
*/
final class Schedule implements ScheduleProviderInterface
{
/** @var array<string,RecurringMessage> */

View File

@@ -11,9 +11,6 @@
namespace Symfony\Component\Scheduler;
/**
* @experimental
*/
interface ScheduleProviderInterface
{
public function getSchedule(): Schedule;

View File

@@ -15,9 +15,6 @@ use Symfony\Component\Clock\Clock;
use Symfony\Component\Clock\ClockInterface;
use Symfony\Component\Scheduler\Generator\MessageGenerator;
/**
* @experimental
*/
final class Scheduler
{
/**

View File

@@ -13,8 +13,6 @@ namespace Symfony\Component\Scheduler\Trigger;
/**
* @author Fabien Potencier <fabien@symfony.com>
*
* @experimental
*/
final class CallbackTrigger implements TriggerInterface
{

View File

@@ -20,8 +20,6 @@ use Symfony\Component\Scheduler\Exception\LogicException;
* Use cron expressions to describe a periodical trigger.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @experimental
*/
final class CronExpressionTrigger implements TriggerInterface
{

View File

@@ -11,9 +11,6 @@
namespace Symfony\Component\Scheduler\Trigger;
/**
* @experimental
*/
final class ExcludeTimeTrigger extends AbstractDecoratedTrigger
{
public function __construct(

View File

@@ -13,9 +13,6 @@ namespace Symfony\Component\Scheduler\Trigger;
use Symfony\Component\Scheduler\Exception\InvalidArgumentException;
/**
* @experimental
*/
class PeriodicalTrigger implements TriggerInterface
{
private float $intervalInSeconds = 0.0;

View File

@@ -11,9 +11,6 @@
namespace Symfony\Component\Scheduler\Trigger;
/**
* @experimental
*/
interface TriggerInterface extends \Stringable
{
/**