Commit Graph
53 Commits
Author SHA1 Message Date
Jaap van Otterdijk 0b48e261e0 Bump to stable type resolver 2024-01-26 21:33:24 +01:00
Jaapio 6a92bc3ce9 Remove type logic from this package 2022-11-11 12:30:14 +01:00
Jaapio 7192e67cfa First POC steps 2022-10-14 15:26:54 +02:00
Jaapio 863ec23a9e Upgrade ci to standardized pipeline 2022-08-27 12:51:20 +02:00
Fabien Villepinte 33e88681c3 Test with multiple versions of the dependencies 2021-12-21 15:50:16 +01:00
jrfnl 9ab603b069 Psalm: switch from Phive to Composer
This switches the installation method for Psalm from Phive to Composer, while still using a Phar file for running Psalm.

Includes:
* Removing Psalm from the Phive configuration.
* Adding Psalm to the Composer configuration. Includes upgrading from version `3.11.2` to version `4.8.1`.
* Adjusting the script used in the `Makefile`.
    👉 Please verify and test this as things work differently on different OS-es and this should work for you.
* Adjusting the GH Actions script to use the Composer installed version of Psalm.

Note: due to the committed `composer.lock` file, Psalm will not automatically upgrade when newer versions are available.

Refs:
* https://github.com/vimeo/psalm/releases
* https://github.com/psalm/phar/releases
2021-08-08 21:31:44 +02:00
jrfnl 8dbbe4940d Composer: fix autoload-dev directive
This only allowed for the tests in the `tests/unit` directory, while there are also tests in the `tests/integration` directory.
2021-08-01 18:27:48 +02:00
Graham Campbell 44319e2691 Fixed PHP 8.0 builds 2020-07-09 09:38:20 +01:00
Jaapio 664187301b Downgrade mockery 2020-06-27 19:33:53 +02:00
Jaapio da1c4e7d06 Remove unused dependency 2020-06-27 16:46:17 +02:00
Jaapio cfd5b88569 Allow this package on php8 2020-06-27 14:48:53 +02:00
Graham Campbell 47691ae2be Removed unnecessary version constraint 2020-06-15 13:21:21 +01:00
Jaapio d7d476a5da Bump minimal required php version 2019-12-11 09:13:46 +01:00
Jaapio 50ec1362de Psalm fixes 2019-09-26 21:09:37 +02:00
Jakub Zalas 9e75264359 Update the branch alias for 5.x releases
It's time to update the branch alias since BC breaking changes were merged and the first 5.0.0-alpha1 release has been made.
2018-04-19 08:58:50 +01:00
Chuck Burgess a6069276fd bump deps to get library alphas 2018-01-30 13:00:44 -06:00
Chuck Burgess 746bf9762b use phive and phars for tools 2018-01-29 14:03:51 -06:00
Gabriel Caruso a1e6160b99 Welcome 2018 🎉 2018-01-02 04:52:36 -02:00
Jaapio 4595df959d bump type resolver 2017-12-28 22:17:47 +01:00
Tomáš Votruba bab88701ea Add PHPStan and bump to max level (#139)
* composer: put require- together

* add phpstan

* add phpstan to travis

* phpstan fixes

* phpstan fixes

* phpstan fixes

* drop null defaults since every property is null by default

* DescriptionFactory: fix parse nullable type

* travis: add phpstan max

* travis: fix phpstan config
2017-12-02 19:12:29 +01:00
TomasVotruba f9d1a0c177 travis + composer: bump to PHP 7.1 2017-11-30 10:27:01 +01:00
Gabriel Caruso 7524aba21f Fix tests 2017-11-15 08:29:42 +01:00
Gabriel Caruso fd1a734d29 Remove composer.lock, and update to PHPUnit 6 and Mockery 1 2017-11-15 08:29:42 +01:00
Jaapio 14f9edf1ae Switch to phpdocumentor/reflection-common stable 2017-09-11 20:06:11 +02:00
Jaapio 007a536bc5 Upgrades type-resolver to 0.4.0
Type resolver has renamed some classes.
Dropping php 5.5 support
2017-08-04 23:11:13 +02:00
Jaapio 48d3720bf4 Downgrade phpdocumentor/type-resolver to 0.3
In order to restore a bc break made in 3.2.0 I downgraded the
type-resolver. This makes the version less compatible with php 7.1
But will help our users to upgrade.
2017-08-04 22:52:58 +02:00
Jaapio 7c33776cd8 Upgrade typeresolver to 0.4 2017-07-14 16:40:01 +02:00
Hidde Boomsma 02fa9f585e Void is a reserved keyword in PHP7.1.
Running the unit tests with php nightly exposed the bug:

Fatal error: Cannot use phpDocumentor\Reflection\Types\Void as Void
because 'Void' is a special class name in
/home/travis/build/hboomsma/ReflectionDocBlock/tests/unit/DocBlock/Tags/MethodTest.php
on line 25
2016-06-10 11:10:02 +02:00
Mike van Riel 332c96dab8 Remove 3.0.x alias from composer.json before tagging 3.0.0 2016-01-28 13:45:51 +01:00
Willem Stuursma 607a0d60d9 Add mandatory description element to composer.json
composer validate gives the following warning: 

````
phpdocumentor/reflection-docblock is valid for simple usage with composer but has
strict errors that make it unable to be published as a package:
description : The property description is required
````
2015-12-22 13:52:16 +01:00
Jaapio ab334170b7 Version bump phpdocumentor/type-resolver
Due a hotfix done in the the type resolver library version 0.1.5 is the new minimal version of type-resolver.
Without this fix an infinitive loop is created when the use keyword is used in a class.
2015-10-26 15:19:12 +01:00
Mike van Riel 09230bda94 Updated dependencies to match other packages 2015-06-26 12:10:13 +02:00
Mike van Riel 50b104f2c0 Add tests for DocBlockFactory and extract interface 2015-06-26 08:59:00 +02:00
Mike van Riel 090cf6b3ad Added assertion library and downgraded phpunit
PHPUnit 4.4 was the last version without phpspec. phpspec conflicts
with this package because it requires v2 of this component and
this causes a cyclic issue with composer
2015-06-13 18:30:22 +02:00
Mike van Riel 33ab09f4f5 Merge branch 'master' of github.com:phpDocumentor/ReflectionDocBlock into feature/refactor-to-v2
Conflicts:
	composer.json
2015-06-13 14:32:12 +02:00
Mike van Riel 2c18f0e883 Work towards stabilizing the API.
- Changed Tag to an interface and flattened hierarchy
- Changed Description to accept a list of tags and a template
- Allow auto-wiring when constructing tags
2015-06-13 14:30:43 +02:00
Graham Campbell 9440ae1b6b dev-master should always be avoided 2015-06-12 23:17:06 +01:00
Mike van Riel 0574a870e4 Merge pull request #56 from mvriel/feature/refactor-to-v2
Refactored 90% of the library
2015-06-13 00:14:52 +02:00
Mike van Riel 18ef0a8055 Refactored 90% of the library 2015-06-12 20:58:56 +02:00
Mike van Riel 2e3172c173 Upped master dev version to 3.0 2015-06-07 15:07:32 +02:00
Mike van Riel f5e35e0629 [#52] Removed dflydev/markdown from suggested list
The markdown package by DFlyDev is deprecated and is not recommended
anymore due to the provided alternatives (parsedown or commonmark).
2015-05-12 09:21:12 +02:00
Colin O'Dell b268342bf1 Add support for the league/commonmark Markdown parser 2015-02-23 14:50:38 -05:00
Graham Campbell 0233433e59 Composer updates 2014-08-21 13:02:41 +01:00
Mike van Riel 506de88c26 Add support for Parsedown as a markdown parser 2013-12-05 09:16:55 +01:00
Barry vd. Heuvel 7a5d99cd4f Markdown is not required, so move to suggest
Markdown is only used once and a check is in place to see if the markdown classes exists. So perhaps it is better to move this to suggest instead of require, so the people who don't need it, don't have to download it.
2013-08-08 18:25:04 +02:00
Tom Corrigan 0814579afd Add a branch alias
This will enable improved version constraints in phpdocumentor/reflection
2013-08-02 02:40:14 +10:00
Vasil Rangelov bad318bc39 Adjusted composer files for consistency with PhpDocumentor. 2012-11-29 20:12:53 +02:00
Chuck Burgess 658d11b7b5 add --dev deps 2012-11-21 15:09:22 -06:00
Mike van Riel 0701e60839 Change behaviour of @param parsing
In issue report phpDocumentor/phpDocumentor2#620 @bobef reported that when he
used just a Type as content of the @param that it would be recognized as
description instead of the Type.

According to the unit tests this is correct behaviour but after reviewing the
pattern of the output his version is more consistent. As such I have altered
the behaviour to act as following:

If only one word is found after an @param (word means white-space bounded
series of characters) then interpret that as the type and not description.

During this item several issues in unit tests were fixed and a new 'Type'
Collection was introduced that is capable of expanding types based on a given
namespace and series of aliases.
This should be re-used in phpDocumentor's Transformer as a duplication exists
there with the expanding of the Types.

Please note: the suggested format by @bobef is not valid according to the
PHPDoc Standard but is provided for convenience.
2012-11-03 22:14:43 +01:00
Mike van Riel 663df2c65b Expanded README file and added Markdown class as dependency since it is used in the long description and parameter parsing 2012-05-26 10:28:28 +02:00