1
0
Fork 0
Commit Graph

132 Commits (5f298ae294ef0d43a26fc89e8029752c1b97edd8)

Author SHA1 Message Date
Jordi Boggiano 0a2846cb24
Fix autoloading on PHP 5.6 (#11285)
* Add a CI check to ensure the autoloader can run on php5.6+

* Fix autoloading on PHP 5.6
2023-01-27 16:26:04 +01:00
dependabot[bot] f07614f1c9
Bump actions/stale from 6 to 7 (#11244)
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 14:38:27 +01:00
Jordi Boggiano cbb7c91223
Fix ClassLoader to be serializable (#11237)
* Fix ClassLoader to be serializable

* Fix CI to use the source bin/composer as process for "composer" runs incl within simple-phpunit

* Store the closure statically to avoid serialization issues in a cleaner way
2022-12-22 15:17:04 +01:00
Jordi Boggiano 8ffd8bef08
Merge branch '2.4' 2022-10-25 15:27:14 +02:00
Juliette e746f71e95
GH Actions: fix use of deprecated `set-output` (#11126)
GitHub has deprecated the use of `set-output` (and `set-state`) in favour of new environment files.

This commit updates workflows to use the new methodology.

Refs:
* https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
* https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2022-10-25 11:54:48 +02:00
dependabot[bot] 5770fb027c
Bump actions/stale from 5 to 6 (#11084)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 10:51:55 +02:00
Alex a1bc424a06
Update release.yml 2022-08-30 14:03:38 +02:00
Jordi Boggiano 6b31fbec01
Update pull_request_template.md 2022-08-17 17:43:21 +02:00
Jordi Boggiano 81ea5409e0
Set close status to not planned for auto closed support issues 2022-07-30 14:19:06 +02:00
Jordi Boggiano 99255d3d85
Build releases with 8.1 2022-07-01 12:22:11 +02:00
dependabot[bot] 51db9e823c
Bump actions/cache from 2 to 3 (#10902)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2022-06-30 15:17:38 +02:00
Naveen 137ed52966
chore: Included githubactions in the dependabot config (#10900)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-28 20:32:45 +02:00
Jordi Boggiano 16ee2e479f
Merge branch '2.2' into 2.3 2022-06-22 09:16:23 +02:00
naveen 14476ec2a6
chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-22 08:18:22 +02:00
Jordi Boggiano f459b9bf61
Avoid updating phpstan in 7.2 build 2022-03-26 14:41:55 +01:00
Jordi Boggiano 5122bd42fb
Merge branch '2.2' into main 2022-03-15 13:11:59 +01:00
jrfnl dca2d49d0c
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

P.S.: looks like there are some more actions in use which have had new major releases. As those actually _do_ contain changed functionality, I've excluded the others from this PR.
2022-03-15 12:49:38 +01:00
Andreas Möller 58deb39029
Enhancement: Update actions/github-script (#10612) 2022-03-15 10:22:01 +01:00
Andreas Möller e9680c4c54
Enhancement: Update actions/stale (#10610) 2022-03-15 10:21:11 +01:00
jrfnl 6b36f822d6
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

P.S.: looks like there are some more actions in use which have had new major releases. As those actually _do_ contain changed functionality, I've excluded the others from this PR.
2022-03-05 19:17:37 +01:00
Jordi Boggiano e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch (#10474) 2022-01-21 12:48:16 +01:00
Jordi Boggiano 4f7d06e2a7
Mark PHP8.1 phpstan build experimental 2022-01-01 14:54:23 +01:00
Jordi Boggiano 095c36ecf8
Fix some PHPStan errors/.. 2022-01-01 14:54:20 +01:00
Jordi Boggiano 59603a357a
Remove PHPUnit direct require again 2022-01-01 14:54:19 +01:00
Jordi Boggiano 2a771dfb2d
Update PHPUnit to 8.5 2022-01-01 14:54:19 +01:00
Jordi Boggiano d2ede370be
Bump target version, bump PHP and dependency requirements to PHP 7.2+ 2022-01-01 14:54:18 +01:00
Jordi Boggiano 99aeba541a
Improve PR template 2022-01-01 14:53:58 +01:00
Jordi Boggiano aeb206bcfb
Fix CI for LTS 2021-12-09 12:02:20 +01:00
Jordi Boggiano ef728bf8f7
Avoid removing the platform config on every build 2021-12-08 22:03:22 +01:00
Jordi Boggiano 2d92e2119a
Add deprecations checks 2021-12-07 09:33:45 +01:00
Jordi Boggiano f758da32c9
Merge branch '2.1' into main 2021-11-30 10:39:44 +01:00
Jordi Boggiano 965b12cdec
Allow alpha and above for latest deps build to catch dependency problems earlier next time 2021-11-30 10:32:23 +01:00
Jordi Boggiano f509c41280
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
2021-11-14 20:42:24 +01:00
Yanick Witschi 34183f49f9
Implemented PoolOptimizer 2021-11-11 16:13:24 +01:00
Viktor Szépe e89459d964
Separate CI steps (#10226) 2021-10-27 14:54:36 +02:00
Fabien Villepinte 3861ce68cd
Replace master by main (#10171) 2021-10-16 22:30:15 +02:00
Fabien Villepinte 1dd2bc6f02
Validate composer.lock strictly (#10160) 2021-10-15 15:11:38 +02:00
Jordi Boggiano 135611fc9d
Add deprecation baseline for php8.1+ builds which use locked or lowest dependencies 2021-10-15 13:37:02 +02:00
Jordi Boggiano 5818b4aa51
Attempt fixing php8.1 build 2021-10-15 12:55:41 +02:00
Jordi Boggiano 0868245589
Rename master branch to main 2021-10-14 16:21:47 +02:00
Jordi Boggiano 2c292e705d
Mark and close stale support issues 2021-08-29 12:37:08 +02:00
Juliette 5f48f87501
PHPUnit: move environment variable into PHPUnit config file (#10062)
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-08-19 13:21:04 +02:00
Ondrej Mirtes 79093d664b Update PHPStan and remove ignore 2021-07-21 10:10:09 +02:00
jrfnl 4324b375af GH Actions: ensure linting is done against highest/lowest supported PHP version
`latest` in the matrix will always refer to the latest stable PHP release, which would now be PHP 8.0.
2021-06-21 21:05:19 +02:00
jrfnl 617d63f40a GH Actions: set error reporting to E_ALL
Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT` and `display_errors` is set to `Off`.

For the purposes of CI, I'd recommend running with `E_ALL` and `display_errors=On` to ensure **all** PHP notices are shown.
2021-06-21 21:03:38 +02:00
Jordi Boggiano 7157097ea0
Update ISSUE_TEMPLATE.md 2021-06-09 09:47:37 +02:00
Jordi Boggiano aaf722db01
Update PR template 2021-06-07 15:52:33 +02:00
Jordi Boggiano 991985792d
Merge branch '2.0' 2021-05-20 14:16:52 +02:00
Guilliam Xavier 8d8842eb8c
Fix schema minimum-stability pattern 2021-05-20 14:15:39 +02:00
Jordi Boggiano b6826f3523
Create pull_request_template.md 2021-03-11 21:28:58 +01:00