diff --git a/.github/workflows/php-cs-fixer.yaml b/.github/workflows/php-cs-fixer.yaml index 038b7663a..feb107ffb 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 058728128..48c0eb999 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 ] diff --git a/src/Traits/ResponseTrait.php b/src/Traits/ResponseTrait.php index 06e7b7933..33581a3ff 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();',