php-openapi / yii2-openapi

REST API application generator for Yii2, openapi 3.0 YAML -> Yii2
MIT License
5 stars 1 forks source link

symfony/polyfill-php80 should be moved to require section in composer.json file #37

Open SOHELAHMED7 opened 1 month ago

SOHELAHMED7 commented 1 month ago

I observed that polyfill package symfony/polyfill-php80 is used.

File: src/lib/items/RouteData.php::detectUrlPattern()

if (!str_starts_with(trim($this->path, '/'), trim($prefix, '/'))) {

It is present in require-dev section in composer.json

It should be present in require section