Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57016d2

Browse files
committed
Merge pull request #5 from mihai-stancu/hacklang_property_typehint_support
Hack lang property typehint support & PHP7 getter typehint support
2 parents 65c27ce + 8be7c3d commit 57016d2

25 files changed

Lines changed: 80 additions & 633 deletions

.php_cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ EOF;
1010
Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);
1111

1212
$finder = Symfony\CS\Finder\DefaultFinder::create()
13+
->notName('Php7Data.php')
1314
->in(array(__DIR__))
1415
;
1516

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,4 @@ before_script:
3737

3838
script:
3939
- if [ "$CS_FIXER" = "run" ]; then php-cs-fixer fix --verbose --dry-run ; fi;
40-
- vendor/bin/phpspec run
41-
- vendor/bin/phpunit tests
40+
- vendor/bin/phpunit

composer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,13 @@
2020
],
2121
"autoload": {
2222
"psr-4": {
23-
"PropertyInfo\\": "src/PropertyInfo"
24-
}
25-
},
26-
"autoload-dev": {
27-
"psr-4": {
28-
"PropertyInfo\\Tests\\": "tests"
23+
"PropertyInfo\\": "src/PropertyInfo"
2924
}
3025
},
3126
"require": {
3227
"php": ">=5.4"
3328
},
3429
"require-dev": {
35-
"phpspec/phpspec": "~2.1",
3630
"phpunit/phpunit": "~4.5",
3731
"doctrine/orm": "~2.3",
3832
"phpdocumentor/reflection": "~1.0"

phpunit.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.

phpunit.xml.dist

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<phpunit
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
4+
bootstrap="vendor/autoload.php">
5+
6+
<testsuites>
7+
<testsuite>
8+
<directory>./src/PropertyInfo/Tests</directory>
9+
</testsuite>
10+
</testsuites>
11+
</phpunit>

spec/PropertyInfo/Extractors/DoctrineExtractorSpec.php

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)