Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.x] Experimental supports for PHP 8.4 #231

Merged
merged 25 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/collision-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
os:
- "ubuntu-latest"
php:
- 8.2
- 8.3
dependencies:
- "highest"
experimental:
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"require": {
"php": "^8.2",
"composer-runtime-api": "^2.2",
"symfony/polyfill-php83": "^1.31"
"symfony/polyfill-php83": "^1.31",
"symfony/polyfill-php84": "^1.31"
},
"require-dev": {
"fakerphp/faker": "^1.23",
Expand All @@ -49,7 +50,7 @@
"spatie/laravel-ray": "^1.35",
"symfony/process": "^7.0.3",
"symfony/yaml": "^7.0.3",
"vlucas/phpdotenv": "^5.4.1"
"vlucas/phpdotenv": "^5.6.1"
},
"conflict": {
"brianium/paratest": "<7.3.0 || >=8.0.0",
Expand Down
3 changes: 3 additions & 0 deletions src/Concerns/InteractsWithMigrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ protected function loadMigrationsFrom(array|string $paths): void
*
* @deprecated
*/
#[\Deprecated(message: 'Use `loadMigrationsFrom()` instead', since: '9.0.7')]
protected function loadMigrationsWithoutRollbackFrom(array|string $paths): void
{
if (\is_null($this->app)) {
Expand Down Expand Up @@ -179,6 +180,7 @@ protected function loadLaravelMigrations(array|string $database = []): void
*
* @deprecated
*/
#[\Deprecated(message: 'Use `loadLaravelMigrations()` instead', since: '9.0.7')]
protected function loadLaravelMigrationsWithoutRollback(array|string $database = []): void
{
$this->loadLaravelMigrations($database);
Expand Down Expand Up @@ -216,6 +218,7 @@ protected function runLaravelMigrations(array|string $database = []): void
*
* @deprecated
*/
#[\Deprecated(message: 'Use `runLaravelMigrations()` method instead', since: '9.0.7')]
protected function runLaravelMigrationsWithoutRollback(array|string $database = []): void
{
$this->runLaravelMigrations($database);
Expand Down
1 change: 1 addition & 0 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ function workbench_path(array|string $path = ''): string
*
* @deprecated
*/
#[\Deprecated(message: 'Use `Orchestra\Testbench\default_migration_path()` instead', since: '9.5.1')]
function laravel_migration_path(?string $type = null): string
{
return default_migration_path($type);
Expand Down