-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qa: remove BC breaks and ensure conforms to CS guidelines
- Removes docblock headers from new files - Ensures all types are documented in new interface and test assets - Do not have SameSiteCookieCapableInterface extend ConfigInterface, and StandardConfig implement SameSiteCookieCapableInterface; instead, have StandarConfig implement both ConfigInterface and SameSiteCookieCapableInterface. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
- Loading branch information
1 parent
fa47772
commit 358c0a3
Showing
6 changed files
with
80 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<?php | ||
|
||
/** | ||
* @see https://github.com/laminas/laminas-session for the canonical source repository | ||
* @copyright https://github.com/laminas/laminas-session/blob/master/COPYRIGHT.md | ||
* @license https://github.com/laminas/laminas-session/blob/master/LICENSE.md New BSD License | ||
*/ | ||
|
||
namespace Laminas\Session\Config; | ||
|
||
interface SameSiteCookieCapableInterface extends ConfigInterface | ||
interface SameSiteCookieCapableInterface | ||
{ | ||
/** | ||
* @param string $cookieSameSite | ||
* @return self | ||
*/ | ||
public function setCookieSameSite($cookieSameSite); | ||
|
||
/** @return string */ | ||
public function getCookieSameSite(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,134 +1,168 @@ | ||
<?php | ||
|
||
/** | ||
* @see https://github.com/laminas/laminas-session for the canonical source repository | ||
* @copyright https://github.com/laminas/laminas-session/blob/master/COPYRIGHT.md | ||
* @license https://github.com/laminas/laminas-session/blob/master/LICENSE.md New BSD License | ||
*/ | ||
|
||
namespace LaminasTest\Session\TestAsset; | ||
|
||
use Laminas\Session\Config\ConfigInterface; | ||
|
||
class TestConfig implements ConfigInterface | ||
{ | ||
/** | ||
* @param array $options | ||
* @return void | ||
*/ | ||
public function setOptions($options) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getOptions() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param string $option | ||
* @param mixed $value | ||
* @return void | ||
*/ | ||
public function setOption($option, $value) | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param string $option | ||
* @return void | ||
*/ | ||
public function getOption($option) | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param string $option | ||
* @return void | ||
*/ | ||
public function hasOption($option) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function toArray() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param string $name | ||
* @return void | ||
*/ | ||
public function setName($name) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getName() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param string $savePath | ||
* @return void | ||
*/ | ||
public function setSavePath($savePath) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getSavePath() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param int $cookieLifetime | ||
* @return void | ||
*/ | ||
public function setCookieLifetime($cookieLifetime) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getCookieLifetime() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param string $cookiePath | ||
* @return void | ||
*/ | ||
public function setCookiePath($cookiePath) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getCookiePath() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param string $cookieDomain | ||
* @return void | ||
*/ | ||
public function setCookieDomain($cookieDomain) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getCookieDomain() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param bool $cookieSecure | ||
* @return void | ||
*/ | ||
public function setCookieSecure($cookieSecure) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getCookieSecure() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param bool $cookieHttpOnly | ||
* @return void | ||
*/ | ||
public function setCookieHttpOnly($cookieHttpOnly) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getCookieHttpOnly() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param bool $useCookies | ||
* @return void | ||
*/ | ||
public function setUseCookies($useCookies) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getUseCookies() | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
* @param int $rememberMeSeconds | ||
* @return void | ||
*/ | ||
public function setRememberMeSeconds($rememberMeSeconds) | ||
{ | ||
return; | ||
} | ||
|
||
/** @return void */ | ||
public function getRememberMeSeconds() | ||
{ | ||
return; | ||
} | ||
} | ||
} |