Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/prepare library to publish in Packagist #1

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: composer install --prefer-dist --no-progress

- name: Run lint code
run: vendor/bin/php-cs-fixer fix -v --diff --allow-risky=yes
run: vendor/bin/php-cs-fixer fix -v --diff --allow-risky=yes --config=.php-cs-fixer.php

- name: Run test suite
run: vendor/bin/phpunit tests/
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ before_script:
- php composer.phar install --ignore-platform-reqs --optimize-autoloader --no-ansi --no-interaction --no-progress

.lint: &lint
- vendor/bin/php-cs-fixer fix -v --diff --allow-risky=yes
- vendor/bin/php-cs-fixer fix -v --diff --allow-risky=yes --config=.php-cs-fixer.php

.test: &test
- vendor/bin/phpunit tests/
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "lepidus/thoth-client-php",
"name": "thoth-pub/thoth-client-php",
"description": "PHP client for Thoth's GraphQL and REST APIs.",
"type": "library",
"require": {
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/GraphQL/Queries/SubjectQueryTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace ThothApi\Tests\GraphQL\Quubject;
namespace ThothApi\Tests\GraphQL\Queries;

use PHPUnit\Framework\TestCase;
use ThothApi\GraphQL\Queries\SubjectQuery;
Expand Down