Skip to content

Conversation

paulrrogers
Copy link
Member

@paulrrogers paulrrogers commented Aug 29, 2022

So one can use config:cache with after-load and after-dump

Manual test steps

  1. checkout locally
  2. composer require local checkout in other Laravel project
  3. change after-load to an array with values that align with Artisan::call() arguments
  4. php artisan migrate:dump
  5. verify after-load ran the given Artisan command
  6. php artisan config:cache
  7. verify that "Your configuration files are not serializable" error does not appear

@paulrrogers paulrrogers added the enhancement New feature or request label Aug 29, 2022
@paulrrogers paulrrogers self-assigned this Aug 29, 2022
@paulrrogers paulrrogers merged commit 9ad34db into master Aug 29, 2022
@paulrrogers paulrrogers deleted the feature/after-as-artisan-call-array branch August 29, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

1 participant