Commit Graph
100 Commits
Author SHA1 Message Date
Jaapio 1dd491c8ec Add return tag factory 2022-10-28 16:47:01 +02:00
Jaapio b12a33921b Add deprecations 2022-10-28 16:41:00 +02:00
Jaapio 25d696587f Cleanup and var implementation 2022-10-28 16:27:10 +02:00
Jaapio b66b6dc644 Fix some php8+ issues 2022-10-28 14:54:08 +02:00
Jaapio c6f6e2d523 Improve naming for tag factory 2022-10-28 14:39:55 +02:00
Jaapio ece4f5ab18 Introduce a Simple implementation of the TagFactory interface
Less complex interface to implement makes it easier to implement tag factories as they
are part of the new behavior of the StandardTagFactory.
2022-10-28 14:37:01 +02:00
Jaapio d6c050a533 WIP 2022-10-28 14:05:33 +02:00
Jaapio 7192e67cfa First POC steps 2022-10-14 15:26:54 +02:00
Jaap van Otterdijk 203354b3c0 Merge pull request #340 from phpDocumentor/modernize_ci
Upgrade ci to standardized pipeline
2022-08-27 12:55:55 +02:00
Jaapio 863ec23a9e Upgrade ci to standardized pipeline 2022-08-27 12:51:20 +02:00
Jaap van Otterdijk 407c40dcfb Merge pull request #338 from phpDocumentor/dependabot/composer/psalm/phar-4.24.0
Bump psalm/phar from 4.22.0 to 4.24.0
2022-07-27 22:03:43 +02:00
Jaap van Otterdijk 8d72b24f12 Merge pull request #336 from phpDocumentor/dependabot/composer/webmozart/assert-1.11.0
Bump webmozart/assert from 1.10.0 to 1.11.0
2022-07-27 22:03:25 +02:00
Jaap van Otterdijk 3032f88c16 Merge pull request #333 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.6.1
Bump phpdocumentor/type-resolver from 1.6.0 to 1.6.1
2022-07-22 16:19:31 +02:00
Jaap van Otterdijk 9455bde915 Merge pull request #331 from phpDocumentor/dependabot/github_actions/actions/cache-3
Bump actions/cache from 2.1.7 to 3
2022-04-02 22:16:01 +02:00
Jaap van Otterdijk dd9861e924 Merge pull request #332 from villfa/feat/returns-reference
Support reference in method tag
2022-04-02 22:15:46 +02:00
Jaapio 6baa6f8bd7 Remove scrutinizer 2022-03-29 22:08:34 +02:00
Jaapio 5e4ff887c6 Bump psalm 2022-03-29 22:06:36 +02:00
Jaap van Otterdijk 06325859d3 Merge pull request #329 from jrfnl/feature/ghactions-update-various-actions
GH Actions: version update for various predefined actions
2022-03-29 21:19:47 +02:00
Jaap van Otterdijk 21481a5c97 Merge pull request #311 from phpDocumentor/dependabot/github_actions/actions/cache-2.1.7
Bump actions/cache from 2.1.6 to 2.1.7
2021-12-27 23:36:43 +01:00
Jaap van Otterdijk 0535106ec9 Merge pull request #320 from villfa/ci/scrutinizer
Send code coverage to Scrutinizer
2021-12-27 23:36:19 +01:00
Jaap van Otterdijk 25cee6c463 Merge pull request #321 from jrfnl/feature/ghactions-update-composer-action
GH Actions: version update for `ramsey/composer-install`
2021-12-27 23:35:34 +01:00
Jaap van Otterdijk fd03393497 Merge pull request #319 from villfa/ci/dep-improvement
Test with multiple versions of the dependencies
2021-12-21 16:04:07 +01:00
Jaap van Otterdijk 647571f8e8 Merge pull request #318 from WinterSilence/patch-3
Optimize Description::render()
2021-12-20 08:08:37 +01:00
Jaap van Otterdijk 7769e9eb3a Merge pull request #317 from WinterSilence/patch-2
Fix PhpDoc in class Description
2021-12-20 08:07:01 +01:00
Jaap van Otterdijk 622548b623 Merge pull request #306 from kea/fix-example4
Remove deprecated StaticMethod and fix comment
2021-10-19 19:43:47 +02:00
Jaap van Otterdijk 0005eb9eae Merge pull request #305 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.5.1
Bump phpdocumentor/type-resolver from 1.5.0 to 1.5.1
2021-10-05 22:58:53 +02:00
Jaap van Otterdijk 0f36fa483b Merge pull request #303 from jrfnl/feature/phpunit-update-config
PHPUnit: update configuration
2021-09-27 21:30:08 +02:00
Jaap van Otterdijk adf7a90588 Merge pull request #302 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.5.0
Bump phpdocumentor/type-resolver from 1.4.0 to 1.5.0
2021-09-23 20:17:06 +02:00
Jaap van Otterdijk c512fd308b Merge pull request #300 from phpDocumentor/dependabot/composer/psalm/phar-4.10.0
Bump psalm/phar from 4.9.3 to 4.10.0
2021-09-17 15:49:47 +02:00
Jaap van Otterdijk 9ebbb531c1 Merge pull request #301 from phpDocumentor/php81_support
Run test on php 8.1
2021-09-17 15:42:31 +02:00
Jaapio bafd0edab0 Bump mocker to fix php 8.1 tests 2021-09-17 15:35:18 +02:00
Jaapio a01675497f Run test on php 8.1 2021-09-17 15:27:30 +02:00
Jaap van Otterdijk be3b495b92 Merge pull request #290 from jrfnl/ghactions-fail-on-failing-test
GH Actions: fail the build if a test run fails
2021-09-17 15:23:58 +02:00
Jaap van Otterdijk d708b18227 Merge pull request #299 from villfa/test/298
Tests: add a case to cover issue #298
2021-09-17 10:37:36 +02:00
Jaap van Otterdijk e4b1dd3f91 Merge pull request #296 from phpDocumentor/fix/287-line-endings
Improve line-endings for windows.
2021-09-17 08:30:37 +02:00
Jaapio 6fa60f9f08 Fix code style 2021-08-26 22:32:25 +02:00
Jaapio c5e702d299 Allow serializer to have a configurable line-ending 2021-08-26 22:31:30 +02:00
Jaapio bca4974b0b Make split platform independend 2021-08-26 22:31:30 +02:00
Jaap van Otterdijk c212334d39 Merge pull request #295 from phpDocumentor/dependabot/composer/psalm/phar-4.9.3
Bump psalm/phar from 4.9.2 to 4.9.3
2021-08-26 14:24:56 +02:00
Jaap van Otterdijk c5ac781da3 Merge pull request #277 from phpDocumentor/dependabot/github_actions/actions/cache-2.1.6
Bump actions/cache from 2.1.4 to 2.1.6
2021-08-13 11:13:23 +02:00
Jaap van Otterdijk 79d2777813 Merge pull request #294 from phpDocumentor/dependabot/composer/psalm/phar-4.9.2
Bump psalm/phar from 4.8.1 to 4.9.2
2021-08-09 19:52:09 +02:00
Jaap van Otterdijk ece0c41d6d Merge pull request #270 from phpDocumentor/dependabot/composer/webmozart/assert-1.10.0
Bump webmozart/assert from 1.9.1 to 1.10.0
2021-08-08 22:15:47 +02:00
Jaap van Otterdijk 8d73b8d29c Merge pull request #293 from jrfnl/feature/phpcs-fix-ruleset
PHPCS ruleset: remove an outdated exclusion
2021-08-08 22:09:39 +02:00
Jaap van Otterdijk 6698bfb1da Merge pull request #292 from jrfnl/feature/phive-upgrade-phpunit
Phive: upgrade used version of PHPUnit
2021-08-08 22:09:26 +02:00
Jaapio ffff80c1a6 Resolve psalm return type
The original php method preg_split might return `string[][]` in some
situations, however this should never be the case for this library. By
adding an extra assert, we should be more safe.
2021-08-08 21:32:57 +02:00
Jaap van Otterdijk e45d003a09 Merge pull request #291 from jrfnl/feature/cs-update
CS update after upstream changes
2021-08-08 21:14:39 +02:00
Jaap van Otterdijk dc7d72e47e Merge pull request #288 from jrfnl/feature/docblock-source-phpstan-fix
DocBlock/Tags/Source: remove redundant code
2021-08-06 11:57:03 +02:00
Jaap van Otterdijk 9381f67ecc Merge pull request #289 from jrfnl/feature/composer-fix-autoload-dev
Composer: fix `autoload-dev` directive
2021-08-06 11:34:27 +02:00
Jaap van Otterdijk 8c8deff92b Merge pull request #282 from jrfnl/feature/ghactions-switch-to-composer-cache-action
GH Actions: simplify Composer caching
2021-08-06 11:33:24 +02:00
Jaap van Otterdijk be1f0c122d Merge pull request #281 from jrfnl/feature/ghactions-allow-manual-triggering
GH Actions: allow for manually triggering a workflow
2021-08-06 11:31:46 +02:00
Jaap van Otterdijk 78dca37266 Merge pull request #285 from jrfnl/feature/tests-annotate-no-assertions
Tests: mark test without assertions as such
2021-08-01 22:21:35 +02:00
Jaap van Otterdijk d5fef100cc Merge pull request #286 from jrfnl/feature/tests-add-missing-coversnothing
Tests: fix missing `@covers` tag
2021-08-01 22:21:05 +02:00
Jaap van Otterdijk 88b67bd355 Merge pull request #283 from jrfnl/feature/docs-minor-fix
Docblock/Tags/Author: fix typo in method docblock
2021-08-01 22:19:28 +02:00
Jaap van Otterdijk ef02f64d74 Merge pull request #280 from jrfnl/feature/tests-fix-namespace
Tests: fix incorrect namespace
2021-08-01 22:17:39 +02:00
Jaap van Otterdijk e774a02926 Merge pull request #279 from jrfnl/feature/tests-fix-type-in-methodname
Tests: fix typo in test method name
2021-08-01 22:16:55 +02:00
Jaap van Otterdijk 384307b665 Merge pull request #269 from phpDocumentor/dependabot/composer/mockery/mockery-1.3.4
Bump mockery/mockery from 1.3.3 to 1.3.4
2021-08-01 21:39:08 +02:00
Jaap van Otterdijk 8719cc12e2 Merge pull request #267 from phpDocumentor/dependabot/github_actions/actions/cache-v2.1.4
Bump actions/cache from v2 to v2.1.4
2021-04-23 11:50:58 +02:00
Jaap van Otterdijk 99e3fb891c Merge pull request #260 from voku/get_tags_with_type_by_name
Get tags with type by name
2021-04-23 11:50:05 +02:00
Jaap van Otterdijk f8d350d851 Merge pull request #262 from voku/more_tests
Only more tests
2021-03-07 12:12:25 +01:00
Jaap van Otterdijk e3324ecbde Merge pull request #256 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.4.0
Bump phpdocumentor/type-resolver from 1.3.0 to 1.4.0
2020-11-18 15:27:38 +01:00
Jaap van Otterdijk 069a785b21 Merge pull request #254 from voku/fix_for_phpstorm_stubs
do not resolve types if it's not possible
2020-09-03 21:13:55 +02:00
Jaapio f6075926e9 Bump mockery 2020-09-02 23:38:01 +02:00
Jaap van Otterdijk 86733dc09c Merge pull request #226 from phpDocumentor/fix-resolve-all-fqsen-formats
Fix FQSEN resolving on see,covers,uses
2020-09-02 23:14:11 +02:00
Jaapio 73650dde91 Fix FQSEN resolving on see,covers,uses
The See, Covers and Use tags can reference also methods, properties and
constants. Which means that the FqsenResolver cannot handle those properly.
This patch fixes that issue.
2020-09-02 22:48:30 +02:00
Jaapio 08c0b366d7 Improve test coverage 2020-09-02 22:46:14 +02:00
Jaap van Otterdijk 13d9a6bb0b Merge pull request #239 from Kasp42/patch-1
Update Link.php
2020-08-22 09:19:02 +02:00
Jaap van Otterdijk 699b11ee4b Merge pull request #253 from voku/fix_issue_251
Param: fix phpdoc with reference hint
2020-08-22 08:59:18 +02:00
Jaap van Otterdijk f3ab30788f Merge pull request #247 from phpDocumentor/safe_preg_split
Introduce safe preg_split
2020-08-15 14:16:28 +02:00
Jaapio 690d9cd45f Introduce safe preg_split
Removes the need for extra assertions which makes the code
more readable, and reduces the overhead of an is_array check.
2020-08-15 14:06:55 +02:00
Jaap van Otterdijk d870572532 Merge pull request #250 from phpDocumentor/fix/modified-backtrace-arguments
Fix issue with modified backtrace
2020-08-15 13:14:08 +02:00
Jaapio 584a54ca0d Bump phpunit 2020-08-12 19:52:10 +02:00
Jaapio 6ff90eb7bd Fix issue with modified backtrace
php allows the backtrace arguments to be modified via the
backtrace. By using array_map we make sure that we do not overwrite
references.
2020-08-12 18:07:00 +02:00
Jaapio f0af3b7263 Add more tests 2020-08-12 15:27:12 +02:00
Jaapio 1ac416df3f Ensure docblock defaults 2020-07-21 10:16:41 +02:00
Jaap van Otterdijk 3170448f57 Merge pull request #246 from phpDocumentor/php72/phpunit8
update to phpunit 9.2
2020-07-20 22:05:34 +02:00
Jaapio a77432fbb0 update to phpunit 9.2
phpunit 9.2 is the latests version but not supported on php 7.2
we are supporting php 7.2 for now, so downgrade for that purpose
2020-07-20 21:59:04 +02:00
Jaapio 5316142b0f Install tools per step to prevent errors 2020-07-20 21:38:19 +02:00
Jaapio 2b7f96583d Enable php8 in build matrix 2020-07-20 21:27:58 +02:00
Jaapio 9781068ce1 Move away from phropecy since it is not php8 ready 2020-07-20 21:20:51 +02:00
Jaap van Otterdijk eb3320ef01 Merge pull request #244 from GrahamCampbell/patch-1
Fix PHP 8.0 support
2020-07-09 14:42:26 +02:00
Jaap van Otterdijk 7c87da1725 Merge pull request #240 from DerManoMann/reflectionparameter-getclass-deprecated-php8
Use ReflectionParameter::getType() instead of getClass()
2020-07-07 16:44:20 +02:00
Jaapio 41f77e8697 Remove phpstan from phive 2020-07-03 08:45:43 +02:00
Jaapio cbe141db0f Update phpstan 2020-07-03 08:40:40 +02:00
Jaapio 664187301b Downgrade mockery 2020-06-27 19:33:53 +02:00
Jaapio 70745c7dcb Bump dependencies 2020-06-27 17:54:35 +02:00
Jaapio da1c4e7d06 Remove unused dependency 2020-06-27 16:46:17 +02:00
Jaap van Otterdijk 04ad1dd646 Merge pull request #237 from phpDocumentor/php-8
Add php 8 to build matrix
2020-06-27 14:58:06 +02:00
Jaapio cfd5b88569 Allow this package on php8 2020-06-27 14:48:53 +02:00
Jaapio acd4c1fc9d Add php 8 to build matrix 2020-06-27 14:43:28 +02:00
Jaap van Otterdijk adacaaab2f Merge pull request #235 from phpDocumentor/dependabot/github_actions/phpDocumentor/phpstan-ga-0.12.9
Bump phpDocumentor/phpstan-ga from 0.12.3 to 0.12.9
2020-06-27 14:32:41 +02:00
Jaap van Otterdijk dcb2e76f35 Merge pull request #234 from phpDocumentor/dependabot/github_actions/actions/cache-v2
Bump actions/cache from v1 to v2
2020-06-27 14:30:53 +02:00
Jaapio 2e17bb199a Add github actions to dependabot 2020-06-27 14:20:56 +02:00
Jaap van Otterdijk e3120da3fa Merge pull request #224 from phpDocumentor/dependabot/composer/doctrine/instantiator-1.3.1
Bump doctrine/instantiator from 1.3.0 to 1.3.1
2020-06-27 13:57:32 +02:00
Jaap van Otterdijk 9bdb16165f Merge pull request #232 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.3.0
Bump phpdocumentor/type-resolver from 1.0.1 to 1.3.0
2020-06-27 13:57:03 +02:00
Jaap van Otterdijk 9323ba40c1 Merge pull request #231 from phpDocumentor/dependabot/composer/phpdocumentor/reflection-common-2.2.0
Bump phpdocumentor/reflection-common from 2.0.0 to 2.2.0
2020-06-27 13:56:39 +02:00
Jaap van Otterdijk b1d4733ab7 Merge pull request #228 from phpDocumentor/dependabot/add-v2-config-file
Update Dependabot config file
2020-06-27 13:56:00 +02:00
Jaap van Otterdijk 7854965c2c Merge pull request #225 from GrahamCampbell/patch-1
Removed unnecessary version constraint
2020-06-27 13:33:48 +02:00
Jaapio a93d44f1e1 Add psalm key 2020-06-27 13:25:20 +02:00
Jaapio 4d1a808f18 Bump qa tools 2020-06-27 13:19:36 +02:00
Jaap van Otterdijk 790426f28b Merge pull request #227 from vladyslavstartsev/patch-1
remove (from publishing) files that are not needed for end user
2020-06-19 20:58:43 +02:00