Skip to content

Commit

Permalink
Issue #21: PHP 8.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
22Alexandra committed Dec 8, 2022
1 parent ca3a724 commit f768015
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 15 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: CI

on: [push]
on: [push, pull_request_target]

jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
PHP_VERSION: [ "8.0", "8.1" ]

steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v6
with:
php_version: 7.4
version: 1
php_version: ${{ matrix.php_version }}
version: 2
- uses: php-actions/phpunit@v3
17 changes: 13 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,26 @@
}
],
"require": {
"consolidation/robo": "^3.0"
"consolidation/robo": "^3.0 | ^4.0"
},
"require-dev": {
"drupal/coder": "^8",
"phpunit/phpunit": "^9.4",
"phpro/grumphp": "^1.2"
"drupal/coder": "^8.3.16",
"phpunit/phpunit": "^9.5.5",
"phpro/grumphp": "^1.14",
"amphp/parallel": "^1.4.1",
"dflydev/dot-access-data": "^3.0.1",
"gitonomy/gitlib": "^1.3.2"
},
"autoload": {
"psr-4": {
"NuvoleWeb\\Robo\\Task\\Config\\": "./src/",
"NuvoleWeb\\Robo\\Tests\\": "./tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpro/grumphp": true
}
}
}
2 changes: 1 addition & 1 deletion src/Php/AppendConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace NuvoleWeb\Robo\Task\Config\Php;

/**
* Class AppendConfiguration.
* Class to append configuration.
*
* @package NuvoleWeb\Robo\Task\Config
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Php/BaseConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Robo\Task\File\Write;

/**
* Class BaseConfiguration.
* Class providing base configuration.
*
* @package NuvoleWeb\Robo\Task\Config
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Php/BaseConfigurationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace NuvoleWeb\Robo\Task\Config\Php;

/**
* Interface BaseConfigurationInterface.
* Interface of the BaseConfigurationInterface class.
*
* @package NuvoleWeb\Robo\Task\Config
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Php/PrependConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace NuvoleWeb\Robo\Task\Config\Php;

/**
* Class PrependConfiguration.
* Class to prepend configuration.
*
* @package NuvoleWeb\Robo\Task\Config
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Php/WriteConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace NuvoleWeb\Robo\Task\Config\Php;

/**
* Class WriteConfiguration.
* Class to write configuration.
*
* @package NuvoleWeb\Robo\Task\Config
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Php/loadTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Robo\Robo;

/**
* Class loadTasks.
* Class to load PHP tasks.
*
* @package NuvoleWeb\Robo\Task\Config\Php
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Robo/loadTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Symfony\Component\Yaml\Yaml;

/**
* Class loadTasks.
* Class to load Robo tasks.
*
* @package NuvoleWeb\Robo\Task\Config\Robo
*/
Expand Down
2 changes: 1 addition & 1 deletion src/loadTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace NuvoleWeb\Robo\Task\Config;

/**
* Class loadTasks.
* Includes provided loadTasks classes.
*
* @package NuvoleWeb\Robo\Task\Config
*/
Expand Down

0 comments on commit f768015

Please sign in to comment.