Last active
July 21, 2022 15:23
-
-
Save laravel-shift/e8e55d7cafa46fc33783823bb675b711 to your computer and use it in GitHub Desktop.
Default configuration file for setting Shift preferences
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Within this file you may set preferences for Shift. | |
| ; These may be used to customize the behavior of the | |
| ; Shift bot by disabling or guiding the automation. | |
| ; Section to set options for PHP Shifts. | |
| [php] | |
| ; The path to the .php_cs config file included | |
| ; in your project for Shift to apply your | |
| ; custom code style instead of PSR-2. | |
| phpcs = "" | |
| ; Section to set general options for all Shifts. | |
| [shift] | |
| ; Additional paths Shift should scan which are | |
| ; not included in a default project structure. | |
| additional_paths = "" | |
| ; Any paths Shift should not scan which are | |
| ; included in a default project structure. | |
| excluded_paths = "" | |
| ; Section to set options for Laravel Shifts. | |
| [laravel] | |
| ; The path to your Models. By default Shift | |
| ; will attempt to scan both the app/ and | |
| ; app/Models path. | |
| models_path = "" | |
| ; Report any Controllers containing actions | |
| ; outside the seven default resource methods: | |
| ; index, create, store, edit, update, | |
| ; show, destroy | |
| resourceful_controllers = true | |
| ; Fix Laravel Facade references to use an | |
| ; explicit import instead of their global | |
| ; alias. | |
| global_facades = true | |
| ; Fix Controllers and Middlewares to use the | |
| ; auto-injected Request object instead of | |
| ; the Request Facade or helper function. | |
| leverage_request = true | |
| ; Report validation in controllers using the | |
| ; Validate Facade or request->validate method | |
| ; as opportunities to use Form Requests. | |
| controller_validation = true | |
| ; Report Models or Controllers which extend | |
| ; custom classes instead of the core classes | |
| ; as an opporuntity to use traits. | |
| core_inheritance = true | |
| ; Report routes containing "api" within | |
| ; the routes/web.php file as an opporuntity | |
| ; to relocate them to the appropriate | |
| ; routes/api.php file | |
| api_routes = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Opportunity is spelled wrong twice as
opporuntityon lines 65 and 76.