Commit Graph
769 Commits
Author SHA1 Message Date
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
dependabot[bot] 43bc01edca Bump psalm/phar from 4.22.0 to 4.24.0
Bumps [psalm/phar](https://github.com/psalm/phar) from 4.22.0 to 4.24.0.
- [Release notes](https://github.com/psalm/phar/releases)
- [Commits](https://github.com/psalm/phar/compare/4.22.0...4.24.0)

---
updated-dependencies:
- dependency-name: psalm/phar
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-07-22 14:20:10 +00:00
dependabot[bot] a4764e401f Bump webmozart/assert from 1.10.0 to 1.11.0
Bumps [webmozart/assert](https://github.com/webmozarts/assert) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/webmozarts/assert/releases)
- [Changelog](https://github.com/webmozarts/assert/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webmozarts/assert/compare/1.10.0...1.11.0)

---
updated-dependencies:
- dependency-name: webmozart/assert
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-07-22 14:20:08 +00: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
dependabot[bot] df5088c683 Bump phpdocumentor/type-resolver from 1.6.0 to 1.6.1
Bumps [phpdocumentor/type-resolver](https://github.com/phpDocumentor/TypeResolver) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/phpDocumentor/TypeResolver/releases)
- [Commits](https://github.com/phpDocumentor/TypeResolver/compare/1.6.0...1.6.1)

---
updated-dependencies:
- dependency-name: phpdocumentor/type-resolver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-04-04 10:01:15 +00: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
Fabien Villepinte 29ed9ae60d Support reference in method tag 2022-03-31 13:22:11 +00:00
dependabot[bot] 8e19dd621a Bump actions/cache from 2.1.7 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-29 20:10:23 +00: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
dependabot[bot] f8e84e03d1 Merge pull request #324 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.6.0 2022-03-29 19:20:41 +00: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
jrfnl 13d8469422 GH Actions: version update for various predefined actions
A number of predefined actions have had major release, which warrant an update to the workflow(s).

These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node 16).

Refs:
* https://github.com/actions/checkout/releases
2022-03-05 19:50:40 +01:00
dependabot[bot] fda616c3a4 Bump phpdocumentor/type-resolver from 1.5.1 to 1.6.0
Bumps [phpdocumentor/type-resolver](https://github.com/phpDocumentor/TypeResolver) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/phpDocumentor/TypeResolver/releases)
- [Commits](https://github.com/phpDocumentor/TypeResolver/compare/1.5.1...1.6.0)

---
updated-dependencies:
- dependency-name: phpdocumentor/type-resolver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-10 10:00:52 +00: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
jrfnl 92f06ed36f GH Actions: version update for ramsey/composer-install
The action used to install Composer packages and handle the caching has released a new major (and some follow-up patch releases), which means, the action reference needs to be updated to benefit from it.

Refs:
* https://github.com/ramsey/composer-install/releases/tag/2.0.0
* https://github.com/ramsey/composer-install/releases/tag/2.0.1
* https://github.com/ramsey/composer-install/releases/tag/2.0.2
2021-12-25 19:37:57 +01:00
Fabien Villepinte b9576df211 Send code coverage to Scrutinizer 2021-12-21 18:55:57 +00: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
Fabien Villepinte 33e88681c3 Test with multiple versions of the dependencies 2021-12-21 15:50:16 +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
Anton e3d6818033 Optimize Description::render() 2021-12-18 21:35:58 +03:00
Anton 8e35c5f0db Update Description.php 2021-12-18 20:14:14 +03:00
dependabot[bot] b3680726d2 Bump actions/cache from 2.1.6 to 2.1.7
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29 10:00:59 +00: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
Manuel Kea Baldassarri c8b2244018 Remove deprecated StaticMethod and fix comment 2021-10-16 09:24:17 +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
dependabot[bot] dac3933d9d Bump phpdocumentor/type-resolver from 1.5.0 to 1.5.1
Bumps [phpdocumentor/type-resolver](https://github.com/phpDocumentor/TypeResolver) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/phpDocumentor/TypeResolver/releases)
- [Commits](https://github.com/phpDocumentor/TypeResolver/compare/1.5.0...1.5.1)

---
updated-dependencies:
- dependency-name: phpdocumentor/type-resolver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-04 10:01:15 +00: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
jrfnl 670b3b54af PHPUnit: update configuration
PHPUnit just released version 9.5.10 and 8.5.21.

This contains a particular (IMO breaking) change:

> * PHPUnit no longer converts PHP deprecations to exceptions by default (configure `convertDeprecationsToExceptions="true"` to enable this)

Let's unpack this:

Previously (PHPUnit < 9.5.10/8.5.21), if PHPUnit would encounter a PHP native deprecation notice, it would:
1. Show a test which causes a deprecation notice to be thrown as **"errored"**,
2. Show the **first** deprecation notice it encountered and
3. PHPUnit would exit with a **non-0 exit code** (2), which will fail a CI build.

As of PHPUnit 9.5.10/8.5.21, if PHPUnit encounters a PHP native deprecation notice, it will no longer do so. Instead PHPUnit will:
1. Show a test which causes a PHP deprecation notice to be thrown as **"risky"**,
2. Show the **all** deprecation notices it encountered and
3. PHPUnit will exit with a **0 exit code**, which will show a CI build as passing.

This commit reverts PHPUnit to the previous behaviour by adding `convertDeprecationsToExceptions="true"` to the PHPUnit configuration.

Refs:
* https://github.com/sebastianbergmann/phpunit/blob/9.5/ChangeLog-8.5.md
* https://github.com/sebastianbergmann/phpunit/blob/9.5/ChangeLog-9.5.md
2021-09-25 18:47:01 +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
dependabot[bot] 91a16428da Bump phpdocumentor/type-resolver from 1.4.0 to 1.5.0
Bumps [phpdocumentor/type-resolver](https://github.com/phpDocumentor/TypeResolver) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/phpDocumentor/TypeResolver/releases)
- [Commits](https://github.com/phpDocumentor/TypeResolver/compare/1.4.0...1.5.0)

---
updated-dependencies:
- dependency-name: phpdocumentor/type-resolver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-20 10:02:18 +00: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
dependabot[bot] 68c9ee9a00 Bump psalm/phar from 4.9.3 to 4.10.0
Bumps [psalm/phar](https://github.com/psalm/phar) from 4.9.3 to 4.10.0.
- [Release notes](https://github.com/psalm/phar/releases)
- [Commits](https://github.com/psalm/phar/compare/4.9.3...4.10.0)

---
updated-dependencies:
- dependency-name: psalm/phar
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-17 13:43:15 +00: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
Fabien Villepinte 98e82e39fa Tests: add a case to cover issue #298 2021-09-05 18:57:50 +00:00
Fabien Villepinte 44e31d19a6 Fix undefined index 2021-09-05 12:40:50 +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