Release 2.0.30 (#4225)
This commit is contained in:
25
tests/Validator/Constraints/TimesheetBasicTest.php
Normal file
25
tests/Validator/Constraints/TimesheetBasicTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetBasic;
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetBasic
|
||||
*/
|
||||
class TimesheetBasicTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetBasic());
|
||||
}
|
||||
}
|
||||
25
tests/Validator/Constraints/TimesheetBudgetUsedTest.php
Normal file
25
tests/Validator/Constraints/TimesheetBudgetUsedTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetBudgetUsed;
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetBudgetUsed
|
||||
*/
|
||||
class TimesheetBudgetUsedTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetBudgetUsed());
|
||||
}
|
||||
}
|
||||
25
tests/Validator/Constraints/TimesheetDeactivatedTest.php
Normal file
25
tests/Validator/Constraints/TimesheetDeactivatedTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use App\Validator\Constraints\TimesheetDeactivated;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetDeactivated
|
||||
*/
|
||||
class TimesheetDeactivatedTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetDeactivated());
|
||||
}
|
||||
}
|
||||
25
tests/Validator/Constraints/TimesheetExportedTest.php
Normal file
25
tests/Validator/Constraints/TimesheetExportedTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use App\Validator\Constraints\TimesheetExported;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetExported
|
||||
*/
|
||||
class TimesheetExportedTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetExported());
|
||||
}
|
||||
}
|
||||
25
tests/Validator/Constraints/TimesheetFutureTimesTest.php
Normal file
25
tests/Validator/Constraints/TimesheetFutureTimesTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use App\Validator\Constraints\TimesheetFutureTimes;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetFutureTimes
|
||||
*/
|
||||
class TimesheetFutureTimesTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetFutureTimes());
|
||||
}
|
||||
}
|
||||
25
tests/Validator/Constraints/TimesheetLockdownTest.php
Normal file
25
tests/Validator/Constraints/TimesheetLockdownTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use App\Validator\Constraints\TimesheetLockdown;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetLockdown
|
||||
*/
|
||||
class TimesheetLockdownTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetLockdown());
|
||||
}
|
||||
}
|
||||
25
tests/Validator/Constraints/TimesheetLongRunningTest.php
Normal file
25
tests/Validator/Constraints/TimesheetLongRunningTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use App\Validator\Constraints\TimesheetLongRunning;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetLongRunning
|
||||
*/
|
||||
class TimesheetLongRunningTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetLongRunning());
|
||||
}
|
||||
}
|
||||
25
tests/Validator/Constraints/TimesheetOverlappingTest.php
Normal file
25
tests/Validator/Constraints/TimesheetOverlappingTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use App\Validator\Constraints\TimesheetOverlapping;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetOverlapping
|
||||
*/
|
||||
class TimesheetOverlappingTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetOverlapping());
|
||||
}
|
||||
}
|
||||
25
tests/Validator/Constraints/TimesheetRestartTest.php
Normal file
25
tests/Validator/Constraints/TimesheetRestartTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use App\Validator\Constraints\TimesheetRestart;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetRestart
|
||||
*/
|
||||
class TimesheetRestartTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetRestart());
|
||||
}
|
||||
}
|
||||
25
tests/Validator/Constraints/TimesheetZeroDurationTest.php
Normal file
25
tests/Validator/Constraints/TimesheetZeroDurationTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Tests\Validator\Constraints;
|
||||
|
||||
use App\Validator\Constraints\TimesheetConstraint;
|
||||
use App\Validator\Constraints\TimesheetZeroDuration;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Validator\Constraints\TimesheetZeroDuration
|
||||
*/
|
||||
class TimesheetZeroDurationTest extends TestCase
|
||||
{
|
||||
public function testIsTimesheetConstraint(): void
|
||||
{
|
||||
self::assertInstanceOf(TimesheetConstraint::class, new TimesheetZeroDuration());
|
||||
}
|
||||
}
|
||||
@@ -9398,7 +9398,7 @@ parameters:
|
||||
path: Twig/ExtensionsTest.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$callback of function call_user_func expects callable\\(\\)\\: mixed, \\(callable\\(\\)\\: mixed\\)\\|null given\\.$#"
|
||||
message: "#^Parameter \\#1 \\$callback of function call_user_func expects callable\\(\\)\\: mixed, array<class-string, string>|\\(callable\\(\\)\\: mixed\\)\\|null given\\.$#"
|
||||
count: 6
|
||||
path: Twig/ExtensionsTest.php
|
||||
|
||||
@@ -9488,7 +9488,7 @@ parameters:
|
||||
path: Twig/LocaleFormatExtensionsTest.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$callback of function call_user_func expects callable\\(\\)\\: mixed, \\(callable\\(\\)\\: mixed\\)\\|null given\\.$#"
|
||||
message: "#^Parameter \\#1 \\$callback of function call_user_func expects callable\\(\\)\\: mixed, array<class-string, string>|\\(callable\\(\\)\\: mixed\\)\\|null given\\.$#"
|
||||
count: 5
|
||||
path: Twig/LocaleFormatExtensionsTest.php
|
||||
|
||||
|
||||
Reference in New Issue
Block a user