Skip to content

Commit

Permalink
Merge pull request #10 from Delivery-Direto/bump-php8.1-roadrunnerv20…
Browse files Browse the repository at this point in the history
…23.1.4

chore: atualizar versões do PHP, Roadrunner e CakePHP
  • Loading branch information
ramondantas-cp committed May 29, 2023
2 parents 600ece0 + 8e281f0 commit 851446a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ manager written in Golang. Using Roadrunner you can replace php-fpm a long with

## Requirements

* CakePHP ^4.3
* PHP ^8.0
* Roadrunner 2.12
* CakePHP ^4.4
* PHP ^8.1
* Roadrunner ^2023.1.4

## Table of Contents

Expand Down
14 changes: 10 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"type": "cakephp-plugin",
"license": "MIT",
"require": {
"php": "^8.0",
"cakephp/cakephp": "^4.2",
"spiral/roadrunner": "^2.12.2",
"laminas/laminas-diactoros": "^2.21"
"php": "^8.1",
"cakephp/cakephp": "^4.4",
"spiral/roadrunner": "^2023.1.4",
"laminas/laminas-diactoros": "^2.21",
"spiral/roadrunner-http": "^3.0.1"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^4.2",
Expand Down Expand Up @@ -37,5 +38,10 @@
"phpcbf": "phpcbf --colors --standard=phpcs.xml src/ worker/cakephp-worker.php",
"phpstan": "phpstan analyse src/ worker/cakephp-worker.php",
"coverage": "phpunit --coverage-html coverage/"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
4 changes: 2 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/c935f5e0add2cf0ae650d072c8357533e21b0c35.tar.gz") {} }:
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/c8a17ce7abc03c50cd072e9e6c9b389c5f61836b.tar.gz") {} }:
with pkgs; let
php = php80.withExtensions ({ enabled, all }: enabled);
php = php81.withExtensions ({ enabled, all }: enabled);
in
mkShell {
buildInputs = [
Expand Down

0 comments on commit 851446a

Please sign in to comment.