Closed Morgnus closed 2 months ago
Fixed. For some unknown reason I had git settings set to ignorecase=true
and changes to file names were not indexed in the repository. That's why when I ran phpstan it never reported the error. Thanks for spotting it.
Description:
There are two classes in the repository with mismatched file names, causing an autoload error during the composer dump-autoload process. The error specifically occurs when attempting to load the FilamentComboboxServiceProvider class.
Details:
Class Name: Combobox Current File Name: ComboBox.php Expected File Name: Combobox.php
Class Name: FilamentComboboxServiceProvider Current File Name: FilamentComboBoxServiceProvider.php Expected File Name: FilamentComboboxServiceProvider.php
Error Message:
Impact:
This issue primarily affects environments with case-sensitive filesystems, such as Linux. On macOS, which uses a case-insensitive filesystem by default, this mismatch might not cause any problems. However, in Linux environments, the discrepancy can lead to failures during the autoload process, preventing commands from running and the application from being deployed correctly.