24 Commits

Author SHA1 Message Date
Andrew Dolgov
55bb464cc9
update static composer autoload 2025-05-02 23:24:09 +03:00
Andrew Dolgov
f22e32a26b
import cron-expression 2025-05-02 08:53:38 +03:00
wn_
7ad1efed3e Bump PHPStan to 2.1.13 2025-04-27 14:41:39 +00:00
wn_
f6a8facfd4 Bump 'spomky-labs/otphp' to 11.3.x.
This is mainly for PHP 8.4 compatibility.
2024-12-09 17:58:28 +00:00
wn_
64a36970d6 Bump 'chillerlan/php-qrcode' to 5.0.x.
* Maintains PHP `7.4` compatibility and adds PHP `8.4` compatibility
  * The `4.4.x` branch does the same, but I didn't see any reason not to go to `5.0.x`.
* https://github.com/chillerlan/php-qrcode/releases
2024-11-21 17:34:32 +00:00
wn_
e4c57769e0 Upgrade PHPStan to 2.0.1 2024-11-12 01:26:43 +00:00
wn_
124c4e2542 Update Guzzle to 7.9.2
https://github.com/guzzle/guzzle/releases
2024-10-07 20:22:01 +00:00
Andrew Dolgov
2ea888fdc6
drop php-http/guzzle7-adapter 2024-10-01 18:10:28 +03:00
Andrew Dolgov
e1bac5d855
composer dump-autoload --optimize 2024-10-01 17:21:28 +03:00
Andrew Dolgov
884fd92f13
drop opentelemetry 2024-10-01 16:00:34 +03:00
wn_
6e715bc154 Add the 'Sessions' class to the autoloader.
Generated using 'composer dump-autoload --optimize'.
2024-07-17 16:43:20 +00:00
wn_
16b89cc293 Move 'include/functions.php' require into Composer autoloader.
Autoloader regenerated with 'composer dump-autoload --optimize'.
2024-04-20 16:25:33 +00:00
Andrew Dolgov
865ecc8796
move to psr-4 autoloader 2023-10-25 12:55:09 +03:00
Andrew Dolgov
03e956132d
switch to html2text() instead of strip_tags() when preparing FTS index 2023-10-21 10:51:24 +03:00
Andrew Dolgov
cdd7ad020e
jaeger-client -> opentelemetry 2023-10-20 21:13:39 +03:00
Andrew Dolgov
8f3646a9c9
exp: jaeger tracing 2023-04-09 20:50:33 +03:00
wn_
d34d01fd72 Bump PHPStan from 1.8.2 to 1.10.3
* https://phpstan.org/blog/phpstan-1-9-0-with-phpdoc-asserts-list-type
* https://phpstan.org/blog/phpstan-1-10-comes-with-lie-detector
2023-03-05 14:20:19 +00:00
Andrew Dolgov
80d3db1dcf
upgrade idiorm to php8.1-patched version (aaronpk/idiorm) 2022-07-12 22:26:21 +03:00
Chih-Hsuan Yen
d9861038bc
Update beberlei/assert for PHP 8 compatibility
Run `composer update beberlei/assert` using composer 2.3.8 on PHP 8.1.7

Updating other packages without updating this fails with:

```
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - beberlei/assert v3.2.2 requires php ^7 -> your php version (8.1.7) does not satisfy that requirement.
    - spomky-labs/otphp v10.0.1 requires beberlei/assert ^3.0 -> satisfiable by beberlei/assert[v3.2.2].
    - spomky-labs/otphp is locked to version v10.0.1 and an update of this package was not requested.
```
2022-07-12 22:23:30 +03:00
Andrew Dolgov
1c4f7ab3b8 * add phpunit as a dev dependency
* add some basic tests for UrlHelper::rewrite_relative()
 * fix UrlHelper::rewrite_relative() to work better on non-absolute
   relative URL paths
2022-03-22 12:24:31 +03:00
Andrew Dolgov
4c37fa4b41 update phpstan to 1.1.2; update php-qrcode to 3.4.1 2021-11-15 18:33:35 +03:00
Andrew Dolgov
3b70d1f622 require phpstan via composer 2021-10-22 13:42:29 +03:00
Andrew Dolgov
f38be747d1 initial for idiorm 2021-03-01 18:36:47 +03:00
Andrew Dolgov
3fd7856543 * switch to composer for qrcode and otp dependencies
* move most OTP-related stuff into userhelper
* remove old phpqrcode and otphp libraries
2021-02-26 19:16:17 +03:00