45m 51s
Feb 28, 2025, 7:17 AM

joomla-cms

[Cypress] PHP Backend Notice com_media/Files (#44976) * [Cypress] PHP Backend Notice com_media/Files.cy.js Fixing all Joomla backend PHP notices from Cypress test file `api/com_media/Files.cy.js` and doing some refactoring. Fixed PHP notices are: ``` [Sat Feb 22 18:28:44.019593 2025] [php:notice] [pid 31:tid 31] [client 10.0.0.1:64714] PHP Notice: exif_imagetype(): Error reading from /var/www/html/files/test-image-1.jpg! in /var/www/html/libraries/src/Helper/MediaHelper.php on line 93 [Sat Feb 22 18:28:44.022074 2025] [php:notice] [pid 31:tid 31] [client 10.0.0.1:64714] PHP Notice: getimagesize(): Error reading from /var/www/html/files/test-image-1.jpg! in /var/www/html/libraries/src/Image/Image.php on line 177 [Sat Feb 22 18:28:44.258619 2025] [php:notice] [pid 31:tid 31] [client 10.0.0.1:64714] PHP Notice: exif_imagetype(): Error reading from /var/www/html/files/test-dir/test-image-1-subfolder.jpg! in /var/www/html/libraries/src/Helper/MediaHelper.php on line 93 [Sat Feb 22 18:28:44.259092 2025] [php:notice] [pid 31:tid 31] [client 10.0.0.1:64714] PHP Notice: getimagesize(): Error reading from /var/www/html/files/test-dir/test-image-1-subfolder.jpg! in /var/www/html/libraries/src/Image/Image.php on line 177 [Sat Feb 22 18:28:47.177357 2025] [php:notice] [pid 31:tid 31] [client 10.0.0.1:64714] PHP Notice: exif_imagetype(): Error reading from /var/www/html/files/test-dir/todelete.jpg! in /var/www/html/libraries/src/Helper/MediaHelper.php on line 93 [Sat Feb 22 18:28:47.178099 2025] [php:notice] [pid 31:tid 31] [client 10.0.0.1:64714] PHP Notice: getimagesize(): Error reading from /var/www/html/files/test-dir/todelete.jpg! in /var/www/html/libraries/src/Image/Image.php on line 177 [Sat Feb 22 18:28:47.564807 2025] [php:notice] [pid 31:tid 31] [client 10.0.0.1:64714] PHP Notice: exif_imagetype(): Error reading from /var/www/html/images/test-dir/todelete.jpg! in /var/www/html/libraries/src/Helper/MediaHelper.php on line 93 [Sat Feb 22 18:28:47.565288 2025] [p

laoneo
laoneo
pushed
6af88f52

Console Logs

1+ php -v 1s
2PHP 8.1.31 (cli) (built: Feb 4 2025 04:26:22) (NTS) 1s
3Copyright (c) The PHP Group 1s
4Zend Engine v4.1.31, Copyright (c) Zend Technologies 1s
5 with Zend OPcache v8.1.31, Copyright (c), by Zend Technologies 1s
6+ ./libraries/vendor/bin/phpunit --testsuite Unit 1s
7PHPUnit 9.6.22 by Sebastian Bergmann and contributors. 2s
8 2s
9............................................................... 63 / 920 ( 6%) 2s
10............................................................... 126 / 920 ( 13%) 2s
11...S........................................................... 189 / 920 ( 20%) 2s
12............................................................... 252 / 920 ( 27%) 2s
13............................................................... 315 / 920 ( 34%) 2s
14............................................................... 378 / 920 ( 41%) 2s
15............................................................... 441 / 920 ( 47%) 2s
16............................................................... 504 / 920 ( 54%) 2s
17............................................................... 567 / 920 ( 61%) 2s
18............................................................... 630 / 920 ( 68%) 2s
19............................................................... 693 / 920 ( 75%) 3s
20............................................................... 756 / 920 ( 82%) 3s
21............................................................... 819 / 920 ( 89%) 3s
22............................................................... 882 / 920 ( 95%) 3s
23...................................... 920 / 920 (100%) 3s
24 3s
25Time: 00:01.142, Memory: 48.00 MB 3s
26 3s
27OK, but incomplete, skipped, or risky tests! 3s
28Tests: 920, Assertions: 1421, Skipped: 1. 3s
Exit Code 0