mirror of
https://github.com/Intervention/image.git
synced 2025-08-21 21:15:11 +02:00
Add placeholder comments in empty class bodies & constructors
This commit is contained in:
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableAnalyzer;
|
||||
|
||||
class ColorspaceAnalyzer extends SpecializableAnalyzer
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableAnalyzer;
|
||||
|
||||
class HeightAnalyzer extends SpecializableAnalyzer
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -13,5 +13,6 @@ class PixelColorAnalyzer extends SpecializableAnalyzer
|
||||
public int $y,
|
||||
public int $frame_key = 0
|
||||
) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -12,5 +12,6 @@ class PixelColorsAnalyzer extends SpecializableAnalyzer
|
||||
public int $x,
|
||||
public int $y
|
||||
) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableAnalyzer;
|
||||
|
||||
class ProfileAnalyzer extends SpecializableAnalyzer
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableAnalyzer;
|
||||
|
||||
class ResolutionAnalyzer extends SpecializableAnalyzer
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableAnalyzer;
|
||||
|
||||
class WidthAnalyzer extends SpecializableAnalyzer
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Colors\Cmyk\Channels;
|
||||
|
||||
class Key extends Cyan
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Colors\Cmyk\Channels;
|
||||
|
||||
class Magenta extends Cyan
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Colors\Cmyk\Channels;
|
||||
|
||||
class Yellow extends Cyan
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Colors\Rgb\Channels;
|
||||
|
||||
class Blue extends Red
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Colors\Rgb\Channels;
|
||||
|
||||
class Green extends Red
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableDecoder;
|
||||
|
||||
class Base64ImageDecoder extends SpecializableDecoder
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableDecoder;
|
||||
|
||||
class BinaryImageDecoder extends SpecializableDecoder
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableDecoder;
|
||||
|
||||
class DataUriImageDecoder extends SpecializableDecoder
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableDecoder;
|
||||
|
||||
class EncodedImageObjectDecoder extends SpecializableDecoder
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableDecoder;
|
||||
|
||||
class FilePathImageDecoder extends SpecializableDecoder
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableDecoder;
|
||||
|
||||
class FilePointerImageDecoder extends SpecializableDecoder
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableDecoder;
|
||||
|
||||
class NativeObjectDecoder extends SpecializableDecoder
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableDecoder;
|
||||
|
||||
class SplFileInfoImageDecoder extends SpecializableDecoder
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -83,6 +83,7 @@ class Driver extends AbstractDriver
|
||||
protected DriverInterface $driver,
|
||||
public Core $core = new Core()
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -34,6 +34,7 @@ class Frame extends AbstractFrame implements FrameInterface
|
||||
protected int $offset_left = 0,
|
||||
protected int $offset_top = 0
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -15,6 +15,7 @@ class ColorProcessor implements ColorProcessorInterface
|
||||
{
|
||||
public function __construct(protected ColorspaceInterface $colorspace)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
public function colorToNative(ColorInterface $color): ImagickPixel
|
||||
|
@@ -27,6 +27,7 @@ class Core implements CoreInterface, Iterator
|
||||
*/
|
||||
public function __construct(protected Imagick $imagick)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -19,5 +19,6 @@ class WebpEncoder extends SpecializableEncoder
|
||||
public int $quality = self::DEFAULT_QUALITY,
|
||||
public ?bool $strip = null
|
||||
) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class AnimationException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class ColorException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class DecoderException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class DriverException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class EncoderException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class FontException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class GeometryException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class InputException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class NotSupportedException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class NotWritableException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Exceptions;
|
||||
|
||||
class RuntimeException extends \RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -34,6 +34,7 @@ class Bezier implements IteratorAggregate, Countable, ArrayAccess, DrawableInter
|
||||
protected array $points = [],
|
||||
protected PointInterface $pivot = new Point()
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -27,6 +27,7 @@ class Ellipse implements DrawableInterface
|
||||
protected int $height,
|
||||
protected PointInterface $pivot = new Point()
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -27,6 +27,7 @@ class Line implements DrawableInterface
|
||||
protected PointInterface $end,
|
||||
protected int $width = 1
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -21,6 +21,7 @@ class Pixel extends Point
|
||||
protected int $x,
|
||||
protected int $y
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -34,6 +34,7 @@ class Polygon implements IteratorAggregate, Countable, ArrayAccess, DrawableInte
|
||||
protected array $points = [],
|
||||
protected PointInterface $pivot = new Point()
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Interfaces;
|
||||
|
||||
interface SpecializedInterface
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -17,6 +17,7 @@ class ModifierStack implements ModifierInterface
|
||||
*/
|
||||
public function __construct(protected array $modifiers)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableModifier;
|
||||
|
||||
class AlignRotationModifier extends SpecializableModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -10,5 +10,6 @@ class BlurModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public int $amount)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -10,5 +10,6 @@ class BrightnessModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public int $level)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -21,5 +21,6 @@ class ColorizeModifier extends SpecializableModifier
|
||||
public int $green = 0,
|
||||
public int $blue = 0
|
||||
) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -14,6 +14,7 @@ class ColorspaceModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public string|ColorspaceInterface $target)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -18,6 +18,7 @@ class ContainModifier extends SpecializableModifier
|
||||
public mixed $background = 'ffffff',
|
||||
public string $position = 'center'
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -16,5 +16,6 @@ class ContrastModifier extends SpecializableModifier
|
||||
*/
|
||||
public function __construct(public int $level)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Modifiers;
|
||||
|
||||
class CoverDownModifier extends CoverModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -25,6 +25,7 @@ class CoverModifier extends SpecializableModifier
|
||||
public int $height,
|
||||
public string $position = 'center'
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -31,6 +31,7 @@ class CropModifier extends SpecializableModifier
|
||||
public mixed $background = 'ffffff',
|
||||
public string $position = 'top-left'
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -17,6 +17,7 @@ class DrawBezierModifier extends AbstractDrawModifier
|
||||
*/
|
||||
public function __construct(public Bezier $drawable)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -11,6 +11,7 @@ class DrawEllipseModifier extends AbstractDrawModifier
|
||||
{
|
||||
public function __construct(public Ellipse $drawable)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
public function drawable(): DrawableInterface
|
||||
|
@@ -17,6 +17,7 @@ class DrawLineModifier extends AbstractDrawModifier
|
||||
*/
|
||||
public function __construct(public Line $drawable)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -20,5 +20,6 @@ class DrawPixelModifier extends SpecializableModifier
|
||||
public PointInterface $position,
|
||||
public mixed $color
|
||||
) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -11,6 +11,7 @@ class DrawPolygonModifier extends AbstractDrawModifier
|
||||
{
|
||||
public function __construct(public Polygon $drawable)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
public function drawable(): DrawableInterface
|
||||
|
@@ -17,6 +17,7 @@ class DrawRectangleModifier extends AbstractDrawModifier
|
||||
*/
|
||||
public function __construct(public Rectangle $drawable)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -13,6 +13,7 @@ class FillModifier extends SpecializableModifier
|
||||
public mixed $color,
|
||||
public ?PointInterface $position = null
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
public function hasPosition(): bool
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableModifier;
|
||||
|
||||
class FlipModifier extends SpecializableModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableModifier;
|
||||
|
||||
class FlopModifier extends SpecializableModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -10,5 +10,6 @@ class GammaModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public float $gamma)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableModifier;
|
||||
|
||||
class GreyscaleModifier extends SpecializableModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableModifier;
|
||||
|
||||
class InvertModifier extends SpecializableModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -10,5 +10,6 @@ class PixelateModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public int $size)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -28,6 +28,7 @@ class PlaceModifier extends SpecializableModifier
|
||||
public int $offset_y = 0,
|
||||
public int $opacity = 100
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -11,5 +11,6 @@ class ProfileModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public ProfileInterface $profile)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -8,4 +8,5 @@ use Intervention\Image\Drivers\SpecializableModifier;
|
||||
|
||||
class ProfileRemovalModifier extends SpecializableModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -19,5 +19,6 @@ class QuantizeColorsModifier extends SpecializableModifier
|
||||
public int $limit,
|
||||
public mixed $background = 'ffffff'
|
||||
) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -14,6 +14,7 @@ class RemoveAnimationModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public int|string $position = 0)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -27,6 +27,7 @@ class ResizeCanvasModifier extends SpecializableModifier
|
||||
public mixed $background = 'ffffff',
|
||||
public string $position = 'center'
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Modifiers;
|
||||
|
||||
class ResizeCanvasRelativeModifier extends ResizeCanvasModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Modifiers;
|
||||
|
||||
class ResizeDownModifier extends ResizeModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -17,5 +17,6 @@ class ResizeModifier extends SpecializableModifier
|
||||
*/
|
||||
public function __construct(public ?int $width = null, public ?int $height = null)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -17,5 +17,6 @@ class ResolutionModifier extends SpecializableModifier
|
||||
*/
|
||||
public function __construct(public float $x, public float $y)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -10,6 +10,7 @@ class RotateModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public float $angle, public mixed $background)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Modifiers;
|
||||
|
||||
class ScaleDownModifier extends ScaleModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -6,4 +6,5 @@ namespace Intervention\Image\Modifiers;
|
||||
|
||||
class ScaleModifier extends ResizeModifier
|
||||
{
|
||||
//
|
||||
}
|
||||
|
@@ -10,5 +10,6 @@ class SharpenModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public int $amount)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -10,5 +10,6 @@ class SliceAnimationModifier extends SpecializableModifier
|
||||
{
|
||||
public function __construct(public int $offset = 0, public ?int $length = null)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
@@ -27,6 +27,7 @@ class TextModifier extends SpecializableModifier
|
||||
public PointInterface $position,
|
||||
public FontInterface $font
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -16,5 +16,6 @@ class TrimModifier extends SpecializableModifier
|
||||
*/
|
||||
public function __construct(public int $tolerance = 0)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user