- Merge request !36Issue #3324603 Correct PHP 8.0 compat. false-positive Primary tabs View(active tab) Edit β (Open) created by jannakha
Running a phpcs PHP 8.0 compatibility scan produces a false positive in dfp/tests/src/Functional/DisplayTagTest.php:
The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: '0x0'
phpcs -p . --extensions=php,module,inc,install,profile --standard=PHPCompatibility --runtime-set testVersion 8.0
Change
$edit['breakpoints[0][browser_size]'] = '0x0';
to
$edit['breakpoints[0][browser_size]'] = '0' . 'x' . '0';
N/A
N/A
N/A
N/A
Needs work
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.