diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index a8c51585931f..29934ca10647 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -19,7 +19,8 @@ class Kernel extends ConsoleKernel
/**
* Define the application's command schedule.
*
- * @param \Illuminate\Console\Scheduling\Schedule $schedule
+ * @param \Illuminate\Console\Scheduling\Schedule $schedule
+ *
* @return void
*/
protected function schedule(Schedule $schedule)
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index 043cad6bcccc..3b97f12b4208 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -29,7 +29,8 @@ class Handler extends ExceptionHandler
/**
* Report or log an exception.
*
- * @param \Exception $exception
+ * @param \Exception $exception
+ *
* @return void
*/
public function report(Exception $exception)
@@ -40,8 +41,9 @@ class Handler extends ExceptionHandler
/**
* Render an exception into an HTTP response.
*
- * @param \Illuminate\Http\Request $request
- * @param \Exception $exception
+ * @param \Illuminate\Http\Request $request
+ * @param \Exception $exception
+ *
* @return \Illuminate\Http\Response
*/
public function render($request, Exception $exception)
diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php
index e749c07770a6..1bf9d3af8d6d 100644
--- a/app/Http/Controllers/Auth/RegisterController.php
+++ b/app/Http/Controllers/Auth/RegisterController.php
@@ -2,11 +2,11 @@
namespace App\Http\Controllers\Auth;
-use App\User;
use App\Http\Controllers\Controller;
+use App\User;
+use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
-use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
@@ -43,14 +43,15 @@ class RegisterController extends Controller
/**
* Get a validator for an incoming registration request.
*
- * @param array $data
+ * @param array $data
+ *
* @return \Illuminate\Contracts\Validation\Validator
*/
protected function validator(array $data)
{
return Validator::make($data, [
- 'name' => 'required|string|max:255',
- 'email' => 'required|string|email|max:255|unique:users',
+ 'name' => 'required|string|max:255',
+ 'email' => 'required|string|email|max:255|unique:users',
'password' => 'required|string|min:6|confirmed',
]);
}
@@ -58,14 +59,15 @@ class RegisterController extends Controller
/**
* Create a new user instance after a valid registration.
*
- * @param array $data
+ * @param array $data
+ *
* @return \App\User
*/
protected function create(array $data)
{
return User::create([
- 'name' => $data['name'],
- 'email' => $data['email'],
+ 'name' => $data['name'],
+ 'email' => $data['email'],
'password' => Hash::make($data['password']),
]);
}
diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php
index 03e02a23e291..a0a2a8a34a62 100644
--- a/app/Http/Controllers/Controller.php
+++ b/app/Http/Controllers/Controller.php
@@ -2,10 +2,10 @@
namespace App\Http\Controllers;
-use Illuminate\Foundation\Bus\DispatchesJobs;
-use Illuminate\Routing\Controller as BaseController;
-use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
+use Illuminate\Foundation\Bus\DispatchesJobs;
+use Illuminate\Foundation\Validation\ValidatesRequests;
+use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php
index 94919620d600..c077e19b76a2 100644
--- a/app/Http/Kernel.php
+++ b/app/Http/Kernel.php
@@ -51,15 +51,15 @@ class Kernel extends HttpKernel
* @var array
*/
protected $routeMiddleware = [
- 'auth' => \App\Http\Middleware\Authenticate::class,
- 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
- 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
+ 'auth' => \App\Http\Middleware\Authenticate::class,
+ 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
+ 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
- 'can' => \Illuminate\Auth\Middleware\Authorize::class,
- 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
- 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
- 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
- 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
+ 'can' => \Illuminate\Auth\Middleware\Authorize::class,
+ 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
+ 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
+ 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
+ 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
];
/**
diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php
index 41ad4a90db69..fef0ba0fc88c 100644
--- a/app/Http/Middleware/Authenticate.php
+++ b/app/Http/Middleware/Authenticate.php
@@ -9,7 +9,8 @@ class Authenticate extends Middleware
/**
* Get the path the user should be redirected to when they are not authenticated.
*
- * @param \Illuminate\Http\Request $request
+ * @param \Illuminate\Http\Request $request
+ *
* @return string
*/
protected function redirectTo($request)
diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php
index e4cec9c8b11b..afe1c26c684d 100644
--- a/app/Http/Middleware/RedirectIfAuthenticated.php
+++ b/app/Http/Middleware/RedirectIfAuthenticated.php
@@ -10,9 +10,10 @@ class RedirectIfAuthenticated
/**
* Handle an incoming request.
*
- * @param \Illuminate\Http\Request $request
- * @param \Closure $next
- * @param string|null $guard
+ * @param \Illuminate\Http\Request $request
+ * @param \Closure $next
+ * @param string|null $guard
+ *
* @return mixed
*/
public function handle($request, Closure $next, $guard = null)
diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php
index 7daf51f1650d..c661475cdd31 100644
--- a/app/Http/Middleware/TrustProxies.php
+++ b/app/Http/Middleware/TrustProxies.php
@@ -2,8 +2,8 @@
namespace App\Http\Middleware;
-use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
+use Illuminate\Http\Request;
class TrustProxies extends Middleware
{
diff --git a/app/Models/Traits/CalculatesInvoiceTotals.php b/app/Models/Traits/CalculatesInvoiceTotals.php
index 442e1b3999de..ee407dfdb11a 100644
--- a/app/Models/Traits/CalculatesInvoiceTotals.php
+++ b/app/Models/Traits/CalculatesInvoiceTotals.php
@@ -3,16 +3,15 @@
namespace App\Models\Traits;
/**
- * Class CalculatesInvoiceTotals
+ * Class CalculatesInvoiceTotals.
*/
-
class CalculatesInvoiceTotals
{
-
protected $invoice;
/**
* InvoiceTotals constructor.
+ *
* @param $invoice
*/
public function __construct($invoice)
@@ -20,16 +19,11 @@ class CalculatesInvoiceTotals
$this->invoice = $invoice;
}
-
public function calculate()
{
-
}
private function sumLineItems()
{
-
}
-
-
}
diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php
index 9784b1a3003a..9e68caa6f3c5 100644
--- a/app/Providers/AuthServiceProvider.php
+++ b/app/Providers/AuthServiceProvider.php
@@ -2,7 +2,6 @@
namespace App\Providers;
-use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php
index 352cce44a3de..395c518bc47b 100644
--- a/app/Providers/BroadcastServiceProvider.php
+++ b/app/Providers/BroadcastServiceProvider.php
@@ -2,8 +2,8 @@
namespace App\Providers;
-use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
+use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{
diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php
index 6c64e52bef79..723a290d57d8 100644
--- a/app/Providers/EventServiceProvider.php
+++ b/app/Providers/EventServiceProvider.php
@@ -2,10 +2,10 @@
namespace App\Providers;
-use Illuminate\Support\Facades\Event;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
+use Illuminate\Support\Facades\Event;
class EventServiceProvider extends ServiceProvider
{
diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php
index 5ea48d39d4f9..548e4be7b37e 100644
--- a/app/Providers/RouteServiceProvider.php
+++ b/app/Providers/RouteServiceProvider.php
@@ -2,8 +2,8 @@
namespace App\Providers;
-use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
+use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvider
{
diff --git a/app/User.php b/app/User.php
index fbc0e589f258..abafe7cb8d48 100644
--- a/app/User.php
+++ b/app/User.php
@@ -2,9 +2,8 @@
namespace App;
-use Illuminate\Notifications\Notifiable;
-use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
+use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
diff --git a/app/Utils/NumberHelper.php b/app/Utils/NumberHelper.php
index da2c2fee7d64..8173cd9c688e 100644
--- a/app/Utils/NumberHelper.php
+++ b/app/Utils/NumberHelper.php
@@ -3,19 +3,18 @@
namespace App\Utils;
/**
- * Class NumberHelper
- * @package App\Utils
+ * Class NumberHelper.
*/
class NumberHelper
{
/**
* @param float $value
- * @param int $precision
+ * @param int $precision
+ *
* @return float
*/
public static function roundValue(float $value, int $precision = 2) : float
{
return round($value, $precision, PHP_ROUND_HALF_UP);
}
-
-}
\ No newline at end of file
+}
diff --git a/c3.php b/c3.php
index 43e9e64639a6..bea4faea5bf7 100644
--- a/c3.php
+++ b/c3.php
@@ -1,8 +1,9 @@
$value) {
- $_SERVER["HTTP_X_CODECEPTION_" . strtoupper($key)] = $value;
+ $_SERVER['HTTP_X_CODECEPTION_'.strtoupper($key)] = $value;
}
}
}
@@ -28,14 +29,14 @@ if (!function_exists('__c3_error')) {
{
$errorLogFile = defined('C3_CODECOVERAGE_ERROR_LOG_FILE') ?
C3_CODECOVERAGE_ERROR_LOG_FILE :
- C3_CODECOVERAGE_MEDIATE_STORAGE . DIRECTORY_SEPARATOR . 'error.txt';
+ C3_CODECOVERAGE_MEDIATE_STORAGE.DIRECTORY_SEPARATOR.'error.txt';
if (is_writable($errorLogFile)) {
file_put_contents($errorLogFile, $message);
} else {
$message = "Could not write error to log file ($errorLogFile), original message: $message";
}
if (!headers_sent()) {
- header('X-Codeception-CodeCoverage-Error: ' . str_replace("\n", ' ', $message), true, 500);
+ header('X-Codeception-CodeCoverage-Error: '.str_replace("\n", ' ', $message), true, 500);
}
setcookie('CODECEPTION_CODECOVERAGE_ERROR', $message);
}
@@ -57,13 +58,13 @@ if (!class_exists('PHPUnit_Runner_Version') && class_exists('PHPUnit\Runner\Vers
}
// Autoload Codeception classes
if (!class_exists('\\Codeception\\Codecept')) {
- if (file_exists(__DIR__ . '/codecept.phar')) {
- require_once 'phar://' . __DIR__ . '/codecept.phar/autoload.php';
- } elseif (stream_resolve_include_path(__DIR__ . '/vendor/autoload.php')) {
- require_once __DIR__ . '/vendor/autoload.php';
+ if (file_exists(__DIR__.'/codecept.phar')) {
+ require_once 'phar://'.__DIR__.'/codecept.phar/autoload.php';
+ } elseif (stream_resolve_include_path(__DIR__.'/vendor/autoload.php')) {
+ require_once __DIR__.'/vendor/autoload.php';
// Required to load some methods only available at codeception/autoload.php
- if (stream_resolve_include_path(__DIR__ . '/vendor/codeception/codeception/autoload.php')) {
- require_once __DIR__ . '/vendor/codeception/codeception/autoload.php';
+ if (stream_resolve_include_path(__DIR__.'/vendor/codeception/codeception/autoload.php')) {
+ require_once __DIR__.'/vendor/codeception/codeception/autoload.php';
}
} elseif (stream_resolve_include_path('Codeception/autoload.php')) {
require_once 'Codeception/autoload.php';
@@ -72,10 +73,10 @@ if (!class_exists('\\Codeception\\Codecept')) {
}
}
// Load Codeception Config
-$config_dist_file = realpath(__DIR__) . DIRECTORY_SEPARATOR . 'codeception.dist.yml';
-$config_file = realpath(__DIR__) . DIRECTORY_SEPARATOR . 'codeception.yml';
+$config_dist_file = realpath(__DIR__).DIRECTORY_SEPARATOR.'codeception.dist.yml';
+$config_file = realpath(__DIR__).DIRECTORY_SEPARATOR.'codeception.yml';
if (isset($_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE_CONFIG'])) {
- $config_file = realpath(__DIR__) . DIRECTORY_SEPARATOR . $_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE_CONFIG'];
+ $config_file = realpath(__DIR__).DIRECTORY_SEPARATOR.$_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE_CONFIG'];
}
if (file_exists($config_file)) {
// Use codeception.yml for configuration.
@@ -85,6 +86,7 @@ if (file_exists($config_file)) {
} else {
__c3_error(sprintf("Codeception config file '%s' not found", $config_file));
}
+
try {
\Codeception\Configuration::config($config_file);
} catch (\Exception $e) {
@@ -95,86 +97,92 @@ if (!defined('C3_CODECOVERAGE_MEDIATE_STORAGE')) {
gc_disable();
$memoryLimit = ini_get('memory_limit');
$requiredMemory = '384M';
- if ((substr($memoryLimit, -1) === 'M' && (int)$memoryLimit < (int)$requiredMemory)
- || (substr($memoryLimit, -1) === 'K' && (int)$memoryLimit < (int)$requiredMemory * 1024)
- || (ctype_digit($memoryLimit) && (int)$memoryLimit < (int)$requiredMemory * 1024 * 1024)
+ if ((substr($memoryLimit, -1) === 'M' && (int) $memoryLimit < (int) $requiredMemory)
+ || (substr($memoryLimit, -1) === 'K' && (int) $memoryLimit < (int) $requiredMemory * 1024)
+ || (ctype_digit($memoryLimit) && (int) $memoryLimit < (int) $requiredMemory * 1024 * 1024)
) {
ini_set('memory_limit', $requiredMemory);
}
- define('C3_CODECOVERAGE_MEDIATE_STORAGE', Codeception\Configuration::logDir() . 'c3tmp');
+ define('C3_CODECOVERAGE_MEDIATE_STORAGE', Codeception\Configuration::logDir().'c3tmp');
define('C3_CODECOVERAGE_PROJECT_ROOT', Codeception\Configuration::projectDir());
define('C3_CODECOVERAGE_TESTNAME', $_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE']);
function __c3_build_html_report(PHP_CodeCoverage $codeCoverage, $path)
{
$writer = new PHP_CodeCoverage_Report_HTML();
- $writer->process($codeCoverage, $path . 'html');
- if (file_exists($path . '.tar')) {
- unlink($path . '.tar');
+ $writer->process($codeCoverage, $path.'html');
+ if (file_exists($path.'.tar')) {
+ unlink($path.'.tar');
}
- $phar = new PharData($path . '.tar');
+ $phar = new PharData($path.'.tar');
$phar->setSignatureAlgorithm(Phar::SHA1);
- $files = $phar->buildFromDirectory($path . 'html');
+ $files = $phar->buildFromDirectory($path.'html');
array_map('unlink', $files);
if (in_array('GZ', Phar::getSupportedCompression())) {
- if (file_exists($path . '.tar.gz')) {
- unlink($path . '.tar.gz');
+ if (file_exists($path.'.tar.gz')) {
+ unlink($path.'.tar.gz');
}
$phar->compress(\Phar::GZ);
// close the file so that we can rename it
unset($phar);
- unlink($path . '.tar');
- rename($path . '.tar.gz', $path . '.tar');
+ unlink($path.'.tar');
+ rename($path.'.tar.gz', $path.'.tar');
}
- return $path . '.tar';
+
+ return $path.'.tar';
}
function __c3_build_clover_report(PHP_CodeCoverage $codeCoverage, $path)
{
$writer = new PHP_CodeCoverage_Report_Clover();
- $writer->process($codeCoverage, $path . '.clover.xml');
- return $path . '.clover.xml';
+ $writer->process($codeCoverage, $path.'.clover.xml');
+
+ return $path.'.clover.xml';
}
function __c3_build_crap4j_report(PHP_CodeCoverage $codeCoverage, $path)
{
$writer = new PHP_CodeCoverage_Report_Crap4j();
- $writer->process($codeCoverage, $path . '.crap4j.xml');
- return $path . '.crap4j.xml';
+ $writer->process($codeCoverage, $path.'.crap4j.xml');
+
+ return $path.'.crap4j.xml';
}
function __c3_build_phpunit_report(PHP_CodeCoverage $codeCoverage, $path)
{
$writer = new PHP_CodeCoverage_Report_XML(\PHPUnit_Runner_Version::id());
- $writer->process($codeCoverage, $path . 'phpunit');
- if (file_exists($path . '.tar')) {
- unlink($path . '.tar');
+ $writer->process($codeCoverage, $path.'phpunit');
+ if (file_exists($path.'.tar')) {
+ unlink($path.'.tar');
}
- $phar = new PharData($path . '.tar');
+ $phar = new PharData($path.'.tar');
$phar->setSignatureAlgorithm(Phar::SHA1);
- $files = $phar->buildFromDirectory($path . 'phpunit');
+ $files = $phar->buildFromDirectory($path.'phpunit');
array_map('unlink', $files);
if (in_array('GZ', Phar::getSupportedCompression())) {
- if (file_exists($path . '.tar.gz')) {
- unlink($path . '.tar.gz');
+ if (file_exists($path.'.tar.gz')) {
+ unlink($path.'.tar.gz');
}
$phar->compress(\Phar::GZ);
// close the file so that we can rename it
unset($phar);
- unlink($path . '.tar');
- rename($path . '.tar.gz', $path . '.tar');
+ unlink($path.'.tar');
+ rename($path.'.tar.gz', $path.'.tar');
}
- return $path . '.tar';
+
+ return $path.'.tar';
}
function __c3_send_file($filename)
{
if (!headers_sent()) {
readfile($filename);
}
+
return __c3_exit();
}
/**
* @param $filename
* @param bool $lock Lock the file for writing?
+ *
* @return [null|PHP_CodeCoverage|\SebastianBergmann\CodeCoverage\CodeCoverage, resource]
*/
- function __c3_factory($filename, $lock=false)
+ function __c3_factory($filename, $lock = false)
{
$file = null;
if ($filename !== null && is_readable($filename)) {
@@ -189,12 +197,13 @@ if (!defined('C3_CODECOVERAGE_MEDIATE_STORAGE')) {
$phpCoverage = unserialize(file_get_contents($filename));
}
- return array($phpCoverage, $file);
+ return [$phpCoverage, $file];
} else {
$phpCoverage = new PHP_CodeCoverage();
}
if (isset($_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE_SUITE'])) {
$suite = $_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE_SUITE'];
+
try {
$settings = \Codeception\Configuration::suiteSettings($suite, \Codeception\Configuration::config());
} catch (Exception $e) {
@@ -203,6 +212,7 @@ if (!defined('C3_CODECOVERAGE_MEDIATE_STORAGE')) {
} else {
$settings = \Codeception\Configuration::config();
}
+
try {
\Codeception\Coverage\Filter::setup($phpCoverage)
->whiteList($settings)
@@ -210,14 +220,14 @@ if (!defined('C3_CODECOVERAGE_MEDIATE_STORAGE')) {
} catch (Exception $e) {
__c3_error($e->getMessage());
}
- return array($phpCoverage, $file);
+
+ return [$phpCoverage, $file];
}
function __c3_exit()
{
if (!isset($_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE_DEBUG'])) {
exit;
}
- return null;
}
function __c3_clear()
{
@@ -226,21 +236,22 @@ if (!defined('C3_CODECOVERAGE_MEDIATE_STORAGE')) {
}
if (!is_dir(C3_CODECOVERAGE_MEDIATE_STORAGE)) {
if (mkdir(C3_CODECOVERAGE_MEDIATE_STORAGE, 0777, true) === false) {
- __c3_error('Failed to create directory "' . C3_CODECOVERAGE_MEDIATE_STORAGE . '"');
+ __c3_error('Failed to create directory "'.C3_CODECOVERAGE_MEDIATE_STORAGE.'"');
}
}
// evaluate base path for c3-related files
-$path = realpath(C3_CODECOVERAGE_MEDIATE_STORAGE) . DIRECTORY_SEPARATOR . 'codecoverage';
+$path = realpath(C3_CODECOVERAGE_MEDIATE_STORAGE).DIRECTORY_SEPARATOR.'codecoverage';
$requested_c3_report = (strpos($_SERVER['REQUEST_URI'], 'c3/report') !== false);
-$complete_report = $current_report = $path . '.serialized';
+$complete_report = $current_report = $path.'.serialized';
if ($requested_c3_report) {
set_time_limit(0);
$route = ltrim(strrchr($_SERVER['REQUEST_URI'], '/'), '/');
if ($route === 'clear') {
__c3_clear();
+
return __c3_exit();
}
- list($codeCoverage, ) = __c3_factory($complete_report);
+ list($codeCoverage) = __c3_factory($complete_report);
switch ($route) {
case 'html':
try {
@@ -248,6 +259,7 @@ if ($requested_c3_report) {
} catch (Exception $e) {
__c3_error($e->getMessage());
}
+
return __c3_exit();
case 'clover':
try {
@@ -255,6 +267,7 @@ if ($requested_c3_report) {
} catch (Exception $e) {
__c3_error($e->getMessage());
}
+
return __c3_exit();
case 'crap4j':
try {
@@ -262,6 +275,7 @@ if ($requested_c3_report) {
} catch (Exception $e) {
__c3_error($e->getMessage());
}
+
return __c3_exit();
case 'serialized':
try {
@@ -269,6 +283,7 @@ if ($requested_c3_report) {
} catch (Exception $e) {
__c3_error($e->getMessage());
}
+
return __c3_exit();
case 'phpunit':
try {
@@ -276,10 +291,11 @@ if ($requested_c3_report) {
} catch (Exception $e) {
__c3_error($e->getMessage());
}
+
return __c3_exit();
}
} else {
- list($codeCoverage, ) = __c3_factory(null);
+ list($codeCoverage) = __c3_factory(null);
$codeCoverage->start(C3_CODECOVERAGE_TESTNAME);
if (!array_key_exists('HTTP_X_CODECEPTION_CODECOVERAGE_DEBUG', $_SERVER)) {
register_shutdown_function(
@@ -317,4 +333,4 @@ if ($requested_c3_report) {
);
}
}
-// @codeCoverageIgnoreEnd
\ No newline at end of file
+// @codeCoverageIgnoreEnd
diff --git a/config/app.php b/config/app.php
index d62adfa81d3d..36110f0aa8d5 100644
--- a/config/app.php
+++ b/config/app.php
@@ -188,39 +188,39 @@ return [
'aliases' => [
- 'App' => Illuminate\Support\Facades\App::class,
- 'Artisan' => Illuminate\Support\Facades\Artisan::class,
- 'Auth' => Illuminate\Support\Facades\Auth::class,
- 'Blade' => Illuminate\Support\Facades\Blade::class,
- 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
- 'Bus' => Illuminate\Support\Facades\Bus::class,
- 'Cache' => Illuminate\Support\Facades\Cache::class,
- 'Config' => Illuminate\Support\Facades\Config::class,
- 'Cookie' => Illuminate\Support\Facades\Cookie::class,
- 'Crypt' => Illuminate\Support\Facades\Crypt::class,
- 'DB' => Illuminate\Support\Facades\DB::class,
- 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
- 'Event' => Illuminate\Support\Facades\Event::class,
- 'File' => Illuminate\Support\Facades\File::class,
- 'Gate' => Illuminate\Support\Facades\Gate::class,
- 'Hash' => Illuminate\Support\Facades\Hash::class,
- 'Lang' => Illuminate\Support\Facades\Lang::class,
- 'Log' => Illuminate\Support\Facades\Log::class,
- 'Mail' => Illuminate\Support\Facades\Mail::class,
+ 'App' => Illuminate\Support\Facades\App::class,
+ 'Artisan' => Illuminate\Support\Facades\Artisan::class,
+ 'Auth' => Illuminate\Support\Facades\Auth::class,
+ 'Blade' => Illuminate\Support\Facades\Blade::class,
+ 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
+ 'Bus' => Illuminate\Support\Facades\Bus::class,
+ 'Cache' => Illuminate\Support\Facades\Cache::class,
+ 'Config' => Illuminate\Support\Facades\Config::class,
+ 'Cookie' => Illuminate\Support\Facades\Cookie::class,
+ 'Crypt' => Illuminate\Support\Facades\Crypt::class,
+ 'DB' => Illuminate\Support\Facades\DB::class,
+ 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
+ 'Event' => Illuminate\Support\Facades\Event::class,
+ 'File' => Illuminate\Support\Facades\File::class,
+ 'Gate' => Illuminate\Support\Facades\Gate::class,
+ 'Hash' => Illuminate\Support\Facades\Hash::class,
+ 'Lang' => Illuminate\Support\Facades\Lang::class,
+ 'Log' => Illuminate\Support\Facades\Log::class,
+ 'Mail' => Illuminate\Support\Facades\Mail::class,
'Notification' => Illuminate\Support\Facades\Notification::class,
- 'Password' => Illuminate\Support\Facades\Password::class,
- 'Queue' => Illuminate\Support\Facades\Queue::class,
- 'Redirect' => Illuminate\Support\Facades\Redirect::class,
- 'Redis' => Illuminate\Support\Facades\Redis::class,
- 'Request' => Illuminate\Support\Facades\Request::class,
- 'Response' => Illuminate\Support\Facades\Response::class,
- 'Route' => Illuminate\Support\Facades\Route::class,
- 'Schema' => Illuminate\Support\Facades\Schema::class,
- 'Session' => Illuminate\Support\Facades\Session::class,
- 'Storage' => Illuminate\Support\Facades\Storage::class,
- 'URL' => Illuminate\Support\Facades\URL::class,
- 'Validator' => Illuminate\Support\Facades\Validator::class,
- 'View' => Illuminate\Support\Facades\View::class,
+ 'Password' => Illuminate\Support\Facades\Password::class,
+ 'Queue' => Illuminate\Support\Facades\Queue::class,
+ 'Redirect' => Illuminate\Support\Facades\Redirect::class,
+ 'Redis' => Illuminate\Support\Facades\Redis::class,
+ 'Request' => Illuminate\Support\Facades\Request::class,
+ 'Response' => Illuminate\Support\Facades\Response::class,
+ 'Route' => Illuminate\Support\Facades\Route::class,
+ 'Schema' => Illuminate\Support\Facades\Schema::class,
+ 'Session' => Illuminate\Support\Facades\Session::class,
+ 'Storage' => Illuminate\Support\Facades\Storage::class,
+ 'URL' => Illuminate\Support\Facades\URL::class,
+ 'Validator' => Illuminate\Support\Facades\Validator::class,
+ 'View' => Illuminate\Support\Facades\View::class,
],
diff --git a/config/auth.php b/config/auth.php
index 781750102522..a9264b4a2b7e 100644
--- a/config/auth.php
+++ b/config/auth.php
@@ -14,7 +14,7 @@ return [
*/
'defaults' => [
- 'guard' => 'web',
+ 'guard' => 'web',
'passwords' => 'users',
],
@@ -37,12 +37,12 @@ return [
'guards' => [
'web' => [
- 'driver' => 'session',
+ 'driver' => 'session',
'provider' => 'users',
],
'api' => [
- 'driver' => 'token',
+ 'driver' => 'token',
'provider' => 'users',
],
],
@@ -67,7 +67,7 @@ return [
'providers' => [
'users' => [
'driver' => 'eloquent',
- 'model' => App\User::class,
+ 'model' => App\User::class,
],
// 'users' => [
@@ -94,8 +94,8 @@ return [
'passwords' => [
'users' => [
'provider' => 'users',
- 'table' => 'password_resets',
- 'expire' => 60,
+ 'table' => 'password_resets',
+ 'expire' => 60,
],
],
diff --git a/config/broadcasting.php b/config/broadcasting.php
index 3ca45eaa8523..1e0044fedd67 100644
--- a/config/broadcasting.php
+++ b/config/broadcasting.php
@@ -31,18 +31,18 @@ return [
'connections' => [
'pusher' => [
- 'driver' => 'pusher',
- 'key' => env('PUSHER_APP_KEY'),
- 'secret' => env('PUSHER_APP_SECRET'),
- 'app_id' => env('PUSHER_APP_ID'),
+ 'driver' => 'pusher',
+ 'key' => env('PUSHER_APP_KEY'),
+ 'secret' => env('PUSHER_APP_SECRET'),
+ 'app_id' => env('PUSHER_APP_ID'),
'options' => [
- 'cluster' => env('PUSHER_APP_CLUSTER'),
+ 'cluster' => env('PUSHER_APP_CLUSTER'),
'encrypted' => true,
],
],
'redis' => [
- 'driver' => 'redis',
+ 'driver' => 'redis',
'connection' => 'default',
],
diff --git a/config/cache.php b/config/cache.php
index 0c309696b843..bee23978fd33 100644
--- a/config/cache.php
+++ b/config/cache.php
@@ -41,20 +41,20 @@ return [
],
'database' => [
- 'driver' => 'database',
- 'table' => 'cache',
+ 'driver' => 'database',
+ 'table' => 'cache',
'connection' => null,
],
'file' => [
'driver' => 'file',
- 'path' => storage_path('framework/cache/data'),
+ 'path' => storage_path('framework/cache/data'),
],
'memcached' => [
- 'driver' => 'memcached',
+ 'driver' => 'memcached',
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
- 'sasl' => [
+ 'sasl' => [
env('MEMCACHED_USERNAME'),
env('MEMCACHED_PASSWORD'),
],
@@ -63,15 +63,15 @@ return [
],
'servers' => [
[
- 'host' => env('MEMCACHED_HOST', '127.0.0.1'),
- 'port' => env('MEMCACHED_PORT', 11211),
+ 'host' => env('MEMCACHED_HOST', '127.0.0.1'),
+ 'port' => env('MEMCACHED_PORT', 11211),
'weight' => 100,
],
],
],
'redis' => [
- 'driver' => 'redis',
+ 'driver' => 'redis',
'connection' => 'cache',
],
diff --git a/config/database.php b/config/database.php
index 361ae34a31e3..2abd580544e4 100644
--- a/config/database.php
+++ b/config/database.php
@@ -34,50 +34,50 @@ return [
'connections' => [
'sqlite' => [
- 'driver' => 'sqlite',
+ 'driver' => 'sqlite',
'database' => env('DB_DATABASE', database_path('database.sqlite')),
- 'prefix' => '',
+ 'prefix' => '',
],
'mysql' => [
- 'driver' => 'mysql',
- 'host' => env('DB_HOST', '127.0.0.1'),
- 'port' => env('DB_PORT', '3306'),
- 'database' => env('DB_DATABASE', 'forge'),
- 'username' => env('DB_USERNAME', 'forge'),
- 'password' => env('DB_PASSWORD', ''),
- 'unix_socket' => env('DB_SOCKET', ''),
- 'charset' => 'utf8mb4',
- 'collation' => 'utf8mb4_unicode_ci',
- 'prefix' => '',
+ 'driver' => 'mysql',
+ 'host' => env('DB_HOST', '127.0.0.1'),
+ 'port' => env('DB_PORT', '3306'),
+ 'database' => env('DB_DATABASE', 'forge'),
+ 'username' => env('DB_USERNAME', 'forge'),
+ 'password' => env('DB_PASSWORD', ''),
+ 'unix_socket' => env('DB_SOCKET', ''),
+ 'charset' => 'utf8mb4',
+ 'collation' => 'utf8mb4_unicode_ci',
+ 'prefix' => '',
'prefix_indexes' => true,
- 'strict' => true,
- 'engine' => null,
+ 'strict' => true,
+ 'engine' => null,
],
'pgsql' => [
- 'driver' => 'pgsql',
- 'host' => env('DB_HOST', '127.0.0.1'),
- 'port' => env('DB_PORT', '5432'),
- 'database' => env('DB_DATABASE', 'forge'),
- 'username' => env('DB_USERNAME', 'forge'),
- 'password' => env('DB_PASSWORD', ''),
- 'charset' => 'utf8',
- 'prefix' => '',
+ 'driver' => 'pgsql',
+ 'host' => env('DB_HOST', '127.0.0.1'),
+ 'port' => env('DB_PORT', '5432'),
+ 'database' => env('DB_DATABASE', 'forge'),
+ 'username' => env('DB_USERNAME', 'forge'),
+ 'password' => env('DB_PASSWORD', ''),
+ 'charset' => 'utf8',
+ 'prefix' => '',
'prefix_indexes' => true,
- 'schema' => 'public',
- 'sslmode' => 'prefer',
+ 'schema' => 'public',
+ 'sslmode' => 'prefer',
],
'sqlsrv' => [
- 'driver' => 'sqlsrv',
- 'host' => env('DB_HOST', 'localhost'),
- 'port' => env('DB_PORT', '1433'),
- 'database' => env('DB_DATABASE', 'forge'),
- 'username' => env('DB_USERNAME', 'forge'),
- 'password' => env('DB_PASSWORD', ''),
- 'charset' => 'utf8',
- 'prefix' => '',
+ 'driver' => 'sqlsrv',
+ 'host' => env('DB_HOST', 'localhost'),
+ 'port' => env('DB_PORT', '1433'),
+ 'database' => env('DB_DATABASE', 'forge'),
+ 'username' => env('DB_USERNAME', 'forge'),
+ 'password' => env('DB_PASSWORD', ''),
+ 'charset' => 'utf8',
+ 'prefix' => '',
'prefix_indexes' => true,
],
@@ -112,16 +112,16 @@ return [
'client' => 'predis',
'default' => [
- 'host' => env('REDIS_HOST', '127.0.0.1'),
+ 'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
- 'port' => env('REDIS_PORT', 6379),
+ 'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DB', 0),
],
'cache' => [
- 'host' => env('REDIS_HOST', '127.0.0.1'),
+ 'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
- 'port' => env('REDIS_PORT', 6379),
+ 'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_CACHE_DB', 1),
],
diff --git a/config/filesystems.php b/config/filesystems.php
index 77fa5ded1dec..ab75dc28b6df 100644
--- a/config/filesystems.php
+++ b/config/filesystems.php
@@ -45,23 +45,23 @@ return [
'local' => [
'driver' => 'local',
- 'root' => storage_path('app'),
+ 'root' => storage_path('app'),
],
'public' => [
- 'driver' => 'local',
- 'root' => storage_path('app/public'),
- 'url' => env('APP_URL').'/storage',
+ 'driver' => 'local',
+ 'root' => storage_path('app/public'),
+ 'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
's3' => [
'driver' => 's3',
- 'key' => env('AWS_ACCESS_KEY_ID'),
+ 'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
- 'url' => env('AWS_URL'),
+ 'url' => env('AWS_URL'),
],
],
diff --git a/config/hashing.php b/config/hashing.php
index 842577087c0c..5b10c09d3ccd 100644
--- a/config/hashing.php
+++ b/config/hashing.php
@@ -44,9 +44,9 @@ return [
*/
'argon' => [
- 'memory' => 1024,
+ 'memory' => 1024,
'threads' => 2,
- 'time' => 2,
+ 'time' => 2,
],
];
diff --git a/config/logging.php b/config/logging.php
index 506f2f377fcd..a5c2b1ae8afa 100644
--- a/config/logging.php
+++ b/config/logging.php
@@ -35,35 +35,35 @@ return [
'channels' => [
'stack' => [
- 'driver' => 'stack',
+ 'driver' => 'stack',
'channels' => ['daily'],
],
'single' => [
'driver' => 'single',
- 'path' => storage_path('logs/laravel.log'),
- 'level' => 'debug',
+ 'path' => storage_path('logs/laravel.log'),
+ 'level' => 'debug',
],
'daily' => [
'driver' => 'daily',
- 'path' => storage_path('logs/laravel.log'),
- 'level' => 'debug',
- 'days' => 14,
+ 'path' => storage_path('logs/laravel.log'),
+ 'level' => 'debug',
+ 'days' => 14,
],
'slack' => [
- 'driver' => 'slack',
- 'url' => env('LOG_SLACK_WEBHOOK_URL'),
+ 'driver' => 'slack',
+ 'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => 'Laravel Log',
- 'emoji' => ':boom:',
- 'level' => 'critical',
+ 'emoji' => ':boom:',
+ 'level' => 'critical',
],
'papertrail' => [
- 'driver' => 'monolog',
- 'level' => 'debug',
- 'handler' => SyslogUdpHandler::class,
+ 'driver' => 'monolog',
+ 'level' => 'debug',
+ 'handler' => SyslogUdpHandler::class,
'handler_with' => [
'host' => env('PAPERTRAIL_URL'),
'port' => env('PAPERTRAIL_PORT'),
@@ -71,21 +71,21 @@ return [
],
'stderr' => [
- 'driver' => 'monolog',
+ 'driver' => 'monolog',
'handler' => StreamHandler::class,
- 'with' => [
+ 'with' => [
'stream' => 'php://stderr',
],
],
'syslog' => [
'driver' => 'syslog',
- 'level' => 'debug',
+ 'level' => 'debug',
],
'errorlog' => [
'driver' => 'errorlog',
- 'level' => 'debug',
+ 'level' => 'debug',
],
],
diff --git a/config/mail.php b/config/mail.php
index bb92224c59db..0951a33fdf89 100644
--- a/config/mail.php
+++ b/config/mail.php
@@ -57,7 +57,7 @@ return [
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
- 'name' => env('MAIL_FROM_NAME', 'Example'),
+ 'name' => env('MAIL_FROM_NAME', 'Example'),
],
/*
diff --git a/config/queue.php b/config/queue.php
index 38326efffa7e..a43b9b08220a 100644
--- a/config/queue.php
+++ b/config/queue.php
@@ -35,34 +35,34 @@ return [
],
'database' => [
- 'driver' => 'database',
- 'table' => 'jobs',
- 'queue' => 'default',
+ 'driver' => 'database',
+ 'table' => 'jobs',
+ 'queue' => 'default',
'retry_after' => 90,
],
'beanstalkd' => [
- 'driver' => 'beanstalkd',
- 'host' => 'localhost',
- 'queue' => 'default',
+ 'driver' => 'beanstalkd',
+ 'host' => 'localhost',
+ 'queue' => 'default',
'retry_after' => 90,
],
'sqs' => [
'driver' => 'sqs',
- 'key' => env('SQS_KEY', 'your-public-key'),
+ 'key' => env('SQS_KEY', 'your-public-key'),
'secret' => env('SQS_SECRET', 'your-secret-key'),
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
- 'queue' => env('SQS_QUEUE', 'your-queue-name'),
+ 'queue' => env('SQS_QUEUE', 'your-queue-name'),
'region' => env('SQS_REGION', 'us-east-1'),
],
'redis' => [
- 'driver' => 'redis',
- 'connection' => 'default',
- 'queue' => 'default',
+ 'driver' => 'redis',
+ 'connection' => 'default',
+ 'queue' => 'default',
'retry_after' => 90,
- 'block_for' => null,
+ 'block_for' => null,
],
],
@@ -80,7 +80,7 @@ return [
'failed' => [
'database' => env('DB_CONNECTION', 'mysql'),
- 'table' => 'failed_jobs',
+ 'table' => 'failed_jobs',
],
];
diff --git a/config/services.php b/config/services.php
index 25e1e526e750..e97d630eccdc 100644
--- a/config/services.php
+++ b/config/services.php
@@ -19,13 +19,13 @@ return [
],
'mailgun' => [
- 'domain' => env('MAILGUN_DOMAIN'),
- 'secret' => env('MAILGUN_SECRET'),
+ 'domain' => env('MAILGUN_DOMAIN'),
+ 'secret' => env('MAILGUN_SECRET'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
],
'ses' => [
- 'key' => env('SES_KEY'),
+ 'key' => env('SES_KEY'),
'secret' => env('SES_SECRET'),
'region' => env('SES_REGION', 'us-east-1'),
],
@@ -35,8 +35,8 @@ return [
],
'stripe' => [
- 'model' => App\User::class,
- 'key' => env('STRIPE_KEY'),
+ 'model' => App\User::class,
+ 'key' => env('STRIPE_KEY'),
'secret' => env('STRIPE_SECRET'),
],
diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php
index ec15e586c8d6..033532bbe28a 100644
--- a/database/factories/UserFactory.php
+++ b/database/factories/UserFactory.php
@@ -15,10 +15,10 @@ use Faker\Generator as Faker;
$factory->define(App\User::class, function (Faker $faker) {
return [
- 'name' => $faker->name,
- 'email' => $faker->unique()->safeEmail,
+ 'name' => $faker->name,
+ 'email' => $faker->unique()->safeEmail,
'email_verified_at' => now(),
- 'password' => '$2y$10$TKh8H1.PfQx37YgCzwiKb.KjNyWgaHb9cbcoQgdIVFlYg7B77UdFm', // secret
- 'remember_token' => str_random(10),
+ 'password' => '$2y$10$TKh8H1.PfQx37YgCzwiKb.KjNyWgaHb9cbcoQgdIVFlYg7B77UdFm', // secret
+ 'remember_token' => str_random(10),
];
});
diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php
index 16a61086a437..b48a61bf73e6 100644
--- a/database/migrations/2014_10_12_000000_create_users_table.php
+++ b/database/migrations/2014_10_12_000000_create_users_table.php
@@ -1,8 +1,8 @@
*/
-
define('LARAVEL_START', microtime(true));
/*
diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php
index e5506df2907a..6ef1a73308a7 100644
--- a/resources/lang/en/auth.php
+++ b/resources/lang/en/auth.php
@@ -13,7 +13,7 @@ return [
|
*/
- 'failed' => 'These credentials do not match our records.',
+ 'failed' => 'These credentials do not match our records.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];
diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php
index 2b9b38e09b49..c70042ab2e21 100644
--- a/resources/lang/en/pagination.php
+++ b/resources/lang/en/pagination.php
@@ -14,6 +14,6 @@ return [
*/
'previous' => '« Previous',
- 'next' => 'Next »',
+ 'next' => 'Next »',
];
diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php
index e5544d201665..ffa19ba40709 100644
--- a/resources/lang/en/passwords.php
+++ b/resources/lang/en/passwords.php
@@ -14,9 +14,9 @@ return [
*/
'password' => 'Passwords must be at least six characters and match the confirmation.',
- 'reset' => 'Your password has been reset!',
- 'sent' => 'We have e-mailed your password reset link!',
- 'token' => 'This password reset token is invalid.',
- 'user' => "We can't find a user with that e-mail address.",
+ 'reset' => 'Your password has been reset!',
+ 'sent' => 'We have e-mailed your password reset link!',
+ 'token' => 'This password reset token is invalid.',
+ 'user' => "We can't find a user with that e-mail address.",
];
diff --git a/server.php b/server.php
index 5fb6379e71f2..20bc389f0b86 100644
--- a/server.php
+++ b/server.php
@@ -1,12 +1,10 @@
*/
-
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
diff --git a/tests/Unit/NumberTest.php b/tests/Unit/NumberTest.php
index 003f33d02104..1e7a9dce3b58 100644
--- a/tests/Unit/NumberTest.php
+++ b/tests/Unit/NumberTest.php
@@ -4,17 +4,14 @@ namespace Tests\Unit;
use App\Utils\NumberHelper;
use Tests\TestCase;
-use Illuminate\Foundation\Testing\RefreshDatabase;
class NumberTest extends TestCase
{
-
public function testRoundingThreeLow()
{
$rounded = NumberHelper::roundValue(3.144444444444, 3);
$this->assertEquals(3.144, $rounded);
-
}
public function testRoundingThreeHigh()
@@ -22,7 +19,6 @@ class NumberTest extends TestCase
$rounded = NumberHelper::roundValue(3.144944444444, 3);
$this->assertEquals(3.145, $rounded);
-
}
public function testRoundingTwoLow()
diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php
index bbe2435df115..1f6877ca56ee 100644
--- a/tests/_bootstrap.php
+++ b/tests/_bootstrap.php
@@ -1,4 +1,5 @@
getScenario()->runStep(new \Codeception\Step\Action('debugWebDriverLogs', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -47,13 +49,14 @@ trait AcceptanceTesterActions
* @param $subdomain
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::amOnSubdomain()
*/
- public function amOnSubdomain($subdomain) {
+ public function amOnSubdomain($subdomain)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Condition('amOnSubdomain', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -69,13 +72,14 @@ trait AcceptanceTesterActions
* ```
*
* @param $name
+ *
* @see \Codeception\Module\WebDriver::makeScreenshot()
*/
- public function makeScreenshot($name = null) {
+ public function makeScreenshot($name = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('makeScreenshot', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -89,13 +93,14 @@ trait AcceptanceTesterActions
*
* @param int $width
* @param int $height
+ *
* @see \Codeception\Module\WebDriver::resizeWindow()
*/
- public function resizeWindow($width, $height) {
+ public function resizeWindow($width, $height)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('resizeWindow', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -110,13 +115,17 @@ trait AcceptanceTesterActions
*
* @param $cookie
* @param array $params
+ *
* @return mixed
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeCookie()
*/
- public function canSeeCookie($cookie, $params = null) {
+ public function canSeeCookie($cookie, $params = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeCookie', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -131,14 +140,16 @@ trait AcceptanceTesterActions
*
* @param $cookie
* @param array $params
+ *
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::seeCookie()
*/
- public function seeCookie($cookie, $params = null) {
+ public function seeCookie($cookie, $params = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeCookie', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -146,15 +157,18 @@ trait AcceptanceTesterActions
* You can set additional cookie params like `domain`, `path` as array passed in last argument.
*
* @param $cookie
- *
* @param array $params
+ *
* @return mixed
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeCookie()
*/
- public function cantSeeCookie($cookie, $params = null) {
+ public function cantSeeCookie($cookie, $params = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCookie', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -162,16 +176,17 @@ trait AcceptanceTesterActions
* You can set additional cookie params like `domain`, `path` as array passed in last argument.
*
* @param $cookie
- *
* @param array $params
+ *
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::dontSeeCookie()
*/
- public function dontSeeCookie($cookie, $params = null) {
+ public function dontSeeCookie($cookie, $params = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeCookie', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -189,13 +204,14 @@ trait AcceptanceTesterActions
* @param array $params
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::setCookie()
*/
- public function setCookie($cookie, $value, $params = null) {
+ public function setCookie($cookie, $value, $params = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('setCookie', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -203,16 +219,17 @@ trait AcceptanceTesterActions
* You can set additional cookie params like `domain`, `path` in array passed as last argument.
*
* @param $cookie
- *
* @param array $params
+ *
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::resetCookie()
*/
- public function resetCookie($cookie, $params = null) {
+ public function resetCookie($cookie, $params = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('resetCookie', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -220,16 +237,17 @@ trait AcceptanceTesterActions
* You can set additional cookie params like `domain`, `path` in array passed as last argument.
*
* @param $cookie
- *
* @param array $params
+ *
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::grabCookie()
*/
- public function grabCookie($cookie, $params = null) {
+ public function grabCookie($cookie, $params = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabCookie', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -238,13 +256,14 @@ trait AcceptanceTesterActions
* @throws ModuleException if no page was opened.
*
* @return string Current page source code.
+ *
* @see \Codeception\Module\WebDriver::grabPageSource()
*/
- public function grabPageSource() {
+ public function grabPageSource()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabPageSource', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -256,13 +275,14 @@ trait AcceptanceTesterActions
* $I->amOnPage('/quickstart'); // moves to http://codeception.com/quickstart
* ?>
* ```
+ *
* @see \Codeception\Module\WebDriver::amOnUrl()
*/
- public function amOnUrl($url) {
+ public function amOnUrl($url)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Condition('amOnUrl', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -277,13 +297,14 @@ trait AcceptanceTesterActions
* ```
*
* @param string $page
+ *
* @see \Codeception\Module\WebDriver::amOnPage()
*/
- public function amOnPage($page) {
+ public function amOnPage($page)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Condition('amOnPage', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -316,12 +337,15 @@ trait AcceptanceTesterActions
*
* @param string $text
* @param string $selector optional
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::see()
*/
- public function canSee($text, $selector = null) {
+ public function canSee($text, $selector = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('see', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -354,13 +378,14 @@ trait AcceptanceTesterActions
*
* @param string $text
* @param string $selector optional
+ *
* @see \Codeception\Module\WebDriver::see()
*/
- public function see($text, $selector = null) {
+ public function see($text, $selector = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('see', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -391,12 +416,15 @@ trait AcceptanceTesterActions
*
* @param string $text
* @param string $selector optional
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSee()
*/
- public function cantSee($text, $selector = null) {
+ public function cantSee($text, $selector = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSee', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -427,13 +455,14 @@ trait AcceptanceTesterActions
*
* @param string $text
* @param string $selector optional
+ *
* @see \Codeception\Module\WebDriver::dontSee()
*/
- public function dontSee($text, $selector = null) {
+ public function dontSee($text, $selector = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSee', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -445,13 +474,16 @@ trait AcceptanceTesterActions
* $I->seeInSource('
Green eggs & ham
');
* ```
*
- * @param $raw
- * Conditional Assertion: Test won't be stopped on fail
+ * @param $raw
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeInSource()
*/
- public function canSeeInSource($raw) {
+ public function canSeeInSource($raw)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInSource', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -463,14 +495,15 @@ trait AcceptanceTesterActions
* $I->seeInSource('Green eggs & ham
');
* ```
*
- * @param $raw
+ * @param $raw
+ *
* @see \Codeception\Module\WebDriver::seeInSource()
*/
- public function seeInSource($raw) {
+ public function seeInSource($raw)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInSource', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -482,13 +515,16 @@ trait AcceptanceTesterActions
* $I->dontSeeInSource('Green eggs & ham
');
* ```
*
- * @param $raw
- * Conditional Assertion: Test won't be stopped on fail
+ * @param $raw
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeInSource()
*/
- public function cantSeeInSource($raw) {
+ public function cantSeeInSource($raw)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInSource', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -500,14 +536,15 @@ trait AcceptanceTesterActions
* $I->dontSeeInSource('Green eggs & ham
');
* ```
*
- * @param $raw
+ * @param $raw
+ *
* @see \Codeception\Module\WebDriver::dontSeeInSource()
*/
- public function dontSeeInSource($raw) {
+ public function dontSeeInSource($raw)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInSource', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -520,11 +557,14 @@ trait AcceptanceTesterActions
*
* @param $text
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeInPageSource()
*/
- public function canSeeInPageSource($text) {
+ public function canSeeInPageSource($text)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInPageSource', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -536,13 +576,14 @@ trait AcceptanceTesterActions
* ```
*
* @param $text
+ *
* @see \Codeception\Module\WebDriver::seeInPageSource()
*/
- public function seeInPageSource($text) {
+ public function seeInPageSource($text)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInPageSource', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -550,24 +591,28 @@ trait AcceptanceTesterActions
*
* @param $text
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeInPageSource()
*/
- public function cantSeeInPageSource($text) {
+ public function cantSeeInPageSource($text)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInPageSource', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Checks that the page source doesn't contain the given string.
*
* @param $text
+ *
* @see \Codeception\Module\WebDriver::dontSeeInPageSource()
*/
- public function dontSeeInPageSource($text) {
+ public function dontSeeInPageSource($text)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInPageSource', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -600,13 +645,14 @@ trait AcceptanceTesterActions
*
* @param $link
* @param $context
+ *
* @see \Codeception\Module\WebDriver::click()
*/
- public function click($link, $context = null) {
+ public function click($link, $context = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('click', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -621,13 +667,16 @@ trait AcceptanceTesterActions
* ```
*
* @param string $text
- * @param string $url optional
- * Conditional Assertion: Test won't be stopped on fail
+ * @param string $url optional
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeLink()
*/
- public function canSeeLink($text, $url = null) {
+ public function canSeeLink($text, $url = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeLink', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -642,14 +691,15 @@ trait AcceptanceTesterActions
* ```
*
* @param string $text
- * @param string $url optional
+ * @param string $url optional
+ *
* @see \Codeception\Module\WebDriver::seeLink()
*/
- public function seeLink($text, $url = null) {
+ public function seeLink($text, $url = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeLink', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -664,13 +714,16 @@ trait AcceptanceTesterActions
* ```
*
* @param string $text
- * @param string $url optional
- * Conditional Assertion: Test won't be stopped on fail
+ * @param string $url optional
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeLink()
*/
- public function cantSeeLink($text, $url = null) {
+ public function cantSeeLink($text, $url = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeLink', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -685,14 +738,15 @@ trait AcceptanceTesterActions
* ```
*
* @param string $text
- * @param string $url optional
+ * @param string $url optional
+ *
* @see \Codeception\Module\WebDriver::dontSeeLink()
*/
- public function dontSeeLink($text, $url = null) {
+ public function dontSeeLink($text, $url = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeLink', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -708,12 +762,15 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeInCurrentUrl()
*/
- public function canSeeInCurrentUrl($uri) {
+ public function canSeeInCurrentUrl($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInCurrentUrl', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -729,13 +786,14 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
+ *
* @see \Codeception\Module\WebDriver::seeInCurrentUrl()
*/
- public function seeInCurrentUrl($uri) {
+ public function seeInCurrentUrl($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInCurrentUrl', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -750,12 +808,15 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeCurrentUrlEquals()
*/
- public function canSeeCurrentUrlEquals($uri) {
+ public function canSeeCurrentUrlEquals($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeCurrentUrlEquals', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -770,13 +831,14 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
+ *
* @see \Codeception\Module\WebDriver::seeCurrentUrlEquals()
*/
- public function seeCurrentUrlEquals($uri) {
+ public function seeCurrentUrlEquals($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeCurrentUrlEquals', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -790,12 +852,15 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeCurrentUrlMatches()
*/
- public function canSeeCurrentUrlMatches($uri) {
+ public function canSeeCurrentUrlMatches($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeCurrentUrlMatches', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -809,13 +874,14 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
+ *
* @see \Codeception\Module\WebDriver::seeCurrentUrlMatches()
*/
- public function seeCurrentUrlMatches($uri) {
+ public function seeCurrentUrlMatches($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeCurrentUrlMatches', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -828,12 +894,15 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeInCurrentUrl()
*/
- public function cantSeeInCurrentUrl($uri) {
+ public function cantSeeInCurrentUrl($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInCurrentUrl', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -846,13 +915,14 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
+ *
* @see \Codeception\Module\WebDriver::dontSeeInCurrentUrl()
*/
- public function dontSeeInCurrentUrl($uri) {
+ public function dontSeeInCurrentUrl($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInCurrentUrl', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -867,12 +937,15 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeCurrentUrlEquals()
*/
- public function cantSeeCurrentUrlEquals($uri) {
+ public function cantSeeCurrentUrlEquals($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCurrentUrlEquals', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -887,13 +960,14 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
+ *
* @see \Codeception\Module\WebDriver::dontSeeCurrentUrlEquals()
*/
- public function dontSeeCurrentUrlEquals($uri) {
+ public function dontSeeCurrentUrlEquals($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeCurrentUrlEquals', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -907,12 +981,15 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeCurrentUrlMatches()
*/
- public function cantSeeCurrentUrlMatches($uri) {
+ public function cantSeeCurrentUrlMatches($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCurrentUrlMatches', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -926,13 +1003,14 @@ trait AcceptanceTesterActions
* ```
*
* @param string $uri
+ *
* @see \Codeception\Module\WebDriver::dontSeeCurrentUrlMatches()
*/
- public function dontSeeCurrentUrlMatches($uri) {
+ public function dontSeeCurrentUrlMatches($uri)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeCurrentUrlMatches', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -949,13 +1027,14 @@ trait AcceptanceTesterActions
* @param string $uri optional
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::grabFromCurrentUrl()
*/
- public function grabFromCurrentUrl($uri = null) {
+ public function grabFromCurrentUrl($uri = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabFromCurrentUrl', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -971,11 +1050,14 @@ trait AcceptanceTesterActions
*
* @param $checkbox
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeCheckboxIsChecked()
*/
- public function canSeeCheckboxIsChecked($checkbox) {
+ public function canSeeCheckboxIsChecked($checkbox)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeCheckboxIsChecked', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -990,13 +1072,14 @@ trait AcceptanceTesterActions
* ```
*
* @param $checkbox
+ *
* @see \Codeception\Module\WebDriver::seeCheckboxIsChecked()
*/
- public function seeCheckboxIsChecked($checkbox) {
+ public function seeCheckboxIsChecked($checkbox)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeCheckboxIsChecked', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1011,11 +1094,14 @@ trait AcceptanceTesterActions
*
* @param $checkbox
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeCheckboxIsChecked()
*/
- public function cantSeeCheckboxIsChecked($checkbox) {
+ public function cantSeeCheckboxIsChecked($checkbox)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCheckboxIsChecked', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1029,13 +1115,14 @@ trait AcceptanceTesterActions
* ```
*
* @param $checkbox
+ *
* @see \Codeception\Module\WebDriver::dontSeeCheckboxIsChecked()
*/
- public function dontSeeCheckboxIsChecked($checkbox) {
+ public function dontSeeCheckboxIsChecked($checkbox)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeCheckboxIsChecked', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1056,11 +1143,14 @@ trait AcceptanceTesterActions
* @param $field
* @param $value
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeInField()
*/
- public function canSeeInField($field, $value) {
+ public function canSeeInField($field, $value)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInField', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1080,13 +1170,14 @@ trait AcceptanceTesterActions
*
* @param $field
* @param $value
+ *
* @see \Codeception\Module\WebDriver::seeInField()
*/
- public function seeInField($field, $value) {
+ public function seeInField($field, $value)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInField', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1107,11 +1198,14 @@ trait AcceptanceTesterActions
* @param $field
* @param $value
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeInField()
*/
- public function cantSeeInField($field, $value) {
+ public function cantSeeInField($field, $value)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInField', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1131,13 +1225,14 @@ trait AcceptanceTesterActions
*
* @param $field
* @param $value
+ *
* @see \Codeception\Module\WebDriver::dontSeeInField()
*/
- public function dontSeeInField($field, $value) {
+ public function dontSeeInField($field, $value)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInField', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1201,11 +1296,14 @@ trait AcceptanceTesterActions
* @param $formSelector
* @param $params
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeInFormFields()
*/
- public function canSeeInFormFields($formSelector, $params) {
+ public function canSeeInFormFields($formSelector, $params)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInFormFields', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1268,13 +1366,14 @@ trait AcceptanceTesterActions
*
* @param $formSelector
* @param $params
+ *
* @see \Codeception\Module\WebDriver::seeInFormFields()
*/
- public function seeInFormFields($formSelector, $params) {
+ public function seeInFormFields($formSelector, $params)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInFormFields', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1318,11 +1417,14 @@ trait AcceptanceTesterActions
* @param $formSelector
* @param $params
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeInFormFields()
*/
- public function cantSeeInFormFields($formSelector, $params) {
+ public function cantSeeInFormFields($formSelector, $params)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInFormFields', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1365,13 +1467,14 @@ trait AcceptanceTesterActions
*
* @param $formSelector
* @param $params
+ *
* @see \Codeception\Module\WebDriver::dontSeeInFormFields()
*/
- public function dontSeeInFormFields($formSelector, $params) {
+ public function dontSeeInFormFields($formSelector, $params)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInFormFields', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1404,13 +1507,14 @@ trait AcceptanceTesterActions
*
* @param $select
* @param $option
+ *
* @see \Codeception\Module\WebDriver::selectOption()
*/
- public function selectOption($select, $option) {
+ public function selectOption($select, $option)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('selectOption', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1418,13 +1522,14 @@ trait AcceptanceTesterActions
*
* @param $select
* @param $option
+ *
* @see \Codeception\Module\WebDriver::unselectOption()
*/
- public function unselectOption($select, $option) {
+ public function unselectOption($select, $option)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('unselectOption', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1437,13 +1542,14 @@ trait AcceptanceTesterActions
* ```
*
* @param $option
+ *
* @see \Codeception\Module\WebDriver::checkOption()
*/
- public function checkOption($option) {
+ public function checkOption($option)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('checkOption', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1456,13 +1562,14 @@ trait AcceptanceTesterActions
* ```
*
* @param $option
+ *
* @see \Codeception\Module\WebDriver::uncheckOption()
*/
- public function uncheckOption($option) {
+ public function uncheckOption($option)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('uncheckOption', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1477,32 +1584,34 @@ trait AcceptanceTesterActions
*
* @param $field
* @param $value
+ *
* @see \Codeception\Module\WebDriver::fillField()
*/
- public function fillField($field, $value) {
+ public function fillField($field, $value)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('fillField', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Clears given field which isn't empty.
- *
- * ``` php
- * clearField('#username');
- * ?>
- * ```
- *
- * @param $field
+ *
+ * ``` php
+ * clearField('#username');
+ * ?>
+ * ```
+ *
+ * @param $field
+ *
* @see \Codeception\Module\WebDriver::clearField()
*/
- public function clearField($field) {
+ public function clearField($field)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('clearField', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1517,13 +1626,14 @@ trait AcceptanceTesterActions
*
* @param $field
* @param $filename
+ *
* @see \Codeception\Module\WebDriver::attachFile()
*/
- public function attachFile($field, $filename) {
+ public function attachFile($field, $filename)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('attachFile', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1542,13 +1652,14 @@ trait AcceptanceTesterActions
* @param $cssOrXPathOrRegex
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::grabTextFrom()
*/
- public function grabTextFrom($cssOrXPathOrRegex) {
+ public function grabTextFrom($cssOrXPathOrRegex)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabTextFrom', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1566,13 +1677,14 @@ trait AcceptanceTesterActions
* @param $attribute
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::grabAttributeFrom()
*/
- public function grabAttributeFrom($cssOrXpath, $attribute) {
+ public function grabAttributeFrom($cssOrXpath, $attribute)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabAttributeFrom', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1591,13 +1703,14 @@ trait AcceptanceTesterActions
* @param $field
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::grabValueFrom()
*/
- public function grabValueFrom($field) {
+ public function grabValueFrom($field)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabValueFrom', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1622,14 +1735,16 @@ trait AcceptanceTesterActions
*
* @param $cssOrXpath
* @param $attribute
+ *
* @return string[]
+ *
* @see \Codeception\Module\WebDriver::grabMultiple()
*/
- public function grabMultiple($cssOrXpath, $attribute = null) {
+ public function grabMultiple($cssOrXpath, $attribute = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabMultiple', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1650,13 +1765,17 @@ trait AcceptanceTesterActions
*
* @param $selector
* @param array $attributes
+ *
* @return
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeElement()
*/
- public function canSeeElement($selector, $attributes = null) {
+ public function canSeeElement($selector, $attributes = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeElement', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1677,14 +1796,16 @@ trait AcceptanceTesterActions
*
* @param $selector
* @param array $attributes
+ *
* @return
+ *
* @see \Codeception\Module\WebDriver::seeElement()
*/
- public function seeElement($selector, $attributes = null) {
+ public function seeElement($selector, $attributes = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeElement', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1702,12 +1823,15 @@ trait AcceptanceTesterActions
*
* @param $selector
* @param array $attributes
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeElement()
*/
- public function cantSeeElement($selector, $attributes = null) {
+ public function cantSeeElement($selector, $attributes = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeElement', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1725,13 +1849,14 @@ trait AcceptanceTesterActions
*
* @param $selector
* @param array $attributes
+ *
* @see \Codeception\Module\WebDriver::dontSeeElement()
*/
- public function dontSeeElement($selector, $attributes = null) {
+ public function dontSeeElement($selector, $attributes = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeElement', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1745,12 +1870,15 @@ trait AcceptanceTesterActions
*
* @param $selector
* @param array $attributes
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeElementInDOM()
*/
- public function canSeeElementInDOM($selector, $attributes = null) {
+ public function canSeeElementInDOM($selector, $attributes = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeElementInDOM', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1764,13 +1892,14 @@ trait AcceptanceTesterActions
*
* @param $selector
* @param array $attributes
+ *
* @see \Codeception\Module\WebDriver::seeElementInDOM()
*/
- public function seeElementInDOM($selector, $attributes = null) {
+ public function seeElementInDOM($selector, $attributes = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeElementInDOM', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1778,12 +1907,15 @@ trait AcceptanceTesterActions
*
* @param $selector
* @param array $attributes
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeElementInDOM()
*/
- public function cantSeeElementInDOM($selector, $attributes = null) {
+ public function cantSeeElementInDOM($selector, $attributes = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeElementInDOM', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1791,13 +1923,14 @@ trait AcceptanceTesterActions
*
* @param $selector
* @param array $attributes
+ *
* @see \Codeception\Module\WebDriver::dontSeeElementInDOM()
*/
- public function dontSeeElementInDOM($selector, $attributes = null) {
+ public function dontSeeElementInDOM($selector, $attributes = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeElementInDOM', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1809,14 +1942,18 @@ trait AcceptanceTesterActions
* $I->seeNumberOfElements('tr', [0,10]); // between 0 and 10 elements
* ?>
* ```
+ *
* @param $selector
* @param mixed $expected int or int[]
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeNumberOfElements()
*/
- public function canSeeNumberOfElements($selector, $expected) {
+ public function canSeeNumberOfElements($selector, $expected)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeNumberOfElements', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1828,36 +1965,41 @@ trait AcceptanceTesterActions
* $I->seeNumberOfElements('tr', [0,10]); // between 0 and 10 elements
* ?>
* ```
+ *
* @param $selector
* @param mixed $expected int or int[]
+ *
* @see \Codeception\Module\WebDriver::seeNumberOfElements()
*/
- public function seeNumberOfElements($selector, $expected) {
+ public function seeNumberOfElements($selector, $expected)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeNumberOfElements', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
*
* Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeNumberOfElementsInDOM()
*/
- public function canSeeNumberOfElementsInDOM($selector, $expected) {
+ public function canSeeNumberOfElementsInDOM($selector, $expected)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeNumberOfElementsInDOM', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
*
* @see \Codeception\Module\WebDriver::seeNumberOfElementsInDOM()
*/
- public function seeNumberOfElementsInDOM($selector, $expected) {
+ public function seeNumberOfElementsInDOM($selector, $expected)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeNumberOfElementsInDOM', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1873,12 +2015,15 @@ trait AcceptanceTesterActions
* @param $optionText
*
* @return mixed
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeOptionIsSelected()
*/
- public function canSeeOptionIsSelected($selector, $optionText) {
+ public function canSeeOptionIsSelected($selector, $optionText)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeOptionIsSelected', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1894,13 +2039,14 @@ trait AcceptanceTesterActions
* @param $optionText
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::seeOptionIsSelected()
*/
- public function seeOptionIsSelected($selector, $optionText) {
+ public function seeOptionIsSelected($selector, $optionText)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeOptionIsSelected', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1916,12 +2062,15 @@ trait AcceptanceTesterActions
* @param $optionText
*
* @return mixed
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeOptionIsSelected()
*/
- public function cantSeeOptionIsSelected($selector, $optionText) {
+ public function cantSeeOptionIsSelected($selector, $optionText)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeOptionIsSelected', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1937,13 +2086,14 @@ trait AcceptanceTesterActions
* @param $optionText
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::dontSeeOptionIsSelected()
*/
- public function dontSeeOptionIsSelected($selector, $optionText) {
+ public function dontSeeOptionIsSelected($selector, $optionText)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeOptionIsSelected', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1958,12 +2108,15 @@ trait AcceptanceTesterActions
* @param $title
*
* @return mixed
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeInTitle()
*/
- public function canSeeInTitle($title) {
+ public function canSeeInTitle($title)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInTitle', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1978,13 +2131,14 @@ trait AcceptanceTesterActions
* @param $title
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::seeInTitle()
*/
- public function seeInTitle($title) {
+ public function seeInTitle($title)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInTitle', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -1993,12 +2147,15 @@ trait AcceptanceTesterActions
* @param $title
*
* @return mixed
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeInTitle()
*/
- public function cantSeeInTitle($title) {
+ public function cantSeeInTitle($title)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInTitle', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2007,37 +2164,40 @@ trait AcceptanceTesterActions
* @param $title
*
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::dontSeeInTitle()
*/
- public function dontSeeInTitle($title) {
+ public function dontSeeInTitle($title)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInTitle', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Accepts the active JavaScript native popup window, as created by `window.alert`|`window.confirm`|`window.prompt`.
* Don't confuse popups with modal windows,
* as created by [various libraries](http://jster.net/category/windows-modals-popups).
+ *
* @see \Codeception\Module\WebDriver::acceptPopup()
*/
- public function acceptPopup() {
+ public function acceptPopup()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('acceptPopup', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Dismisses the active JavaScript popup, as created by `window.alert`, `window.confirm`, or `window.prompt`.
+ *
* @see \Codeception\Module\WebDriver::cancelPopup()
*/
- public function cancelPopup() {
+ public function cancelPopup()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('cancelPopup', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2047,12 +2207,15 @@ trait AcceptanceTesterActions
* @param $text
*
* @throws \Codeception\Exception\ModuleException
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::seeInPopup()
*/
- public function canSeeInPopup($text) {
+ public function canSeeInPopup($text)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInPopup', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2062,13 +2225,14 @@ trait AcceptanceTesterActions
* @param $text
*
* @throws \Codeception\Exception\ModuleException
+ *
* @see \Codeception\Module\WebDriver::seeInPopup()
*/
- public function seeInPopup($text) {
+ public function seeInPopup($text)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInPopup', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2078,12 +2242,15 @@ trait AcceptanceTesterActions
* @param $text
*
* @throws \Codeception\Exception\ModuleException
- * Conditional Assertion: Test won't be stopped on fail
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\WebDriver::dontSeeInPopup()
*/
- public function cantSeeInPopup($text) {
+ public function cantSeeInPopup($text)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInPopup', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2093,13 +2260,14 @@ trait AcceptanceTesterActions
* @param $text
*
* @throws \Codeception\Exception\ModuleException
+ *
* @see \Codeception\Module\WebDriver::dontSeeInPopup()
*/
- public function dontSeeInPopup($text) {
+ public function dontSeeInPopup($text)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInPopup', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2108,46 +2276,50 @@ trait AcceptanceTesterActions
* @param $keys
*
* @throws \Codeception\Exception\ModuleException
+ *
* @see \Codeception\Module\WebDriver::typeInPopup()
*/
- public function typeInPopup($keys) {
+ public function typeInPopup($keys)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('typeInPopup', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Reloads the current page.
+ *
* @see \Codeception\Module\WebDriver::reloadPage()
*/
- public function reloadPage() {
+ public function reloadPage()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('reloadPage', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Moves back in history.
+ *
* @see \Codeception\Module\WebDriver::moveBack()
*/
- public function moveBack() {
+ public function moveBack()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('moveBack', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Moves forward in history.
+ *
* @see \Codeception\Module\WebDriver::moveForward()
*/
- public function moveForward() {
+ public function moveForward()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('moveForward', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2308,13 +2480,14 @@ trait AcceptanceTesterActions
* @param $selector
* @param $params
* @param $button
+ *
* @see \Codeception\Module\WebDriver::submitForm()
*/
- public function submitForm($selector, $params, $button = null) {
+ public function submitForm($selector, $params, $button = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('submitForm', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2333,15 +2506,17 @@ trait AcceptanceTesterActions
*
* @param $element
* @param \Closure $callback
- * @param int $timeout seconds
+ * @param int $timeout seconds
+ *
* @throws \Codeception\Exception\ElementNotFound
+ *
* @see \Codeception\Module\WebDriver::waitForElementChange()
*/
- public function waitForElementChange($element, $callback, $timeout = null) {
+ public function waitForElementChange($element, $callback, $timeout = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElementChange', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2357,14 +2532,16 @@ trait AcceptanceTesterActions
*
* @param $element
* @param int $timeout seconds
+ *
* @throws \Exception
+ *
* @see \Codeception\Module\WebDriver::waitForElement()
*/
- public function waitForElement($element, $timeout = null) {
+ public function waitForElement($element, $timeout = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElement', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2380,14 +2557,16 @@ trait AcceptanceTesterActions
*
* @param $element
* @param int $timeout seconds
+ *
* @throws \Exception
+ *
* @see \Codeception\Module\WebDriver::waitForElementVisible()
*/
- public function waitForElementVisible($element, $timeout = null) {
+ public function waitForElementVisible($element, $timeout = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElementVisible', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2402,14 +2581,16 @@ trait AcceptanceTesterActions
*
* @param $element
* @param int $timeout seconds
+ *
* @throws \Exception
+ *
* @see \Codeception\Module\WebDriver::waitForElementNotVisible()
*/
- public function waitForElementNotVisible($element, $timeout = null) {
+ public function waitForElementNotVisible($element, $timeout = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElementNotVisible', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2427,30 +2608,34 @@ trait AcceptanceTesterActions
* ```
*
* @param string $text
- * @param int $timeout seconds
+ * @param int $timeout seconds
* @param string $selector optional
+ *
* @throws \Exception
+ *
* @see \Codeception\Module\WebDriver::waitForText()
*/
- public function waitForText($text, $timeout = null, $selector = null) {
+ public function waitForText($text, $timeout = null, $selector = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForText', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Wait for $timeout seconds.
*
* @param int|float $timeout secs
+ *
* @throws \Codeception\Exception\TestRuntimeException
+ *
* @see \Codeception\Module\WebDriver::wait()
*/
- public function wait($timeout) {
+ public function wait($timeout)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('wait', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2469,13 +2654,14 @@ trait AcceptanceTesterActions
* If Codeception lacks a feature you need, please implement it and submit a patch.
*
* @param callable $function
+ *
* @see \Codeception\Module\WebDriver::executeInSelenium()
*/
- public function executeInSelenium($function) {
+ public function executeInSelenium($function)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('executeInSelenium', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2513,13 +2699,14 @@ trait AcceptanceTesterActions
* ```
*
* @param string|null $name
+ *
* @see \Codeception\Module\WebDriver::switchToWindow()
*/
- public function switchToWindow($name = null) {
+ public function switchToWindow($name = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('switchToWindow', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2541,13 +2728,14 @@ trait AcceptanceTesterActions
* ```
*
* @param string|null $name
+ *
* @see \Codeception\Module\WebDriver::switchToIFrame()
*/
- public function switchToIFrame($name = null) {
+ public function switchToIFrame($name = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('switchToIFrame', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2562,14 +2750,15 @@ trait AcceptanceTesterActions
* ```
*
* @param string $script
- * @param int $timeout seconds
+ * @param int $timeout seconds
+ *
* @see \Codeception\Module\WebDriver::waitForJS()
*/
- public function waitForJS($script, $timeout = null) {
+ public function waitForJS($script, $timeout = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForJS', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2588,14 +2777,16 @@ trait AcceptanceTesterActions
*
* @param $script
* @param array $arguments
+ *
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::executeJS()
*/
- public function executeJS($script, $arguments = null) {
+ public function executeJS($script, $arguments = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('executeJS', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2614,25 +2805,28 @@ trait AcceptanceTesterActions
*
* @param $script
* @param array $arguments
+ *
* @return mixed
+ *
* @see \Codeception\Module\WebDriver::executeAsyncJS()
*/
- public function executeAsyncJS($script, $arguments = null) {
+ public function executeAsyncJS($script, $arguments = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('executeAsyncJS', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Maximizes the current window.
+ *
* @see \Codeception\Module\WebDriver::maximizeWindow()
*/
- public function maximizeWindow() {
+ public function maximizeWindow()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('maximizeWindow', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2646,13 +2840,14 @@ trait AcceptanceTesterActions
*
* @param string $source (CSS ID or XPath)
* @param string $target (CSS ID or XPath)
+ *
* @see \Codeception\Module\WebDriver::dragAndDrop()
*/
- public function dragAndDrop($source, $target) {
+ public function dragAndDrop($source, $target)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('dragAndDrop', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2671,17 +2866,18 @@ trait AcceptanceTesterActions
* ```
*
* @param string $cssOrXPath css or xpath of the web element
- * @param int $offsetX
- * @param int $offsetY
+ * @param int $offsetX
+ * @param int $offsetY
*
* @throws \Codeception\Exception\ElementNotFound
+ *
* @see \Codeception\Module\WebDriver::moveMouseOver()
*/
- public function moveMouseOver($cssOrXPath = null, $offsetX = null, $offsetY = null) {
+ public function moveMouseOver($cssOrXPath = null, $offsetX = null, $offsetY = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('moveMouseOver', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2700,17 +2896,18 @@ trait AcceptanceTesterActions
* ```
*
* @param string $cssOrXPath css or xpath of the web element (body by default).
- * @param int $offsetX
- * @param int $offsetY
+ * @param int $offsetX
+ * @param int $offsetY
*
* @throws \Codeception\Exception\ElementNotFound
+ *
* @see \Codeception\Module\WebDriver::clickWithLeftButton()
*/
- public function clickWithLeftButton($cssOrXPath = null, $offsetX = null, $offsetY = null) {
+ public function clickWithLeftButton($cssOrXPath = null, $offsetX = null, $offsetY = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('clickWithLeftButton', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2733,13 +2930,14 @@ trait AcceptanceTesterActions
* @param int $offsetY
*
* @throws \Codeception\Exception\ElementNotFound
+ *
* @see \Codeception\Module\WebDriver::clickWithRightButton()
*/
- public function clickWithRightButton($cssOrXPath = null, $offsetX = null, $offsetY = null) {
+ public function clickWithRightButton($cssOrXPath = null, $offsetX = null, $offsetY = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('clickWithRightButton', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2748,27 +2946,30 @@ trait AcceptanceTesterActions
*
* This method is useful while writing tests,
* since it allows you to inspect the current page in the middle of a test case.
+ *
* @see \Codeception\Module\WebDriver::pauseExecution()
*/
- public function pauseExecution() {
+ public function pauseExecution()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('pauseExecution', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Performs a double-click on an element matched by CSS or XPath.
*
* @param $cssOrXPath
+ *
* @throws \Codeception\Exception\ElementNotFound
+ *
* @see \Codeception\Module\WebDriver::doubleClick()
*/
- public function doubleClick($cssOrXPath) {
+ public function doubleClick($cssOrXPath)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('doubleClick', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2790,14 +2991,16 @@ trait AcceptanceTesterActions
*
* @param $element
* @param $char string|array Can be char or array with modifier. You can provide several chars.
+ *
* @throws \Codeception\Exception\ElementNotFound
+ *
* @see \Codeception\Module\WebDriver::pressKey()
*/
- public function pressKey($element, $char) {
+ public function pressKey($element, $char)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('pressKey', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2813,37 +3016,42 @@ trait AcceptanceTesterActions
*
* @param string $field
* @param string $value
+ *
* @throws \Codeception\Exception\ElementNotFound
+ *
* @see \Codeception\Module\WebDriver::appendField()
*/
- public function appendField($field, $value) {
+ public function appendField($field, $value)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('appendField', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* @param string $name
+ *
* @see \Codeception\Module\WebDriver::saveSessionSnapshot()
*/
- public function saveSessionSnapshot($name) {
+ public function saveSessionSnapshot($name)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('saveSessionSnapshot', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* @param string $name
+ *
* @return bool
+ *
* @see \Codeception\Module\WebDriver::loadSessionSnapshot()
*/
- public function loadSessionSnapshot($name) {
+ public function loadSessionSnapshot($name)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('loadSessionSnapshot', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2860,13 +3068,14 @@ trait AcceptanceTesterActions
* @param $selector
* @param int $offsetX
* @param int $offsetY
+ *
* @see \Codeception\Module\WebDriver::scrollTo()
*/
- public function scrollTo($selector, $offsetX = null, $offsetY = null) {
+ public function scrollTo($selector, $offsetX = null, $offsetY = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('scrollTo', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2883,11 +3092,11 @@ trait AcceptanceTesterActions
*
* @see \Codeception\Module\WebDriver::openNewTab()
*/
- public function openNewTab() {
+ public function openNewTab()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('openNewTab', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2899,13 +3108,14 @@ trait AcceptanceTesterActions
* ```
*
* Can't be used with PhantomJS
+ *
* @see \Codeception\Module\WebDriver::closeTab()
*/
- public function closeTab() {
+ public function closeTab()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('closeTab', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2923,13 +3133,14 @@ trait AcceptanceTesterActions
* Can't be used with PhantomJS
*
* @param int $offset 1
+ *
* @see \Codeception\Module\WebDriver::switchToNextTab()
*/
- public function switchToNextTab($offset = null) {
+ public function switchToNextTab($offset = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('switchToNextTab', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2947,13 +3158,14 @@ trait AcceptanceTesterActions
* Can't be used with PhantomJS
*
* @param int $offset 1
+ *
* @see \Codeception\Module\WebDriver::switchToPreviousTab()
*/
- public function switchToPreviousTab($offset = null) {
+ public function switchToPreviousTab($offset = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('switchToPreviousTab', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -2998,24 +3210,25 @@ trait AcceptanceTesterActions
* @param $element
* @param $actions
* @param int $timeout
+ *
* @see \Codeception\Module\WebDriver::performOn()
*/
- public function performOn($element, $actions, $timeout = null) {
+ public function performOn($element, $actions, $timeout = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('performOn', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
*
* @see \Codeception\Module\Db::isPopulated()
*/
- public function isPopulated() {
+ public function isPopulated()
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('isPopulated', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3028,16 +3241,17 @@ trait AcceptanceTesterActions
* ```
*
* @param string $table
- * @param array $data
+ * @param array $data
+ *
+ * @return int $id
*
- * @return integer $id
* @see \Codeception\Module\Db::haveInDatabase()
*/
- public function haveInDatabase($table, $data) {
+ public function haveInDatabase($table, $data)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('haveInDatabase', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3062,13 +3276,16 @@ trait AcceptanceTesterActions
*
*
* @param string $table
- * @param array $criteria
- * Conditional Assertion: Test won't be stopped on fail
+ * @param array $criteria
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\Db::seeInDatabase()
*/
- public function canSeeInDatabase($table, $criteria = null) {
+ public function canSeeInDatabase($table, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInDatabase', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3093,14 +3310,15 @@ trait AcceptanceTesterActions
*
*
* @param string $table
- * @param array $criteria
+ * @param array $criteria
+ *
* @see \Codeception\Module\Db::seeInDatabase()
*/
- public function seeInDatabase($table, $criteria = null) {
+ public function seeInDatabase($table, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInDatabase', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3112,15 +3330,18 @@ trait AcceptanceTesterActions
* ?>
* ```
*
- * @param int $expectedNumber Expected number
- * @param string $table Table name
- * @param array $criteria Search criteria [Optional]
- * Conditional Assertion: Test won't be stopped on fail
+ * @param int $expectedNumber Expected number
+ * @param string $table Table name
+ * @param array $criteria Search criteria [Optional]
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\Db::seeNumRecords()
*/
- public function canSeeNumRecords($expectedNumber, $table, $criteria = null) {
+ public function canSeeNumRecords($expectedNumber, $table, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeNumRecords', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3132,16 +3353,17 @@ trait AcceptanceTesterActions
* ?>
* ```
*
- * @param int $expectedNumber Expected number
- * @param string $table Table name
- * @param array $criteria Search criteria [Optional]
+ * @param int $expectedNumber Expected number
+ * @param string $table Table name
+ * @param array $criteria Search criteria [Optional]
+ *
* @see \Codeception\Module\Db::seeNumRecords()
*/
- public function seeNumRecords($expectedNumber, $table, $criteria = null) {
+ public function seeNumRecords($expectedNumber, $table, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeNumRecords', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3167,13 +3389,16 @@ trait AcceptanceTesterActions
* Supported operators: `<`, `>`, `>=`, `<=`, `!=`, `like`.
*
* @param string $table
- * @param array $criteria
- * Conditional Assertion: Test won't be stopped on fail
+ * @param array $criteria
+ * Conditional Assertion: Test won't be stopped on fail
+ *
* @see \Codeception\Module\Db::dontSeeInDatabase()
*/
- public function cantSeeInDatabase($table, $criteria = null) {
+ public function cantSeeInDatabase($table, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInDatabase', func_get_args()));
}
+
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3199,14 +3424,15 @@ trait AcceptanceTesterActions
* Supported operators: `<`, `>`, `>=`, `<=`, `!=`, `like`.
*
* @param string $table
- * @param array $criteria
+ * @param array $criteria
+ *
* @see \Codeception\Module\Db::dontSeeInDatabase()
*/
- public function dontSeeInDatabase($table, $criteria = null) {
+ public function dontSeeInDatabase($table, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInDatabase', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3220,16 +3446,17 @@ trait AcceptanceTesterActions
*
* @param string $table
* @param string $column
- * @param array $criteria
+ * @param array $criteria
*
* @return array
+ *
* @see \Codeception\Module\Db::grabColumnFromDatabase()
*/
- public function grabColumnFromDatabase($table, $column, $criteria = null) {
+ public function grabColumnFromDatabase($table, $column, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabColumnFromDatabase', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3252,16 +3479,17 @@ trait AcceptanceTesterActions
*
* @param string $table
* @param string $column
- * @param array $criteria
+ * @param array $criteria
*
* @return mixed
+ *
* @see \Codeception\Module\Db::grabFromDatabase()
*/
- public function grabFromDatabase($table, $column, $criteria = null) {
+ public function grabFromDatabase($table, $column, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabFromDatabase', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3271,13 +3499,14 @@ trait AcceptanceTesterActions
* @param array $criteria Search criteria [Optional]
*
* @return int
+ *
* @see \Codeception\Module\Db::grabNumRecords()
*/
- public function grabNumRecords($table, $criteria = null) {
+ public function grabNumRecords($table, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('grabNumRecords', func_get_args()));
}
-
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
@@ -3290,11 +3519,13 @@ trait AcceptanceTesterActions
* ```
*
* @param string $table
- * @param array $data
- * @param array $criteria
+ * @param array $data
+ * @param array $criteria
+ *
* @see \Codeception\Module\Db::updateInDatabase()
*/
- public function updateInDatabase($table, $data, $criteria = null) {
+ public function updateInDatabase($table, $data, $criteria = null)
+ {
return $this->getScenario()->runStep(new \Codeception\Step\Action('updateInDatabase', func_get_args()));
}
}