phpstan fixes #58
Annotations
19 errors
phpstan:
src/acdhOeaw/arche/ingest/IndexerVersioner.php#L64
Parameter #2 $needle of function str_starts_with expects string, string|null given.
|
phpstan:
src/acdhOeaw/arche/ingest/IndexerVersioner.php#L72
Access to an undefined property object::$oldResource.
|
phpstan:
tests/ArcheImportBinaryTest.php#L101
Access to an undefined property object::$resource.
|
phpstan:
tests/ArcheImportBinaryTest.php#L102
Access to an undefined property object::$oldResource.
|
phpstan:
tests/ArcheImportBinaryTest.php#L120
Parameter #1 $term of method quickRdf\Literal::equals() expects rdfInterface\TermCompareInterface, rdfInterface\TermInterface|null given.
|
phpstan:
tests/ArcheImportBinaryTest.php#L123
Parameter #1 $term of method quickRdf\Literal::equals() expects rdfInterface\TermCompareInterface, rdfInterface\TermInterface|null given.
|
phpstan:
tests/ArcheImportBinaryTest.php#L136
Access to an undefined property acdhOeaw\arche\lib\Schema::$oldParent.
|
phpstan:
tests/ArcheImportBinaryTest.php#L138
Cannot call method equals() on rdfInterface\TermInterface|null.
|
phpstan:
tests/ArcheImportBinaryTest.php#L143
Parameter #1 $term of method quickRdf\Literal::equals() expects rdfInterface\TermCompareInterface, rdfInterface\TermInterface|null given.
|
phpstan:
tests/ArcheImportBinaryTest.php#L144
Parameter #1 $term of method quickRdf\Literal::equals() expects rdfInterface\TermCompareInterface, rdfInterface\TermInterface|null given.
|
phpunit (8.2)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^12.0 -> satisfiable by phpunit/phpunit[12.0.0, 12.0.1, 12.0.2].
- phpunit/phpunit[12.0.0, ..., 12.0.2] require php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
|
phpunit (8.2)
Process completed with exit code 2.
|
phpunit (8.1)
The job was canceled because "_8_2" failed.
|
phpunit (8.1)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^12.0 -> satisfiable by phpunit/phpunit[12.0.0, 12.0.1, 12.0.2].
- phpunit/phpunit[12.0.0, ..., 12.0.2] require php >=8.3 -> your php version (8.1.31) does not satisfy that requirement.
|
phpunit (8.1)
Process completed with exit code 2.
|
phpunit (8.4)
The job was canceled because "_8_2" failed.
|
phpunit (8.4)
The operation was canceled.
|
phpunit (8.3)
The job was canceled because "_8_2" failed.
|
phpunit (8.3)
The operation was canceled.
|