Passed
Pull Request — master (#24)
by Wanderson
06:44
created
www/app/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Autoload App
5 5
  */
6
-spl_autoload_register(function ($className) {
6
+spl_autoload_register(function($className) {
7 7
 	$className = str_replace('App\\', 'app\\', $className);
8 8
 	$file = BASE_PATH . '/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php';
9 9
 	if (file_exists($file)) {
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 /**
15 15
  * Autoload Vendor
16 16
  */
17
-spl_autoload_register(function ($className) {
17
+spl_autoload_register(function($className) {
18 18
 	$file = BASE_PATH . '/vendor/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php';
19 19
 	if (file_exists($file)) {
20 20
 		return require $file;
Please login to merge, or discard this patch.
www/config/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use App\Controllers\IndexController;
4 4
 use Win\Services\Router;
5 5
 
6
-$router =  Router::instance();
6
+$router = Router::instance();
7 7
 
8 8
 /**
9 9
  * Direciona uma URL para um Controller
Please login to merge, or discard this patch.
www/vendor/Win/Repositories/Repository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@
 block discarded – undo
322 322
 	 * @example if('name', 'John')
323 323
 	 * @example if('name = ? OR email = ?', 'John', 'email')
324 324
 	 */
325
-	public function if($comparator, ...$values)
325
+	public function if ($comparator, ...$values)
326 326
 	{
327 327
 		$this->sql->addWhere($comparator, $values);
328 328
 
Please login to merge, or discard this patch.
www/vendor/Win/Repositories/Sql.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 	public function update()
86 86
 	{
87 87
 		$keys = array_keys($this->values);
88
-		$columns = array_map(fn ($column) => $column . ' = ?', $keys);
88
+		$columns = array_map(fn($column) => $column . ' = ?', $keys);
89 89
 
90 90
 		return 'UPDATE ' . $this->table
91 91
 			. ' SET ' . implode(', ', $columns)
Please login to merge, or discard this patch.
www/vendor/Win/Services/Filesystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
 	 */
143 143
 	public function receiveFile(
144 144
 		$tempFileFile,
145
-		$extensions = ['csv', 'doc', 'docx', 'gif', 'jpeg', 'jpg', 'md', 'mp3', 'mp4', 'mpeg', 'pdf', 'png', 'svg', 'txt', 'wav', 'xls', 'xlsx', 'zip',]
145
+		$extensions = ['csv', 'doc', 'docx', 'gif', 'jpeg', 'jpg', 'md', 'mp3', 'mp4', 'mpeg', 'pdf', 'png', 'svg', 'txt', 'wav', 'xls', 'xlsx', 'zip', ]
146 146
 	) {
147 147
 		if (isset($tempFileFile['name'])) {
148 148
 			$extension = strtolower(pathinfo($tempFileFile['name'])['extension']);
Please login to merge, or discard this patch.