File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2222 ]
2323 },
2424 {
25- "action" : " php -d memory_limit=1G bin/phpstan analyze --no-progress" ,
25+ "action" : " COMPOSE_PROFILES=tools docker compose run --rm app-tools php -d memory_limit=1G bin/phpstan analyze --no-progress" ,
2626 "options" : {
2727 "label" : " PHPStan: Static analysis"
2828 },
3434 ]
3535 },
3636 {
37- "action" : " php -d memory_limit=512M bin/php-cs-fixer fix --dry-run --diff " ,
37+ "action" : " COMPOSE_PROFILES=tools docker compose run --rm app-tools composer cs-check " ,
3838 "options" : {
3939 "label" : " PHP-CS-Fixer: Code style"
4040 },
4646 ]
4747 },
4848 {
49- "action" : " php -d memory_limit=512M bin/phpat " ,
49+ "action" : " COMPOSE_PROFILES=tools docker compose run --rm app-tools composer analyze:arch " ,
5050 "options" : {
5151 "label" : " PHPat: Architecture rules"
5252 },
5858 ]
5959 },
6060 {
61- "action" : " php bin/console lint:twig templates/ " ,
61+ "action" : " COMPOSE_PROFILES=tools docker compose run --rm app-tools composer twig:lint " ,
6262 "options" : {
6363 "label" : " Twig: Template syntax"
6464 },
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public function __invoke(
135135 $ dayDate = new DateTime ($ entrySaveDto ->date );
136136 $ entry ->setDay ($ dayDate );
137137 }
138- } catch (Exception $ exception ) {
138+ } catch (Exception ) {
139139 return new Error ('Given day does not have a valid format. ' , Response::HTTP_BAD_REQUEST );
140140 }
141141
You can’t perform that action at this time.
0 commit comments