From bdb3258d824d07cdbe5a32f9921a244083ad455c Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 31 Mar 2025 19:05:24 +0300 Subject: [PATCH 1/2] A strict typification has been added --- config/deploy-operations.php | 2 ++ src/Console/Install.php | 2 ++ src/Console/Make.php | 2 ++ src/Console/Operations.php | 2 ++ src/Console/Refresh.php | 2 ++ src/Console/Reset.php | 2 ++ src/Console/Rollback.php | 2 ++ src/Console/Status.php | 2 ++ src/Constants/Names.php | 2 ++ src/Operation.php | 2 ++ tests/Commands/InstallTest.php | 2 ++ tests/Commands/MakeTest.php | 2 ++ tests/Commands/OperationsTest.php | 2 ++ tests/Commands/RefreshTest.php | 2 ++ tests/Commands/ResetTest.php | 2 ++ tests/Commands/RollbackTest.php | 2 ++ tests/Commands/StatusTest.php | 2 ++ tests/Concerns/AssertDatabase.php | 2 ++ tests/Concerns/Database.php | 2 ++ tests/Concerns/Files.php | 2 ++ tests/TestCase.php | 2 ++ tests/fixtures/app/async/2021_04_06_212742_every_time.php | 2 ++ tests/fixtures/app/async/2023_04_06_212637_foo_bar.php | 2 ++ tests/fixtures/app/di/2022_10_11_234251_invoke.php | 2 ++ tests/fixtures/app/di/2022_10_11_234251_invoke_down.php | 2 ++ tests/fixtures/app/di/2022_10_11_234312_up_down.php | 2 ++ tests/fixtures/app/operations/2020_12_07_153105_foo_bar.php | 2 ++ tests/fixtures/app/operations/2021_01_02_020947_every_time.php | 2 ++ tests/fixtures/app/operations/2021_05_24_120003_run_on_all.php | 2 ++ .../operations/2021_05_24_120003_run_on_many_environments.php | 2 ++ .../app/operations/2021_05_24_120003_run_on_production.php | 2 ++ .../app/operations/2021_05_24_120003_run_on_testing.php | 2 ++ .../app/operations/2021_06_07_132849_run_except_production.php | 2 ++ .../app/operations/2021_06_07_132917_run_except_testing.php | 2 ++ .../2021_06_07_134045_run_except_many_environments.php | 2 ++ tests/fixtures/app/operations/2021_10_26_143247_run_allow.php | 2 ++ .../fixtures/app/operations/2021_10_26_143304_run_disallow.php | 2 ++ tests/fixtures/app/operations/2021_12_23_165047_run_success.php | 2 ++ tests/fixtures/app/operations/2021_12_23_184029_run_failed.php | 2 ++ .../app/operations/2022_08_17_135147_test_before_enabled.php | 2 ++ .../app/operations/2022_08_17_135153_test_before_disabled.php | 2 ++ .../fixtures/app/operations/sub_path/2021_12_15_205804_baz.php | 2 ++ .../fixtures/app/operations/sub_path/2022_10_27_230732_foo.php | 2 ++ .../2021_12_23_165048_run_success_on_failed.php | 2 ++ .../operations_failed/2021_12_23_184029_run_failed_failure.php | 2 ++ .../fixtures/migrations/2020_12_07_164624_create_test_table.php | 2 ++ .../migrations/2021_01_02_022431_create_every_time_table.php | 2 ++ .../migrations/2021_02_15_124419_create_transactions_table.php | 2 ++ .../migrations/2021_05_24_122027_create_environment_table.php | 2 ++ .../migrations/2021_12_23_165218_create_success_table.php | 2 ++ .../migrations/2021_12_23_184434_create_failed_table.php | 2 ++ .../migrations/2022_08_17_150549_create_before_table.php | 2 ++ 52 files changed, 104 insertions(+) diff --git a/config/deploy-operations.php b/config/deploy-operations.php index 8c44461b..23078e3b 100644 --- a/config/deploy-operations.php +++ b/config/deploy-operations.php @@ -1,5 +1,7 @@ Date: Mon, 31 Mar 2025 20:04:58 +0300 Subject: [PATCH 2/2] Fixed typo --- tests/Concerns/Files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Concerns/Files.php b/tests/Concerns/Files.php index c8e36abe..f150d233 100644 --- a/tests/Concerns/Files.php +++ b/tests/Concerns/Files.php @@ -82,7 +82,7 @@ protected function copyFailedTransaction(): void ); } - protected function targetDirectory(?string $path = null): string + protected function targetDirectory(string $path = ''): string { $dir = $this->getOperationsPath();