1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* @license LGPLv3, http://www.gnu.org/copyleft/lgpl.html |
5
|
|
|
* @copyright Aimeos (aimeos.org), 2015-2016 |
6
|
|
|
* @package flow |
7
|
|
|
* @subpackage Controller |
8
|
|
|
*/ |
9
|
|
|
|
10
|
|
|
|
11
|
|
|
namespace Aimeos\Shop\Controller; |
12
|
|
|
|
13
|
|
|
use Neos\Flow\Annotations as Flow; |
14
|
|
|
|
15
|
|
|
|
16
|
|
|
/** |
17
|
|
|
* Aimeos checkout controller. |
18
|
|
|
* @package flow |
19
|
|
|
* @subpackage Controller |
20
|
|
|
*/ |
21
|
|
|
class CheckoutController extends AbstractController |
22
|
|
|
{ |
23
|
|
|
/** |
24
|
|
|
* Returns the output of the checkout confirm component |
25
|
|
|
* |
26
|
|
|
* @return string Rendered HTML for the body |
27
|
|
|
*/ |
28
|
|
|
public function confirmComponentAction() |
29
|
|
|
{ |
30
|
|
|
$this->view->assign( 'output', $this->getOutput( 'checkout/confirm' ) ); |
31
|
|
|
$this->response->setHeader( 'Cache-Control', 'no-store' ); |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* Returns the output of the checkout standard component |
37
|
|
|
* |
38
|
|
|
* @return string Rendered HTML for the body |
39
|
|
|
*/ |
40
|
|
|
public function standardComponentAction() |
41
|
|
|
{ |
42
|
|
|
$this->view->assign( 'output', $this->getOutput( 'checkout/standard' ) ); |
43
|
|
|
$this->response->setHeader( 'Cache-Control', 'no-store' ); |
44
|
|
|
} |
45
|
|
|
|
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* Returns the output of the checkout update component |
49
|
|
|
* |
50
|
|
|
* @return string Rendered HTML for the body |
51
|
|
|
*/ |
52
|
|
|
public function updateComponentAction() |
53
|
|
|
{ |
54
|
|
|
$this->view->assign( 'output', $this->getOutput( 'checkout/update' ) ); |
55
|
|
|
$this->response->setHeader( 'Cache-Control', 'no-store' ); |
56
|
|
|
} |
57
|
|
|
|
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* Content for checkout standard page |
61
|
|
|
* |
62
|
|
|
* @Flow\Session(autoStart = TRUE) |
63
|
|
|
*/ |
64
|
|
|
public function indexAction() |
65
|
|
|
{ |
66
|
|
|
$this->view->assignMultiple( $this->get( 'checkout-index' ) ); |
67
|
|
|
$this->response->setHeader( 'Cache-Control', 'no-store' ); |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
|
71
|
|
|
/** |
72
|
|
|
* Content for checkout confirm page |
73
|
|
|
* |
74
|
|
|
* @Flow\Session(autoStart = TRUE) |
75
|
|
|
*/ |
76
|
|
|
public function confirmAction() |
77
|
|
|
{ |
78
|
|
|
$this->view->assignMultiple( $this->get( 'checkout-confirm' ) ); |
79
|
|
|
$this->response->setHeader( 'Cache-Control', 'no-store' ); |
80
|
|
|
} |
81
|
|
|
|
82
|
|
|
|
83
|
|
|
/** |
84
|
|
|
* Returns the view for the order update page. |
85
|
|
|
* |
86
|
|
|
* @return Response Response object containing the generated output |
|
|
|
|
87
|
|
|
*/ |
88
|
|
|
public function updateAction() |
89
|
|
|
{ |
90
|
|
|
$this->view->assignMultiple( $this->get( 'checkout-update' ) ); |
91
|
|
|
$this->response->setHeader( 'Cache-Control', 'no-store' ); |
92
|
|
|
} |
93
|
|
|
} |
94
|
|
|
|
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths