Skip to content

Commit

Permalink
Bump friendsofphp/php-cs-fixer in /tools/php-cs-fixer (#68)
Browse files Browse the repository at this point in the history
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.58.1 to 3.59.3.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](PHP-CS-Fixer/PHP-CS-Fixer@v3.58.1...v3.59.3)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jul 3, 2024
1 parent f1a6c89 commit 0229aab
Show file tree
Hide file tree
Showing 1,682 changed files with 89,889 additions and 43,676 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ rector: vendor ## Run Rector (dry run)
jane: vendor ## Generate the SDK
./vendor/bin/jane-openapi generate --config-file=.jane-openapi.php

build: jane rectify cs

.PHONY: help

help: ## Display this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'

.DEFAULT_GOAL := help
.DEFAULT_GOAL := help
5 changes: 4 additions & 1 deletion generated/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -6056,20 +6056,23 @@ public static function create($httpClient = null, array $additionalPlugins = [],
if (null === $httpClient) {
$httpClient = Psr18ClientDiscovery::find();
$plugins = [];
$uri = Psr17FactoryDiscovery::findUrlFactory()->createUri('https://payroll-api.silae.fr/payroll');
$uri = Psr17FactoryDiscovery::findUriFactory()->createUri('https://payroll-api.silae.fr/payroll');
$plugins[] = new AddHostPlugin($uri);
$plugins[] = new AddPathPlugin($uri);
if ([] !== $additionalPlugins) {
$plugins = array_merge($plugins, $additionalPlugins);
}

$httpClient = new PluginClient($httpClient, $plugins);
}

$requestFactory = Psr17FactoryDiscovery::findRequestFactory();
$streamFactory = Psr17FactoryDiscovery::findStreamFactory();
$normalizers = [new ArrayDenormalizer(), new JaneObjectNormalizer()];
if ([] !== $additionalNormalizers) {
$normalizers = array_merge($normalizers, $additionalNormalizers);
}

$serializer = new Serializer($normalizers, [new JsonEncoder(new JsonEncode(), new JsonDecode(['json_decode_associative' => true]))]);

return new static($httpClient, $requestFactory, $serializer, $streamFactory);
Expand Down
16 changes: 11 additions & 5 deletions generated/Endpoint/AcquisitionContenuPartielDSN.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use QdequippeTech\Silae\Api\Exception\AcquisitionContenuPartielDSNUnauthorizedException;
use QdequippeTech\Silae\Api\Model\AcquisitionContenuPartielDSNRequest;
use QdequippeTech\Silae\Api\Model\AcquisitionContenuPartielDSNResponse;
use QdequippeTech\Silae\Api\Model\ApiErrors;
use QdequippeTech\Silae\Api\Runtime\Client\BaseEndpoint;
use QdequippeTech\Silae\Api\Runtime\Client\Endpoint;
use QdequippeTech\Silae\Api\Runtime\Client\EndpointTrait;
Expand Down Expand Up @@ -47,7 +48,7 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null):
return $this->getSerializedBody($serializer);
}

public function getExtraHeaders(): array
protected function getExtraHeaders(): array
{
return ['Accept' => ['application/json']];
}
Expand Down Expand Up @@ -77,17 +78,22 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\AcquisitionContenuPartielDSNResponse', 'json');
return $serializer->deserialize($body, AcquisitionContenuPartielDSNResponse::class, 'json');
}

if (400 === $status) {
throw new AcquisitionContenuPartielDSNBadRequestException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionContenuPartielDSNBadRequestException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (401 === $status) {
throw new AcquisitionContenuPartielDSNUnauthorizedException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionContenuPartielDSNUnauthorizedException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (500 === $status) {
throw new AcquisitionContenuPartielDSNInternalServerErrorException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionContenuPartielDSNInternalServerErrorException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

return null;
}

public function getAuthenticationScopes(): array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use QdequippeTech\Silae\Api\Exception\AcquisitionQuestionnaireContratComplementaireUnauthorizedException;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireContratComplementaireRequest;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireContratComplementaireResponse;
use QdequippeTech\Silae\Api\Model\ApiErrors;
use QdequippeTech\Silae\Api\Runtime\Client\BaseEndpoint;
use QdequippeTech\Silae\Api\Runtime\Client\Endpoint;
use QdequippeTech\Silae\Api\Runtime\Client\EndpointTrait;
Expand Down Expand Up @@ -47,7 +48,7 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null):
return $this->getSerializedBody($serializer);
}

public function getExtraHeaders(): array
protected function getExtraHeaders(): array
{
return ['Accept' => ['application/json']];
}
Expand Down Expand Up @@ -77,17 +78,22 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\AcquisitionQuestionnaireContratComplementaireResponse', 'json');
return $serializer->deserialize($body, AcquisitionQuestionnaireContratComplementaireResponse::class, 'json');
}

if (400 === $status) {
throw new AcquisitionQuestionnaireContratComplementaireBadRequestException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireContratComplementaireBadRequestException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (401 === $status) {
throw new AcquisitionQuestionnaireContratComplementaireUnauthorizedException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireContratComplementaireUnauthorizedException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (500 === $status) {
throw new AcquisitionQuestionnaireContratComplementaireInternalServerErrorException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireContratComplementaireInternalServerErrorException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

return null;
}

public function getAuthenticationScopes(): array
Expand Down
16 changes: 11 additions & 5 deletions generated/Endpoint/AcquisitionQuestionnaireEtablissementCCN.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use QdequippeTech\Silae\Api\Exception\AcquisitionQuestionnaireEtablissementCCNUnauthorizedException;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireCCNRequest;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireCCNResponse;
use QdequippeTech\Silae\Api\Model\ApiErrors;
use QdequippeTech\Silae\Api\Runtime\Client\BaseEndpoint;
use QdequippeTech\Silae\Api\Runtime\Client\Endpoint;
use QdequippeTech\Silae\Api\Runtime\Client\EndpointTrait;
Expand Down Expand Up @@ -47,7 +48,7 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null):
return $this->getSerializedBody($serializer);
}

public function getExtraHeaders(): array
protected function getExtraHeaders(): array
{
return ['Accept' => ['application/json']];
}
Expand Down Expand Up @@ -77,17 +78,22 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\AcquisitionQuestionnaireCCNResponse', 'json');
return $serializer->deserialize($body, AcquisitionQuestionnaireCCNResponse::class, 'json');
}

if (400 === $status) {
throw new AcquisitionQuestionnaireEtablissementCCNBadRequestException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireEtablissementCCNBadRequestException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (401 === $status) {
throw new AcquisitionQuestionnaireEtablissementCCNUnauthorizedException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireEtablissementCCNUnauthorizedException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (500 === $status) {
throw new AcquisitionQuestionnaireEtablissementCCNInternalServerErrorException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireEtablissementCCNInternalServerErrorException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

return null;
}

public function getAuthenticationScopes(): array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use QdequippeTech\Silae\Api\Exception\AcquisitionQuestionnaireEtablissementCCNAvecTexteUnauthorizedException;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireCCNRequest;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireCCNResponse;
use QdequippeTech\Silae\Api\Model\ApiErrors;
use QdequippeTech\Silae\Api\Runtime\Client\BaseEndpoint;
use QdequippeTech\Silae\Api\Runtime\Client\Endpoint;
use QdequippeTech\Silae\Api\Runtime\Client\EndpointTrait;
Expand Down Expand Up @@ -47,7 +48,7 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null):
return $this->getSerializedBody($serializer);
}

public function getExtraHeaders(): array
protected function getExtraHeaders(): array
{
return ['Accept' => ['application/json']];
}
Expand Down Expand Up @@ -77,17 +78,22 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\AcquisitionQuestionnaireCCNResponse', 'json');
return $serializer->deserialize($body, AcquisitionQuestionnaireCCNResponse::class, 'json');
}

if (400 === $status) {
throw new AcquisitionQuestionnaireEtablissementCCNAvecTexteBadRequestException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireEtablissementCCNAvecTexteBadRequestException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (401 === $status) {
throw new AcquisitionQuestionnaireEtablissementCCNAvecTexteUnauthorizedException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireEtablissementCCNAvecTexteUnauthorizedException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (500 === $status) {
throw new AcquisitionQuestionnaireEtablissementCCNAvecTexteInternalServerErrorException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireEtablissementCCNAvecTexteInternalServerErrorException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

return null;
}

public function getAuthenticationScopes(): array
Expand Down
16 changes: 11 additions & 5 deletions generated/Endpoint/AcquisitionQuestionnaireSalarieCCN.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use QdequippeTech\Silae\Api\Exception\AcquisitionQuestionnaireSalarieCCNUnauthorizedException;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireCCNRequest;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireCCNResponse;
use QdequippeTech\Silae\Api\Model\ApiErrors;
use QdequippeTech\Silae\Api\Runtime\Client\BaseEndpoint;
use QdequippeTech\Silae\Api\Runtime\Client\Endpoint;
use QdequippeTech\Silae\Api\Runtime\Client\EndpointTrait;
Expand Down Expand Up @@ -47,7 +48,7 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null):
return $this->getSerializedBody($serializer);
}

public function getExtraHeaders(): array
protected function getExtraHeaders(): array
{
return ['Accept' => ['application/json']];
}
Expand Down Expand Up @@ -77,17 +78,22 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\AcquisitionQuestionnaireCCNResponse', 'json');
return $serializer->deserialize($body, AcquisitionQuestionnaireCCNResponse::class, 'json');
}

if (400 === $status) {
throw new AcquisitionQuestionnaireSalarieCCNBadRequestException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireSalarieCCNBadRequestException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (401 === $status) {
throw new AcquisitionQuestionnaireSalarieCCNUnauthorizedException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireSalarieCCNUnauthorizedException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (500 === $status) {
throw new AcquisitionQuestionnaireSalarieCCNInternalServerErrorException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireSalarieCCNInternalServerErrorException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

return null;
}

public function getAuthenticationScopes(): array
Expand Down
16 changes: 11 additions & 5 deletions generated/Endpoint/AcquisitionQuestionnaireSalarieCCNAvecTexte.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use QdequippeTech\Silae\Api\Exception\AcquisitionQuestionnaireSalarieCCNAvecTexteUnauthorizedException;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireCCNRequest;
use QdequippeTech\Silae\Api\Model\AcquisitionQuestionnaireCCNResponse;
use QdequippeTech\Silae\Api\Model\ApiErrors;
use QdequippeTech\Silae\Api\Runtime\Client\BaseEndpoint;
use QdequippeTech\Silae\Api\Runtime\Client\Endpoint;
use QdequippeTech\Silae\Api\Runtime\Client\EndpointTrait;
Expand Down Expand Up @@ -47,7 +48,7 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null):
return $this->getSerializedBody($serializer);
}

public function getExtraHeaders(): array
protected function getExtraHeaders(): array
{
return ['Accept' => ['application/json']];
}
Expand Down Expand Up @@ -77,17 +78,22 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\AcquisitionQuestionnaireCCNResponse', 'json');
return $serializer->deserialize($body, AcquisitionQuestionnaireCCNResponse::class, 'json');
}

if (400 === $status) {
throw new AcquisitionQuestionnaireSalarieCCNAvecTexteBadRequestException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireSalarieCCNAvecTexteBadRequestException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (401 === $status) {
throw new AcquisitionQuestionnaireSalarieCCNAvecTexteUnauthorizedException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireSalarieCCNAvecTexteUnauthorizedException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (500 === $status) {
throw new AcquisitionQuestionnaireSalarieCCNAvecTexteInternalServerErrorException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new AcquisitionQuestionnaireSalarieCCNAvecTexteInternalServerErrorException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

return null;
}

public function getAuthenticationScopes(): array
Expand Down
14 changes: 10 additions & 4 deletions generated/Endpoint/ActivationDSN.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use QdequippeTech\Silae\Api\Exception\ActivationDSNInternalServerErrorException;
use QdequippeTech\Silae\Api\Exception\ActivationDSNUnauthorizedException;
use QdequippeTech\Silae\Api\Model\ActivationDSNRequest;
use QdequippeTech\Silae\Api\Model\ApiErrors;
use QdequippeTech\Silae\Api\Runtime\Client\BaseEndpoint;
use QdequippeTech\Silae\Api\Runtime\Client\Endpoint;
use QdequippeTech\Silae\Api\Runtime\Client\EndpointTrait;
Expand Down Expand Up @@ -46,7 +47,7 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null):
return $this->getSerializedBody($serializer);
}

public function getExtraHeaders(): array
protected function getExtraHeaders(): array
{
return ['Accept' => ['application/json']];
}
Expand Down Expand Up @@ -76,15 +77,20 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
if (200 === $status) {
return null;
}

if (400 === $status) {
throw new ActivationDSNBadRequestException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new ActivationDSNBadRequestException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (401 === $status) {
throw new ActivationDSNUnauthorizedException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new ActivationDSNUnauthorizedException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

if (500 === $status) {
throw new ActivationDSNInternalServerErrorException($serializer->deserialize($body, 'QdequippeTech\\Silae\\Api\\Model\\ApiErrors', 'json'), $response);
throw new ActivationDSNInternalServerErrorException($serializer->deserialize($body, ApiErrors::class, 'json'), $response);
}

return null;
}

public function getAuthenticationScopes(): array
Expand Down
Loading

0 comments on commit 0229aab

Please sign in to comment.