Skip to content

Commit bde4857

Browse files
committed
First refactor for Composer.
Signed-off-by: Michael Gooden <[email protected]>
1 parent d94b218 commit bde4857

File tree

5 files changed

+31
-7
lines changed

5 files changed

+31
-7
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
composer.lock
2+
/vendor/

composer.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "michaelgooden/phpstan-zend-mvc",
3+
"description": "Zend Framework 3 MVC controller plugin extension for PHPStan.",
4+
"type": "library",
5+
"require": {
6+
"php": "^7.0",
7+
"zendframework/zend-mvc": "^3.1",
8+
"phpstan/phpstan": "^0.8.0"
9+
},
10+
"license": "MIT",
11+
"authors": [
12+
{
13+
"name": "Greg Bell",
14+
"email": "[email protected]"
15+
},
16+
{
17+
"name": "Michael Gooden",
18+
"email": "[email protected]"
19+
}
20+
],
21+
"autoload": {
22+
"psr-4": {
23+
"PHPStan\\": "src/"
24+
}
25+
}
26+
}

InvokableMethodReflection.php renamed to src/Reflection/ZendMvc/InvokableMethodReflection.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
2-
3-
namespace Application\PHPStan;
2+
namespace PHPStan\Reflection\ZendMvc;
43

54
use PHPStan\Reflection\MethodReflection;
65
use PHPStan\Type\Type;

PluginClassReflectionExtension.php renamed to src/Reflection/ZendMvc/PluginClassReflectionExtension.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
2-
3-
4-
namespace Application\PHPStan;
2+
namespace PHPStan\Reflection\ZendMvc;
53

64
use PHPStan\Broker\Broker;
75
use PHPStan\Reflection\BrokerAwareClassReflectionExtension;

PluginMethodReflection.php renamed to src/Reflection/ZendMvc/PluginMethodReflection.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
2-
3-
namespace Application\PHPStan;
2+
namespace PHPStan\Reflection\ZendMvc;
43

54
use PHPStan\Reflection\MethodReflection;
65
use PHPStan\Type\Type;

0 commit comments

Comments
 (0)