Skip to content

Commit

Permalink
feat: load environment-files
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Jul 9, 2024
1 parent 60d1039 commit 297817e
Show file tree
Hide file tree
Showing 10 changed files with 522 additions and 62 deletions.
28 changes: 15 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
],
"require": {
"php": ">=8.1 <8.4.0",
"ext-posix": "*",
"composer-plugin-api": "^2.1",
"symfony/filesystem": "^6.4 || ^7.0",
"ext-posix": "*"
"symfony/dotenv": "^7.1",
"symfony/filesystem": "^6.4 || ^7.0"
},
"require-dev": {
"composer/composer": "^2.0",
Expand Down Expand Up @@ -48,8 +49,8 @@
},
"config": {
"allow-plugins": {
"infection/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": true
},
"optimize-autoloader": true,
"preferred-install": {
Expand All @@ -58,19 +59,20 @@
"sort-packages": true
},
"extra": {
"class": "Atoolo\\Runtime\\Composer\\ComposerPlugin",
"branch-alias" : {
"dev-main" : "1.x-dev"
},
"atoolo" : {
"runtime" : {
"executor" : [
"atoolo": {
"runtime": {
"executor": [
"Atoolo\\Runtime\\Executor\\EnvSetter",
"Atoolo\\Runtime\\Executor\\IniSetter",
"Atoolo\\Runtime\\Executor\\UmaskSetter",
"Atoolo\\Runtime\\Executor\\UserValidator"
]
}
}
},
"branch-alias": {
"dev-main": "1.x-dev"
},
"class": "Atoolo\\Runtime\\Composer\\ComposerPlugin"
},
"scripts": {
"post-install-cmd": "phive --no-progress install --force-accept-unsigned --trust-gpg-keys C00543248C87FB13,4AA394086372C20A,CF1A108D0E7AE720,51C67305FFC2E5C0,E82B2FB314E9906E",
Expand All @@ -81,7 +83,7 @@
"@analyse:compatibilitycheck"
],
"analyse:compatibilitycheck": "./vendor/bin/phpcs --standard=./phpcs.compatibilitycheck.xml",
"analyse:phpcsfixer": "./tools/php-cs-fixer check --diff --show-progress=dots",
"analyse:phpcsfixer": "./tools/php-cs-fixer check --diff --show-progress=dots",
"analyse:phplint": "./tools/phplint",
"analyse:phpstan": "./tools/phpstan analyse",
"cs-fix": [
Expand Down
144 changes: 108 additions & 36 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ parameters:
executor?: array<class-string<Atoolo\Runtime\Executor\RuntimeExecutor>>,
umask?: string,
users?: array<string>,
env?: array{
file?: string,
set?: array<string, string>
},
ini?: array{
set?: array<string, mixed>
}
Expand All @@ -21,6 +25,10 @@ parameters:
executor?: array<class-string<Atoolo\Runtime\Executor\RuntimeExecutor>>,
umask?: string,
users?: array<string>,
env?: array{
file?: string,
set?: array<string, mixed>
},
ini?: array{
set?: array<string, mixed>
}
Expand Down
Loading

0 comments on commit 297817e

Please sign in to comment.