Skip to content

Commit fdf03e6

Browse files
committed
chore: upgrade to php 8.3
1 parent ed1ae97 commit fdf03e6

File tree

7 files changed

+407
-801
lines changed

7 files changed

+407
-801
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,24 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88

99
jobs:
1010
build:
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
matrix:
14-
os: [ubuntu-latest, windows-latest, macOS-latest]
15-
php-versions: ['7.4', '8.0']
11+
runs-on: ubuntu-latest
1612

17-
name: Test on ${{ matrix.os }} with PHP ${{ matrix.php-versions }}
1813
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
2115

22-
- name: Setup PHP
23-
uses: shivammathur/setup-php@v1
16+
- name: 🐘 Setup PHP
17+
uses: shivammathur/setup-php@v2
2418
with:
25-
php-version: ${{ matrix.php-versions }}
19+
php-version: '8.3'
2620
coverage: none
2721

28-
- name: Install dependencies
22+
- name: ⬇️ Install dependencies
2923
run: composer install --ignore-platform-reqs
3024

31-
- name: Run the tests
25+
- name: Run the tests
3226
run: composer phpunit

.scrutinizer.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.semver

Lines changed: 0 additions & 5 deletions
This file was deleted.

composer.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@
33
"description": "Starting point if you want to bootstrap a project in PHP following best practices.",
44
"type": "project",
55
"keywords": ["bootstrap", "skeleton", "kata", "TDD", "boilerplate"],
6-
"homepage": "https://codely.tv",
6+
"homepage": "https://codely.com",
77
"license": "MIT",
88
"authors": [
99
{
1010
"name": "CodelyTV",
11-
"homepage": "https://codely.tv"
11+
"homepage": "https://codely.com"
1212
}
1313
],
1414
"require": {
15-
"php": "^7.4||^8.0"
15+
"php": "^8.3"
1616
},
1717
"require-dev": {
18-
"squizlabs/php_codesniffer": "^3.5",
19-
"phpunit/phpunit": "^9.4"
18+
"phpunit/phpunit": "^11.1"
2019
},
2120
"autoload": {
2221
"psr-4": {
@@ -29,9 +28,6 @@
2928
}
3029
},
3130
"minimum-stability": "stable",
32-
"config": {
33-
"optimize-autoloader": true
34-
},
3531
"prefer-stable": true,
3632
"scripts": {
3733
"style": "phpcs -p --standard=PSR2 src tests",

0 commit comments

Comments
 (0)