Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Add CoordinateSystem48Well
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Jun 12, 2023
1 parent cf3228f commit cd022df
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## v5.5.0

### Added

- Add `CoordinateSystem48Well`

## v5.4.0

### Added

- Add `MicroplateSet` possibility to calculate a `Location` within this set by a position
- Add `MicroplateSet` possibility to calculate a `Location` within this set by a position

## v5.3.0

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ coverage: vendor ## Collects coverage from running unit tests with phpunit

.PHONY: fix
fix: vendor ## Apply automatic code fixes
vendor/bin/php-cs-fixer fix
vendor/bin/rector process
vendor/bin/php-cs-fixer fix

.PHONY: infection
infection: vendor ## Runs mutation tests with infection
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"infection/infection": "~0.25",
"jangregor/phpstan-prophecy": "^1",
"mll-lab/graphql-php-scalars": "^6",
"mll-lab/php-cs-fixer-config": "^4.3",
"mll-lab/php-cs-fixer-config": "^5",
"mll-lab/rector-config": "^2",
"nunomaduro/larastan": "^1 || ^2",
"orchestra/testbench": "^5 || ^6 || ^7 || ^8",
Expand Down
16 changes: 16 additions & 0 deletions src/CoordinateSystem48Well.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php declare(strict_types=1);

namespace Mll\Microplate;

final class CoordinateSystem48Well extends CoordinateSystem
{
public function rows(): array
{
return range('A', 'F');
}

public function columns(): array
{
return range(1, 8);
}
}

0 comments on commit cd022df

Please sign in to comment.