Skip to content

Commit

Permalink
Require PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Jun 21, 2024
1 parent 464afd6 commit b3f9120
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
matrix:
include:
- operating-system: "ubuntu-latest"
php-version: "8.1"
php-version: "8.3"

steps:
- name: "Checkout"
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
matrix:
include:
- operating-system: "ubuntu-latest"
php-version: "8.1"
php-version: "8.3"

steps:
- name: "Checkout"
Expand Down Expand Up @@ -100,18 +100,26 @@ jobs:
strategy:
matrix:
operating-system: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
php-version: [ "8.1" ]
operating-system: [ "ubuntu-latest" ]
php-version: [ "8.3" ]
composer-flags: [ "" ]
experimental: [ false ]
include:
- operating-system: "ubuntu-latest"
php-version: "8.1"
php-version: "8.3"
composer-flags: "--prefer-lowest --prefer-stable"
experimental: false
- operating-system: "ubuntu-latest"
php-version: "8.2"
php-version: "8.4"
composer-flags: "--ignore-platform-req=php+"
experimental: true
- operating-system: "macos-latest"
php-version: "8.3"
composer-flags: ""
experimental: false
- operating-system: "windows-latest"
php-version: "8.3"
composer-flags: ""
experimental: false

steps:
Expand Down Expand Up @@ -162,7 +170,7 @@ jobs:
matrix:
include:
- operating-system: "ubuntu-latest"
php-version: "8.1"
php-version: "8.3"

steps:
- name: "Coveralls"
Expand All @@ -182,7 +190,7 @@ jobs:
matrix:
include:
- operating-system: "ubuntu-latest"
php-version: "8.1"
php-version: "8.3"

steps:
- name: "Checkout"
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
],
"require": {
"php": ">=8.1.0 <8.3.0",
"php": "8.3 - 8.3",
"brick/date-time": "^0.4.1",
"brick/math": "^0.11.0",
"brick/money": "^0.8.0",
Expand Down Expand Up @@ -57,7 +57,7 @@
"orisai/nette-clock": "^1.0.0",
"orisai/nette-console": "^1.2.0",
"orisai/nette-data-sources": "^1.0.0",
"orisai/nette-di": "dev-f/installer as 1.3.1",
"orisai/nette-di": "dev-f/installer as 1.3.3",
"orisai/nette-http": "^1.1.0",
"orisai/nette-monolog": "^1.2.3",
"orisai/nette-scheduler": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion tools/phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<arg name="cache" value="./../var/tools/PHP_CodeSniffer/cache.dat"/>

<!-- Import coding-standard -->
<rule ref="./../vendor/orisai/coding-standard/src/ruleset-8.1.xml"/>
<rule ref="./../vendor/orisai/coding-standard/src/ruleset-8.3.xml"/>

<!-- Configure PSR-4 rule -->
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
Expand Down

0 comments on commit b3f9120

Please sign in to comment.