@@ -126,14 +126,14 @@ |
||
| 126 | 126 | setcookie($this->sessionName, '', 0, ini_get('session.cookie_path'), ini_get('session.cookie_domain'), filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN), filter_var(ini_get('session.cookie_httponly'), FILTER_VALIDATE_BOOLEAN)); |
| 127 | 127 | } else { |
| 128 | 128 | setcookie($this->sessionName, '', |
| 129 | - [ |
|
| 130 | - 'expires' => 0, |
|
| 131 | - 'path' => $this->getCookiePath(), |
|
| 132 | - 'domain' => ini_get('session.cookie_domain'), |
|
| 133 | - 'secure' => filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN), |
|
| 134 | - 'httponly' => filter_var(ini_get('session.cookie_httponly'), FILTER_VALIDATE_BOOLEAN), |
|
| 135 | - 'samesite' => $this->getCookieSameSite(), |
|
| 136 | - ] |
|
| 129 | + [ |
|
| 130 | + 'expires' => 0, |
|
| 131 | + 'path' => $this->getCookiePath(), |
|
| 132 | + 'domain' => ini_get('session.cookie_domain'), |
|
| 133 | + 'secure' => filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN), |
|
| 134 | + 'httponly' => filter_var(ini_get('session.cookie_httponly'), FILTER_VALIDATE_BOOLEAN), |
|
| 135 | + 'samesite' => $this->getCookieSameSite(), |
|
| 136 | + ] |
|
| 137 | 137 | ); |
| 138 | 138 | } |
| 139 | 139 | } |
@@ -436,6 +436,9 @@ discard block |
||
| 436 | 436 | $fs->remove($dir); |
| 437 | 437 | } |
| 438 | 438 | |
| 439 | + /** |
|
| 440 | + * @param string $fileName |
|
| 441 | + */ |
|
| 439 | 442 | private function publishPlugin($fileName) |
| 440 | 443 | { |
| 441 | 444 | copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -582,6 +585,9 @@ discard block |
||
| 582 | 585 | /** @var Store_Plugin */ |
| 583 | 586 | protected $dependency; |
| 584 | 587 | |
| 588 | + /** |
|
| 589 | + * @param string $code |
|
| 590 | + */ |
|
| 585 | 591 | public function __construct(AcceptanceTester $I, $code, Store_Plugin $dependency = null) |
| 586 | 592 | { |
| 587 | 593 | parent::__construct($I); |
@@ -714,6 +720,9 @@ discard block |
||
| 714 | 720 | return $this; |
| 715 | 721 | } |
| 716 | 722 | |
| 723 | + /** |
|
| 724 | + * @param string $fileName |
|
| 725 | + */ |
|
| 717 | 726 | protected function publishPlugin($fileName) |
| 718 | 727 | { |
| 719 | 728 | $published = copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -732,6 +741,9 @@ discard block |
||
| 732 | 741 | /** @var string */ |
| 733 | 742 | private $code; |
| 734 | 743 | |
| 744 | + /** |
|
| 745 | + * @param string $code |
|
| 746 | + */ |
|
| 735 | 747 | public function __construct(AcceptanceTester $I, $code) |
| 736 | 748 | { |
| 737 | 749 | parent::__construct($I); |
@@ -194,7 +194,7 @@ |
||
| 194 | 194 | /** |
| 195 | 195 | * 指定された複数ディレクトリのうち、いずれかのディレクトリ以下にファイルが存在するかを確認。 |
| 196 | 196 | * |
| 197 | - * @param $form FormInterface |
|
| 197 | + * @param FormInterface $form FormInterface |
|
| 198 | 198 | * @param $dirs array |
| 199 | 199 | */ |
| 200 | 200 | private function validateFilePath($form, $dirs) |
@@ -386,6 +386,9 @@ |
||
| 386 | 386 | $this->init($BaseInfo); |
| 387 | 387 | } |
| 388 | 388 | |
| 389 | + /** |
|
| 390 | + * @param string $packageNames |
|
| 391 | + */ |
|
| 389 | 392 | private function dropTableToExtra($packageNames) |
| 390 | 393 | { |
| 391 | 394 | foreach (explode(' ', trim($packageNames)) as $packageName) { |
@@ -54,7 +54,6 @@ |
||
| 54 | 54 | * @param callable $callback Metadata を生成した後に実行されるコールバック関数 |
| 55 | 55 | * @param array $generatedFiles Proxy ファイルパスの配列 |
| 56 | 56 | * @param string $proxiesDirectory Proxy ファイルを格納したディレクトリ |
| 57 | - * @param bool $saveMode UpdateSchema を即時実行する場合 true |
|
| 58 | 57 | * @param string $outputDir Metadata の出力先ディレクトリ |
| 59 | 58 | */ |
| 60 | 59 | public function executeCallback(callable $callback, $generatedFiles, $proxiesDirectory, $outputDir = null) |