Skip to content

Commit af0cea6

Browse files
committed
auto updated documentation
1 parent 551eb05 commit af0cea6

File tree

6 files changed

+206
-182
lines changed

6 files changed

+206
-182
lines changed

changelog.markdown

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ title: Codeception Changelog
77

88
# Changelog
99

10+
#### 3.1.2
11+
12+
* **[Doctrine2]** Support non-entity doctrine **[id](https://github.com/id)** on the haveInRepository debug message by **[Basster](https://github.com/Basster)**
13+
* [Frameworks][PhpBrowser] Improved detection of content-type for .fail files by **[jasny](https://github.com/jasny)**
14+
* [Frameworks][PhpBrowser] Add HTML snapshots of failing tests to HTML Report by **[reinholdfuereder](https://github.com/reinholdfuereder)**
15+
* **[Symfony]** Fixed runConsoleCommand by **[wirwolf](https://github.com/wirwolf)**
16+
* **[Symfony]** grabService uses the special test service container if available by **[burned42](https://github.com/burned42)**
17+
* **[Webdriver]** Display cookie details in debug output by **[Mitrichius](https://github.com/Mitrichius)**
18+
* **[WebDriver]** Improved error text of WaitForJS method by **[eriksape](https://github.com/eriksape)**
19+
* Code coverage does not fail when excluded directory not exists by **[Mitrichius](https://github.com/Mitrichius)**
20+
* Use path resolver for bootstrap file detection by **[laoneo](https://github.com/laoneo)**
21+
* **[Docs]** Documentation updates by **[burned42](https://github.com/burned42)**, **[kishorehariram](https://github.com/kishorehariram)**, **[Mitrichius](https://github.com/Mitrichius)**, **[ruudboon](https://github.com/ruudboon)**, **[sva1sva](https://github.com/sva1sva)**
22+
1023
#### 3.1.1
1124

1225
* Preparation for Symfony 5, removes deprecation message when Symfony 4.3 components are used. See [#5670](https://github.com/Codeception/Codeception/issues/5670) by **[Naktibalda](https://github.com/Naktibalda)**

docs/modules/Apc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Performs a cleanup by flushing all values after each test run.
1919

2020
* Maintainer: **Serghei Iakovlev**
2121
* Stability: **stable**
22-
* Contact: serghei@phalconphp.com
22+
* Contact: serghei@phalcon.io
2323

2424
#### Example (`unit.suite.yml`)
2525

docs/modules/Db.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,20 +303,32 @@ $mails = $I->grabColumnFromDatabase('users', 'email', array('name' => 'RebOOter'
303303

304304
#### grabFromDatabase
305305

306-
Fetches all values from the column in database.
306+
Fetches a single column value from a database.
307307
Provide table name, desired column and criteria.
308308

309309
{% highlight php %}
310310

311311
<?php
312-
$mails = $I->grabFromDatabase('users', 'email', array('name' => 'RebOOter'));
312+
$mail = $I->grabFromDatabase('users', 'email', array('name' => 'Davert'));
313313

314314
{% endhighlight %}
315+
Comparison expressions can be used as well:
316+
317+
{% highlight php %}
318+
319+
<?php
320+
$post = $I->grabFromDatabase('posts', ['num_comments >=' => 100]);
321+
$user = $I->grabFromDatabase('users', ['email like' => 'miles%']);
322+
323+
{% endhighlight %}
324+
325+
Supported operators: `<`, `>`, `>=`, `<=`, `!=`, `like`.
315326

316327
* `param string` $table
317328
* `param string` $column
318-
* `param array` $criteria
329+
* `param array` $criteria
319330

331+
* `return` mixed Returns a single column value or false
320332

321333

322334
#### grabNumRecords

docs/modules/Doctrine2.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ $email = $I->grabFromRepository('User', 'email', array('name' => 'davert'));
185185
* `param` $entity
186186
* `param` $field
187187
* `param array` $params
188-
* `return` array
189188

190189

191190
#### haveFakeRepository

docs/modules/Phalcon.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Phalcon - Codeception - Documentation
1010
# Phalcon
1111

1212

13-
This module provides integration with [Phalcon framework](http://www.phalconphp.com/) (3.x).
13+
This module provides integration with [Phalcon framework](http://www.phalcon.io/) (3.x).
1414
Please try it and leave your feedback.
1515

1616
### Demo Project
@@ -21,7 +21,7 @@ Please try it and leave your feedback.
2121

2222
* Maintainer: **Serghei Iakovlev**
2323
* Stability: **stable**
24-
* Contact: serghei@phalconphp.com
24+
* Contact: serghei@phalcon.io
2525

2626
### Config
2727

0 commit comments

Comments
 (0)