@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Geo\Form\GeoText; |
@@ -35,11 +35,11 @@ discard block |
||
35 | 35 | } |
36 | 36 | $entity = new Location(); |
37 | 37 | $entity->setCity($data['city']) |
38 | - ->setRegion($data['region']) |
|
39 | - ->setPostalcode($data['postalcode']) |
|
40 | - ->setCountry($data['country']); |
|
38 | + ->setRegion($data['region']) |
|
39 | + ->setPostalcode($data['postalcode']) |
|
40 | + ->setCountry($data['country']); |
|
41 | 41 | if (!empty($data['coordinates'])) { |
42 | - $entity->setCoordinates(new Point($data['coordinates'])); |
|
42 | + $entity->setCoordinates(new Point($data['coordinates'])); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Install; |
@@ -60,6 +60,6 @@ discard block |
||
60 | 60 | $services = $application->getServiceManager(); |
61 | 61 | |
62 | 62 | $services->get('Install/Listener/LanguageSetter') |
63 | - ->attach($eventManager); |
|
63 | + ->attach($eventManager); |
|
64 | 64 | } |
65 | 65 | } |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @copyright 2015 Cross Solution <http://cross-solution.de> |
|
6 | - * @author Mathias Gelhausen <[email protected]> |
|
7 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @copyright 2015 Cross Solution <http://cross-solution.de> |
|
6 | + * @author Mathias Gelhausen <[email protected]> |
|
7 | + */ |
|
8 | 8 | $env = getenv('APPLICATION_ENV') ?: 'production'; |
9 | 9 | |
10 | 10 | return 'production' == $env |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | return array( |
11 | 11 |
@@ -42,8 +42,8 @@ discard block |
||
42 | 42 | $routeMatch->setParam('action', $p); |
43 | 43 | $response = $this->getResponse(); |
44 | 44 | $response->getHeaders() |
45 | - ->addHeaderLine('Content-Type', 'application/json') |
|
46 | - ->addHeaderLine('Content-Encoding', 'utf8'); |
|
45 | + ->addHeaderLine('Content-Type', 'application/json') |
|
46 | + ->addHeaderLine('Content-Encoding', 'utf8'); |
|
47 | 47 | } |
48 | 48 | } |
49 | 49 | |
@@ -60,9 +60,9 @@ discard block |
||
60 | 60 | |
61 | 61 | return $this->createViewModel( |
62 | 62 | array( |
63 | - 'prerequisites' => $prereqs, |
|
64 | - 'form' => $form, |
|
65 | - ) |
|
63 | + 'prerequisites' => $prereqs, |
|
64 | + 'form' => $form, |
|
65 | + ) |
|
66 | 66 | ); |
67 | 67 | } |
68 | 68 | |
@@ -94,9 +94,9 @@ discard block |
||
94 | 94 | if (!$form->isValid()) { |
95 | 95 | return $this->createJsonResponse( |
96 | 96 | array( |
97 | - 'ok' => false, |
|
98 | - 'errors' => $form->getMessages(), |
|
99 | - ) |
|
97 | + 'ok' => false, |
|
98 | + 'errors' => $form->getMessages(), |
|
99 | + ) |
|
100 | 100 | ); |
101 | 101 | } |
102 | 102 |
@@ -66,7 +66,7 @@ |
||
66 | 66 | 'role' => 'admin', |
67 | 67 | 'login' => $username, |
68 | 68 | 'credential' => $credential, |
69 | - 'info' => [ 'email' => $email ] |
|
69 | + 'info' => ['email' => $email] |
|
70 | 70 | ); |
71 | 71 | |
72 | 72 | $result = $collection->insert($document); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Organizations\Repository\Event; |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Install\Controller\Plugin; |
@@ -93,8 +93,8 @@ discard block |
||
93 | 93 | // Create a file with the class/file map. |
94 | 94 | // Stupid syntax highlighters make separating < from PHP declaration necessary |
95 | 95 | $content = '<' . "?php\n" |
96 | - . "\n" |
|
97 | - . 'return ' . var_export($config, true) . ';'; |
|
96 | + . "\n" |
|
97 | + . 'return ' . var_export($config, true) . ';'; |
|
98 | 98 | |
99 | 99 | // Fix \' strings from injected DIRECTORY_SEPARATOR usage in iterator_apply op |
100 | 100 | $content = str_replace("\\'", "'", $content); |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Install\Form; |
@@ -27,53 +27,53 @@ discard block |
||
27 | 27 | $this->setName('installation'); |
28 | 28 | $this->setAttributes( |
29 | 29 | array( |
30 | - 'method' => 'post', |
|
31 | - 'action' => '?p=install' |
|
32 | - ) |
|
30 | + 'method' => 'post', |
|
31 | + 'action' => '?p=install' |
|
32 | + ) |
|
33 | 33 | ); |
34 | 34 | |
35 | 35 | $this->add( |
36 | 36 | array( |
37 | - 'type' => 'Text', |
|
38 | - 'name' => 'db_conn', |
|
39 | - 'options' => array( |
|
40 | - 'label' => /* @translate */ 'Database connection string', |
|
41 | - ), |
|
42 | - 'attributes' => array( |
|
43 | - 'placeholder' => 'mongodb://localhost:27017/YAWIK', |
|
44 | - ), |
|
37 | + 'type' => 'Text', |
|
38 | + 'name' => 'db_conn', |
|
39 | + 'options' => array( |
|
40 | + 'label' => /* @translate */ 'Database connection string', |
|
41 | + ), |
|
42 | + 'attributes' => array( |
|
43 | + 'placeholder' => 'mongodb://localhost:27017/YAWIK', |
|
44 | + ), |
|
45 | 45 | |
46 | - ) |
|
46 | + ) |
|
47 | 47 | ); |
48 | 48 | |
49 | 49 | $this->add( |
50 | 50 | array( |
51 | - 'type' => 'Text', |
|
52 | - 'name' => 'username', |
|
53 | - 'options' => array( |
|
54 | - 'label' => /* @translate */ 'Initial user name', |
|
55 | - ), |
|
56 | - ) |
|
51 | + 'type' => 'Text', |
|
52 | + 'name' => 'username', |
|
53 | + 'options' => array( |
|
54 | + 'label' => /* @translate */ 'Initial user name', |
|
55 | + ), |
|
56 | + ) |
|
57 | 57 | ); |
58 | 58 | |
59 | 59 | $this->add( |
60 | 60 | array( |
61 | - 'type' => 'Password', |
|
62 | - 'name' => 'password', |
|
63 | - 'options' => array( |
|
64 | - 'label' => /* @translate */ 'Password', |
|
65 | - ), |
|
66 | - ) |
|
61 | + 'type' => 'Password', |
|
62 | + 'name' => 'password', |
|
63 | + 'options' => array( |
|
64 | + 'label' => /* @translate */ 'Password', |
|
65 | + ), |
|
66 | + ) |
|
67 | 67 | ); |
68 | 68 | |
69 | 69 | $this->add( |
70 | 70 | array( |
71 | - 'type' => 'Text', |
|
72 | - 'name' => 'email', |
|
73 | - 'options' => array( |
|
74 | - 'label' => /* @translate */ 'Email address for system messages', |
|
75 | - ), |
|
76 | - ) |
|
71 | + 'type' => 'Text', |
|
72 | + 'name' => 'email', |
|
73 | + 'options' => array( |
|
74 | + 'label' => /* @translate */ 'Email address for system messages', |
|
75 | + ), |
|
76 | + ) |
|
77 | 77 | ); |
78 | 78 | } |
79 | 79 | |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | ), |
89 | 89 | 'validators' => array( |
90 | 90 | array('name' => 'Install/ConnectionString', |
91 | - 'break_chain_on_failure' => true), |
|
91 | + 'break_chain_on_failure' => true), |
|
92 | 92 | array('name' => 'Install/Connection'), |
93 | 93 | ), |
94 | 94 | ), |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | class MongoDbConnectionString extends AbstractValidator |
23 | 23 | { |
24 | - const INVALID = 'invalidConnectionString'; |
|
24 | + const INVALID = 'invalidConnectionString'; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * Options |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Organizations\Form\Element; |