@@ -102,7 +102,7 @@ |
||
102 | 102 | $fieldset->setLabel(ucfirst($label)); |
103 | 103 | } |
104 | 104 | $fieldset->setName($name) |
105 | - ->setObject($child); |
|
105 | + ->setObject($child); |
|
106 | 106 | |
107 | 107 | |
108 | 108 | $this->add($fieldset); |
@@ -80,7 +80,7 @@ |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | $fieldset->setUseAsBaseFieldset(true) |
83 | - ->setName('base'); |
|
83 | + ->setName('base'); |
|
84 | 84 | |
85 | 85 | $fieldset->setObject($object); |
86 | 86 | $this->add($fieldset); |
@@ -8,15 +8,15 @@ discard block |
||
8 | 8 | */ |
9 | 9 | |
10 | 10 | return [ |
11 | - 'tracy' => [ |
|
12 | - 'enabled' => true, // flag whether to load tracy at all |
|
13 | - 'mode' => true, // true = production|false = development|null = autodetect|IP address(es) csv/array |
|
14 | - 'bar' => false, // bool = enabled|Toggle nette diagnostics bar. |
|
15 | - 'strict' => true, // bool = cause immediate death|int = matched against error severity |
|
16 | - 'log' => __DIR__.'/../../../var/log/tracy', // path to log directory (this directory keeps error.log, snoozing mailsent file & html exception trace files) |
|
17 | - 'email' => null, // in production mode notifies the recipient |
|
18 | - 'email_snooze' => 900 // interval for sending email in seconds |
|
19 | - ], |
|
11 | + 'tracy' => [ |
|
12 | + 'enabled' => true, // flag whether to load tracy at all |
|
13 | + 'mode' => true, // true = production|false = development|null = autodetect|IP address(es) csv/array |
|
14 | + 'bar' => false, // bool = enabled|Toggle nette diagnostics bar. |
|
15 | + 'strict' => true, // bool = cause immediate death|int = matched against error severity |
|
16 | + 'log' => __DIR__.'/../../../var/log/tracy', // path to log directory (this directory keeps error.log, snoozing mailsent file & html exception trace files) |
|
17 | + 'email' => null, // in production mode notifies the recipient |
|
18 | + 'email_snooze' => 900 // interval for sending email in seconds |
|
19 | + ], |
|
20 | 20 | |
21 | 21 | 'doctrine' => [ |
22 | 22 | 'driver' => [ |
@@ -35,9 +35,9 @@ discard block |
||
35 | 35 | 'invokables' => [ |
36 | 36 | 'Install/Listener/LanguageSetter' => 'Install\Listener\LanguageSetter', |
37 | 37 | ], |
38 | - 'factories' => [ |
|
39 | - 'mvctranslator' => \Zend\Mvc\I18n\TranslatorFactory::class, |
|
40 | - 'FilterManager' => \Zend\Filter\FilterPluginManagerFactory::class, |
|
38 | + 'factories' => [ |
|
39 | + 'mvctranslator' => \Zend\Mvc\I18n\TranslatorFactory::class, |
|
40 | + 'FilterManager' => \Zend\Filter\FilterPluginManagerFactory::class, |
|
41 | 41 | 'Tracy' => [\Core\Service\Tracy::class,'factory'], |
42 | 42 | 'Core/Options' => 'Core\Factory\ModuleOptionsFactory', |
43 | 43 | ], |
@@ -63,9 +63,9 @@ discard block |
||
63 | 63 | ], |
64 | 64 | |
65 | 65 | 'controllers' => [ |
66 | - 'abstract_factories' => [ |
|
67 | - \Install\Factory\Controller\LazyControllerFactory::class |
|
68 | - ], |
|
66 | + 'abstract_factories' => [ |
|
67 | + \Install\Factory\Controller\LazyControllerFactory::class |
|
68 | + ], |
|
69 | 69 | ], |
70 | 70 | |
71 | 71 | 'controller_plugins' => [ |
@@ -54,7 +54,7 @@ |
||
54 | 54 | $parameter_instances[] = $container->get($cn); |
55 | 55 | } catch (\Exception $x) { |
56 | 56 | echo __CLASS__ |
57 | - . " couldn't create an instance of $cn to satisfy the constructor for $requestedName."; |
|
57 | + . " couldn't create an instance of $cn to satisfy the constructor for $requestedName."; |
|
58 | 58 | exit; |
59 | 59 | } |
60 | 60 | } else { |
@@ -61,8 +61,8 @@ |
||
61 | 61 | $routeMatch->setParam('action', $p); |
62 | 62 | $response = $this->getResponse(); |
63 | 63 | $response->getHeaders() |
64 | - ->addHeaderLine('Content-Type', 'application/json') |
|
65 | - ->addHeaderLine('Content-Encoding', 'utf8'); |
|
64 | + ->addHeaderLine('Content-Type', 'application/json') |
|
65 | + ->addHeaderLine('Content-Encoding', 'utf8'); |
|
66 | 66 | } |
67 | 67 | } |
68 | 68 |
@@ -45,13 +45,13 @@ |
||
45 | 45 | ->getMock(); |
46 | 46 | |
47 | 47 | $repositoriesMock = $this->getMockBuilder('Core\Repository\RepositoryService') |
48 | - ->disableOriginalConstructor() |
|
49 | - ->getMock(); |
|
48 | + ->disableOriginalConstructor() |
|
49 | + ->getMock(); |
|
50 | 50 | |
51 | 51 | $repositoriesMock->expects($this->once()) |
52 | - ->method('get') |
|
53 | - ->with('Jobs/Job') |
|
54 | - ->willReturn($jobRepositoryMock); |
|
52 | + ->method('get') |
|
53 | + ->with('Jobs/Job') |
|
54 | + ->willReturn($jobRepositoryMock); |
|
55 | 55 | |
56 | 56 | $apiJobDehydratorMock = $this->getMockBuilder('Jobs\Model\ApiJobDehydrator') |
57 | 57 | ->disableOriginalConstructor() |
@@ -46,8 +46,8 @@ |
||
46 | 46 | ->getMock(); |
47 | 47 | |
48 | 48 | $repositoriesMock = $this->getMockBuilder('Core\Repository\RepositoryService') |
49 | - ->disableOriginalConstructor() |
|
50 | - ->getMock(); |
|
49 | + ->disableOriginalConstructor() |
|
50 | + ->getMock(); |
|
51 | 51 | |
52 | 52 | $repositoriesMock->expects($this->once()) |
53 | 53 | ->method('get') |
@@ -41,15 +41,15 @@ |
||
41 | 41 | $provider=new ProviderOptions(); |
42 | 42 | |
43 | 43 | $serviceManagerMock = $this->getMockBuilder('\Zend\ServiceManager\ServiceManager') |
44 | - ->disableOriginalConstructor() |
|
45 | - ->getMock(); |
|
44 | + ->disableOriginalConstructor() |
|
45 | + ->getMock(); |
|
46 | 46 | |
47 | 47 | |
48 | 48 | $serviceManagerMock |
49 | - ->expects($this->once()) |
|
50 | - ->method('get') |
|
51 | - ->with('Jobs/Options/Provider') |
|
52 | - ->willReturn($provider) |
|
49 | + ->expects($this->once()) |
|
50 | + ->method('get') |
|
51 | + ->with('Jobs/Options/Provider') |
|
52 | + ->willReturn($provider) |
|
53 | 53 | ; |
54 | 54 | |
55 | 55 | $target = new ChannelPricesFactory(); |
@@ -82,16 +82,16 @@ |
||
82 | 82 | 'number' => '123', |
83 | 83 | ]); |
84 | 84 | $repository = $this |
85 | - ->getMockBuilder(Organization::class) |
|
86 | - ->disableOriginalConstructor() |
|
85 | + ->getMockBuilder(Organization::class) |
|
86 | + ->disableOriginalConstructor() |
|
87 | 87 | ->setMethods(['find']) |
88 | 88 | ->getMock() |
89 | 89 | ; |
90 | 90 | $repository |
91 | - ->expects($this->once()) |
|
92 | - ->method('find') |
|
93 | - ->with('orgId') |
|
94 | - ->willReturn($org) |
|
91 | + ->expects($this->once()) |
|
92 | + ->method('find') |
|
93 | + ->with('orgId') |
|
94 | + ->willReturn($org) |
|
95 | 95 | ; |
96 | 96 | $repositories = $this->createPluginManagerMock(['Organizations' => $repository]); |
97 | 97 | $services['repositories'] = $repositories; |