Closed niabot closed 8 years ago
I'm not able to reproduce the problem. Everything seems to be working fine for me. Everything you posted looks like it should work. Even the autoload file looks correct. Maybe composer has something cached that is causing problems.
I wonder why, but after removing and reinstalling of all (!) dependencies it is now working as expected. Composer must have really done something wrong. My bad for the wrong report.
I just installed silex-json-schema-provider using composer and get the following error once i try to register the JsonSchemaServiceProvider with my silex application.
It basically tells me that autoload from composer isn't able to locate the class, because of some error inside the configuration of the class loader. But I'm not sure what is causing the issue. All other installed classes load just fine, even Jsv4. To get it running - for now - i copied your files (DescribedBy.php, JsonSchemaServiceProvider.php, Jsv4Validator.php) into my project and gave them a different namespace. Now JsonSchemaServiceProvider is found and works as intended.
ShopApplication.php
composer.json
autoload_psr4.php
installed.json (partially)