Git Product home page Git Product logo

robo-config's People

Contributors

22alexandra avatar ademarco avatar claudiu-cristea avatar yenyasinn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

robo-config's Issues

Currently there is no support for consolidation/robo:2.x

Current situation

There is no support for consolidation/robo:2.x.
There was, until #16 was not merged.

The PR author yenyasinn recommended:

3.x branch is recommended to be created.

@ademarco said that:

Let's do this on a 3.x branch, I'll open it right away.

But it never happened.

In an earlier PR #13 I also recommended to open a 3.x branch, in order to make it clear which robo-config version compatible which robo version.

nuvoleweb/robo-config 1.x

{
  "require": {
    "consolidation/robo": "~1"
  },
}

nuvoleweb/robo-config 2.x

{
  "require": {
    "consolidation/robo": "^3.0"
  },
}

and there is no nuvoleweb/robo-config 3.x

:-(

Deprecated: implode() in BaseConfiguration.php

Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /var/www/html/vendor/nuvoleweb/robo-config/src/Php/BaseConfiguration.php on line 115

PHP: 7.4

Misconfigured GrumPHP

robo-config 2.x bcb737c

PHPCS with GrumPHP

$ ./vendor/bin/grumphp run

GrumPHP is sniffing your code!
Running task 1/1: Phpcs... โœ”

plain PHPCS

$ ./vendor/bin/phpcs --standard='vendor/drupal/coder/coder_sniffer/Drupal/' ./src/ ./tests/TaskTest.php

FILE: ./nuvoleweb/robo-config-2.x/src/Php/AppendConfiguration.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
 9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------


FILE: ./nuvoleweb/robo-config-2.x/src/Php/BaseConfiguration.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------


FILE: ./nuvoleweb/robo-config-2.x/src/Php/BaseConfigurationInterface.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
 9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------


FILE: ./nuvoleweb/robo-config-2.x/src/Php/PrependConfiguration.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
 9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------


FILE: ./nuvoleweb/robo-config-2.x/src/Php/WriteConfiguration.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
 9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------


FILE: ./nuvoleweb/robo-config-2.x/src/Php/loadTasks.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
 12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------


FILE: ./nuvoleweb/robo-config-2.x/src/Robo/loadTasks.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
 17 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------


FILE: ./nuvoleweb/robo-config-2.x/src/loadTasks.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
 9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------


FILE: ./nuvoleweb/robo-config-2.x/tests/TaskTest.php
----------------------------------------------------------------------------------------------------------------------
FOUND 17 ERRORS AND 1 WARNING AFFECTING 17 LINES
----------------------------------------------------------------------------------------------------------------------
  25 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
  35 | ERROR   | [x] Visibility must be declared on method "setup"
  36 | ERROR   | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
  67 | ERROR   | [x] Return comment indentation must be 3 spaces, found 4 spaces
  70 | ERROR   | [x] Namespaced classes/interfaces/traits should be referenced with use statements
  70 | ERROR   | [x] Calling class constructors must always include parentheses
 147 | ERROR   | [x] Return comment indentation must be 3 spaces, found 4 spaces
 160 | ERROR   | [x] Return comment indentation must be 3 spaces, found 4 spaces
 173 | ERROR   | [x] Return comment indentation must be 3 spaces, found 4 spaces
 185 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 4 spaces
 188 | ERROR   | [x] Return comment indentation must be 3 spaces, found 4 spaces
 202 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 4 spaces
 205 | ERROR   | [x] Return comment indentation must be 3 spaces, found 4 spaces
 212 | ERROR   | [x] Doc comment short description must end with a full stop
 215 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 4 spaces
 217 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 4 spaces
 225 | ERROR   | [x] Expected 1 blank line after function; 0 found
 226 | ERROR   | [x] The closing brace for the class must have an empty line before it
----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------


PHP 8.1 support.

The package should use "consolidation/robo": "^4.0" in order to be compatible with PHP 8.1 and its dev required packages should be updated.

Uncaught Error: Class 'Robo\Config\YamlConfigLoader' not found

I'm seeing an error while trying to run ./vendor/bin/robo project:install @ ./vendor/nuvoleweb/robo-config/src/loadtasks.php

Changing

use Robo\Config\YamlConfigLoader;
use Robo\Config\ConfigProcessor;

to

use Consolidation\Config\Loader\YamlConfigLoader;
use Consolidation\Config\Loader\ConfigProcessor;

Seems to fix it

PHP 8 support

consolidation/robo 3 is suggested to use for PHP 8.

nuvoleweb/robo-config 2.x works with PHP 8, but require-dev packages also have to support PHP 8.

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.