Skip to content

Fix: Remove non-compount name RuntimeException and Throwable on bootstrap/helpers/databases.php - #10993

Open
samsonasik wants to merge 1 commit into
coollabsio:v4.xfrom
samsonasik:remove-non-compout-use
Open

Fix: Remove non-compount name RuntimeException and Throwable on bootstrap/helpers/databases.php#10993
samsonasik wants to merge 1 commit into
coollabsio:v4.xfrom
samsonasik:remove-non-compout-use

Conversation

@samsonasik

Copy link
Copy Markdown

Changes

  • The use RuntimeException and use Throwable is not needed as not inside namespaced code.

Issues

On composer install, it got error:

> Illuminate\Foundation\ComposerScripts::postAutoloadDump
Script Illuminate\Foundation\ComposerScripts::postAutoloadDump handling the post-autoload-dump event terminated with an exception

In databases.php line 20:
                                                                             
  The use statement with non-compound name 'RuntimeException' has no effect  

see https://3v4l.org/v2H0Y#v8.1.34

Category

  • Bug fix
  • Improvement
  • New feature
  • Adding new one click service
  • Fixing or updating existing one click service

AI Assistance

  • AI was NOT used to create this PR

Testing

see https://3v4l.org/v2H0Y#v8.1.34

Contributor Agreement

Important

  • I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
  • I have searched existing issues and pull requests (including closed ones) to ensure this isn't a duplicate.
  • I have tested all the changes thoroughly with a local development instance of Coolify and I am confident that they will work as expected when a maintainer tests them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant