This repository has been archived by the owner on Jul 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- refined composer.json - fixed travis ci - reorganized structure - callabled instead of viewhelpers - added view extension interface - added and refiened unit tests
- Loading branch information
Showing
18 changed files
with
450 additions
and
114 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,18 +1,26 @@ | ||
{ | ||
"name": "tebe/pvc", | ||
"description": "PVC - A minimal P[HP] [M]VC framework", | ||
"type": "library", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Thomas Breuss", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.2.0", | ||
"php": ">=7.2", | ||
"ext-json": "*", | ||
"psr/http-message": "^1.0", | ||
"psr/http-server-middleware": "^1.0", | ||
"tebe/http-factory": "@dev" | ||
}, | ||
"require-dev": { | ||
"zendframework/zend-diactoros": "^1.8", | ||
"phpunit/phpunit": "^6.4", | ||
"squizlabs/php_codesniffer": "^3.1" | ||
"phpmd/phpmd": "^2.6", | ||
"phpunit/phpunit": "^6.5", | ||
"squizlabs/php_codesniffer": "^3.3", | ||
"zendframework/zend-diactoros": "^1.8" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
|
@@ -21,10 +29,12 @@ | |
}, | ||
"scripts": { | ||
"test": [ | ||
"@phpunit", | ||
"@phpcs" | ||
"@phpcs", | ||
"@phpunit" | ||
], | ||
"phpunit": "./vendor/bin/phpunit", | ||
"phpcs": "./vendor/bin/phpcs" | ||
"phpcbf": "./vendor/bin/phpcbf", | ||
"phpcs": "./vendor/bin/phpcs", | ||
"phpmd": "./vendor/bin/phpmd ./src text codesize,design,naming,unusedcode", | ||
"phpunit": "./vendor/bin/phpunit" | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
declare(strict_types=1); | ||
|
||
namespace Tebe\Pvc; | ||
namespace Tebe\Pvc\Event; | ||
|
||
class Event | ||
{ | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
declare(strict_types=1); | ||
|
||
namespace Tebe\Pvc; | ||
namespace Tebe\Pvc\Event; | ||
|
||
class EventDispatcher | ||
{ | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
declare(strict_types=1); | ||
|
||
namespace Tebe\Pvc; | ||
namespace Tebe\Pvc\Event; | ||
|
||
interface EventHandler | ||
{ | ||
|
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
Oops, something went wrong.