Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EcomDev_PHPUnit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Open
EcomDev_PHPUnit
Commits
f04361d9
Commit
f04361d9
authored
Mar 22, 2013
by
Ivan Chepurnyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix php5.3 build
parent
9ffeac99
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
app/code/community/EcomDev/PHPUnit/Test/Case/Util.php
app/code/community/EcomDev/PHPUnit/Test/Case/Util.php
+7
-1
No files found.
app/code/community/EcomDev/PHPUnit/Test/Case/Util.php
View file @
f04361d9
...
...
@@ -538,7 +538,13 @@ class EcomDev_PHPUnit_Test_Case_Util
return
TestHelper
::
invokeArgs
(
$method
,
$args
);
}
if
(
version_compare
(
PHP_VERSION
,
'5.4'
,
'>='
))
{
$backTraceCalls
=
debug_backtrace
(
DEBUG_BACKTRACE_PROVIDE_OBJECT
,
3
);
}
else
{
// We cannot limit number of arguments on php before 5.4, php rises an exception :(
$backTraceCalls
=
debug_backtrace
(
DEBUG_BACKTRACE_PROVIDE_OBJECT
);
}
$previousCall
=
$backTraceCalls
[
2
];
throw
new
ErrorException
(
...
...
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