Skip to content

Commit

Permalink
Merge pull request #7 from Micro-PHP/1.6.1
Browse files Browse the repository at this point in the history
v1.6.1 fix composer depth
  • Loading branch information
Asisyas committed Nov 7, 2023
2 parents 710957d + 4ade9f1 commit ce42e94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"require-dev": {
"ergebnis/composer-normalize": "^2.29",
"phpunit/phpunit": "^10.1",
"vimeo/psalm": "^5.15"
"vimeo/psalm": "^5.15",
"phpstan/phpstan": "^1.10",
"friendsofphp/php-cs-fixer": "^3.13",
"phpunit/php-code-coverage": "^10.1"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -63,16 +66,16 @@
"@test-unit"
],
"test-phpstan": [
"php tests/tools/phpstan/vendor/bin/phpstan"
"php vendor/bin/phpstan"
],
"test-psalm": [
"php tests/tools/psalm/vendor/bin/psalm"
"php vendor/bin/psalm"
],
"test-php-cs-try": [
"PHP_CS_FIXER_IGNORE_ENV=1 php tests/tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no"
"PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no"
],
"test-php-cs-fix": [
"PHP_CS_FIXER_IGNORE_ENV=1 php tests/tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --verbose --using-cache=no"
"PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer fix --verbose --using-cache=no"
],
"test-unit": [
"php vendor/bin/phpunit"
Expand Down
2 changes: 1 addition & 1 deletion src/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

return function () use ($basedir): \Micro\Framework\Kernel\KernelInterface {
$applicationConfiguration = new class($basedir) extends DefaultApplicationConfiguration {
private readonly Dotenv $dotenv;
private Dotenv $dotenv;

public function __construct(string $basePath)
{
Expand Down

0 comments on commit ce42e94

Please sign in to comment.