Skip to content

Commit b40fab1

Browse files
authored
Merge pull request #228 from joomla-projects/develop-fixes
2 parents c63a55d + 94c4844 commit b40fab1

File tree

5 files changed

+1029
-2698
lines changed

5 files changed

+1029
-2698
lines changed

.drone.yml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
1-
pipeline:
2-
phpcs:
3-
image: composer:1.9
1+
---
2+
kind: pipeline
3+
name: default
4+
5+
clone:
6+
7+
steps:
8+
- name: composer
9+
image: joomlaprojects/docker-images:php7.4
10+
volumes:
11+
- name: composer-cache
12+
path: /tmp/composer-cache
13+
commands:
14+
- composer validate --no-check-all --strict
15+
- composer install --no-progress --no-suggest
16+
17+
- name: phpcs
18+
image: joomlaprojects/docker-images:php7.4
419
commands:
520
- echo $(date)
6-
- composer install --prefer-dist --no-progress --no-interaction
7-
- vendor/bin/robo check:codestyle
21+
- ./vendor/bin/phpcs --extensions=php -p --standard=vendor/joomla/coding-standards/Joomla src
822
- echo $(date)
23+
24+
---
25+
kind: signature
26+
hmac: 87b066184613e920466064596cfde1fb9e7aae0ed7ca860ac91c7f199fc3e67f
27+
28+
...

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,4 @@ Joomla Browser comes with a set of tools added via robo.li
117117
To check automatically the code style execute the following commands in your Terminal window at the root of the repository:
118118
119119
- `$ composer install`
120-
- `$ vendor/bin/robo`
121-
- `$ vendor/bin/robo check:codestyle`
120+
- `$ vendor/bin/phpcs --extensions=php -p --standard=vendor/joomla/coding-standards/Joomla src`

RoboFile.php

Lines changed: 0 additions & 47 deletions
This file was deleted.

composer.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,8 @@
2424
"symfony/yaml" : "~3|~4"
2525
},
2626
"require-dev": {
27-
"joomla-projects/joomla-testing-robo" : "dev-container-test",
28-
"codeception/codeception" : "~2.4"
29-
},
30-
"autoload": {
31-
"psr-4": {
32-
"Codeception\\Module\\" : "src"
33-
}
27+
"joomla/coding-standards" : "~3.0@dev",
28+
"squizlabs/php_codesniffer" : "~3.0"
3429
},
3530
"minimum-stability" : "dev",
3631
"prefer-stable" : true

0 commit comments

Comments
 (0)