Closed arhimede closed 9 months ago
Not sure how local.php
looks right now on api.dotkernel.net
.
The last 2 modifications on local.php.dist
were made on:
Mar 23, 2023
: Issue 174: Major code cleanup.Aug 18, 2023
: Code quality related changes.The diff between the last 2 commits is here and it contains only phpcs
related modifications.
Can you post a diff between the latest local.php.dist
and the local.php
that is currently used on api.dotkernel.net
?
attached is the current file on api.dk
At first look, the attached version is way too out-of-sync with the repo version, containing key/values that were removed long ago (e.g.: authentication->pdo
, use Mezzio\Cors\Configuration\ConfigurationInterface;
)
In order to clarify things, I'll go through each item:
the header with a comment
: the header comment has been removed because README.md instructs developers to duplicate config/autoload/local.php.dist
as config/autoload/local.php
use different namespaces
: not sure what you mean because there is no namespace in neither the repo version nor the attached version. Instead, there are a some differences in the use
s:use Mezzio\Cors\Configuration\ConfigurationInterface;
which has been moved to config/autoload/config/autoload/cors.local.php.distuse Doctrine\Common\Cache\PhpFileCache;
(also used in the attached version, but as FQCN instead of use
) and use Api\App\Entity\EntityListenerResolver;
added in March, this year.PDO section
: as I mentioned above, PDO section has been removed almost a year ago, more exactly in this commit after we made authentication use Doctrine vs the secondary PDO connectiondocumentation section
: that section has been removed back in 2021, when we moved our documentation from Swagger to Postman (in this commit)Closing this because we found out that local.php
on api.dotkernel.net
was not in sync with the one from the repo.
the file local.php.dist from the repo is very different then the one online at api.dotkernel.net
(local-4.1.0.php )
Let's have a final local.php file