diff options
author | Mario <mario@mariovavti.com> | 2020-11-26 08:48:09 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-26 08:48:09 +0000 |
commit | e236b7781744b8a287845b78857787064b70c4f8 (patch) | |
tree | be3ace0095354fdc6b64c5b30b71bfba9f05367e | |
parent | 21cd4a1b4845858c3421dbd5f2673eceee421f5d (diff) | |
download | volse-hubzilla-e236b7781744b8a287845b78857787064b70c4f8.tar.gz volse-hubzilla-e236b7781744b8a287845b78857787064b70c4f8.tar.bz2 volse-hubzilla-e236b7781744b8a287845b78857787064b70c4f8.zip |
more psr-4 autoloading standard
-rw-r--r-- | .gitlab-ci.yml | 8 | ||||
-rw-r--r-- | Zotlabs/Identity/BasicId.php | 2 | ||||
-rw-r--r-- | Zotlabs/Identity/ProfilePhoto.php | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 299ea0228..efe0843a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,7 +49,7 @@ before_script: - echo "USE $MYSQL_DATABASE; $(cat ./install/schema_mysql.sql)" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" - echo "SHOW DATABASES;" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" - echo "USE $MYSQL_DATABASE; SHOW TABLES;" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" - - vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-text + - vendor/bin/phpunit --configuration Tests/phpunit.xml --coverage-text # hidden job definition with template for PostgreSQL .job_template_postgres: &job_definition_postgres @@ -66,7 +66,7 @@ before_script: #- psql -h "postgres" -U "$POSTGRES_USER" -l #- psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "\dt;" # Run the actual tests - - vendor/bin/phpunit --configuration tests/phpunit-pgsql.xml --testdox + - vendor/bin/phpunit --configuration Tests/phpunit-pgsql.xml --testdox # hidden job definition with artifacts config template .artifacts_template: @@ -74,11 +74,11 @@ before_script: expire_in: 1 week # Gitlab should show the results, but has problems parsing PHPUnit's junit file. reports: - junit: tests/results/junit.xml + junit: Tests/results/junit.xml # Archive test results (coverage, testdox, junit) name: "$CI_COMMIT_REF_SLUG-$CI_JOB_NAME" paths: - - tests/results/ + - Tests/results/ # PHP7.3 with MySQL 5.7 diff --git a/Zotlabs/Identity/BasicId.php b/Zotlabs/Identity/BasicId.php index 3c149808f..a7fb109cd 100644 --- a/Zotlabs/Identity/BasicId.php +++ b/Zotlabs/Identity/BasicId.php @@ -1,6 +1,6 @@ <?php -namespace Zotlabs\Identity\BasicId; +namespace Zotlabs\Identity; class BasicId { diff --git a/Zotlabs/Identity/ProfilePhoto.php b/Zotlabs/Identity/ProfilePhoto.php index 2891136c7..9c3ad81a5 100644 --- a/Zotlabs/Identity/ProfilePhoto.php +++ b/Zotlabs/Identity/ProfilePhoto.php @@ -1,5 +1,5 @@ <?php -namespace Zotlabs\Identity\ProfilePhoto; +namespace Zotlabs\Identity; class ProfilePhoto { |