➕ add github pipeline for tests #42
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
40 errors and 4 warnings
PHP 8.0:
src/Conditional/BasicExpression.php#L79
Method PHPSu\ShellCommandBuilder\Conditional\BasicExpression::getValue() should return string but returns PHPSu\ShellCommandBuilder\ShellInterface|string.
|
PHP 8.0:
src/Literal/ShellWord.php#L115
Result of || is always true.
|
PHP 8.0:
src/ShellBuilder.php#L343
Method PHPSu\ShellCommandBuilder\ShellBuilder::jsonSerialize() return type has no value type specified in iterable type array.
|
PHP 8.0:
src/ShellInterface.php#L10
Method PHPSu\ShellCommandBuilder\ShellInterface::__toArray() return type has no value type specified in iterable type array.
|
PHP 8.0:
tests/ShellBuilderTest.php#L182
Parameter #1 ...$commands of method PHPSu\ShellCommandBuilder\ShellBuilder::add() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 8.0:
tests/ShellBuilderTest.php#L190
Parameter #1 $command of method PHPSu\ShellCommandBuilder\ShellBuilder::pipe() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 8.0:
tests/ShellBuilderTest.php#L198
Parameter #1 $command of method PHPSu\ShellCommandBuilder\ShellBuilder::or() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 8.0:
tests/ShellBuilderTest.php#L224
Cannot access offset 'executable' on mixed.
|
PHP 8.0:
tests/ShellBuilderTest.php#L594
Cannot access offset 'compare' on mixed.
|
PHP 8.0:
tests/ShellBuilderTest.php#L594
Cannot access offset 'executable' on mixed.
|
PHP 7.4:
src/Conditional/BasicExpression.php#L79
Method PHPSu\ShellCommandBuilder\Conditional\BasicExpression::getValue() should return string but returns PHPSu\ShellCommandBuilder\ShellInterface|string.
|
PHP 7.4:
src/Literal/ShellWord.php#L115
Result of || is always true.
|
PHP 7.4:
src/ShellBuilder.php#L343
Method PHPSu\ShellCommandBuilder\ShellBuilder::jsonSerialize() return type has no value type specified in iterable type array.
|
PHP 7.4:
src/ShellInterface.php#L10
Method PHPSu\ShellCommandBuilder\ShellInterface::__toArray() return type has no value type specified in iterable type array.
|
PHP 7.4:
tests/ShellBuilderTest.php#L182
Parameter #1 ...$commands of method PHPSu\ShellCommandBuilder\ShellBuilder::add() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 7.4:
tests/ShellBuilderTest.php#L190
Parameter #1 $command of method PHPSu\ShellCommandBuilder\ShellBuilder::pipe() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 7.4:
tests/ShellBuilderTest.php#L198
Parameter #1 $command of method PHPSu\ShellCommandBuilder\ShellBuilder::or() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 7.4:
tests/ShellBuilderTest.php#L224
Cannot access offset 'executable' on mixed.
|
PHP 7.4:
tests/ShellBuilderTest.php#L594
Cannot access offset 'compare' on mixed.
|
PHP 7.4:
tests/ShellBuilderTest.php#L594
Cannot access offset 'executable' on mixed.
|
PHP 8.1:
src/Conditional/BasicExpression.php#L79
Method PHPSu\ShellCommandBuilder\Conditional\BasicExpression::getValue() should return string but returns PHPSu\ShellCommandBuilder\ShellInterface|string.
|
PHP 8.1:
src/Literal/ShellWord.php#L115
Result of || is always true.
|
PHP 8.1:
src/ShellBuilder.php#L343
Method PHPSu\ShellCommandBuilder\ShellBuilder::jsonSerialize() return type has no value type specified in iterable type array.
|
PHP 8.1:
src/ShellInterface.php#L10
Method PHPSu\ShellCommandBuilder\ShellInterface::__toArray() return type has no value type specified in iterable type array.
|
PHP 8.1:
tests/ShellBuilderTest.php#L182
Parameter #1 ...$commands of method PHPSu\ShellCommandBuilder\ShellBuilder::add() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 8.1:
tests/ShellBuilderTest.php#L190
Parameter #1 $command of method PHPSu\ShellCommandBuilder\ShellBuilder::pipe() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 8.1:
tests/ShellBuilderTest.php#L198
Parameter #1 $command of method PHPSu\ShellCommandBuilder\ShellBuilder::or() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 8.1:
tests/ShellBuilderTest.php#L224
Cannot access offset 'executable' on mixed.
|
PHP 8.1:
tests/ShellBuilderTest.php#L594
Cannot access offset 'compare' on mixed.
|
PHP 8.1:
tests/ShellBuilderTest.php#L594
Cannot access offset 'executable' on mixed.
|
PHP 8.2:
src/Conditional/BasicExpression.php#L79
Method PHPSu\ShellCommandBuilder\Conditional\BasicExpression::getValue() should return string but returns PHPSu\ShellCommandBuilder\ShellInterface|string.
|
PHP 8.2:
src/Literal/ShellWord.php#L115
Result of || is always true.
|
PHP 8.2:
src/ShellBuilder.php#L343
Method PHPSu\ShellCommandBuilder\ShellBuilder::jsonSerialize() return type has no value type specified in iterable type array.
|
PHP 8.2:
src/ShellInterface.php#L10
Method PHPSu\ShellCommandBuilder\ShellInterface::__toArray() return type has no value type specified in iterable type array.
|
PHP 8.2:
tests/ShellBuilderTest.php#L182
Parameter #1 ...$commands of method PHPSu\ShellCommandBuilder\ShellBuilder::add() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 8.2:
tests/ShellBuilderTest.php#L190
Parameter #1 $command of method PHPSu\ShellCommandBuilder\ShellBuilder::pipe() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 8.2:
tests/ShellBuilderTest.php#L198
Parameter #1 $command of method PHPSu\ShellCommandBuilder\ShellBuilder::or() expects PHPSu\ShellCommandBuilder\ShellInterface|string, false given.
|
PHP 8.2:
tests/ShellBuilderTest.php#L224
Cannot access offset 'executable' on mixed.
|
PHP 8.2:
tests/ShellBuilderTest.php#L594
Cannot access offset 'compare' on mixed.
|
PHP 8.2:
tests/ShellBuilderTest.php#L594
Cannot access offset 'executable' on mixed.
|
PHP 8.0
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 7.4
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|