Skip to content

Commit

Permalink
[9.x] Experimental supports for PHP 8.4 (#231)
Browse files Browse the repository at this point in the history
* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

* Update composer.json

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* Update HandlesAnnotations.php

* Update InteractsWithPHPUnit.php

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

* Update tests.yaml

* Update strict-tests.yaml

---------

Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone authored Oct 21, 2024
1 parent 390d213 commit 39eb0ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
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

0 comments on commit 39eb0ba

Please sign in to comment.