Skip to content

Commit

Permalink
Merge branch 'PHP-8.3'
Browse files Browse the repository at this point in the history
* PHP-8.3:
    Removed `REPORT_EXIT_STATUS=no` in libmysql tests
  • Loading branch information
SakiTakamachi committed Feb 28, 2024
1 parent 154517e commit a31edaa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/actions/test-libmysqlclient/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ runs:
export PDO_MYSQL_TEST_HOST=127.0.0.1
export PDO_MYSQL_TEST_USER=root
export PDO_MYSQL_TEST_PASS=root
export REPORT_EXIT_STATUS=no
sapi/cli/php run-tests.php -P -q \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 \
Expand Down
10 changes: 6 additions & 4 deletions ext/pdo_mysql/tests/gh11550.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ MySQLPDOTest::skip();
require_once __DIR__ . '/inc/mysql_pdo_test.inc';
$pdo = MySQLPDOTest::factory();

$pdo->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);

$pdo->exec(<<<'SQL'
CREATE TABLE `test_gh11550` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
Expand Down Expand Up @@ -50,9 +52,9 @@ array(1) {
[0]=>
array(4) {
["id"]=>
int(1)
string(1) "1"
[0]=>
int(1)
string(1) "1"
["name"]=>
string(5) "test1"
[1]=>
Expand All @@ -65,9 +67,9 @@ array(1) {
[0]=>
array(6) {
["id"]=>
int(1)
string(1) "1"
[0]=>
int(1)
string(1) "1"
["name"]=>
string(5) "test1"
[1]=>
Expand Down

0 comments on commit a31edaa

Please sign in to comment.