Skip to content

Commit

Permalink
Merge pull request #14 from transprime-research/bump-min-version-to-p…
Browse files Browse the repository at this point in the history
…hp-7.4

feat: set minimum php version to 7.4
  • Loading branch information
omitobi authored Apr 27, 2024
2 parents b305bae + 7d2f940 commit 7f16966
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
],
"require": {
"php": ">=7.2"
"php": ">=7.4"
},
"require-dev": {
"phpunit/phpunit": ">=6.0",
Expand Down
4 changes: 3 additions & 1 deletion src/CallablePiper.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Transprime\Piper;

Expand Down
2 changes: 2 additions & 0 deletions src/Exceptions/PiperException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Transprime\Piper\Exceptions;

class PiperException extends \Exception
Expand Down
4 changes: 3 additions & 1 deletion src/Link.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

namespace Transprime\Piper;
declare(strict_types=1);

namespace Transprime\Piper;

/**
* Add Methods doc blocks here if needed
Expand Down
2 changes: 2 additions & 0 deletions src/On.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Transprime\Piper;

trait On
Expand Down
2 changes: 2 additions & 0 deletions src/Piper.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Transprime\Piper;

use Transprime\Piper\Exceptions\PiperException;
Expand Down
4 changes: 3 additions & 1 deletion tests/PiperTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Piper\Tests;

Expand Down

0 comments on commit 7f16966

Please sign in to comment.