Completed
Push — master ( 47b46d...809bbe )
by
unknown
28:10
created
apps/dav/lib/Upload/PartFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 	}
58 58
 
59 59
 	public function getPath() {
60
-		return $this->root->getFileInfo()->getInternalPath() . '/' . $this->partInfo['PartNumber'];
60
+		return $this->root->getFileInfo()->getInternalPath().'/'.$this->partInfo['PartNumber'];
61 61
 	}
62 62
 
63 63
 	/**
Please login to merge, or discard this patch.
apps/dav/lib/Upload/FutureFile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 	}
67 67
 
68 68
 	public function getPath() {
69
-		return $this->root->getFileInfo()->getInternalPath() . '/.file';
69
+		return $this->root->getFileInfo()->getInternalPath().'/.file';
70 70
 	}
71 71
 
72 72
 	/**
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 	 */
89 89
 	public function getSize() {
90 90
 		$children = $this->root->getChildren();
91
-		$sizes = array_map(function ($node) {
91
+		$sizes = array_map(function($node) {
92 92
 			/** @var IFile $node */
93 93
 			return $node->getSize();
94 94
 		}, $children);
Please login to merge, or discard this patch.
apps/user_ldap/templates/part.wizard-loginfilter.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,37 +1,37 @@  discard block
 block discarded – undo
1 1
 <fieldset id="ldapWizard3">
2 2
 	<div>
3 3
 		<p>
4
-			<?php p($l->t('When logging in, %s will find the user based on the following attributes:', [$theme->getName()]));?>
4
+			<?php p($l->t('When logging in, %s will find the user based on the following attributes:', [$theme->getName()])); ?>
5 5
 		</p>
6 6
 		<p>
7 7
 			<label for="ldap_loginfilter_username">
8
-				<?php p($l->t('LDAP/AD Username:'));?>
8
+				<?php p($l->t('LDAP/AD Username:')); ?>
9 9
 			</label>
10 10
 
11 11
 			<input type="checkbox" id="ldap_loginfilter_username"
12 12
 				   aria-describedby="ldap_loginfilter_username_instructions"
13
-				   title="<?php p($l->t('Allows login against the LDAP/AD username, which is either "uid" or "sAMAccountName" and will be detected.'));?>"
13
+				   title="<?php p($l->t('Allows login against the LDAP/AD username, which is either "uid" or "sAMAccountName" and will be detected.')); ?>"
14 14
 				   name="ldap_loginfilter_username" value="1" />
15 15
 			<p class="hidden-visually" id="ldap_loginfilter_username_instructions">
16
-				<?php p($l->t('Allows login against the LDAP/AD username, which is either "uid" or "sAMAccountName" and will be detected.'));?>
16
+				<?php p($l->t('Allows login against the LDAP/AD username, which is either "uid" or "sAMAccountName" and will be detected.')); ?>
17 17
 			</p>
18 18
 		</p>
19 19
 		<p>
20 20
 			<label for="ldap_loginfilter_email">
21
-				<?php p($l->t('LDAP/AD Email Address:'));?>
21
+				<?php p($l->t('LDAP/AD Email Address:')); ?>
22 22
 			</label>
23 23
 
24 24
 			<input type="checkbox" id="ldap_loginfilter_email"
25
-				   title="<?php p($l->t('Allows login against an email attribute. "mail" and "mailPrimaryAddress" allowed.'));?>"
25
+				   title="<?php p($l->t('Allows login against an email attribute. "mail" and "mailPrimaryAddress" allowed.')); ?>"
26 26
 				   aria-describedby="ldap_loginfilter_email_instructions"
27 27
 				   name="ldap_loginfilter_email" value="1" />
28 28
 			<p class="hidden-visually" id="ldap_loginfilter_email_instructions">
29
-				<?php p($l->t('Allows login against an email attribute. "mail" and "mailPrimaryAddress" allowed.'));?>
29
+				<?php p($l->t('Allows login against an email attribute. "mail" and "mailPrimaryAddress" allowed.')); ?>
30 30
 			</p>
31 31
 		</p>
32 32
 		<p>
33 33
 			<label for="ldap_loginfilter_attributes">
34
-				<?php p($l->t('Other Attributes:'));?>
34
+				<?php p($l->t('Other Attributes:')); ?>
35 35
 			</label>
36 36
 
37 37
 			<select id="ldap_loginfilter_attributes" multiple="multiple"
@@ -39,21 +39,21 @@  discard block
 block discarded – undo
39 39
 			</select>
40 40
 		</p>
41 41
 		<p>
42
-			<label><a id='toggleRawLoginFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label>
42
+			<label><a id='toggleRawLoginFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query')); ?></a></label>
43 43
 		</p>
44 44
 		<p id="ldapReadOnlyLoginFilterContainer" class="hidden ldapReadOnlyFilterContainer">
45
-			<label><?php p($l->t('LDAP Filter:'));?></label>
45
+			<label><?php p($l->t('LDAP Filter:')); ?></label>
46 46
 			<span class="ldapFilterReadOnlyElement ldapInputColElement"></span>
47 47
 		</p>
48 48
 		<p id="rawLoginFilterContainer" class="invisible">
49 49
 			<textarea type="text" id="ldap_login_filter" name="ldap_login_filter"
50 50
 				class="ldapFilterInputElement"
51
-				placeholder="<?php p($l->t('Edit LDAP Query'));?>"
51
+				placeholder="<?php p($l->t('Edit LDAP Query')); ?>"
52 52
 				aria-describedby="ldap_login_filter_instructions"
53
-				title="<?php p($l->t('Defines the filter to apply, when login is attempted. "%%uid" replaces the username in the login action. Example: "uid=%%uid"'));?>">
53
+				title="<?php p($l->t('Defines the filter to apply, when login is attempted. "%%uid" replaces the username in the login action. Example: "uid=%%uid"')); ?>">
54 54
 			</textarea>
55 55
 		<p class="hidden-visually" id="ldap_login_filter_instructions">
56
-			<?php p($l->t('Defines the filter to apply, when login is attempted. "%%uid" replaces the username in the login action. Example: "uid=%%uid"'));?>
56
+			<?php p($l->t('Defines the filter to apply, when login is attempted. "%%uid" replaces the username in the login action. Example: "uid=%%uid"')); ?>
57 57
 		</p>
58 58
 		</p>
59 59
 		<p>
@@ -61,15 +61,15 @@  discard block
 block discarded – undo
61 61
 		</p>
62 62
 		<p class="ldap_verify">
63 63
 			<input type="text" id="ldap_test_loginname" name="ldap_test_loginname"
64
-				   placeholder="<?php p($l->t('Test Loginname'));?>"
64
+				   placeholder="<?php p($l->t('Test Loginname')); ?>"
65 65
 				   class="ldapVerifyInput"
66 66
 				   aria-describedby="ldap_test_loginname_instructions"
67
-				   title="<?php p($l->t('Attempts to receive a DN for the given loginname and the current login filter'));?>"/>
67
+				   title="<?php p($l->t('Attempts to receive a DN for the given loginname and the current login filter')); ?>"/>
68 68
 			<p class="hidden-visually" id="ldap_test_loginname_instructions">
69
-				<?php p($l->t('Attempts to receive a DN for the given loginname and the current login filter'));?>
69
+				<?php p($l->t('Attempts to receive a DN for the given loginname and the current login filter')); ?>
70 70
 			</p>
71 71
 			<button class="ldapVerifyLoginName" name="ldapTestLoginSettings" type="button" disabled="disabled">
72
-				<?php p($l->t('Verify settings'));?>
72
+				<?php p($l->t('Verify settings')); ?>
73 73
 			</button>
74 74
 		</p>
75 75
 		<?php print_unescaped($_['wizardControls']); ?>
Please login to merge, or discard this patch.
apps/user_ldap/templates/part.wizard-groupfilter.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <fieldset id="ldapWizard4">
2 2
 	<div>
3 3
 		<p>
4
-			<?php p($l->t('Groups meeting these criteria are available in %s:', [$theme->getName()]));?>
4
+			<?php p($l->t('Groups meeting these criteria are available in %s:', [$theme->getName()])); ?>
5 5
 		</p>
6 6
 		<p>
7 7
 			<label for="ldap_groupfilter_objectclass">
8
-				<?php p($l->t('Only these object classes:'));?>
8
+				<?php p($l->t('Only these object classes:')); ?>
9 9
 			</label>
10 10
 
11 11
 			<select id="ldap_groupfilter_objectclass" multiple="multiple"
@@ -14,10 +14,10 @@  discard block
 block discarded – undo
14 14
 		</p>
15 15
 		<p>
16 16
 			<label for="ldap_groupfilter_groups">
17
-				<?php p($l->t('Only from these groups:'));?>
17
+				<?php p($l->t('Only from these groups:')); ?>
18 18
 			</label>
19 19
 
20
-			<input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups'));?>" />
20
+			<input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups')); ?>" />
21 21
 
22 22
 			<select id="ldap_groupfilter_groups" multiple="multiple"
23 23
 			 name="ldap_groupfilter_groups" class="multiSelectPlugin">
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 			<label></label>
29 29
 			<select class="ldapGroupList ldapGroupListAvailable" multiple="multiple"
30 30
 					aria-describedby="ldapGroupListAvailable_instructions"
31
-					title="<?php p($l->t('Available groups'));?>"></select>
31
+					title="<?php p($l->t('Available groups')); ?>"></select>
32 32
 			<p class="hidden-visually" id="ldapGroupListAvailable_instructions">
33
-					<?php p($l->t('Available groups'));?>
33
+					<?php p($l->t('Available groups')); ?>
34 34
 			</p>
35 35
 			<span class="buttonSpan">
36 36
 				<button class="ldapGroupListSelect" type="button">&gt;</button><br/>
@@ -38,26 +38,26 @@  discard block
 block discarded – undo
38 38
 			</span>
39 39
 			<select class="ldapGroupList ldapGroupListSelected" multiple="multiple"
40 40
 					aria-describedby="ldapGroupListSelected_instructions"
41
-					title="<?php p($l->t('Selected groups'));?>"></select>
41
+					title="<?php p($l->t('Selected groups')); ?>"></select>
42 42
 			<p class="hidden-visually" id="ldapGroupListSelected_instructions">
43
-					<?php p($l->t('Selected groups'));?>
43
+					<?php p($l->t('Selected groups')); ?>
44 44
 			</p>
45 45
 		</p>
46 46
 		<p>
47
-			<label><a id='toggleRawGroupFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label>
47
+			<label><a id='toggleRawGroupFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query')); ?></a></label>
48 48
 		</p>
49 49
 		<p id="ldapReadOnlyGroupFilterContainer" class="hidden ldapReadOnlyFilterContainer">
50
-			<label><?php p($l->t('LDAP Filter:'));?></label>
50
+			<label><?php p($l->t('LDAP Filter:')); ?></label>
51 51
 			<span class="ldapFilterReadOnlyElement ldapInputColElement"></span>
52 52
 		</p>
53 53
 		<p id="rawGroupFilterContainer" class="invisible">
54 54
 			<textarea type="text" id="ldap_group_filter" name="ldap_group_filter"
55
-					  placeholder="<?php p($l->t('Edit LDAP Query'));?>"
55
+					  placeholder="<?php p($l->t('Edit LDAP Query')); ?>"
56 56
 					  aria-describedby="rawGroupFilterContainer_instructions"
57
-					  title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()]));?>">
57
+					  title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()])); ?>">
58 58
 			</textarea>
59 59
 			<p class="hidden-visually" id="rawGroupFilterContainer_instructions">
60
-				<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()]));?>
60
+				<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()])); ?>
61 61
 			</p>
62 62
 
63 63
 		</p>
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 		</p>
67 67
 		<p class="ldap_count">
68 68
 			<button class="ldapGetEntryCount ldapGetGroupCount" name="ldapGetEntryCount" type="button">
69
-				<?php p($l->t('Verify settings and count the groups'));?>
69
+				<?php p($l->t('Verify settings and count the groups')); ?>
70 70
 			</button>
71 71
 			<span id="ldap_group_count"></span>
72 72
 		</p>
Please login to merge, or discard this patch.
apps/user_ldap/templates/part.wizard-userfilter.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <fieldset id="ldapWizard2">
2 2
 	<div>
3 3
 		<p>
4
-			<?php p($l->t('Listing and searching for users is constrained by these criteria:'));?>
4
+			<?php p($l->t('Listing and searching for users is constrained by these criteria:')); ?>
5 5
 		</p>
6 6
 		<p>
7 7
 			<label for="ldap_userfilter_objectclass">
8
-				<?php p($l->t('Only these object classes:'));?>
8
+				<?php p($l->t('Only these object classes:')); ?>
9 9
 			</label>
10 10
 
11 11
 			<select id="ldap_userfilter_objectclass" multiple="multiple"
@@ -14,14 +14,14 @@  discard block
 block discarded – undo
14 14
 		</p>
15 15
 		<p>
16 16
 			<label></label>
17
-			<span class="ldapInputColElement"><?php p($l->t('The most common object classes for users are organizationalPerson, person, user, and inetOrgPerson. If you are not sure which object class to select, please consult your directory admin.'));?></span>
17
+			<span class="ldapInputColElement"><?php p($l->t('The most common object classes for users are organizationalPerson, person, user, and inetOrgPerson. If you are not sure which object class to select, please consult your directory admin.')); ?></span>
18 18
 		</p>
19 19
 		<p>
20 20
 			<label for="ldap_userfilter_groups">
21
-				<?php p($l->t('Only from these groups:'));?>
21
+				<?php p($l->t('Only from these groups:')); ?>
22 22
 			</label>
23 23
 
24
-			<input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups'));?>" />
24
+			<input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups')); ?>" />
25 25
 
26 26
 			<select id="ldap_userfilter_groups" multiple="multiple"
27 27
 			 name="ldap_userfilter_groups" class="multiSelectPlugin">
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
 			<label></label>
32 32
 			<select class="ldapGroupList ldapGroupListAvailable" multiple="multiple"
33 33
 					aria-describedby="ldapGroupListAvailable_instructions"
34
-					title="<?php p($l->t('Available groups'));?>"></select>
34
+					title="<?php p($l->t('Available groups')); ?>"></select>
35 35
 			<p class="hidden-visually" id="ldapGroupListAvailable_instructions">
36
-				<?php p($l->t('Available groups'));?>
36
+				<?php p($l->t('Available groups')); ?>
37 37
 			</p>
38 38
 			<span class="buttonSpan">
39 39
 				<button class="ldapGroupListSelect" type="button">&gt;</button><br/>
@@ -41,27 +41,27 @@  discard block
 block discarded – undo
41 41
 			</span>
42 42
 			<select class="ldapGroupList ldapGroupListSelected" multiple="multiple"
43 43
 					aria-describedby="ldapGroupListSelected_instructions"
44
-					title="<?php p($l->t('Selected groups'));?>"></select>
44
+					title="<?php p($l->t('Selected groups')); ?>"></select>
45 45
 			<p class="hidden-visually" id="ldapGroupListSelected_instructions">
46
-				<?php p($l->t('Selected groups'));?>
46
+				<?php p($l->t('Selected groups')); ?>
47 47
 			</p>
48 48
 		</p>
49 49
 		<p>
50
-			<label><a id='toggleRawUserFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label>
50
+			<label><a id='toggleRawUserFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query')); ?></a></label>
51 51
 		</p>
52 52
 		<p id="ldapReadOnlyUserFilterContainer" class="hidden ldapReadOnlyFilterContainer">
53
-			<label><?php p($l->t('LDAP Filter:'));?></label>
53
+			<label><?php p($l->t('LDAP Filter:')); ?></label>
54 54
 			<span class="ldapFilterReadOnlyElement ldapInputColElement"></span>
55 55
 		</p>
56 56
 		<p id="rawUserFilterContainer">
57 57
 			<textarea type="text" id="ldap_userlist_filter" name="ldap_userlist_filter"
58 58
 				class="ldapFilterInputElement"
59
-				placeholder="<?php p($l->t('Edit LDAP Query'));?>"
59
+				placeholder="<?php p($l->t('Edit LDAP Query')); ?>"
60 60
 				aria-describedby="ldap_userlist_filter_instructions"
61
-				title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()]));?>">
61
+				title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()])); ?>">
62 62
 			</textarea>
63 63
 		<p class="hidden-visually" id="ldap_userlist_filter_instructions">
64
-			<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()]));?>
64
+			<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()])); ?>
65 65
 		</p>
66 66
 		</p>
67 67
 		<p>
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 		</p>
70 70
 		<p class="ldap_count">
71 71
 			<button class="ldapGetEntryCount ldapGetUserCount" name="ldapGetEntryCount" type="button">
72
-				<?php p($l->t('Verify settings and count users'));?>
72
+				<?php p($l->t('Verify settings and count users')); ?>
73 73
 			</button>
74 74
 			<span id="ldap_user_count"></span>
75 75
 		</p>
Please login to merge, or discard this patch.
apps/user_ldap/lib/User/OfflineUser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 		if ($this->lastLogin === null) {
195 195
 			$this->fetchDetails();
196 196
 		}
197
-		return (int)$this->lastLogin;
197
+		return (int) $this->lastLogin;
198 198
 	}
199 199
 
200 200
 	/**
@@ -205,14 +205,14 @@  discard block
 block discarded – undo
205 205
 		if ($this->foundDeleted === null) {
206 206
 			$this->fetchDetails();
207 207
 		}
208
-		return (int)$this->foundDeleted;
208
+		return (int) $this->foundDeleted;
209 209
 	}
210 210
 
211 211
 	public function getExtStorageHome(): string {
212 212
 		if ($this->extStorageHome === null) {
213 213
 			$this->fetchDetails();
214 214
 		}
215
-		return (string)$this->extStorageHome;
215
+		return (string) $this->extStorageHome;
216 216
 	}
217 217
 
218 218
 	/**
Please login to merge, or discard this patch.
apps/theming/composer/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,6 +20,6 @@
 block discarded – undo
20 20
     );
21 21
 }
22 22
 
23
-require_once __DIR__ . '/composer/autoload_real.php';
23
+require_once __DIR__.'/composer/autoload_real.php';
24 24
 
25 25
 return ComposerAutoloaderInitTheming::getLoader();
Please login to merge, or discard this patch.
apps/theming/composer/composer/autoload_real.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27 27
         spl_autoload_unregister(array('ComposerAutoloaderInitTheming', 'loadClassLoader'));
28 28
 
29
-        require __DIR__ . '/autoload_static.php';
29
+        require __DIR__.'/autoload_static.php';
30 30
         call_user_func(\Composer\Autoload\ComposerStaticInitTheming::getInitializer($loader));
31 31
 
32 32
         $loader->setClassMapAuthoritative(true);
Please login to merge, or discard this patch.
apps/theming/composer/composer/ClassLoader.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -370,18 +370,18 @@  discard block
 block discarded – undo
370 370
     private function findFileWithExtension($class, $ext)
371 371
     {
372 372
         // PSR-4 lookup
373
-        $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
373
+        $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR).$ext;
374 374
 
375 375
         $first = $class[0];
376 376
         if (isset($this->prefixLengthsPsr4[$first])) {
377 377
             $subPath = $class;
378 378
             while (false !== $lastPos = strrpos($subPath, '\\')) {
379 379
                 $subPath = substr($subPath, 0, $lastPos);
380
-                $search = $subPath . '\\';
380
+                $search = $subPath.'\\';
381 381
                 if (isset($this->prefixDirsPsr4[$search])) {
382
-                    $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
382
+                    $pathEnd = DIRECTORY_SEPARATOR.substr($logicalPathPsr4, $lastPos + 1);
383 383
                     foreach ($this->prefixDirsPsr4[$search] as $dir) {
384
-                        if (file_exists($file = $dir . $pathEnd)) {
384
+                        if (file_exists($file = $dir.$pathEnd)) {
385 385
                             return $file;
386 386
                         }
387 387
                     }
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
 
392 392
         // PSR-4 fallback dirs
393 393
         foreach ($this->fallbackDirsPsr4 as $dir) {
394
-            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
394
+            if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr4)) {
395 395
                 return $file;
396 396
             }
397 397
         }
@@ -403,14 +403,14 @@  discard block
 block discarded – undo
403 403
                 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
404 404
         } else {
405 405
             // PEAR-like class name
406
-            $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
406
+            $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR).$ext;
407 407
         }
408 408
 
409 409
         if (isset($this->prefixesPsr0[$first])) {
410 410
             foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
411 411
                 if (0 === strpos($class, $prefix)) {
412 412
                     foreach ($dirs as $dir) {
413
-                        if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
413
+                        if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) {
414 414
                             return $file;
415 415
                         }
416 416
                     }
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
 
421 421
         // PSR-0 fallback dirs
422 422
         foreach ($this->fallbackDirsPsr0 as $dir) {
423
-            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
423
+            if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) {
424 424
                 return $file;
425 425
             }
426 426
         }
Please login to merge, or discard this patch.