diff --git a/CHANGELOG.md b/CHANGELOG.md index 8332eaa3..d9bdd66f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Release Notes for Campaign -## 2.13.0 - Unreleased +## 2.13.0 - 2024-03-25 ### Added diff --git a/src/config.php b/src/config.php index 988af756..120e66f3 100644 --- a/src/config.php +++ b/src/config.php @@ -77,9 +77,6 @@ // The batch size to use for sendout jobs //'sendoutJobBatchSize' => 100, - // The batch size to use for sendout jobs - //'sendoutJobBatchSize' => 100, - // The amount of time in seconds to delay between sendout job batches //'sendoutJobBatchDelay' => 0, diff --git a/src/elements/MailingListElement.php b/src/elements/MailingListElement.php index cc470264..3ca05df8 100755 --- a/src/elements/MailingListElement.php +++ b/src/elements/MailingListElement.php @@ -277,6 +277,7 @@ protected static function defineDefaultTableAttributes(string $source): array /** * @var null|FieldLayout Field layout + * @see self::getFieldLayout() */ private ?FieldLayout $fieldLayout = null; diff --git a/src/elements/SendoutElement.php b/src/elements/SendoutElement.php index a659f302..d78fb7be 100755 --- a/src/elements/SendoutElement.php +++ b/src/elements/SendoutElement.php @@ -458,36 +458,43 @@ protected static function defineSearchableAttributes(): array /** * @var CampaignElement|null + * @see self::getCampaign() */ private ?CampaignElement $campaign = null; /** * @var User|null + * @see self::getSender() */ private ?User $sender = null; /** * @var ContactElement[]|null + * @see self::getContacts() */ private ?array $contacts = null; /** * @var ContactElement[]|null + * @see self::getFailedContacts() */ private ?array $failedContacts = null; /** * @var MailingListElement[]|null + * @see self::getMailingLists() */ private ?array $mailingLists = null; /** * @var MailingListElement[]|null + * @see self::getExcludedMailingLists() */ private ?array $excludedMailingLists = null; /** * @var SegmentElement[]|null + * @see self::getSegments() */ private ?array $segments = null; diff --git a/tests/README.md b/tests/README.md index 11fd6520..1dcb6ea6 100644 --- a/tests/README.md +++ b/tests/README.md @@ -31,11 +31,11 @@ composer require markhuot/craft-pest-core:^2.0.0-rc2 --dev Then run the following command from the root of your project. ```shell -php php vendor/bin/pest --configuration=vendor/putyourlightson/craft-campaign/tests/pest/phpunit.xml --test-directory=vendor/putyourlightson/craft-campaign/tests/pest +php vendor/bin/pest --configuration=vendor/putyourlightson/craft-campaign/tests/pest/phpunit.xml --test-directory=vendor/putyourlightson/craft-campaign/tests/pest ``` Or to run a specific test. ```shell -php php vendor/bin/pest --configuration=vendor/putyourlightson/craft-campaign/tests/pest/phpunit.xml --test-directory=vendor/putyourlightson/craft-campaign/tests/pest --filter=TrackerTest +php vendor/bin/pest --configuration=vendor/putyourlightson/craft-campaign/tests/pest/phpunit.xml --test-directory=vendor/putyourlightson/craft-campaign/tests/pest --filter=TrackerTest ```