From 8571292b16609ff4d24c641c429580690262b72b Mon Sep 17 00:00:00 2001 From: "m.tlili" Date: Thu, 21 Mar 2024 22:39:32 +0100 Subject: [PATCH] update ci & readme file --- .github/workflows/ci.yml | 4 ++-- .gitignore | 5 ++++- README.md | 2 +- composer.json | 14 +++++++------- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1f4676..2832cd5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: matrix: php-version: - "8.0" - - "8.1" + - "8.2" dependencies: - "highest" stability: @@ -31,7 +31,7 @@ jobs: # Tests the highest set of dependencies - dependencies: "highest" stability: "dev" - php-version: "8.1" + php-version: "8.2" steps: - name: "Checkout" diff --git a/.gitignore b/.gitignore index 523701e..fd3c4d9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,10 @@ /composer.lock /vendor/ /.idea +/.devenv .phpunit.cache .php-cs-fixer.cache .phpunit.result.cache -coverage.xml \ No newline at end of file +coverage.xml +.result +flake.lock \ No newline at end of file diff --git a/README.md b/README.md index 7b0de98..a439e06 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ class PostController ### Validations - Response header ``` -Content-Type: application/problem+json; charset=utf-8 +Content-Type: application/json; charset=utf-8 ``` - Response body ```json diff --git a/composer.json b/composer.json index dc8d984..54b276d 100644 --- a/composer.json +++ b/composer.json @@ -19,16 +19,16 @@ "license": "MIT", "require": { "php": "^8.0", - "symfony/http-kernel": "^6.2 | ^7.0", - "symfony/http-foundation": "^6.2 |^7.0", - "symfony/serializer": "^6.2 |^7.0", - "symfony/validator": "^6.2 |^7.0", - "symfony/dependency-injection": "^6.2 |^7.0", - "symfony/property-access": "^6.2 |^7.0" + "symfony/http-kernel": "^6.2|^7.0", + "symfony/http-foundation": "^6.2|^7.0", + "symfony/serializer": "^6.2|^7.0", + "symfony/validator": "^6.2|^7.0", + "symfony/dependency-injection": "^6.2|^7.0", + "symfony/property-access": "^6.2|^7.0" }, "require-dev": { "phpunit/phpunit": "^10.0", - "symfony/framework-bundle": "^6.2 | ^7.0", + "symfony/framework-bundle": "^6.2|^7.0", "friendsofphp/php-cs-fixer": "^3.5", "phpstan/phpstan": "^1.9" },