Skip to content

Add PhpService so we can mock/test calles to ini_get(), etc. #5645

Add PhpService so we can mock/test calles to ini_get(), etc.

Add PhpService so we can mock/test calles to ini_get(), etc. #5645

Triggered via push January 6, 2025 12:47
Status Failure
Total duration 1m 52s
Artifacts

phpstan.yaml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
phpstan (ubuntu-latest, 8.4): app/Factories/ImageFactory.php#L79
Parameter $php_service of method Fisharebest\Webtrees\Factories\ImageFactory::__construct() has invalid type Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.4): app/Factories/ImageFactory.php#L79
Property Fisharebest\Webtrees\Factories\ImageFactory::$php_service has unknown class Fisharebest\Webtrees\Services\PhpService as its type.
phpstan (ubuntu-latest, 8.4): app/Factories/ImageFactory.php#L312
Call to method extensionLoaded() on an unknown class Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.4): app/Factories/ImageFactory.php#L316
Call to method extensionLoaded() on an unknown class Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.4): app/Factories/SlugFactory.php#L39
Parameter $php_service of method Fisharebest\Webtrees\Factories\SlugFactory::__construct() has invalid type Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.4): app/Factories/SlugFactory.php#L39
Property Fisharebest\Webtrees\Factories\SlugFactory::$php_service has unknown class Fisharebest\Webtrees\Services\PhpService as its type.
phpstan (ubuntu-latest, 8.4): app/Factories/SlugFactory.php#L41
Call to method extensionLoaded() on an unknown class Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.4): app/Http/Middleware/CompressResponse.php#L53
Parameter $php_service of method Fisharebest\Webtrees\Http\Middleware\CompressResponse::__construct() has invalid type Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.4): app/Http/Middleware/CompressResponse.php#L53
Property Fisharebest\Webtrees\Http\Middleware\CompressResponse::$php_service has unknown class Fisharebest\Webtrees\Services\PhpService as its type.
phpstan (ubuntu-latest, 8.4): app/Http/Middleware/CompressResponse.php#L100
Call to method extensionLoaded() on an unknown class Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.3): app/Factories/ImageFactory.php#L79
Parameter $php_service of method Fisharebest\Webtrees\Factories\ImageFactory::__construct() has invalid type Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.3): app/Factories/ImageFactory.php#L79
Property Fisharebest\Webtrees\Factories\ImageFactory::$php_service has unknown class Fisharebest\Webtrees\Services\PhpService as its type.
phpstan (ubuntu-latest, 8.3): app/Factories/ImageFactory.php#L312
Call to method extensionLoaded() on an unknown class Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.3): app/Factories/ImageFactory.php#L316
Call to method extensionLoaded() on an unknown class Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.3): app/Factories/SlugFactory.php#L39
Parameter $php_service of method Fisharebest\Webtrees\Factories\SlugFactory::__construct() has invalid type Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.3): app/Factories/SlugFactory.php#L39
Property Fisharebest\Webtrees\Factories\SlugFactory::$php_service has unknown class Fisharebest\Webtrees\Services\PhpService as its type.
phpstan (ubuntu-latest, 8.3): app/Factories/SlugFactory.php#L41
Call to method extensionLoaded() on an unknown class Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.3): app/Http/Middleware/CompressResponse.php#L53
Parameter $php_service of method Fisharebest\Webtrees\Http\Middleware\CompressResponse::__construct() has invalid type Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.3): app/Http/Middleware/CompressResponse.php#L53
Property Fisharebest\Webtrees\Http\Middleware\CompressResponse::$php_service has unknown class Fisharebest\Webtrees\Services\PhpService as its type.
phpstan (ubuntu-latest, 8.3): app/Http/Middleware/CompressResponse.php#L100
Call to method extensionLoaded() on an unknown class Fisharebest\Webtrees\Services\PhpService.
phpstan (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan (ubuntu-latest, 8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636