Coder Social home page Coder Social logo

dangoodman / composer-for-wordpress Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 3.0 8 KB

A plugin for Composer package manager making it working a bit better within WordPress plugins

License: MIT License

PHP 100.00%
composer wordpress wordpress-development wordpress-plugin

composer-for-wordpress's Issues

Issue with laminas

Hello,

There are a problem with 3rd party plugin, you can see there :

laminas/laminas-zendframework-bridge#88

instance of Composer\Autoload\ClassLoader is required.
But the suffix of Autoload is changing there.

Is there any reason to add a suffix to Autoload ?

I figured out that were a classloader-suffix configuration to composer.json but when we set it to null we can't get rid of the suffix
Otherwise, couldn't we get rid of this suffix by default ?

classloader-suffix is returning as NULL

Howdy,

Nice plugin โ€” thanks for putting this together.

I noticed I can't seem to use the classloader-suffix with any success. I've tried using it both at the top level of the composer.json file and also within "extra" but neither seems to take effect.

When I dump the output of the call to $composerConfig->get('classloader-suffix') in \Dangoodman\ComposerForWordpress\ComposerForWordpress::onPostAutoloadDump(), the value is null.

This isn't a critical issue but thought I'd raise it in case it's a bug. If I'm doing something wrong (maybe you've seen this before) please school me so I can get myself sorted :)

I'm using Composer version 1.10.21 and haven't tried using version 2 yet.

Cheers,
Phil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.