Skip to content

Commit

Permalink
Merge pull request #20 from Roave/remove-php73-support
Browse files Browse the repository at this point in the history
Removed support for PHP 7.3
  • Loading branch information
Ocramius committed Oct 1, 2020
2 parents 577ee14 + 886ae4d commit bbbcc31
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/phpunit.yml
Expand Up @@ -17,7 +17,6 @@ jobs:
- "highest"
- "locked"
php-version:
- "7.3"
- "7.4"
operating-system:
- "ubuntu-latest"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -3,7 +3,7 @@
"description": "Sign and verify stuff",
"license": "MIT",
"require": {
"php": "^7.3 || ^7.4"
"php": "7.4.*"
},
"require-dev": {
"phpunit/phpunit": "^9.3",
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions phpcs.xml.dist
Expand Up @@ -17,8 +17,5 @@

<rule ref="Doctrine">
<exclude name="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix"/>

<!-- Only for php7.3 support for now - to be removed once we drop php7.3 support -->
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint" />
</rule>
</ruleset>
3 changes: 1 addition & 2 deletions src/Encoder/HmacEncoder.php
Expand Up @@ -9,8 +9,7 @@

final class HmacEncoder implements EncoderInterface
{
/** @var string */
private $hmacKey;
private string $hmacKey;

public function __construct(string $hmacKey)
{
Expand Down
3 changes: 1 addition & 2 deletions src/FileContentChecker.php
Expand Up @@ -11,8 +11,7 @@

final class FileContentChecker implements CheckerInterface
{
/** @var EncoderInterface */
private $encoder;
private EncoderInterface $encoder;

/**
* {@inheritDoc}
Expand Down
3 changes: 1 addition & 2 deletions src/FileContentSigner.php
Expand Up @@ -8,8 +8,7 @@

final class FileContentSigner implements SignerInterface
{
/** @var EncoderInterface */
private $encoder;
private EncoderInterface $encoder;

/**
* {@inheritDoc}
Expand Down

0 comments on commit bbbcc31

Please sign in to comment.