Skip to content

Declaration of lessify::parse() should be compatible with lessc::parse (2.8.4) #12

Description

@VaelVictus

CakePHP version 2.8.4

The following gave an error for "cannot find class Lessify", unsure why. Removing .Lessify from the import seemed to fix it, so I'm guessing it's something I did or didn't name properly? Who knows.

App::import('Vendor', 'Less.Lessify',
  array(
    'file' => 'lessphp/lessify.inc.php'
  )
);

So I did this:

require_once(APP . 'Vendor' . DS . 'lessphp/lessify.inc.php');

Both that and removing .Lessify gave me the same error, indicating I'm including this file properly. Now I get this:

"Declaration of lessify::parse() should be compatible with lessc::parse"

The library's three years old. Maybe something changed in the past three years?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions