Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Issue 490 #513

Merged
merged 109 commits into from
May 21, 2017
Merged

Issue 490 #513

merged 109 commits into from
May 21, 2017

Conversation

prisis
Copy link
Member

@prisis prisis commented Apr 10, 2017

Q A
Branch? develop
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? no
Fixed tickets #490
License MIT

*/
protected $webprofiler;
protected $Profiler

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There must not be more than one property declared per statement

@codecov
Copy link

codecov bot commented Apr 10, 2017

Codecov Report

Merging #513 into develop will decrease coverage by 2.55%.
The diff coverage is 54.51%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop     #513      +/-   ##
=============================================
- Coverage      88.19%   85.63%   -2.56%     
- Complexity      5036     5151     +115     
=============================================
  Files            399      403       +4     
  Lines          12586    12850     +264     
=============================================
- Hits           11100    11004      -96     
- Misses          1486     1846     +360
Impacted Files Coverage Δ Complexity Δ
...iler/DataCollectors/Bridge/PDO/TracedStatement.php 0% <ø> (ø) 32 <0> (?)
...t/Profiler/DataCollectors/PhpInfoDataCollector.php 100% <ø> (ø) 12 <0> (?)
...r/DataCollectors/Bridge/SwiftMailDataCollector.php 60.71% <ø> (ø) 10 <0> (?)
...ataCollectors/Bridge/PDO/TraceablePDODecorater.php 4.83% <ø> (ø) 27 <0> (?)
...io/Bridge/Twig/DataCollector/TwigDataCollector.php 50.74% <ø> (-44.78%) 22 <0> (ø)
...nent/Profiler/DataCollectors/TimeDataCollector.php 89.39% <ø> (ø) 21 <0> (?)
...dation/DataCollectors/NarrowsparkDataCollector.php 100% <ø> (+94.11%) 10 <0> (ø) ⬇️
src/Viserio/Component/Session/SessionManager.php 96.77% <ø> (ø) 8 <0> (ø) ⬇️
...mponent/Foundation/Bootstrap/LoadConfiguration.php 95.23% <ø> (ø) 7 <0> (ø) ⬇️
...ler/DataCollectors/Bridge/PDO/PDODataCollector.php 40% <ø> (ø) 3 <0> (?)
... and 76 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c9098f5...719086c. Read the comment docs.

prisis and others added 9 commits April 10, 2017 18:11
# Conflicts:
#	src/Viserio/Bridge/Twig/Providers/TwigBridgeDataCollectorsServiceProvider.php
#	src/Viserio/Component/Foundation/Application.php
#	src/Viserio/Component/Foundation/Bootstrap/LoadConfiguration.php
#	src/Viserio/Component/Foundation/Bootstrap/LoadServiceProvider.php
#	src/Viserio/Component/Foundation/Bootstrap/RegisterStaticalProxys.php
#	src/Viserio/Component/Foundation/Bootstrap/SetRequestForConsole.php
#	src/Viserio/Component/Foundation/Console/Commands/KeyGenerateCommand.php
#	src/Viserio/Component/Foundation/DataCollectors/NarrowsparkDataCollector.php
#	src/Viserio/Component/Foundation/Http/Kernel.php
#	src/Viserio/Component/Foundation/Providers/ConfigureLoggingServiceProvider.php
#	src/Viserio/Component/Foundation/Tests/DataCollectors/NarrowsparkDataCollectorTest.php
#	src/Viserio/Component/Foundation/Tests/Http/KernelTest.php
#	src/Viserio/Component/Foundation/Tests/Providers/ConfigureLoggingServiceProviderTest.php
#	src/Viserio/Component/Parsers/Providers/ParsersServiceProvider.php
#	src/Viserio/Component/View/Engines/MarkdownEngine.php
#	src/Viserio/Component/WebProfiler/Providers/WebProfilerSwiftMailerBridgeServiceProvider.php
*
* @return \Psr\Http\Message\ResponseInterface
*/
public function getResponse($value='')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Incorrect spacing between argument $value and equals sign; expected 1 but found 0
  • Incorrect spacing between default value and equals sign for argument $value; expected 1 but found 0

*
* @return \Psr\Http\Message\ResponseInterface
*/
public function getResponse($value='')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Incorrect spacing between argument $value and equals sign; expected 1 but found 0
  • Incorrect spacing between default value and equals sign for argument $value; expected 1 but found 0

prisis and others added 23 commits May 20, 2017 02:34
	modified:   src/Viserio/Component/Session/Store.php
	modified:   src/Viserio/Component/Session/Tests/StoreTest.php
	modified:   src/Viserio/Component/Session/Tests/Middleware/VerifyCsrfTokenMiddlewareTest.php
	modified:   src/Viserio/Component/Session/Tests/SessionManagerTest.php
	modified:   src/Viserio/Component/Session/SessionManager.php
	modified:   src/Viserio/Component/Session/Tests/Middleware/StartSessionMiddlewareTest.php
	modified:   src/Viserio/Component/Session/Handler/CookieSessionHandler.php
	modified:   src/Viserio/Component/Session/Middleware/VerifyCsrfTokenMiddleware.php
	modified:   src/Viserio/Component/Session/Tests/Handler/CookieSessionHandlerTest.php
	modified:   src/Viserio/Component/Support/Http/ClientIp.php
	modified:   src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php
	modified:   src/Viserio/Component/Session/Middleware/VerifyCsrfTokenMiddleware.php
some sessions changes

Apply fixes from StyleCI

fix first tests

fix cookie handling

working on session (#540)

Refactor some old session code

check if session is open and use http_only with true as default

	modified:   src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php
	modified:   src/Viserio/Component/Session/Middleware/VerifyCsrfTokenMiddleware.php
@@ -16,26 +17,31 @@ class CacheServiceProvider implements ServiceProvider
public function getServices()
{
return [
CacheManagerContract::class => [self::class, 'registerCacheFactory'],
CacheManager::class => function (ContainerInterface $container) {
CacheManagerContract::class => function (ContainerInterface $container): CacheManagerContract {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 1 space after closing parenthesis; found 0

CacheManagerContract::class => function (ContainerInterface $container): CacheManagerContract {
return new CacheManager($container);
},
CacheManager::class => function (ContainerInterface $container): CacheManagerContract {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 1 space after closing parenthesis; found 0

return $container->get(CacheManagerContract::class);
},
'cache' => function (ContainerInterface $container) {
'cache' => function (ContainerInterface $container): CacheManagerContract {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 1 space after closing parenthesis; found 0

@prisis prisis merged commit 8034a60 into develop May 21, 2017
@prisis prisis deleted the issue-490 branch May 21, 2017 12:50
prisis added a commit that referenced this pull request May 22, 2017
working on #490 part 1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants