Passed
Push — v0.6 ( 816ed2...b6f9c5 )
by Chris
03:55
created
src/Darya/ORM/Relation/BelongsToMany.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 		$names = [$parent, $target];
158 158
 		sort($names);
159 159
 
160
-		$this->table = implode('_', $names) . 's';
160
+		$this->table = implode('_', $names).'s';
161 161
 	}
162 162
 
163 163
 	/**
Please login to merge, or discard this patch.
src/Darya/View/Php.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 		}
22 22
 
23 23
 		// Ensure that the selected template file exists
24
-		$path = $this->directory . '/' . $this->file;
24
+		$path = $this->directory.'/'.$this->file;
25 25
 
26 26
 		if (!is_file($path)) {
27 27
 			throw new \Exception("Could not find file when rendering view: \"$path\"");
Please login to merge, or discard this patch.
src/Darya/Foundation/Providers/ConfigurationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 	{
27 27
 		// Register the configuration service and its aliases
28 28
 		$container->register([
29
-			Configuration::class => function (Application $application) {
29
+			Configuration::class => function(Application $application) {
30 30
 				$basePath = $application->basePath();
31 31
 
32 32
 				// Load the application's configuration
Please login to merge, or discard this patch.
src/Darya/Foundation/Providers/PhpViewService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 	public function register(Container $container)
24 24
 	{
25 25
 		$container->register([
26
-			View\Resolver::class => function (Container $container) {
26
+			View\Resolver::class => function(Container $container) {
27 27
 				$basePath     = $container->get('path');
28 28
 				$realBasePath = realpath("{$basePath}/views/php");
29 29
 
Please login to merge, or discard this patch.
src/Darya/Foundation/Providers/DatabaseConnectionService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 	public function register(Container $container)
26 26
 	{
27 27
 		$container->register([
28
-			Connection::class => function (Container $container) {
28
+			Connection::class => function(Container $container) {
29 29
 				/**
30 30
 				 * @var Configuration $config
31 31
 				 */
Please login to merge, or discard this patch.
src/Darya/Foundation/Providers/DatabaseStorageService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 	public function register(Container $container)
26 26
 	{
27 27
 		$container->register([
28
-			'Darya\Database\Storage'      => function (Container $container) {
28
+			'Darya\Database\Storage'      => function(Container $container) {
29 29
 				return new Storage($container->get('Darya\Database\Connection'));
30 30
 			},
31 31
 			'Darya\Storage\Readable'      => 'Darya\Database\Storage',
Please login to merge, or discard this patch.
src/Darya/Foundation/Providers/HttpService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 	public function register(Container $container)
26 26
 	{
27 27
 		$container->register([
28
-			Request::class  => function (Container $container) {
28
+			Request::class  => function(Container $container) {
29 29
 				return Request::createFromGlobals($container->get(Session::class));
30 30
 			},
31 31
 			Response::class => new Response,
Please login to merge, or discard this patch.
src/Darya/Foundation/Providers/DebugService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 			return;
51 51
 		}
52 52
 
53
-		$listener = function ($result) {
53
+		$listener = function($result) {
54 54
 			Chrome::log([$result->query->string, json_encode($result->query->parameters)]);
55 55
 
56 56
 			if ($result->error) {
Please login to merge, or discard this patch.
autoloader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 // Composer's autoloader
3
-if (is_file(__DIR__ . '/../../autoload.php')) {
4
-	require_once __DIR__ . '/../../autoload.php';
3
+if (is_file(__DIR__.'/../../autoload.php')) {
4
+	require_once __DIR__.'/../../autoload.php';
5 5
 }
6 6
 
7 7
 // Darya's autoloader
8
-require_once __DIR__ . '/src/Darya/Foundation/Autoloader.php';
8
+require_once __DIR__.'/src/Darya/Foundation/Autoloader.php';
9 9
 
10 10
 use Darya\Foundation\Autoloader;
11 11
 
12 12
 // Base path wherever it's included from, absolute path to the framework
13 13
 $autoloader = new Autoloader(realpath('./'), [
14
-	'Darya' => realpath(__DIR__ . '/src')
14
+	'Darya' => realpath(__DIR__.'/src')
15 15
 ]);
16 16
 
17 17
 $autoloader->register();
Please login to merge, or discard this patch.