Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade for Phalcon V5 and PHP 8 #1535

Merged
merged 16 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

env:
extensions: mbstring, intl, json, zip, phalcon-4.0.5, mysql, pgsql, xdebug-2.9.8
extensions: mbstring, intl, json, zip, phalcon-5.2.0, mysql, pgsql, xdebug-2.9.8
key: cache-v2.0~19.03.2020

services:
Expand All @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ '7.2', '7.3', '7.4' ]
php-versions: [ '7.4', '8.0', '8.1', '8.2' ]
steps:
- uses: actions/checkout@v1

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ with Phalcon framework.

## Requirements

* PHP >= 7.2
* Phalcon >= 4.0.0
* PHP >= 7.4.1
* Phalcon >= 5.0.0

## Installing via Composer

Expand All @@ -37,17 +37,17 @@ Create the composer.json file as follows:
```json
{
"require-dev": {
"phalcon/devtools": "~4.1"
"phalcon/devtools": "~5.0"
}
}
```

If you are still using Phalcon 3.4.x, create a `composer.json` with the following instead:
If you are still using Phalcon 4.2.x, create a `composer.json` with the following instead:

```json
{
"require-dev": {
"phalcon/devtools": "^3.4"
"phalcon/devtools": "^4.2"
}
}
```
Expand Down Expand Up @@ -116,7 +116,7 @@ This command should display something similar to:
```sh
$ phalcon --help

Phalcon DevTools (4.1.0)
Phalcon DevTools (5.0.0)

Help:
Lists the commands available in Phalcon DevTools
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@
"forum": "https://forum.phalcon.io"
},
"require": {
"php": ">=7.2",
"php": ">=7.4.1",
"ext-pdo": "*",
"ext-phalcon": "^4.0.0",
"ext-phalcon": "^5.0.0",
"psy/psysh": "~0.9",
"nikic/php-parser": "^4.2.4",
"phalcon/migrations": "^2.0",
"phalcon/migrations": "^3.0",
"vlucas/phpdotenv": "^3.6|^4.0|^5.0"
},
"require-dev": {
"humbug/box": "^3.8",
"humbug/box": "^3.11",
"codeception/codeception": "^4.1",
"phpdocumentor/reflection-docblock": "^4.3",
"phpunit/phpunit": "^8.0",
"phpdocumentor/reflection-docblock": "^5.2",
"phpunit/phpunit": "^9.0",
"codeception/specify": "^1.2",
"codeception/verify": "^1.2",
"squizlabs/php_codesniffer": "^3.5",
"phalcon/ide-stubs": "^4.0.0",
"squizlabs/php_codesniffer": "^3.7",
"phalcon/ide-stubs": "^5.0.0",
"vimeo/psalm": "^4.6",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-filesystem": "^1.0",
Expand Down
Loading
Loading