Skip to content

Commit

Permalink
Sets minimum PHP version to 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotjreed committed Dec 16, 2023
1 parent 98dbd20 commit eb9b3a9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.0', '8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Have I Been Pwned PHP

PHP 8.1 or above is required. For PHP 7.4 to 8.0 please use verison 1.2.x.

## Usage

A Have I Been Pwned API key is required. This can be obtained on a monthly subscription basis, or a one-off monthly access charge.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
},
"require": {
"php": "^8.0",
"php": "^8.1",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.0"
},
Expand Down
4 changes: 3 additions & 1 deletion ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<description>Coding standards for all Elliot J. Reed projects</description>
<arg value="p"/>
<arg name="colors"/>
<rule ref="PSR2"/>
<rule ref="PSR2">
<exclude name="Generic.Files.LineLength"/>
</rule>
<rule ref="PSR12"/>
<file>./src</file>
<file>./tests</file>
Expand Down

0 comments on commit eb9b3a9

Please sign in to comment.