-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from l0gicgate/3.x
Port for Slim 4 Usage
- Loading branch information
Showing
14 changed files
with
588 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
.idea | ||
composer.lock | ||
clover.xml | ||
coverage | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "slim/twig-view", | ||
"type": "library", | ||
"description": "Slim Framework 3 view helper built on top of the Twig 2 templating component", | ||
"description": "Slim Framework 4 view helper built on top of the Twig 2 templating component", | ||
"keywords": ["slim","framework","view","template","twig"], | ||
"homepage": "http://slimframework.com", | ||
"license": "MIT", | ||
|
@@ -10,20 +10,28 @@ | |
"name": "Josh Lockhart", | ||
"email": "[email protected]", | ||
"homepage": "http://joshlockhart.com" | ||
}, | ||
{ | ||
"name": "Pierre Berube", | ||
"email": "[email protected]", | ||
"homepage": "http://www.lgse.com" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.5.0", | ||
"twig/twig": "^1.38|^2.7", | ||
"psr/http-message": "^1.0" | ||
"php": "^7.1", | ||
"psr/http-message": "^1.0", | ||
"twig/twig": "^2.8" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4.8|^5.7", | ||
"slim/slim": "^3.10" | ||
"phpunit/phpunit": "^7.5", | ||
"php-di/php-di": "^6.0", | ||
"psr/http-factory": "^1.0", | ||
"slim/slim": "^4.0.0-alpha" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Slim\\Views\\": "src" | ||
"Slim\\Views\\": "src", | ||
"Slim\\Tests\\": "tests" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<phpunit backupGlobals="false" | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.1/phpunit.xsd" | ||
backupGlobals="false" | ||
backupStaticAttributes="false" | ||
beStrictAboutTestsThatDoNotTestAnything="true" | ||
beStrictAboutChangesToGlobalState="true" | ||
beStrictAboutOutputDuringTests="true" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
syntaxCheck="false" | ||
bootstrap="tests/bootstrap.php" | ||
> | ||
<testsuites> | ||
<testsuite name="Slim Test Suite"> | ||
<testsuite name="Twig-View Test Suite"> | ||
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist> | ||
<directory>./src</directory> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory>./src/</directory> | ||
</whitelist> | ||
</filter> | ||
|
||
<logging> | ||
<log | ||
type="coverage-html" | ||
target="./coverage" | ||
lowUpperBound="20" | ||
highLowerBound="50" | ||
/> | ||
</logging> | ||
</phpunit> |
Oops, something went wrong.