Commit Graph

327 Commits

Author SHA1 Message Date
Sebastian Bergmann ae0f3fe197
Update tools 2022-03-30 13:49:59 +02:00
Sebastian Bergmann 3405bae4c8
Test with PHP 8.2 2022-03-29 07:23:26 +02:00
Sebastian Bergmann 8c57d2db68
Cleanup 2022-03-29 07:23:19 +02:00
Sebastian Bergmann 5192c0ad25
Update tools 2022-03-21 06:53:49 +01:00
Sebastian Bergmann d34fd64631
Update tools 2022-03-08 07:12:48 +01:00
Sebastian Bergmann 861d026df2
Merge branch '4.0' 2022-03-06 08:00:00 +01:00
jrfnl 428c31e2ea GH Actions: version update for various predefined actions
A number of predefined actions have had major releases, 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-06 07:59:32 +01:00
Sebastian Bergmann 05a0755c86
Update tools 2022-03-06 07:25:34 +01:00
Sebastian Bergmann afb4673faa
Update Psalm baseline 2022-02-23 09:40:20 +01:00
Sebastian Bergmann d7178dce4f
Update tools 2022-02-23 09:29:35 +01:00
Sebastian Bergmann f57cc30b0e
Remove deprecated totallyTyped attribute 2022-02-23 09:25:20 +01:00
Sebastian Bergmann 04f0ef2adc
Update tools 2022-02-08 08:01:54 +01:00
Sebastian Bergmann 5779489e82
Update tools 2022-02-07 07:23:30 +01:00
Sebastian Bergmann 3dbe7917b6
Update ChangeLog 2022-01-22 07:40:05 +01:00
Sebastian Bergmann 492bc70b5a
Refactor 2022-01-22 07:38:58 +01:00
Marijn van Wezel bf4db94989 Prevent dataProvider from failing by not using a data provider 2022-01-22 07:30:17 +01:00
Marijn van Wezel f6f62ca269 Fix incorrect dataset name 2022-01-22 07:30:17 +01:00
Marijn van Wezel ba5c2c83da Improve export of enums
This commit improves the export of enumerations (see https://wiki.php.net/rfc/enumerations). This change is backwards-compatible with PHP 8.0. Previously, enums would be exported as objects (which they are internally), for instance:

```
SebastianBergmann\Exporter\ExampleEnum Object #%d (
    'name' => 'Value'
)"
```

This commit changes that behaviour and improves the export for both backed and non-backed enums:

Unit enum:
 SebastianBergmann\Exporter\ExampleEnum Enum #%d (Value)

Backed enum:
 SebastianBergmann\Exporter\ExampleBackedEnum Enum #%d (Value, 'value')
2022-01-22 07:30:17 +01:00
Sebastian Bergmann 2d3ded59e9
Update tools 2022-01-22 07:22:02 +01:00
Andreas Möller 1b95a08990 Fix: Export COMPOSER_ROOT_VERSION environment variable in workflow 2022-01-17 11:35:16 +01:00
Sebastian Bergmann ec17352ef7
Update tools 2022-01-14 08:53:41 +01:00
Sebastian Bergmann 6b09e85a03
Update tools 2022-01-09 08:28:36 +01:00
Sebastian Bergmann fd6208f285
Bump copyright year 2022-01-01 08:59:26 +01:00
Sebastian Bergmann 8e38d0cd76
Update tools 2022-01-01 08:10:26 +01:00
Sebastian Bergmann 4bcf64696b
Update tools 2021-12-26 09:33:32 +01:00
Sebastian Bergmann 724001cd33
Update tools 2021-12-26 09:17:06 +01:00
jrfnl 77e940cf33 GH Actions: version update for `actions/cache`
Ref: https://github.com/actions/cache/releases
2021-12-26 08:58:20 +01:00
Sebastian Bergmann dd038f5a70
Update tools 2021-12-22 14:12:53 +01:00
Sebastian Bergmann bb0877aba7
Update tools 2021-12-13 15:52:29 +01:00
Sebastian Bergmann 9e1c14f828
Require mbstring extension 2021-12-13 15:46:40 +01:00
Tyson Andre 8742034e90 Change `Object &hash` to `Object #id` in variable representation
This proposes using `#` instead of `&` to

1. Avoid overlapping with the hash numbers for `Array &%d ()`
2. Be similar to var_dump.

This proposes a `Object #` prefix for SplObjectStorage object id keys
to make **accidental** ambiguity with dynamic properties less likely.

Closes #39
2021-12-13 15:43:42 +01:00
Sebastian Bergmann 33aa05d34a
Update tools 2021-11-29 16:32:38 +01:00
Sebastian Bergmann ae77c2bb98
Merge branch '4.0' 2021-11-11 15:20:39 +01:00
Sebastian Bergmann 65e8b7db47
Prepare release 2021-11-11 15:18:36 +01:00
Sebastian Bergmann 0ea1411cf3
Merge branch '3.1' into 4.0 2021-11-11 15:18:25 +01:00
Sebastian Bergmann 0c32ea2e40
Do not run PHP-CS-Fixer in CI (until I figure out which change(s) cause the code to not work with PHP 7.0) 2021-11-11 14:51:24 +01:00
Sebastian Bergmann 44131c410c
PHP 7.0 does not support void return type 2021-11-11 14:47:20 +01:00
Sebastian Bergmann dd7b15e57f
Revert "Fix CS/WS issues"
This reverts commit 55a5916c01.
2021-11-11 14:46:33 +01:00
Sebastian Bergmann a4954d6b20
Do not use deprecated --no-suggest option 2021-11-11 14:33:59 +01:00
Sebastian Bergmann 1245ecacc9
Prepare release 2021-11-11 14:31:47 +01:00
Sebastian Bergmann b2b605d2c8
Merge branch '4.0' 2021-11-11 14:17:11 +01:00
Sebastian Bergmann 4667b0f6e2
Update PHPUnit configuration 2021-11-11 14:15:10 +01:00
jrfnl c4ad286ff2 CI: fix composer install with recursive dependency 2021-11-11 14:13:43 +01:00
jrfnl 967ffc8eae Improve export of closed resources
Fixes 36
2021-11-11 14:13:43 +01:00
Sebastian Bergmann 02e101d9aa
Merge branch '3.1' into 4.0 2021-11-11 14:12:36 +01:00
Sebastian Bergmann 06e3d78da1
Add .gitattributes 2021-11-11 14:11:08 +01:00
Sebastian Bergmann 55a5916c01
Fix CS/WS issues 2021-11-11 14:08:23 +01:00
Sebastian Bergmann e652b2c7a3
Update PHP-CS-Fixer configuration 2021-11-11 14:07:44 +01:00
Sebastian Bergmann ba353f35fb
Initial work on GitHub Actions configuration for 3.1 branch 2021-11-11 14:05:16 +01:00
Sebastian Bergmann d9a816b460
Update PHPUnit 2021-11-11 13:41:50 +01:00