Bug #65318
Epic #65314: PHP7
ExtensionManagementUtilityTest::addTcaSelectItemInsertsItemAtSpecifiedPosition
Status: | Resolved | Start date: | 2015-02-25 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Alexander Opitz | % Done: | 100% |
|
Category: | - | Spent time: | - | |
Target version: | 7 LTS | |||
TYPO3 Version: | 6.2 | Is Regression: | No | |
PHP Version: | 7.0 | Sprint Focus: | ||
Complexity: |
Description
TYPO3\CMS\Core\Tests\Unit\Utility\ExtensionManagementUtilityTest::addTcaSelectItemInsertsItemAtSpecifiedPosition with data set "add at end of array" ('', '', array(array('firstElement'), array('matchMe'), array('thirdElement'), array('insertedElement'))) Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => Array (...) 1 => Array (...) 2 => Array (...) - 3 => Array (...) + 4 => Array (...) ) /home/opitz/projects/typo3-master/typo3-src/typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php:754 /home/opitz/projects/neos-git/Packages/Libraries/phpunit/phpunit/phpunit7:56
TYPO3\CMS\Core\Tests\Unit\Utility\ExtensionManagementUtilityTest::addTcaSelectItemInsertsItemAtSpecifiedPosition with data set "add at end if relative position was not found" ('notExistingItem', 'after', array(array('firstElement'), array('matchMe'), array('thirdElement'), array('insertedElement'))) Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => Array (...) 1 => Array (...) 2 => Array (...) - 3 => Array (...) + 4 => Array (...) )
=> array_values/array_slice/... PHP7 misbehavior, internal next key seams 1 to high for next insert.
=> Create ticket in PHP issue tracker
History
#1 Updated by Alexander Opitz 5 months ago
- Description updated (diff)
#2 Updated by Alexander Opitz 3 months ago
- Status changed from New to Resolved
- Assigned To set to Alexander Opitz
Issue is resolved in PHP7
#3 Updated by Alexander Opitz 2 months ago
- % Done changed from 0 to 100