Skip to content

Commit 304b751

Browse files
committed
feat: make change to ci pipeline and comments from PR
1 parent 20e31eb commit 304b751

6 files changed

Lines changed: 26 additions & 148 deletions

File tree

.github/workflows/code_checks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- uses: shivammathur/setup-php@v2
2828
with:
2929
php-version: ${{ matrix.php }}
30-
extensions: pcov, dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
31-
coverage: pcov # none, disable xdebug, pcov
30+
extensions: pcov, dom, mbstring, pcntl
31+
coverage: pcov
3232

3333
- name: Install dependencies
3434
#run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction

.travis.yml

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

build.xml

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

composer.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache-2.0",
77
"minimum-stability": "stable",
88
"require": {
9-
"php": ">=7.2",
9+
"php": ">=7.2, <9.0-dev",
1010
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
1111
"symfony/framework-bundle": "^4.4|^5.0|^6.0",
1212
"doctrine/orm": "^2.9",
@@ -34,6 +34,17 @@
3434
"App\\Tests\\": "src/Tests/"
3535
}
3636
},
37+
"scripts": {
38+
"docheader": "vendor/bin/docheader check src/",
39+
"phpcmd": "vendor/bin/phpmd src xml phpmd.xml --exclude=*/Tests/*",
40+
"phpcs": "vendor/bin/phpcs src --report=full --standard=phpcs.xml --extensions=php --warning-severity=0",
41+
"phpcpd": "vendor/bin/phpcpd src --exclude=src/Tests/*",
42+
"phpunit": "vendor/bin/phpunit --coverage-text",
43+
"post-update-cmd": [
44+
"@docheader", "@phpcmd", "@phpcs", "@phpcpd", "@phpunit"
45+
]
46+
},
47+
3748
"config": {
3849
"preferred-install": {
3950
"*": "dist"

phpunit.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
backupGlobals="false"
4+
backupStaticAttributes="false"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false"
11+
bootstrap="vendor/autoload.php"
12+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
13+
>
314

415
<php>
516
<ini name="error_reporting" value="-1" />

travis.php.ini

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

0 commit comments

Comments
 (0)