How to prevent the «Composer» submodule of PHPStorm from marking a folder as a «source root»?

Step 1. Update the project's setting

2023-07-03--04-45-15

Step 2. Update the default setting

2023-07-03--04-48-01

See also: How to prevent IntelliJ IDEA / PHPStorm from marking a folder as a «source root»?