Replaced psalm with phpstan #14
test-suite.yaml
on: push
Coding Standards
11s
Static Analysis
11s
Matrix: Tests
Annotations
16 errors
Tests (8.0)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php >=8.1 but your php version (8.0.30) does not satisfy that requirement.
|
Tests (8.0)
Process completed with exit code 2.
|
Static Analysis:
src/Config.php#L274
Parameter #1 $context of class PHLAK\Config\Config constructor expects array|string|null, mixed given.
|
Static Analysis:
tests/ArrayTest.php#L11
Method PHLAK\Config\Tests\ArrayTest::test_it_can_initialize_an_array() has no return type specified.
|
Static Analysis:
tests/ArrayTest.php#L13
Method PHLAK\Config\Tests\ArrayTest::test_it_can_initialize_an_array() throws checked exception PHLAK\Config\Exceptions\InvalidContextException but it's missing from the PHPDoc @throws tag.
|
Static Analysis:
tests/ArrayTest.php#L19
Method PHLAK\Config\Tests\ArrayTest::test_it_can_initialize_an_array_with_a_prefix() has no return type specified.
|
Static Analysis:
tests/ArrayTest.php#L21
Method PHLAK\Config\Tests\ArrayTest::test_it_can_initialize_an_array_with_a_prefix() throws checked exception PHLAK\Config\Exceptions\InvalidContextException but it's missing from the PHPDoc @throws tag.
|
Static Analysis:
tests/ConfigTest.php#L16
Method PHLAK\Config\Tests\ConfigTest::test_it_is_instantiable() throws checked exception PHLAK\Config\Exceptions\InvalidContextException but it's missing from the PHPDoc @throws tag.
|
Static Analysis:
tests/ConfigTest.php#L21
Method PHLAK\Config\Tests\ConfigTest::test_it_can_set_and_retrieve_an_item() has no return type specified.
|
Static Analysis:
tests/ConfigTest.php#L23
Method PHLAK\Config\Tests\ConfigTest::test_it_can_set_and_retrieve_an_item() throws checked exception PHLAK\Config\Exceptions\InvalidContextException but it's missing from the PHPDoc @throws tag.
|
Static Analysis:
tests/ConfigTest.php#L29
Method PHLAK\Config\Tests\ConfigTest::test_it_can_set_and_retrieve_an_item_by_dot_notation() has no return type specified.
|
Static Analysis:
tests/ConfigTest.php#L31
Method PHLAK\Config\Tests\ConfigTest::test_it_can_set_and_retrieve_an_item_by_dot_notation() throws checked exception PHLAK\Config\Exceptions\InvalidContextException but it's missing from the PHPDoc @throws tag.
|
Tests (8.1)
The job was canceled because "_8_0" failed.
|
Tests (8.1)
Process completed with exit code 2.
|
Tests (8.2)
The job was canceled because "_8_0" failed.
|
Tests (8.2)
The operation was canceled.
|