Skip to content
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 Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-fpm
FROM php:8.4-fpm

ENV XDEBUG_MODE='coverage' \
XDEBUG_CONFIG='client_host=host.docker.internal output_dir=/var/www/tmp'
Expand Down
6 changes: 6 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
<PropertyNotSetInConstructor errorLevel="suppress" />
<DeprecatedMethod errorLevel="suppress" />
<RedundantPropertyInitializationCheck errorLevel="suppress" />
<MissingOverrideAttribute errorLevel="suppress" />
<ClassMustBeFinal>
<errorLevel type="suppress">
<directory name="src" />
</errorLevel>
</ClassMustBeFinal>
</issueHandlers>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
Expand Down
2 changes: 1 addition & 1 deletion tests/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
use Sysix\LexOffice\Clients\Voucher;
use Sysix\LexOffice\Clients\VoucherList;

class ApiTest extends TestClient
final class ApiTest extends TestClient
{
public function createApiMockObject(Response $response)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/ArticleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\Article;
use Sysix\LexOffice\Tests\TestClient;

class ArticleTest extends TestClient
final class ArticleTest extends TestClient
{
public function testGetPage(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/ContactTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\Contact;
use Sysix\LexOffice\Tests\TestClient;

class ContactTest extends TestClient
final class ContactTest extends TestClient
{
public function testGetPage(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/CountryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\Country;
use Sysix\LexOffice\Tests\TestClient;

class CountryTest extends TestClient
final class CountryTest extends TestClient
{
public function testGetAll(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/CreditNoteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Sysix\LexOffice\Clients\VoucherList;
use Sysix\LexOffice\Tests\TestClient;

class CreditNoteTest extends TestClient
final class CreditNoteTest extends TestClient
{
public function testGet(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/DeliveryNoteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Sysix\LexOffice\Clients\VoucherList;
use Sysix\LexOffice\Tests\TestClient;

class DeliveryNoteTest extends TestClient
final class DeliveryNoteTest extends TestClient
{
public function testGet(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/DownPaymentInvoiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Sysix\LexOffice\Clients\VoucherList;
use Sysix\LexOffice\Tests\TestClient;

class DownPaymentInvoiceTest extends TestClient
final class DownPaymentInvoiceTest extends TestClient
{
public function testGet(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/DunningTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Sysix\LexOffice\Clients\Dunning;
use Sysix\LexOffice\Tests\TestClient;

class DunningTest extends TestClient
final class DunningTest extends TestClient
{
public function testGet(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/EventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\Event;
use Sysix\LexOffice\Tests\TestClient;

class EventTest extends TestClient
final class EventTest extends TestClient
{
public function testCreate(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/FileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Sysix\LexOffice\Exceptions\LexOfficeApiException;
use Sysix\LexOffice\Tests\TestClient;

class FileTest extends TestClient
final class FileTest extends TestClient
{
public function testGet(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/InvoiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Sysix\LexOffice\Clients\VoucherList;
use Sysix\LexOffice\Tests\TestClient;

class InvoiceTest extends TestClient
final class InvoiceTest extends TestClient
{
public function testCreate(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/OrderConfirmationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Sysix\LexOffice\Clients\VoucherList;
use Sysix\LexOffice\Tests\TestClient;

class OrderConfirmationTest extends TestClient
final class OrderConfirmationTest extends TestClient
{
public function testCreate(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/PaymentConditionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\PaymentCondition;
use Sysix\LexOffice\Tests\TestClient;

class PaymentConditionTest extends TestClient
final class PaymentConditionTest extends TestClient
{
public function testGetAll(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/PaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\Payment;
use Sysix\LexOffice\Tests\TestClient;

class PaymentTest extends TestClient
final class PaymentTest extends TestClient
{
public function testGet(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/PostingCategoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\PostingCategory;
use Sysix\LexOffice\Tests\TestClient;

class PostingCategoryTest extends TestClient
final class PostingCategoryTest extends TestClient
{
public function testGetAll(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/PrintLayoutTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\PrintLayout;
use Sysix\LexOffice\Tests\TestClient;

class PrintLayoutTest extends TestClient
final class PrintLayoutTest extends TestClient
{
public function testGetAll(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/ProfileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\Profile;
use Sysix\LexOffice\Tests\TestClient;

class ProfileTest extends TestClient
final class ProfileTest extends TestClient
{
public function testGet(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/QuotationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Sysix\LexOffice\Clients\VoucherList;
use Sysix\LexOffice\Tests\TestClient;

class QuotationTest extends TestClient
final class QuotationTest extends TestClient
{
public function testCreate(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/RecurringTemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sysix\LexOffice\Clients\RecurringTemplate;
use Sysix\LexOffice\Tests\TestClient;

class RecurringTemplateTest extends TestClient
final class RecurringTemplateTest extends TestClient
{
public function testGet(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/VoucherListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Sysix\LexOffice\Clients\VoucherList;
use Sysix\LexOffice\Tests\TestClient;

class VoucherListTest extends TestClient
final class VoucherListTest extends TestClient
{
public function testGetPage(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Clients/VoucherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Sysix\LexOffice\Exceptions\LexOfficeApiException;
use Sysix\LexOffice\Tests\TestClient;

class VoucherTest extends TestClient
final class VoucherTest extends TestClient
{
public function testCreate(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PaginationClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Sysix\LexOffice\Api;
use Sysix\LexOffice\PaginationClient;

class PaginationClientTest extends TestClient
final class PaginationClientTest extends TestClient
{
/**
* @param array<int, Response> $responses
Expand Down
2 changes: 1 addition & 1 deletion tests/UtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use Sysix\LexOffice\Utils;

class UtilsTest extends TestCase
final class UtilsTest extends TestCase
{
public function testGetJsonFromResponseWithoutAnHeader(): void
{
Expand Down