Skip to content

Commit 4366d27

Browse files
committed
refactor: run rector again
1 parent 821ef95 commit 4366d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Database/Live/ForgeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ public function testAddFields(): void
941941
],
942942
];
943943

944-
if (version_compare($this->db->getVersion(), '8.0.17', '>=') && strpos($this->db->getVersion(), 'MariaDB') === false) {
944+
if (version_compare($this->db->getVersion(), '8.0.17', '>=') && ! str_contains($this->db->getVersion(), 'MariaDB')) {
945945
// As of MySQL 8.0.17, the display width attribute for integer data types
946946
// is deprecated and is not reported back anymore.
947947
// @see https://dev.mysql.com/doc/refman/8.0/en/numeric-type-attributes.html

0 commit comments

Comments
 (0)