This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269992

Summary: composer.json is valid, but with a few warnings
Product: php Reporter: Yousha
Component: ComposerAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description Yousha 2017-03-05 14:30:38 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Reproducibility: Happens every time

STEPS:
 * Open a PHP project and add one package from Composer Wizard.
  * Right click on project -> Composer -> Validate.

ISSUE:
"C:\ProgramData\ComposerSetup\bin\composer.bat" "--ansi" "--no-interaction" "validate"
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.
require.catfan/medoo : exact version constraints (v1.2.1) should be avoided if the package follows semantic versioning
Comment 1 Yousha 2017-03-05 14:30:44 UTC
Created attachment 163771 [details]
IDE log
Comment 2 hspaans 2017-08-15 21:00:13 UTC
(In reply to Yousha from comment #0)
...
> "C:\ProgramData\ComposerSetup\bin\composer.bat" "--ansi" "--no-interaction"
> "validate"
> ./composer.json is valid, but with a few warnings
> See https://getcomposer.org/doc/04-schema.md for details on the schema
> No license specified, it is recommended to do so. For closed-source software
> you may use "proprietary" as license.
> require.catfan/medoo : exact version constraints (v1.2.1) should be avoided
> if the package follows semantic versioning

Can you please specify what the problem is? As this is the output from third-party component "composer" validation composer.json and giving feedback on what could be improved. It works as designed from my point of view.