From 25870555e2354f290c4c4d3a3c757429b9352bd1 Mon Sep 17 00:00:00 2001 From: Mohammad Alavi Date: Fri, 23 Aug 2024 18:00:04 +0330 Subject: [PATCH 1/2] ci: run actions on push --- .github/workflows/php-cs-fixer.yaml | 4 ++++ .github/workflows/phpmd.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/php-cs-fixer.yaml b/.github/workflows/php-cs-fixer.yaml index 038b7663..feb107ff 100644 --- a/.github/workflows/php-cs-fixer.yaml +++ b/.github/workflows/php-cs-fixer.yaml @@ -1,6 +1,10 @@ name: Check & fix styling on: + push: + branches: + - master + - '*.x' pull_request: types: [ opened, synchronize, reopened ] diff --git a/.github/workflows/phpmd.yaml b/.github/workflows/phpmd.yaml index 05872812..48c0eb99 100644 --- a/.github/workflows/phpmd.yaml +++ b/.github/workflows/phpmd.yaml @@ -1,6 +1,10 @@ name: PHPMD on: + push: + branches: + - master + - '*.x' pull_request: types: [ opened, synchronize, reopened ] From c3e6011771ec077f4683c16c7569b51a394e7e0e Mon Sep 17 00:00:00 2001 From: Mohammad-Alavi Date: Fri, 23 Aug 2024 14:30:27 +0000 Subject: [PATCH 2/2] style: apply automated php-cs-fixer changes --- src/Traits/ResponseTrait.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Traits/ResponseTrait.php b/src/Traits/ResponseTrait.php index 06e7b793..33581a3f 100644 --- a/src/Traits/ResponseTrait.php +++ b/src/Traits/ResponseTrait.php @@ -158,7 +158,6 @@ public function created($data = null, $status = 201, array $headers = [], $optio return new JsonResponse($data, $status, $headers, $options); } - #[Deprecated( reason: 'Use the noContent method from the Response facade instead.', replacement: '\Apiato\Core\Facades\Response::createFrom(%parameter0%)->noContent();',