Skip to content

Commit

Permalink
Merge pull request #66 from maurobonfietti/0.37.0
Browse files Browse the repository at this point in the history
Version 0.37.0
  • Loading branch information
maurobonfietti committed Sep 5, 2021
2 parents 619b7fd + 81886dd commit 34743a9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 83 deletions.
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
API_NAME='slim4-api-skeleton'
API_VERSION='0.1.0'
API_ENV='development'

DB_HOST='127.0.0.1'
DB_NAME='slim4_api_skeleton'
DB_USER='root'
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Home.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

final class Home
{
private const API_NAME = $_ENV['API_NAME'];
private const API_NAME = 'slim4-api-skeleton';

private const API_VERSION = $_ENV['API_VERSION'];
private const API_VERSION = '0.37.0';

private Container $container;

Expand Down
2 changes: 1 addition & 1 deletion src/Helper/JsonResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace App\Helper;

use Fig\Http\Message\StatusCodeInterface;
use Psr\Http\Message\ResponseInterface as Response;
use App\Helper\StatusCodeInterface;

final class JsonResponse
{
Expand Down
75 changes: 0 additions & 75 deletions src/Helper/StatusCodeInterface.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/integration/HomeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tests\integration;

use App\Helper\StatusCodeInterface;
use Fig\Http\Message\StatusCodeInterface;

class HomeTest extends TestCase
{
Expand Down

0 comments on commit 34743a9

Please sign in to comment.