Skip to content

Commit 546fce2

Browse files
committed
Update changelog and module documentation
1 parent a5f68c3 commit 546fce2

File tree

13 files changed

+64
-26
lines changed

13 files changed

+64
-26
lines changed

changelog.markdown

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ title: Codeception Changelog
88
# Changelog
99

1010

11+
#### 4.1.19
12+
13+
* Action file generator supports PHP 8 union types
14+
* Action file generator generates typehints for method parameters
15+
* Removed dead code related to DataProviderTestSuite
16+
* Removed documentation related to Cept format
17+
* Deprecated generate:cept command
18+
* Documentation improvements
19+
1120
#### 4.1.18
1221

1322
* Fix cleanup of included test directories [#6117](https://github.com/Codeception/Codeception/issues/6117) by **[rolandsaven](https://github.com/rolandsaven)**

docs/modules/DataFactory.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,40 @@ In case your ORM expects a related record itself (Doctrine) then you should use
154154

155155
{% endhighlight %}
156156

157+
#### Custom store
158+
159+
You can define a custom store for Factory Muffin using `customStore` parameter. It can be a simple class or a factory with `create` method.
160+
The instantiated object must implement `\League\FactoryMuffin\Stores\StoreInterface`.
161+
162+
Store factory example:
163+
{% highlight yaml %}
164+
165+
modules:
166+
enabled:
167+
- DataFactory:
168+
customStore: \common\tests\store\MyCustomStoreFactory
169+
170+
{% endhighlight %}
171+
172+
{% highlight php %}
173+
174+
use League\FactoryMuffin\Stores\StoreInterface;
175+
176+
class MyCustomStoreFactory
177+
{
178+
public function create(): StoreInterface
179+
{
180+
return CustomStore();
181+
}
182+
}
183+
184+
class CustomStore implements StoreInterface
185+
{
186+
// ...
187+
}
188+
189+
{% endhighlight %}
190+
157191
### Actions
158192

159193
#### have

docs/modules/Laminas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ Fills a text field or textarea with the given string.
625625

626626
<?php
627627
$I->fillField("//input[@type='text']", "Hello World!");
628-
$I->fillField(['name' => 'email'], 'jon@mail.com');
628+
$I->fillField(['name' => 'email'], 'jon@example.com');
629629
?>
630630

631631
{% endhighlight %}

docs/modules/Laravel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ Fills a text field or textarea with the given string.
851851

852852
<?php
853853
$I->fillField("//input[@type='text']", "Hello World!");
854-
$I->fillField(['name' => 'email'], 'jon@mail.com');
854+
$I->fillField(['name' => 'email'], 'jon@example.com');
855855
?>
856856

857857
{% endhighlight %}

docs/modules/Lumen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ Fills a text field or textarea with the given string.
651651

652652
<?php
653653
$I->fillField("//input[@type='text']", "Hello World!");
654-
$I->fillField(['name' => 'email'], 'jon@mail.com');
654+
$I->fillField(['name' => 'email'], 'jon@example.com');
655655
?>
656656

657657
{% endhighlight %}

docs/modules/Mezzio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ Fills a text field or textarea with the given string.
576576

577577
<?php
578578
$I->fillField("//input[@type='text']", "Hello World!");
579-
$I->fillField(['name' => 'email'], 'jon@mail.com');
579+
$I->fillField(['name' => 'email'], 'jon@example.com');
580580
?>
581581

582582
{% endhighlight %}

docs/modules/Phalcon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Fills a text field or textarea with the given string.
682682

683683
<?php
684684
$I->fillField("//input[@type='text']", "Hello World!");
685-
$I->fillField(['name' => 'email'], 'jon@mail.com');
685+
$I->fillField(['name' => 'email'], 'jon@example.com');
686686
?>
687687

688688
{% endhighlight %}

docs/modules/Phalcon4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ Fills a text field or textarea with the given string.
675675

676676
<?php
677677
$I->fillField("//input[@type='text']", "Hello World!");
678-
$I->fillField(['name' => 'email'], 'jon@mail.com');
678+
$I->fillField(['name' => 'email'], 'jon@example.com');
679679
?>
680680

681681
{% endhighlight %}

docs/modules/PhpBrowser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ Fills a text field or textarea with the given string.
677677

678678
<?php
679679
$I->fillField("//input[@type='text']", "Hello World!");
680-
$I->fillField(['name' => 'email'], 'jon@mail.com');
680+
$I->fillField(['name' => 'email'], 'jon@example.com');
681681
?>
682682

683683
{% endhighlight %}

docs/modules/Symfony.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ Fills a text field or textarea with the given string.
780780

781781
<?php
782782
$I->fillField("//input[@type='text']", "Hello World!");
783-
$I->fillField(['name' => 'email'], 'jon@mail.com');
783+
$I->fillField(['name' => 'email'], 'jon@example.com');
784784
?>
785785

786786
{% endhighlight %}

0 commit comments

Comments
 (0)
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