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 - composer.json is valid, but with a few warnings
Summary: composer.json is valid, but with a few warnings
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Composer (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-05 14:30 UTC by Yousha
Modified: 2017-08-15 21:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (64.23 KB, text/plain)
2017-03-05 14:30 UTC, Yousha
Details

Note You need to log in before you can comment on or make changes to this bug.
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.