Skip to content

Commit

Permalink
PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
devosc committed May 11, 2021
1 parent 405a4a0 commit 98c6db3
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 35 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
.phpunit.result.cache
composer.phar
vendor/
build/
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -11,24 +11,24 @@
}
],
"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": {
"": "./src"
}
},
"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"
}
}
47 changes: 25 additions & 22 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./vendor/autoload.php"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap="./vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
Expand All @@ -8,25 +10,26 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true">
<testsuites>
<testsuite name="App Test Suite">
<file>tests/Api/ClientTest.php</file>
<file>tests/Api/ControllerTest.php</file>
</testsuite>
<testsuite name="Mvc5 Test Suite">
<directory>./vendor/mvc5/mvc5-tests/src</directory>
</testsuite>
<testsuite name="Valar Test Suite">
<directory>./vendor/mvc5/http-message/tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./vendor/mvc5/mvc5/src</directory>
<directory suffix=".php">./vendor/mvc5/http-message/src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="build/logs/report" showUncoveredFiles="true"/>
</logging>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./vendor/mvc5/mvc5/src</directory>
<directory suffix=".php">./vendor/mvc5/http-message/src</directory>
</include>
<report>
<html outputDirectory="build/logs/report"/>
</report>
</coverage>
<testsuites>
<testsuite name="App Test Suite">
<file>tests/Api/ClientTest.php</file>
<file>tests/Api/ControllerTest.php</file>
</testsuite>
<testsuite name="Mvc5 Test Suite">
<directory>./vendor/mvc5/mvc5-tests/src</directory>
</testsuite>
<testsuite name="Valar Test Suite">
<directory>./vendor/mvc5/http-message/tests</directory>
</testsuite>
</testsuites>
<logging/>
</phpunit>

0 comments on commit 98c6db3

Please sign in to comment.