376 matches across 1 category. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/GdTestCase.php | 35 | public static function createTestImageTransparent(int $width, int $height): Image |
| LOW | tests/Unit/DataUriTest.php | 34 | public static function getSetMediaTypeDataProvider(): Generator |
| LOW | tests/Unit/DataUriTest.php | 192 | public function testCreateStaticFactoryMinimal(): void |
| LOW | tests/Unit/DataUriTest.php | 200 | public function testCreateStaticFactoryWithMediaTypeEnum(): void |
| LOW | tests/Unit/DataUriTest.php | 234 | public function testDebugInfoWithoutMediaType(): void |
| LOW | tests/Unit/EncodedImageTest.php | 21 | public function testConstructorFromResource(): void |
| LOW | tests/Unit/EncodedImageTest.php | 86 | public function testDebugInfoWhenSizeThrows(): void |
| LOW | tests/Unit/SizeTest.php | 36 | public function testConstructorNegativeWidth(): void |
| LOW | tests/Unit/SizeTest.php | 42 | public function testConstructorNegativeHeight(): void |
| LOW | tests/Unit/SizeTest.php | 48 | public function testConstructorZeroDimensions(): void |
| LOW | tests/Unit/SizeTest.php | 218 | public function testMovePivotWithInvalidAlignmentFallsToDefault(): void |
| LOW | tests/Unit/SizeTest.php | 244 | public function testAlignPivotToBottomRight(): void |
| LOW | tests/Unit/SizeTest.php | 343 | public function testResizeDownDoesNotUpscale(): void |
| LOW | tests/Unit/SizeTest.php | 375 | public function testScaleDownDoesNotUpscale(): void |
| LOW | tests/Unit/SizeTest.php | 407 | public function testContainDownDoesNotUpscale(): void |
| LOW | tests/Unit/SizeTest.php | 490 | public function testScaleBothWidthAndHeight(): void |
| LOW | tests/Unit/SizeTest.php | 498 | public function testScaleDownBothWidthAndHeight(): void |
| LOW | tests/Unit/FileExtensionTest.php | 142 | public function testCreateFromMediaTypeString(): void |
| LOW | tests/Unit/FileTest.php | 27 | public function testConstructorFromString(): void |
| LOW | tests/Unit/FileTest.php | 33 | public function testConstructorFromResource(): void |
| LOW | tests/Unit/FileTest.php | 78 | public function testSaveDirectoryNotFound(): void |
| LOW | tests/Unit/FileTest.php | 123 | public function testConstructorInvalidType(): void |
| LOW | tests/Unit/OriginTest.php | 42 | public function testFileExtensionWithoutExtension(): void |
| LOW | tests/Unit/OriginTest.php | 104 | public function testDebugInfoWithoutFilePath(): void |
| LOW | tests/Unit/ResolutionTest.php | 101 | public function testPerInchWhenAlreadyInch(): void |
| LOW | tests/Unit/ResolutionTest.php | 139 | public function testNegativeXThrowsException(): void |
| LOW | tests/Unit/ResolutionTest.php | 145 | public function testNegativeYThrowsException(): void |
| LOW | tests/Unit/AnimationFactoryTest.php | 37 | public function testAnimationEmptyCallback(DriverInterface $driver): void |
| LOW | tests/Unit/AnimationFactoryTest.php | 51 | public function testAnimationEmptyFactory(DriverInterface $driver): void |
| LOW | tests/Unit/AnimationFactoryTest.php | 75 | public function testCallMagicMethodOnFrame(DriverInterface $driver): void |
| LOW | tests/Unit/AnimationFactoryTest.php | 86 | public function testCallMagicMethodWithInvalidMethod(): void |
| LOW | tests/Unit/AnimationFactoryTest.php | 95 | public function testBuildFrameWithColorSource(DriverInterface $driver): void |
| LOW | tests/Unit/FormatTest.php | 328 | public function testEncoderWithFilteredOptions(): void |
| LOW | tests/Unit/ImageTest.php | 376 | public function testDrawRectangleWithObject(): void |
| LOW | tests/Unit/ImageTest.php | 573 | public function testEncodeUsingFileExtension(): void |
| LOW | tests/Unit/ImageTest.php | 610 | public function testSaveWithoutPathAndNoOrigin(): void |
| LOW | tests/Unit/ImageTest.php | 718 | public function testSetColorspaceWithObject(): void |
| LOW | tests/Unit/AlignmentTest.php | 52 | public function testAlignHorizontallyFallback(): void |
| LOW | tests/Unit/AlignmentTest.php | 57 | public function testAlignVerticallyFallback(): void |
| LOW | tests/Unit/AlignmentTest.php | 92 | public static function alignHorizontallyDataProvider(): Generator |
| LOW | tests/Unit/AlignmentTest.php | 185 | public static function alignVerticallyDataProvider(): Generator |
| LOW | tests/Unit/MediaTypeTest.php | 32 | public function testCreateFromFileExtensionString(): void |
| LOW | tests/Unit/MediaTypeTest.php | 189 | public static function fileExtensionsDataProvider(): Generator |
| LOW | tests/Unit/InputHandlerTest.php | 35 | public function testHandleDefaultDecoders( |
| LOW | tests/Unit/InputHandlerTest.php | 85 | public function testUsingDecodersStaticFactory(): void |
| LOW | tests/Unit/InputHandlerTest.php | 92 | public function testUsingDecodersStaticFactoryWithDriver(): void |
| LOW | tests/Unit/InputHandlerTest.php | 120 | public function testHandleUnsupportedInput(): void |
| LOW | tests/Unit/InputHandlerTest.php | 127 | public function testSpecializeDecoderThrowsDriverException(): void |
| LOW | tests/Unit/ImageManagerTest.php | 44 | public function testConstructorUnkownClass(): void |
| LOW | tests/Unit/ImageManagerTest.php | 50 | public function testConstructorNonDriverClass(): void |
| LOW | tests/Unit/ImageManagerTest.php | 58 | public function testConstructorWithOptions(string|DriverInterface $driver): void |
| LOW | tests/Unit/ImageManagerTest.php | 116 | public function testCreateImageWithAnimationFactory(string|DriverInterface $driver): void |
| LOW | tests/Unit/ConfigTest.php | 95 | public function testSetOptionsInvalidProperty(): void |
| LOW | tests/Unit/ConfigTest.php | 111 | public function testSetOptionsWithSingleNonArrayPositionalArg(): void |
| LOW | tests/Unit/Modifiers/TextModifierTest.php | 109 | public function testTextColorTransparentWithStrokeThrowsException(): void |
| LOW | tests/Unit/Modifiers/TextModifierTest.php | 163 | public function testStrokeColorTransparentThrowsException(): void |
| LOW | tests/Unit/Modifiers/ResizeModifierTest.php | 15 | public function testConstructorThrowsWithNoArguments(): void |
| LOW | tests/Unit/Modifiers/ResizeModifierTest.php | 27 | public function testConstructorWithHeight(): void |
| LOW | tests/Unit/Modifiers/ColorspaceModifierTest.php | 22 | public function testTargetColorspaceWithInstance(): void |
| LOW | tests/Unit/Modifiers/ColorspaceModifierTest.php | 54 | public function testTargetColorspaceSrgba(): void |
| 316 more matches not shown… | |||