Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
34c898da
Commit
34c898da
authored
Aug 07, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
a12e74d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
25 deletions
+12
-25
Tokenizer.php
lib/Doctrine/Tokenizer.php
+12
-25
No files found.
lib/Doctrine/Tokenizer.php
View file @
34c898da
...
@@ -292,22 +292,10 @@ class Doctrine_Tokenizer
...
@@ -292,22 +292,10 @@ class Doctrine_Tokenizer
}
}
if
(
empty
(
$term
[
$i
]))
{
if
(
empty
(
$term
[
$i
]))
{
$term
[
$i
]
=
trim
(
$val
);
$term
[
$i
]
=
trim
(
$val
);
$s1
=
substr_count
(
$term
[
$i
],
$e1
);
$s2
=
substr_count
(
$term
[
$i
],
$e2
);
if
(
strpos
(
$term
[
$i
],
'('
)
!==
false
)
{
if
(
$s1
==
$s2
)
{
$i
++
;
}
}
else
{
if
(
!
(
substr_count
(
$term
[
$i
],
"'"
)
&
1
)
&&
!
(
substr_count
(
$term
[
$i
],
"
\"
"
)
&
1
))
{
$i
++
;
}
}
}
else
{
}
else
{
$term
[
$i
]
.=
$str
[(
$key
+
1
)]
.
trim
(
$val
);
$term
[
$i
]
.=
$str
[(
$key
+
1
)]
.
trim
(
$val
);
}
$c1
=
substr_count
(
$term
[
$i
],
$e1
);
$c1
=
substr_count
(
$term
[
$i
],
$e1
);
$c2
=
substr_count
(
$term
[
$i
],
$e2
);
$c2
=
substr_count
(
$term
[
$i
],
$e2
);
...
@@ -322,7 +310,6 @@ class Doctrine_Tokenizer
...
@@ -322,7 +310,6 @@ class Doctrine_Tokenizer
}
}
}
}
}
}
}
$term
[
$i
-
1
]
=
array
(
$term
[
$i
-
1
],
''
);
$term
[
$i
-
1
]
=
array
(
$term
[
$i
-
1
],
''
);
return
$term
;
return
$term
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment