Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
e236b778
Commit
e236b778
authored
Nov 26, 2020
by
Mario
Browse files
more psr-4 autoloading standard
parent
21cd4a1b
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e236b778
...
...
@@ -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
t
ests/phpunit.xml --coverage-text
-
vendor/bin/phpunit --configuration
T
ests/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
t
ests/phpunit-pgsql.xml --testdox
-
vendor/bin/phpunit --configuration
T
ests/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
:
t
ests/results/junit.xml
junit
:
T
ests/results/junit.xml
# Archive test results (coverage, testdox, junit)
name
:
"
$CI_COMMIT_REF_SLUG-$CI_JOB_NAME"
paths
:
-
t
ests/results/
-
T
ests/results/
# PHP7.3 with MySQL 5.7
...
...
Zotlabs/Identity/BasicId.php
View file @
e236b778
<?php
namespace
Zotlabs\Identity
\BasicId
;
namespace
Zotlabs\Identity
;
class
BasicId
{
...
...
Zotlabs/Identity/ProfilePhoto.php
View file @
e236b778
<?php
namespace
Zotlabs\Identity
\ProfilePhoto
;
namespace
Zotlabs\Identity
;
class
ProfilePhoto
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment