Skip to content

Commit

Permalink
not final
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Apr 23, 2024
1 parent b194187 commit 4d63fb6
Show file tree
Hide file tree
Showing 52 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion src/CSVArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Illuminate\Support\Arr;

/** @phpstan-type CSVPrimitive bool|float|int|string|\Stringable|null */
final class CSVArray
class CSVArray
{
/**
* TODO: fix parsing multiline-content in csv.
Expand Down
2 changes: 1 addition & 1 deletion src/FluidXPlate/FluidXPlate.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use MLL\Utils\Microplate\Enums\FlowDirection;
use MLL\Utils\Microplate\Microplate;

final class FluidXPlate
class FluidXPlate
{
public const FLUIDX_BARCODE_REGEX = /* @lang RegExp */ '/' . self::FLUIDX_BARCODE_REGEX_WITHOUT_DELIMITER . '/';
public const FLUIDX_BARCODE_REGEX_WITHOUT_DELIMITER = '[A-Z]{2}(\d){8}';
Expand Down
2 changes: 1 addition & 1 deletion src/FluidXPlate/InvalidRackIDException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\FluidXPlate;

final class InvalidRackIDException extends FluidXPlateException
class InvalidRackIDException extends FluidXPlateException
{
public function __construct(string $rackID)
{
Expand Down
2 changes: 1 addition & 1 deletion src/FluidXPlate/InvalidTubeBarcodeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\FluidXPlate;

final class InvalidTubeBarcodeException extends FluidXPlateException
class InvalidTubeBarcodeException extends FluidXPlateException
{
public function __construct(string $tubeBarcode)
{
Expand Down
2 changes: 1 addition & 1 deletion src/FluidXPlate/Scalars/FluidXBarcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use MLL\GraphQLScalars\Regex;
use MLL\Utils\FluidXPlate\FluidXPlate;

final class FluidXBarcode extends Regex
class FluidXBarcode extends Regex
{
public ?string $description = 'A valid barcode for FluidX-Tubes or FluidX-Plates represented as a string, e.g. `XR12345678`.';

Expand Down
2 changes: 1 addition & 1 deletion src/FluidXPlate/Scalars/FrameStarBarcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use MLL\GraphQLScalars\Regex;

final class FrameStarBarcode extends Regex
class FrameStarBarcode extends Regex
{
public const FRAME_STAR_BARCODE_REGEX = /* @lang RegExp */ '/[A-Z]{2}(\d){6}/';

Expand Down
2 changes: 1 addition & 1 deletion src/FluidXPlate/ScanFluidXPlateException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

namespace MLL\Utils\FluidXPlate;

final class ScanFluidXPlateException extends FluidXPlateException {}
class ScanFluidXPlateException extends FluidXPlateException {}
2 changes: 1 addition & 1 deletion src/Microplate/Casts/Coordinates96Well.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use MLL\Utils\Microplate\CoordinateSystem96Well;

/** @implements CastsAttributes<Coordinates<CoordinateSystem96Well>, Coordinates<CoordinateSystem96Well>> */
final class Coordinates96Well implements CastsAttributes
class Coordinates96Well implements CastsAttributes
{
/**
* @param Model $model
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/CoordinateSystem12Well.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Microplate;

final class CoordinateSystem12Well extends CoordinateSystem
class CoordinateSystem12Well extends CoordinateSystem
{
/** Duplicates @see CoordinateSystem::positionsCount() for static contexts. */
public const POSITIONS_COUNT = 12;
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/CoordinateSystem48Well.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Microplate;

final class CoordinateSystem48Well extends CoordinateSystem
class CoordinateSystem48Well extends CoordinateSystem
{
/** Duplicates @see CoordinateSystem::positionsCount() for static contexts. */
public const POSITIONS_COUNT = 48;
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/CoordinateSystem96Well.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Microplate;

final class CoordinateSystem96Well extends CoordinateSystem
class CoordinateSystem96Well extends CoordinateSystem
{
/** Duplicates @see CoordinateSystem::positionsCount() for static contexts. */
public const POSITIONS_COUNT = 96;
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Coordinates.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use function Safe\preg_match;

/** @template TCoordinateSystem of CoordinateSystem */
final class Coordinates
class Coordinates
{
public const MIN_POSITION = 1;

Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Enums/FlowDirection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Microplate\Enums;

final class FlowDirection
class FlowDirection
{
public const ROW = 'ROW';
public const COLUMN = 'COLUMN';
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Exceptions/MicroplateIsFullException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Microplate\Exceptions;

final class MicroplateIsFullException extends \UnexpectedValueException
class MicroplateIsFullException extends \UnexpectedValueException
{
public function __construct()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Exceptions/SectionDoesNotExistException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

namespace MLL\Utils\Microplate\Exceptions;

final class SectionDoesNotExistException extends \Exception {}
class SectionDoesNotExistException extends \Exception {}
2 changes: 1 addition & 1 deletion src/Microplate/Exceptions/SectionIsFullException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Microplate\Exceptions;

final class SectionIsFullException extends \UnexpectedValueException
class SectionIsFullException extends \UnexpectedValueException
{
public function __construct()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Exceptions/UnexpectedFlowDirection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use MLL\Utils\Microplate\Enums\FlowDirection;

final class UnexpectedFlowDirection extends \UnexpectedValueException
class UnexpectedFlowDirection extends \UnexpectedValueException
{
public function __construct(FlowDirection $flowDirection)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Exceptions/WellNotEmptyException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

namespace MLL\Utils\Microplate\Exceptions;

final class WellNotEmptyException extends \Exception {}
class WellNotEmptyException extends \Exception {}
2 changes: 1 addition & 1 deletion src/Microplate/FullColumnSection.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @extends AbstractSection<TSectionWell>
*/
final class FullColumnSection extends AbstractSection
class FullColumnSection extends AbstractSection
{
public function __construct(SectionedMicroplate $sectionedMicroplate)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Microplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @phpstan-type WellsCollection Collection<string, TWell|null>
*/
final class Microplate extends AbstractMicroplate
class Microplate extends AbstractMicroplate
{
/** @var WellsCollection */
protected Collection $wells;
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/MicroplateSet/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use MLL\Utils\Microplate\CoordinateSystem;

/** @template TCoordinateSystem of CoordinateSystem */
final class Location
class Location
{
public string $plateID;

Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/MicroplateSet/MicroplateSetAB.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @phpstan-extends MicroplateSet<TCoordinateSystem>
*/
final class MicroplateSetAB extends MicroplateSet
class MicroplateSetAB extends MicroplateSet
{
/** Duplicates @see MicroplateSet::plateCount() for static contexts. */
public const PLATE_COUNT = 2;
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/MicroplateSet/MicroplateSetABCD.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @phpstan-extends MicroplateSet<TCoordinateSystem>
*/
final class MicroplateSetABCD extends MicroplateSet
class MicroplateSetABCD extends MicroplateSet
{
/** Duplicates @see MicroplateSet::plateCount() for static contexts. */
public const PLATE_COUNT = 4;
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/MicroplateSet/MicroplateSetABCDE.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @phpstan-extends MicroplateSet<TCoordinateSystem>
*/
final class MicroplateSetABCDE extends MicroplateSet
class MicroplateSetABCDE extends MicroplateSet
{
/** Duplicates @see MicroplateSet::plateCount() for static contexts. */
public const PLATE_COUNT = 5;
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Scalars/Column96Well.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use GraphQL\Type\Definition\ScalarType;
use GraphQL\Utils\Utils;

final class Column96Well extends ScalarType
class Column96Well extends ScalarType
{
public const MAX_INT = 12;
public const MIN_INT = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Scalars/Row96Well.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use MLL\GraphQLScalars\Regex;

final class Row96Well extends Regex
class Row96Well extends Regex
{
public ?string $description = 'Checks if the given row is of the format 96-well row';

Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/Section.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @extends AbstractSection<TSectionWell>
*/
final class Section extends AbstractSection
class Section extends AbstractSection
{
/**
* @param TSectionWell $content
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/SectionedMicroplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @phpstan-extends AbstractMicroplate<TWell, TCoordinateSystem>
*/
final class SectionedMicroplate extends AbstractMicroplate
class SectionedMicroplate extends AbstractMicroplate
{
/** @var Collection<string, TSection> */
public Collection $sections;
Expand Down
2 changes: 1 addition & 1 deletion src/Microplate/WellWithCoordinates.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @template TWell
* @template TCoordinateSystem of CoordinateSystem
*/
final class WellWithCoordinates
class WellWithCoordinates
{
/** @var TWell */
public $content;
Expand Down
2 changes: 1 addition & 1 deletion src/Number.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils;

final class Number
class Number
{
/**
* Return number as long as its clamped between min and max.
Expand Down
2 changes: 1 addition & 1 deletion src/StringUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\Support\Str;

final class StringUtil
class StringUtil
{
/** https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8 */
public const UTF_8_BOM = "\xEF\xBB\xBF";
Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/BasicCommands/Aspirate.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use MLL\Utils\Tecan\LiquidClass\LiquidClass;
use MLL\Utils\Tecan\Location\Location;

final class Aspirate extends BasicPipettingActionCommand
class Aspirate extends BasicPipettingActionCommand
{
/**
* @param float $volume Floating point values are accepted and do not cause an error,
Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/BasicCommands/AspirateAndDispenseParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use MLL\Utils\Tecan\Rack\Rack;

final class AspirateAndDispenseParameters
class AspirateAndDispenseParameters
{
private Rack $rack;

Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/BasicCommands/BreakCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Tecan\BasicCommands;

final class BreakCommand extends Command
class BreakCommand extends Command
{
public function toString(): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/BasicCommands/Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Tecan\BasicCommands;

final class Comment extends Command
class Comment extends Command
{
private string $comment;

Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/BasicCommands/Dispense.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use MLL\Utils\Tecan\LiquidClass\LiquidClass;
use MLL\Utils\Tecan\Location\Location;

final class Dispense extends BasicPipettingActionCommand
class Dispense extends BasicPipettingActionCommand
{
/**
* @param float $volume Floating point values are accepted and do not cause an error,
Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/BasicCommands/ReagentDistribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use MLL\Utils\Tecan\LiquidClass\LiquidClass;
use MLL\Utils\Tecan\ReagentDistribution\ReagentDistributionDirection;

final class ReagentDistribution extends Command
class ReagentDistribution extends Command
{
private AspirateAndDispenseParameters $source;

Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/BasicCommands/Wash.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Tecan\BasicCommands;

final class Wash extends Command
class Wash extends Command
{
public function toString(): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/CustomCommands/AspirateParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use MLL\Utils\Tecan\BasicCommands\AspirateAndDispenseParameters;
use MLL\Utils\Tecan\Rack\Rack;

final class AspirateParameters
class AspirateParameters
{
private Rack $rack;

Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/CustomCommands/DispenseParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use MLL\Utils\Tecan\BasicCommands\AspirateAndDispenseParameters;
use MLL\Utils\Tecan\Rack\Rack;

final class DispenseParameters
class DispenseParameters
{
public Rack $rack;

Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/CustomCommands/MLLReagentDistribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use MLL\Utils\Tecan\LiquidClass\LiquidClass;
use MLL\Utils\Tecan\ReagentDistribution\ReagentDistributionDirection;

final class MLLReagentDistribution extends Command
class MLLReagentDistribution extends Command
{
public const NUMBER_OF_DITI_REUSES = 6;
public const NUMBER_OF_MULTI_DISP = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/CustomCommands/TransferWithAutoWash.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use MLL\Utils\Tecan\Location\Location;
use MLL\Utils\Tecan\TecanProtocol;

final class TransferWithAutoWash extends Command implements UsesTipMask
class TransferWithAutoWash extends Command implements UsesTipMask
{
private Aspirate $aspirate;

Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/LiquidClass/CustomLiquidClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MLL\Utils\Tecan\LiquidClass;

final class CustomLiquidClass implements LiquidClass
class CustomLiquidClass implements LiquidClass
{
private string $name;

Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/Location/BarcodeLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use MLL\Utils\Tecan\Rack\Rack;

final class BarcodeLocation implements Location
class BarcodeLocation implements Location
{
private string $barcode;

Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/Location/PositionLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use MLL\Utils\Tecan\Rack\Rack;

final class PositionLocation implements Location
class PositionLocation implements Location
{
private int $position;

Expand Down
Loading

0 comments on commit 4d63fb6

Please sign in to comment.