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 e0ae099 commit a4547b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 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: [master]
branches: [master, php-8.3-compatibility]
pull_request:
release:
types: [created]
Expand All @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
composer-flags: [ "" ]
include:
- php: 7.2
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
php-version: "8.3"
coverage: none
- name: Install dependencies
run: COMPOSER_ROOT_VERSION=dev-master composer update
Expand Down
11 changes: 8 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
],

"require": {
"php": "^7.2 || 8.0.* || 8.1.* || 8.2.*",
"php": "^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.*",
"phpdocumentor/reflection-docblock": "^5.2",
"sebastian/comparator": "^3.0 || ^4.0 || ^5.0",
"doctrine/instantiator": "^1.2 || ^2.0",
"sebastian/recursion-context": "^3.0 || ^4.0 || ^5.0"
},

"require-dev": {
"phpspec/phpspec": "^6.0 || ^7.0",
"phpspec/phpspec": "^6.0 || ^7.0 || dev-php-8.3-compatibility",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^8.0 || ^9.0 || ^10.0"
},
Expand All @@ -36,7 +36,12 @@
"Prophecy\\": "src/Prophecy"
}
},

"repositories": {
"phpspec": {
"type": "vcs",
"url": "git@github.com:rajeshreeputra/phpspec.git"
}
},
"autoload-dev": {
"psr-4": {
"Fixtures\\Prophecy\\": "fixtures",
Expand Down

0 comments on commit a4547b9

Please sign in to comment.