You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .ai/laravel/core.blade.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
## Do Things the Laravel Way
2
-
- Use `./artisan make:` commands to create new files (i.e. migrations, controllers, models, etc.). You can list available artisan commands with the `list-artisan-commands` tool.
2
+
- Use `php artisan make:` commands to create new files (i.e. migrations, controllers, models, etc.). You can list available artisan commands with the `list-artisan-commands` tool.
3
3
- If you're creating a generic PHP class, use `artisan make:class`.
4
4
5
5
## Database
@@ -14,7 +14,7 @@
14
14
- **Validation rule style**: Check sibling form requests to see if the project uses array or string based validation rules.
15
15
16
16
## Model Creation
17
-
- When creating new models, create useful factories and seeders for them too. Ask the user if they need any other things, use `list-artisan-commands` to check the available options to `./artisan make:model`
17
+
- When creating new models, create useful factories and seeders for them too. Ask the user if they need any other things, use `list-artisan-commands` to check the available options to `php artisan make:model`
18
18
19
19
## APIs and Eloquent Resources
20
20
- For APIs, default to using Eloquent API Resources and API versioning, unless existing API routes do not, then you should follow existing convention.
Copy file name to clipboardExpand all lines: .ai/pest/core.blade.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
# Pest Tests
5
5
- All tests must be written using Pest.
6
6
- You must not remove any tests or test files from the tests directory without approval. These are not temporary or helper files, these are core to the application.
7
-
- Tests should test all of the the unhappy paths, happy paths, and weird paths.
7
+
- Tests should test all of the unhappy paths, happy paths, and weird paths.
8
8
- Tests live in the `tests/Feature` and `tests/Unit` directories.
9
9
- Pest tests look and behave like this:
10
10
<code-snippetname="Basic example Pest test"lang="php">
* Build a string message for the log based on various input types. Single dimensional, and multi:
115
-
* "data":[{"message":"Unhandled Promise Rejection","reason":{"name":"TypeError","message":"NetworkError when attempting to fetch resource.","stack":""}}]
127
+
* "data":[
128
+
* {"message":"Unhandled Promise Rejection","reason":{"name":"TypeError","message":"NetworkError when attempting to fetch resource.","stack":""}}]
0 commit comments