Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443205
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3443205
Commits
e3d5340a
Commit
e3d5340a
authored
9 years ago
by
Alex Bronstein
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Issue
#2400407
: One more: Update composer/classloader to latest version."
This reverts commit
5823083e
.
parent
5823083e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/vendor/composer/ClassLoader.php
+4
-4
4 additions, 4 deletions
core/vendor/composer/ClassLoader.php
with
4 additions
and
4 deletions
core/vendor/composer/ClassLoader.php
+
4
−
4
View file @
e3d5340a
...
...
@@ -351,7 +351,7 @@ private function findFileWithExtension($class, $ext)
foreach
(
$this
->
prefixLengthsPsr4
[
$first
]
as
$prefix
=>
$length
)
{
if
(
0
===
strpos
(
$class
,
$prefix
))
{
foreach
(
$this
->
prefixDirsPsr4
[
$prefix
]
as
$dir
)
{
if
(
is_
file
(
$file
=
$dir
.
DIRECTORY_SEPARATOR
.
substr
(
$logicalPathPsr4
,
$length
)))
{
if
(
file
_exists
(
$file
=
$dir
.
DIRECTORY_SEPARATOR
.
substr
(
$logicalPathPsr4
,
$length
)))
{
return
$file
;
}
}
...
...
@@ -361,7 +361,7 @@ private function findFileWithExtension($class, $ext)
// PSR-4 fallback dirs
foreach
(
$this
->
fallbackDirsPsr4
as
$dir
)
{
if
(
is_
file
(
$file
=
$dir
.
DIRECTORY_SEPARATOR
.
$logicalPathPsr4
))
{
if
(
file
_exists
(
$file
=
$dir
.
DIRECTORY_SEPARATOR
.
$logicalPathPsr4
))
{
return
$file
;
}
}
...
...
@@ -380,7 +380,7 @@ private function findFileWithExtension($class, $ext)
foreach
(
$this
->
prefixesPsr0
[
$first
]
as
$prefix
=>
$dirs
)
{
if
(
0
===
strpos
(
$class
,
$prefix
))
{
foreach
(
$dirs
as
$dir
)
{
if
(
is_
file
(
$file
=
$dir
.
DIRECTORY_SEPARATOR
.
$logicalPathPsr0
))
{
if
(
file
_exists
(
$file
=
$dir
.
DIRECTORY_SEPARATOR
.
$logicalPathPsr0
))
{
return
$file
;
}
}
...
...
@@ -390,7 +390,7 @@ private function findFileWithExtension($class, $ext)
// PSR-0 fallback dirs
foreach
(
$this
->
fallbackDirsPsr0
as
$dir
)
{
if
(
is_
file
(
$file
=
$dir
.
DIRECTORY_SEPARATOR
.
$logicalPathPsr0
))
{
if
(
file
_exists
(
$file
=
$dir
.
DIRECTORY_SEPARATOR
.
$logicalPathPsr0
))
{
return
$file
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment