Musk Viewer
About
Privacy Policy
Removal Request
Ludovic Guénet
@LaravelJutsu
11 months
Now that everyone is playing around with
@pestphp
, let's not forget to perform architecture tests for clean code, my friends! 🧼
6
22
131
Download
Replies
Clément
@Amorfx3
11 months
@LaravelJutsu
@pestphp
Je commence à voir passer tout ça et pour moi ce genre de test c'est le rôle de l'analyse statique non ?
1
0
0
Ludovic Guénet
@LaravelJutsu
11 months
@Amorfx3
@pestphp
Je ne pense pas que PHPStan puisse détecter ce genre de choses? Ce sont des tests d'architecture. 🙂
1
0
1
Ash Evans
@AshEvansUK
11 months
@LaravelJutsu
@pestphp
how would you handle a GET request to /search?text=search+term&sort=relevant to conform with the first test?
1
0
0
Ludovic Guénet
@LaravelJutsu
11 months
@AshEvansUK
@pestphp
Passing URL params doesn't mean you can't use FormRequest. 🙂
1
0
0
marvanni
@martinnewman
11 months
@LaravelJutsu
@pestphp
These architecture tests are really good stuff !
1
0
1
Ludovic Guénet
@LaravelJutsu
11 months
@martinnewman
@pestphp
🩶 aren't they
0
0
0
Gary Clarke
@garyclarketech
11 months
@LaravelJutsu
@pestphp
Is there a way of adding exceptions to the rules?
0
0
1
Hosmel Quintana
@hosmelq
11 months
@LaravelJutsu
@pestphp
How do you handle the request in an index method, for example?
0
0
0
Don jon
@don_jon243
11 months
@LaravelJutsu
@pestphp
The second test should be included by default
0
0
1