Skip to content

Commit e7d95f5

Browse files
committed
Increase PHP version requirement to 8.2
1 parent f3c499c commit e7d95f5

23 files changed

+1840
-1277
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
lint-test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Set up PHP
20+
uses: shivammathur/setup-php@v2
21+
with:
22+
php-version: '8.2'
23+
24+
- name: Install dependencies
25+
run: composer install --no-progress --no-suggest --no-interaction
26+
27+
- name: Check coding standards
28+
run: ./vendor/bin/ecs check
29+
30+
- name: Run PHPUnit tests
31+
run: ./vendor/bin/phpunit

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
vendor
1+
/vendor
2+
/.phpunit.result.cache
3+
/.phpunit.cache

.travis.yml

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

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ A lightweight form system for Symfony Console commands.
44
Commands can define forms which can be used both via command-line options and
55
via interactive input.
66

7-
[![Build Status](https://travis-ci.org/platformsh/console-form.svg?branch=master)](https://travis-ci.org/platformsh/console-form)
8-
97
## Example
108
```php
119
<?php

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"description": "A lightweight Symfony Console form system.",
44
"license": "MIT",
55
"require": {
6-
"php": ">=5.5.9",
7-
"symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.0 || ^2.6"
6+
"php": "^8.2",
7+
"symfony/console": "^7.0 || ^6.0"
88
},
99
"require-dev": {
10-
"phpunit/phpunit": "^5.0"
10+
"phpunit/phpunit": "^11",
11+
"symplify/easy-coding-standard": "^12.3"
1112
},
1213
"autoload": {
1314
"psr-4": {
@@ -21,7 +22,7 @@
2122
],
2223
"config": {
2324
"platform": {
24-
"php": "5.6"
25+
"php": "8.2"
2526
}
2627
}
2728
}

0 commit comments

Comments
 (0)