Skip to content

Commit

Permalink
updated popo
Browse files Browse the repository at this point in the history
  • Loading branch information
oliwierptak committed Aug 9, 2021
1 parent 491a041 commit 5a9b050
Show file tree
Hide file tree
Showing 9 changed files with 505 additions and 396 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ jobs:
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md

# - name: Run test suite
run: composer run-script tests
#- name: Run test suite
# run: "composer run-script test"
14 changes: 0 additions & 14 deletions .popo

This file was deleted.

8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"phuxtil/stat": "^3"
},
"require-dev": {
"symfony/var-dumper": "^4|^5",
"phpunit/phpunit": "^9",
"ext-posix": "*",
"popo/generator": "^4"
"symfony/var-dumper": "^5",
"phpunit/phpunit": "^9",
"popo/generator": "^5"
},
"autoload": {
"psr-4": {
Expand All @@ -29,7 +29,7 @@
}
},
"scripts": {
"popo": "vendor/bin/popo popo",
"popo": "vendor/bin/popo generate -s popo/flysystem-ssh-shell.popo.yml",
"test": "vendor/bin/phpunit --no-coverage --testdox --group acceptance",
"test-c": "vendor/bin/phpunit --coverage-html tests/logs/coverage/ --group acceptance",
"stan": "vendor/bin/phpstan analyze src --level 5"
Expand Down
250 changes: 240 additions & 10 deletions composer.lock

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

23 changes: 23 additions & 0 deletions popo/flysystem-ssh-shell.popo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
$:
config:
namespace: Phuxtil\Flysystem\SshShell
outputPath: src/
namespaceRoot: Phuxtil\Flysystem\SshShell
comment: Phuxtil\Flysystem\SshShell configuration file. Auto-generated.

phuxtil:
SshShellConfigurator:
default:
authType: config
root: /tmp
port: 22
timeout: 60
property: [
{name: user}
{name: host}
{name: privateKey}
{name: authType}
{name: root}
{name: port, type: int}
{name: timeout, type: int, comment: SSH process timeout in seconds}
]}}
Loading

0 comments on commit 5a9b050

Please sign in to comment.