nuvoleweb / robo-config Goto Github PK
View Code? Open in Web Editor NEWCI/Developer-friendly configuration processor for Robo.
License: GNU General Public License v2.0
CI/Developer-friendly configuration processor for Robo.
License: GNU General Public License v2.0
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
:-(
Running append, prepend or write tasks produced multiple empty lines, see linked PR for more info. The scope of this issue is to fix that.
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
Currently \NuvoleWeb\Robo\Task\Config\loadTasks
will load both tasks related to PHP configuration files processing and robo.yml file processing, we should split the two into two different loadTasks
traits that will be called by \NuvoleWeb\Robo\Task\Config\loadTasks
so we keep bacwards compatiblity.
robo-config 2.x bcb737c
$ ./vendor/bin/grumphp run
GrumPHP is sniffing your code!
Running task 1/1: 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
----------------------------------------------------------------------------------------------------------------------
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.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.