Skip to content

Commit 0caa537

Browse files
imorlandSychO9
andauthored
feat(core): PHP 8.2 Support (#3709)
* chore: test with php 8.2 * chore: bump httphandlerunnder * chore: bump httphandlerunner * chore: address php8.2 deprecation * chore: php 8.2 * chore: bump less.php version * avoid dynamic properties * avoid another dynamic property * Apply fixes from StyleCI * tags php82 * php82 * fix: check for property existence * Rerun checks after s9e/text-formatter update * chore: disable deprecation warnings for php 8.2 * chore: PHP8.2 does not accept dynamic properties * chore: temporarily disable package manager tests workflow Co-authored-by: Sami Mazouz <[email protected]>
1 parent 3b3c103 commit 0caa537

2 files changed

+2
-2
lines changed

migrations/2022_05_20_000005_add_created_at_to_post_mentions_post_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// do this manually because dbal doesn't recognize timestamp columns
2020
$connection = $schema->getConnection();
2121
$prefix = $connection->getTablePrefix();
22-
$connection->statement("ALTER TABLE `${prefix}post_mentions_post` MODIFY created_at TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP");
22+
$connection->statement("ALTER TABLE `{$prefix}post_mentions_post` MODIFY created_at TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP");
2323
},
2424

2525
'down' => function (Builder $schema) {

migrations/2022_05_20_000006_add_created_at_to_post_mentions_user_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// do this manually because dbal doesn't recognize timestamp columns
2020
$connection = $schema->getConnection();
2121
$prefix = $connection->getTablePrefix();
22-
$connection->statement("ALTER TABLE `${prefix}post_mentions_user` MODIFY created_at TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP");
22+
$connection->statement("ALTER TABLE `{$prefix}post_mentions_user` MODIFY created_at TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP");
2323
},
2424

2525
'down' => function (Builder $schema) {

0 commit comments

Comments
 (0)