Skip to content

Commit

Permalink
PHP 8.3 compatibility checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshreeputra committed Aug 24, 2023
1 parent 28faa87 commit cc689cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [main, next, master, 2.5, 3.4, 4.3, 5.1, 6.3]
branches: [main, next, master, php-8.3-compatibility, 2.5, 3.4, 4.3, 5.1, 6.3]
pull_request:
release:
types: [created]
Expand All @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["7.3", "7.4", "8.0", "8.1", "8.2"]
php: ["7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
operating-system: [ ubuntu-latest, macOS-latest, windows-latest ]
composer-flags: [""]
composer-extras: [""]
Expand All @@ -30,6 +30,8 @@ jobs:
operating-system: windows-latest
- php: "8.2"
stability: "dev"
- php: "8.3"
stability: "dev"

env:
COMPOSER_ROOT_VERSION: dev-master
Expand Down
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
],

"require": {
"php": "^7.3 || 8.0.* || 8.1.* || 8.2.*",
"phpspec/prophecy": "^1.9",
"php": "^7.3 || 8.0.* || 8.1.* || 8.2.* || 8.3.*",
"phpspec/prophecy": "^1.9 || dev-php-8.3-compatibility",
"phpspec/php-diff": "^1.0.0",
"sebastian/exporter": "^3.0 || ^4.0 || ^5.0",
"symfony/console": "^3.4 || ^4.4 || ^5.0 || ^6.0",
Expand Down Expand Up @@ -56,6 +56,13 @@
}
},

"repositories": {
"prophecy": {
"type": "vcs",
"url": "[email protected]:rajeshreeputra/prophecy.git"
}
},

"autoload-dev": {
"psr-0": {
"spec\\PhpSpec": "."
Expand Down

0 comments on commit cc689cd

Please sign in to comment.