Jonas Renggli
be17698320
[php-flight] fix: remove trailing spaces ( #21254 )
...
According to the Guidelines for Contributing
(https://github.com/OpenAPITools/openapi-generator/blob/master/CONTRIBUTING.md )
generated PHP code should conform to PSR-12
(https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide.md ).
There are some minor violations regarding the following rule
> There MUST NOT be trailing whitespace at the end of lines.
This change removes trailing spaces in generated code.
2025-05-11 22:32:27 +08:00
Jonas Renggli
6344bfa779
[php-flight] fix: use static PHPUnit assertions ( #21253 )
...
Static analysis tools such as PHPStan report errors when dynamic calls are used
for static methods.
```
ERROR Dynamic call to static method PHPUnit\Framework\Assert::assertEquals().
```
According to the source code of PHPUnit
(https://github.com/sebastianbergmann/phpunit/blob/9.5.0/src/Framework/Assert.php )
the function is indeed static.
```php
public static function assertTrue($condition, string $message = ''): void
```
This change updates to PHP Flight test template `register_routes_test.mustache`
to use static calls for PHPUnit assertions.
2025-05-11 22:22:34 +08:00
William Cheng
dbf720c093
Prepare 7.14.0 release ( #21159 )
...
* Revert "v7.13.0 release (#21157 )"
This reverts commit 4b805ff6b7ac5bd2557555810357569fe2677311.
* prepare v7.14.0 release
* update samples
2025-04-27 22:04:03 +08:00
Simon Podlipsky
62b176e95d
feat(php): drop support for EOLed PHP versions and unify min required version ( #17826 )
2025-03-24 13:59:01 +08:00
William Cheng
a79aad8420
Prepare 7.13.0 ( #20758 )
...
* Revert "v7.12.0 release"
This reverts commit 073723cb4d41187f839fbb46565d109293fa22d7.
* set version to v7.13.0-SNAPSHOT
* update samples
* update doc
2025-02-28 13:48:36 +08:00
William Cheng
1fa07bf46c
Prepare 7.12.0 ( #20512 )
...
* Revert "v7.11.0 release (#20508 )"
This reverts commit a7240eeefeedeefe7fc80ef22747dfc67e126324.
* prepare 7.12.0 snapshot version
* update samples
* update readme
2025-01-21 00:10:09 +08:00
William Cheng
654f62ce3c
Prepare 7.11.0 ( #20130 )
...
* Revert "prepare 7.10.0 release (#20128 )"
This reverts commit 12dfe8fe74a1515d1e69e00df9abe4128aa44160.
* update to 7.11.0-SNAPSHOT, update samples
* update docs
2024-11-18 20:15:29 +08:00
William Cheng
e2c458b9ea
Prepare 7.10.0 ( #19809 )
...
* Revert "prepare 7.9.0 release (#19808 )"
This reverts commit 4145000dfebe7a9edea4555c8515383da7602458.
* prepare 7.10.0 snapshot
* update doc
* update samples
2024-10-08 11:21:54 +08:00
William Cheng
91da2fd240
Prepare 7.9.0 snapshot ( #19386 )
...
* Revert "v7.8.0 release (#19385 )"
This reverts commit 6bdc452f92d49dcac7ac21dfe8751c8cc4267b98.
* update samples for v7.9.0-snapshot
2024-08-19 16:14:51 +08:00
William Cheng
20cfce0b4a
Prepare v7.8.0 ( #19048 )
...
* Revert "v7.7.0 release"
This reverts commit f3dd32385e02065ad298801ca11b8871bcb3a92a.
* prepare v7.8.0
* update readme
* update doc
* update samples
2024-07-02 16:45:53 +08:00
William Cheng
741bf0c035
Prepare 7.7.0-SNAPSHOT ( #18709 )
...
* Revert "7.6.0 release"
This reverts commit d76f9d32d11a03be2b40ebff728ef0ff86332fcb.
* prepare 7.7.0 snapshot in master
* update samples
2024-05-20 17:27:17 +08:00
Daniel Schreiber
9db0e3237c
[php-flight] fix: always set http status in streaming response and use http status from spec ( #18604 )
...
This additionally adds streaming stubs for all methods (rather err on the side of too much stubs).
2024-05-08 14:26:41 +08:00
William Cheng
5f136557ba
update php samples
2024-04-29 09:38:58 +08:00
Daniel Schreiber
7070255dc5
[php-flight] fix: parsing class/enum models ( #18528 )
2024-04-29 09:32:12 +08:00
Daniel Schreiber
2217a7b0f2
feat: simple/experimental generator for flight-php server framework ( #18406 )
...
* feat: simple/experimental generator for flight-php server framework
* fix: update php-flight samples and add php-flight to integration tests
* feat: adding path to method doc
2024-04-21 23:56:59 +08:00