From 98c6db3f5cba1e66aaf4a15f1f98b9eefacad06a Mon Sep 17 00:00:00 2001 From: devosc Date: Tue, 11 May 2021 00:26:02 -0500 Subject: [PATCH] PHP 8 --- .gitignore | 1 + LICENSE | 2 +- README.md | 2 +- composer.json | 22 +++++++++++----------- phpunit.xml | 47 +++++++++++++++++++++++++---------------------- 5 files changed, 39 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index a1cd6cd..baabcd4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .idea +.phpunit.result.cache composer.phar vendor/ build/ diff --git a/LICENSE b/LICENSE index 32473c2..26877fe 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Gregory Baboolal +Copyright (c) 2021 Gregory Baboolal Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 01aaac1..5f79653 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ ## Mvc5 Framework Demo Application [**https://mvc5.github.io**](https://mvc5.github.io) -A PHP 7 programming environment with immutable components. +A PHP 8 programming environment with immutable components. diff --git a/composer.json b/composer.json index 0de1982..cb60906 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mvc5/mvc5-application", - "description": "A PHP 7 programming environment with named arguments.", + "description": "A PHP 8 programming environment with named arguments.", "keywords": ["config", "container", "dependency injection", "event", "middleware", "plugin", "psr-11", "psr", "route", "router", "view"], "homepage": "https://github.com/mvc5/mvc5-application", "license": "MIT", @@ -11,12 +11,12 @@ } ], "require": { - "php": "^7.4", + "php": "^8.0", "ext-json": "*", - "mvc5/mvc5": "^14.0", - "mvc5/view": "^10.0", - "mvc5/facade": "^9.0", - "mvc5/http-message": "^9.0" + "mvc5/mvc5": "^15.0", + "mvc5/view": "^11.0", + "mvc5/facade": "^10.0", + "mvc5/http-message": "^10.0" }, "autoload": { "psr-4": { @@ -24,11 +24,11 @@ } }, "require-dev": { - "phpunit/phpunit": "^9.0", - "mvc5/mvc5-tests": "^14.0", + "phpunit/phpunit": "^9.5.4", + "mvc5/mvc5-tests": "^15.0", "guzzlehttp/guzzle": "^6.5", - "vimeo/psalm": "^3.9.5", - "phpstan/phpstan": "^0.12.17", - "phpmetrics/phpmetrics": "^2.5" + "vimeo/psalm": "^4.7.2", + "phpstan/phpstan": "^0.12.86", + "phpmetrics/phpmetrics": "^2.7.4" } } diff --git a/phpunit.xml b/phpunit.xml index 3748931..2884c1e 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,5 +1,7 @@ - - - - tests/Api/ClientTest.php - tests/Api/ControllerTest.php - - - ./vendor/mvc5/mvc5-tests/src - - - ./vendor/mvc5/http-message/tests - - - - - ./vendor/mvc5/mvc5/src - ./vendor/mvc5/http-message/src - - - - - + + + ./vendor/mvc5/mvc5/src + ./vendor/mvc5/http-message/src + + + + + + + + tests/Api/ClientTest.php + tests/Api/ControllerTest.php + + + ./vendor/mvc5/mvc5-tests/src + + + ./vendor/mvc5/http-message/tests + + +