File tree 2 files changed +2
-4
lines changed
dev/tests/api-functional/framework/Magento/TestFramework/TestCase
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 12
12
umask (0 );
13
13
14
14
/* PHP version validation */
15
- if (version_compare ( phpversion (), ' 5.5.0 ' , ' < ' ) === true ) {
15
+ if (PHP_VERSION_ID < 50500 ) {
16
16
if (PHP_SAPI == 'cli ' ) {
17
17
echo 'Magento supports PHP 5.5.0 or later. ' .
18
18
'Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html ' ;
Original file line number Diff line number Diff line change @@ -115,9 +115,7 @@ public static function setUpBeforeClass()
115
115
public static function tearDownAfterClass ()
116
116
{
117
117
//clear garbage in memory
118
- if (version_compare (PHP_VERSION , '5.3 ' , '>= ' )) {
119
- gc_collect_cycles ();
120
- }
118
+ gc_collect_cycles ();
121
119
122
120
$ fixtureNamespace = self ::_getFixtureNamespace ();
123
121
if (isset (self ::$ _classLevelFixtures [$ fixtureNamespace ])
You can’t perform that action at this time.
0 commit comments