Máté Kocsis
0e43594305
Revert "Add explicit type declarations to class constants (PHP 8.3+) ( #215 )"
...
This reverts commit c65199393a .
2026-03-04 08:43:09 +01:00
Louis-Arnaud
c65199393a
Add explicit type declarations to class constants (PHP 8.3+) ( #215 )
...
### Motivation
- Enhances type safety and static analysis.
- Makes code intent clearer.
- Prepares PhD for PHP 8.4 compatibility and future strictness.
### Scope
- Added types such as `int`, `string`, `bool`, or `array` to class constants.
- Example:
Before:
`public const FORMAT_HTML = 1;`
`public const NAME = 'PhD';`
After:
`public const int FORMAT_HTML = 1;`
`public const string NAME = 'PhD';`
### Impact
- ✅ No runtime behavior change.
- ✅ Fully backward compatible with PHP 8.3+.
- ⚙️ Code clarity and safety improvement only.
- Updated `composer.json` to indicate PHP 8.3 requirement
- Removed 8.1 and 8.2 CI pipelines
### References
- [PHP 8.3: Typed class constants RFC](https://wiki.php.net/rfc/typed_class_constants )
- [PHP manual: Class constants](https://www.php.net/manual/en/language.oop5.constants.php )
---------
Co-authored-by: lacatoire <louis-arnaud.catoire@external.drivalia.com >
2026-02-05 20:45:10 +00:00
lacatoire
3572bd3dd2
removed the continue-on-error for PHP 8.5.
2026-02-03 18:35:36 +00:00
lacatoire
07973db68b
CI: add PHP 8.5 to test matrix (allowed to fail)
2026-02-03 18:35:36 +00:00
dependabot[bot]
3dc6e76d8f
Bump actions/checkout from 5 to 6 ( #224 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 09:25:20 +01:00
haszi
39104278ea
Add PHP 8.4 to test runner matrix ( #220 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2025-11-26 20:17:22 +01:00
dependabot[bot]
295283cf53
Bump actions/checkout from 2 to 5 ( #200 )
2025-08-13 18:17:57 +00:00
Tim Düsterhus
43881399b0
Create dependabot.yml
2025-08-13 20:12:26 +02:00
haszi
b0c1f87202
Remove PHP 8.0 testing ( #178 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-11-10 17:52:53 +00:00
haszi
891340a125
Full doc-en render test ( #121 )
...
* Full doc-en render test
* Pass output directory option to PhD
---------
Co-authored-by: haszi <haszika80@gmail.com >
2024-04-29 14:52:21 +01:00
haszi
41c82d5d46
Bump smoke test version to 8.0+ ( #108 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-03-03 15:34:54 +00:00
haszi
2793dde1d2
Run tests on pull requests ( #99 )
...
* Run tests on push and pull requests
* Update test
Update test that had an <article> element missing its xml:id which the indexer expects to be present.
---------
Co-authored-by: haszi <haszika80@gmail.com >
2024-02-25 16:54:21 +00:00
Peter Cowburn
d1e00445df
use 7.1 as minimum PHP version for CI smoke test
2021-10-29 23:38:14 +01:00
Christoph M. Becker
0ea0173b47
Most basic smoke test for CI ( #53 )
2021-09-30 21:47:10 +01:00