massadm

Results 7 comments of massadm

Thanks for the suggested solution. This solution is simple and effective, but not applicable in my case. If I modify your example like this: ```php ... public function testPatchSchema() {...

Call to get incoming updates using long polling looks like this: ```php $response = Request::getUpdates(..., $offset = $this->last_update_id + 1) ``` `$this->last_update_id` populated from the database like this: ```sql SELECT...

I suggest to ALTER TABLE `telegram_update` by adding COLUMN `unknown_update_id` BIGINT UNSIGNED NULL referred to `unknown_telegram_update` TABLE by it's primary key. All unimplemented updates must be stored here in `unknown_telegram_update`...

As of npm cli [v8.3.0](https://github.com/npm/cli/releases/tag/v8.3.0) (2021-12-09) this can be solved using the [overrides field](https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides) of your package.json. ```json "overrides": { "gulp-better-rollup": { "rollup": "^1||^2||^3" } } ```

In details. `JsonPointer::getByPointer(, '/properties/items/items/1/allOf/0')` result `'Key not found: 1'`. ``` Stack trace: #0 ./vendor/swaggest/json-diff/src/JsonPointer.php(243): Swaggest\JsonDiff\JsonPointer::get(Object(Swaggest\JsonSchema\Schema), Array) #1 ./SchemaService.php(37): **Swaggest\JsonDiff\JsonPointer::getByPointer**(Object(Swaggest\JsonSchema\Schema), '/properties/ite...') #2 ./DebugValidate.php(97): SchemaService->validate(Object(stdClass), Object(stdClass)) ... ``` While `JsonPointer::getByPointer(, preg_replace('/\/items\/items\/\d+\//', '/items/items/',...

My vote for [7.4.33](https://www.php.net/releases#7.4.33) support. PHP 8 is a major update and thus there breaking changes. Most of current projects cannot be able to use PHP 8 for years. IMHO...