-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature - #241 - support scalar type hints #271
Merged
Merged
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
76f8f52
Class assets for scalar type hiting tests
30a2ac5
Simple test for params using scalar type hinting
cd1ebe2
Fix comparation to run tests on php7 build
d616c9e
#241 - minor grammar fix: class rename
Ocramius 97a7ad1
#241 - scalar type hinted classes should also be generated without cl…
Ocramius f0907ce
#241 - test asset: interface with scalar type hints
Ocramius d4dbe38
#241 - removing reliance on `returnsReference` (using generated code …
Ocramius ab8ce44
#241 - removing `MethodGenerator` boilerplate
Ocramius 3678706
#241 - removing `ParameterGenerator` boilerplate
Ocramius 424112a
#241 - relying on `Zend\Code`'s API instead of custom extended API
Ocramius 72f3e3d
#241 - removing deprecated tests
Ocramius 417f4b6
#241 #271 - test asset: interface with defined return types
Ocramius 36d038d
#241 #271 - test asset: class with defined return types
Ocramius 4b8da45
#241 #271 - should also generate classes with return type hints (any …
Ocramius 5ba32d1
#241 #271 - s/interface/class for the class test asset
Ocramius 1b4bcf9
#241 #271 - proxying also classes and interfaces with return type hints
Ocramius 96f66cb
#241 #271 - relying on zendframework/zend-code dev branch (for now)
Ocramius 31f2162
#241 #271 - no need to test PHP 5.x anymore
Ocramius dabc0e4
#241 #271 - upgrading requirement to support PHP 7 only
Ocramius 64e35f8
#241 #271 - coverage can be generated in 7.0 as well
Ocramius 888194d
#241 #271 - couscous docs can be generated in 7.0 as well
Ocramius 648a4ca
#241 #271 - correcting PHP version, for more specificity
Ocramius 7b93ab9
#241 #271 - removing PHP4 constructor compat tests: they should not b…
Ocramius 96b006f
#241 #271 - removing checks against PHP < 7 versions
Ocramius 0a0c83d
#241 #271 - removing unused import, relaxing requirements
Ocramius ebab097
#241 #271 - simplifying assertions, removing XDebug dumps, as they ke…
Ocramius ccacad9
#241 #271 - removing usage of our custom `ParameterGenerator` where p…
Ocramius a05be37
#241 #271 - dropping our custom `ParameterGenerator` tests
Ocramius e0a8b68
#241 #271 - dropping our custom `ParameterGenerator`
Ocramius ed2682b
#241 #271 - relying on zend-code 3.x
Ocramius File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,5 +1,5 @@ | ||
set -x | ||
if [ "$TRAVIS_PHP_VERSION" = '5.6' ] ; then | ||
if [ "$TRAVIS_PHP_VERSION" = '7.0' ] ; then | ||
wget https://scrutinizer-ci.com/ocular.phar | ||
php ocular.phar code-coverage:upload --format=php-clover ./clover.xml | ||
fi |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be fixed before merging