chore(deps): update phpstan packages to v2 #527
Annotations
10 errors
Linting:
src/LegacyWebService/ResourceApi.php#L354
Strict comparison using !== between SimpleXMLIterator and null will always evaluate to true.
|
Linting:
tests/LegacyWebService/Course/CourseApiTest.php#L49
Call to method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
|
Linting:
tests/LegacyWebService/Course/CourseApiTest.php#L62
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Dbp\\CampusonlineApi\\Helpers\\Page' and Dbp\CampusonlineApi\Helpers\Page will always evaluate to true.
|
Linting:
tests/LegacyWebService/Course/CourseApiTest.php#L123
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Dbp\\CampusonlineApi\\Helpers\\Page' and Dbp\CampusonlineApi\Helpers\Page will always evaluate to true.
|
Linting:
tests/LegacyWebService/Course/CourseApiTest.php#L228
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Dbp\\CampusonlineApi\\Helpers\\Page' and Dbp\CampusonlineApi\Helpers\Page will always evaluate to true.
|
Linting:
tests/LegacyWebService/Organization/OrganizationUnitApiTest.php#L87
Call to method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
|
Linting:
tests/LegacyWebService/Organization/OrganizationUnitApiTest.php#L111
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Dbp\\CampusonlineApi\\Helpers\\Page' and Dbp\CampusonlineApi\Helpers\Page will always evaluate to true.
|
Linting:
tests/LegacyWebService/Organization/OrganizationUnitApiTest.php#L166
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Dbp\\CampusonlineApi\\Helpers\\Page' and Dbp\CampusonlineApi\Helpers\Page will always evaluate to true.
|
Linting:
tests/LegacyWebService/Person/PersonApiTest.php#L46
Call to method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
|
Linting:
tests/LegacyWebService/Person/PersonApiTest.php#L59
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'Dbp\\CampusonlineApi\\Helpers\\Page' and Dbp\CampusonlineApi\Helpers\Page will always evaluate to true.
|